au1000: distinguish different models and set correct MAC-address
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 11 Dec 2014 18:28:44 +0000 (18:28 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 11 Dec 2014 18:28:44 +0000 (18:28 +0000)
commit0ea0f2492b43a4a89545c3ebc109ef37b921a26a
tree1651a0e95250e1e5f8a432cc2d8e280614b100da
parentd34a5fac066ec89896d814a15209cc36deb5783c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43626 3c298f89-4303-0410-b956-a3cf2f4a3e73
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]