immortalwrt/target/linux
David Bauer dc98f944be
rockchip: ensure NanoPi R4S has unique MAC address
Ensure the MAC address for all NanoPi R4S boards is assigned unique for
each board.

FriendlyElec ship two versions of the R4S: The standard as well as the
enterprise edition with only the enterprise edition including the EEPROM
chip that stores the unique MAC address.

In order to assign both board types unique MAC addresses, fall back on
the same method used for the NanoPi R2S in case the EEPROM chip is not
present by generating the board MAC from the SD card CID.

[0] https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R4S#Differences_Between_R4S_Standard_Version_.26_R4S_Enterprise_Version

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit b5675f500d)
2022-09-10 10:07:52 +08:00
..
apm821xx target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
arc770 target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
archs38 target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
armvirt kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
at91 treewide: make AddDepends/usb-serial selective 2021-06-08 22:50:32 +02:00
ath25 Merge Official Source 2022-09-05 13:20:57 +08:00
ath79 Merge Official Source 2022-09-05 13:20:57 +08:00
bcm27xx Merge Official Source 2022-09-05 13:20:57 +08:00
bcm47xx target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
bcm53xx Merge Official Source 2022-07-29 21:28:06 +08:00
bcm63xx Merge Official Source 2022-09-05 13:20:57 +08:00
bcm4908 Merge Official Source 2022-09-05 13:20:57 +08:00
gemini kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
generic kernel: refresh generic patches 2022-09-10 09:50:14 +08:00
imx6 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
ipq40xx Merge Official Source 2022-09-05 13:20:57 +08:00
ipq806x Merge Official Source 2022-09-05 13:20:57 +08:00
kirkwood target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
lantiq Merge Official Source 2022-09-05 13:20:57 +08:00
layerscape Merge Official Source 2022-09-05 13:20:57 +08:00
malta target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
mediatek Merge Official Source 2022-09-05 13:20:57 +08:00
mpc85xx target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
mvebu Merge Official Source 2022-09-05 13:20:57 +08:00
mxs
octeon kernel: bump 5.4 to 5.4.211 2022-09-04 15:32:22 +02:00
octeontx Merge Official Source 2022-09-05 13:20:57 +08:00
omap target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
oxnas Merge Official Source 2022-09-05 13:20:57 +08:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
ramips Merge Official Source 2022-09-05 13:20:57 +08:00
realtek realtek: Remove dnsmasq and odhcpd-ipv6only from default 2022-06-10 03:36:01 +08:00
rockchip rockchip: ensure NanoPi R4S has unique MAC address 2022-09-10 10:07:52 +08:00
sunxi include: mv luci-app-cpufreq to target profiles 2022-09-05 13:15:39 +08:00
tegra target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
uml target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
x86 x86: include Intel I225 driver by default 2022-08-24 01:40:48 +08:00
zynq kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile