[OpenWrt-Devel] [PATCH 4/6] bcm53xx: increase nvram allocation size to 64k
Ian Kent
raven at themaw.net
Thu Apr 2 05:47:53 EDT 2015
On Thu, 2015-04-02 at 09:45 +0200, Rafał Miłecki wrote:
> On 10 March 2015 at 04:30, Ian Kent <raven at themaw.net> wrote:
> > The R8000 nvram is larger than 32k, increase nvram allocation to
> > 64k to accomadate.
>
> I handled this by sending nvram.c patch for mainline:
> http://patchwork.linux-mips.org/patch/9651/
> And backporting all changes to bcm53xx:
> https://dev.openwrt.org/changeset/45204/
OK, help me out with this patch.
I thought it was necessary to calculate a from starting offset based on
mtd size and nvram size since the code assumes the nvram partition might
not start at 0 whereas in the patch it looks like a 0 starting offset is
assumed?
When I was working on this area of code, IIRC, the from offset was
actually not 0.
Ian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list