ramips: fix Ethernet random MAC address for HILINK HLK-7628N
authorLiu Yu <f78fk@live.com>
Tue, 8 Jun 2021 01:50:02 +0000 (09:50 +0800)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 9 Jun 2021 20:18:37 +0000 (22:18 +0200)
commitae9c5cd37bf5c08452f314b54afa963a00bdde30
treedf0ac124eca8ea9ea7c97f799566a773be288eb6
parent7f946a880a61816e338e99b79ece6fb206fc6f9c
ramips: fix Ethernet random MAC address for HILINK HLK-7628N

Set the ethernet address from flash.

MAC addresses as verified by OEM firmware:

  use   interface  source
  2g    wlan0      factory 0x04 (label)
  LAN   eth0.1     factory 0x28 (label+1)
  WAN   eth0.2     factory 0x2e (label+2)

Fixes: 671c9d16e382 ("ramips: add support for HILINK HLK-7628N")
Signed-off-by: Liu Yu <f78fk@live.com>
[drop old MAC address setup from 02_network, cut out state_default
changes, face-lift commit message, add Fixes:]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network