immortalwrt/target/linux
Jan-Niklas Burfeind 90c8c47188
sunxi: ensure NanoPi R1 has unique MAC address
Ensure the MAC address for all NanoPi R1 boards is assigned uniquely for
each board.

The vendor ships the device in two variants; one with and one without
eMMC; but both without static mac-addresses.
In order to assign both board types unique MAC addresses, fall back on
the same method used for the NanoPi R2S and R4S 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_R1#Hardware_Spec

Similar too and based on:

commit b5675f500d ("rockchip: ensure NanoPi R4S has unique MAC address")

Co-authored-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
2023-10-22 12:44:55 +08:00
..
apm821xx kernel: bump to 5.4.241 2023-04-23 13:57:30 +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 kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
ath79 kernel: bump to 5.4.255 2023-08-31 13:13:22 +08:00
bcm27xx kernel: bump to 5.4.255 2023-08-31 13:13:22 +08:00
bcm47xx kernel: bump to 5.4.255 2023-08-31 13:13:22 +08:00
bcm53xx Merge Official Source 2023-09-28 11:02:31 +08:00
bcm63xx kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
bcm4908 Merge Official Source 2023-03-27 20:04:05 +08:00
gemini kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
generic kernel: bump to 5.4.255 2023-08-31 13:13:22 +08:00
imx6 kernel: bump 5.4 to 5.4.231 2023-02-18 19:18:13 +01:00
ipq40xx kernel: bump to 5.4.248 2023-06-23 16:12:07 +08:00
ipq806x kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
kirkwood target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
lantiq kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
layerscape kernel: bump to 5.4.255 2023-08-31 13:13:22 +08:00
malta target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
mediatek kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
mpc85xx Merge Official Source 2023-02-14 05:34:01 +08:00
mvebu kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon kernel: bump 5.4 to 5.4.211 2022-09-04 15:32:22 +02:00
octeontx kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
omap target: use wpad-basic-openssl by default 2022-05-25 22:38:44 +08:00
oxnas kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
pistachio kernel: bump 5.4 to 5.4.230 2023-01-28 19:26:47 +01:00
ramips kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
realtek kernel: bump to 5.4.252 2023-08-09 20:24:39 +08:00
rockchip sunxi: ensure NanoPi R1 has unique MAC address 2023-10-22 12:44:55 +08:00
sunxi sunxi: ensure NanoPi R1 has unique MAC address 2023-10-22 12:44:55 +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 Merge Official Source 2023-09-28 11:02:31 +08:00
zynq kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00