[LEDE-DEV] ar71xx: Need advice on parsing specific board config data on TP-Link TL-WR942N

Sergey Studzinski serguzhg at gmail.com
Tue Feb 21 12:47:58 PST 2017


>> Most work is already done against 17.01-rc2 and there is working
>> factory and sysupgrade images.
>
>Please, base your work on master branch.

Most work was done against master but later backported to rc2 in
terms of stability in packages. It is not a problem to revert it
back to master.

>Just checking, have you tried to look for MAC in binary format in
>whole flash dump?

There is definitely no other place with valid MAC elsewhere in flash.
MAC in ART is fake one like 000203040506. As seen in bootlogs factory
firmware starts with random MACs and then use special init script and
nvrammanager binary utility to parse data from partition default-mac.
Can look at fullflash here http://fex.net/get/227411653165/2400918

>[1] https://github.com/lede-project/source/blob/master/package/base-files/files/lib/functions/system.sh#L11
>[2] https://github.com/lede-project/source/blob/master/target/linux/ar71xx/base-files/etc/board.d/02_network#L483

Will look at it. Thank you.
Sergey



More information about the Lede-dev mailing list