2013.09.24. 16:56 keltezéssel, Paul Fertser írta:
> Hello,
> 
> Gabor Juhos <juh...@openwrt.org> writes:
>> Yes, the 'Image/Build/Cameo' macro is broken.
>> Don't need to send a patch, I'm working on that already.
> 
> Great cleanup and the fixes on top, thank you!
> 
> Can you please explain what is this "mac" partition about, what does it
> hold? I know wireless "eeprom" is in the last "art" partition and that
> seems to be all that's needed, at least on my other wr741nd device.

The WR741ND has no such partition. To be precise, there is an user_cfg partition
before the wifi calibration data. That is used by the factory firmware to store
user specific settigns. We are reusign that because the factory firmware can
reinitialize that with the factory reset option.

On the DIR-600-Ex, the 'mac' partition contains the board specific MAC addresses
at least, and it seems that there are other data as well. I guess that the
original firmware uses this data to reinialize the nvram variables during
factory reset. If that partition is erased, and someone wants to use the
original software again, it will not be able to do a factory reset.

> I also faced a strange issue which forced me to open the device and
> attach the serial (and for no evident reason tftpboot didn't work
> either, the device kept sending me arp requests ignoring my replies, so
> I had to use Ymodem).
> 
> Apparently, after I did "git pull; make oldconfig; make" and
> sysupgraded, the resulting images ended up missing the appropriate
> firmware partition splitters so it couldn't mount the rootfs after the
> reboot. I have no real clue how that might have happened but "make
> target/linux/clean; make" gave me a new sysupgrade image that work fine.

If you are rebuilding a kernel after a kernel configuration change, it will use
the modified configuration. However if the generic/platform specific kernel
patches are modified, or some patches has been added/deleted those will not be
used without a target/linux/clean.

> Thank you again for your work.

Np.

-Gabor
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to