difos/target/linux/ramips/base-files/etc/board.d
Adrian Schmutzler 869a0183b9 ramips: fix MAC address setup for Newifi Y1 and Y1S
So far, MAC address setup for those devices has been using local
addresses although additional MAC addresses are available on flash.

On device, we found the following situation:
position   Y1     Y1S
0x4        *:d4   *:e4
0x8004     *:d6   *:e8
0x28       *:d4   *:e4
0x2e       *:d7   *:eb

Since 0x4 and 0x28 yield the same address, the former was set for
&ethernet in DTS. However, the typical location on this
architecture is 0x28, so this patch changes that.

For further setup in 02_network, the local bit for lan_mac is
removed, so the address from &ethernet is used at all. For wan_mac,
instead of calculating an address with local bit set, this patch
exploits the previously unused address in 0x2e.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-09-07 21:41:44 +08:00
..
01_leds ramips: add support for Netgear R6260 and R6850 2019-08-31 10:31:00 +02:00
02_network ramips: fix MAC address setup for Newifi Y1 and Y1S 2019-09-07 21:41:44 +08:00
03_gpio_switches ramips/mt7621: Synchronize Makefiles with DTS compatible 2019-07-10 17:36:29 +02:00