au1000: distinguish different models and set correct MAC-address
authorJohn Crispin <john@openwrt.org>
Thu, 11 Dec 2014 18:28:44 +0000 (18:28 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 11 Dec 2014 18:28:44 +0000 (18:28 +0000)
commited61e202a1d7185374a33ebe86a3d8c1640e47b3
treeb8a49fa30dda115b027e12371ca1d659d1c3be80
parent1558a6bcbf00baffa911c6036a1188b628cdc5b7
au1000: distinguish different models and set correct MAC-address

The target au1000 has at least 2 different models, the
'InternetBox' and the 'MeshCube' which look very similar
from the kernel point of view but are totally different
devices which base on the same design. Populating /tmp/sysinfo
now. The 1st one has an issue which leads to a random
mac-address after each boot which is corrected now via
reading the bootloader-env. The real fix would be
converting to DTS, this is only a workaround now.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 43626
target/linux/au1000/base-files/etc/uci-defaults/02_network [new file with mode: 0755]
target/linux/au1000/base-files/lib/au1000.sh [new file with mode: 0644]