[PATCH v2] ath79: add support for onion omega
Tomasz Maciej Nowak
tmn505 at gmail.com
Sun Aug 15 06:18:50 PDT 2021
W dniu 15.08.2021 o 13:18, Lech Perczak pisze:
> W dniu 2021-08-15 o 13:03, openwrt at aiyionpri.me pisze:
>> On 8/15/21 11:39 AM, Lech Perczak wrote:
>>> I rather meant checking if it is possible to 'saveenv' from within stock
>>> U-boot, rebooting and seeing if changes to the environment change stay
>>> Given, that the typical SPI-NOR sector size on this target is 64k, it's
>>> very unlikely that there is writable environment there, as the MAC part
>>> doesn't follow its format, and U-boot would need to use 4k page erase
>>> for that,
>>> as does pepe2k's u-boot_mod, but OpenWrt currently cannot reliably
>>> support writing such environment.
>> The command "saveenv" is not available in the stock uboot.
> So, we've got the answer - the flash layout in device tree is then correct.
Yep, and thanks for chiming in. With that the MAC can be safely
extracted by nvmem.
Reviewed-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
More information about the openwrt-devel