openwrt/target/linux/sunxi
Jan-Niklas Burfeind c7d3bbb909 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>
2022-12-25 02:27:55 +01:00
..
base-files sunxi: ensure NanoPi R1 has unique MAC address 2022-12-25 02:27:55 +01:00
cortexa7 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
cortexa8 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-24 17:10:24 +02:00
cortexa53 kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
image sunxi: fix board_name for MarsBoard A10 2022-12-17 20:55:47 +01:00
patches-5.10 kernel: bump 5.10 to 5.10.137 2022-08-23 10:37:04 +02:00
patches-5.15 sunxi: refresh kernel 5.15 patches 2022-03-29 12:02:50 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
config-5.10 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
config-5.15 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
Makefile sunxi: enable 5.15 as testing kernel 2022-03-29 12:02:50 +02:00
modules.mk sunxi: fix sunxi-ir kconfig and description 2022-12-12 09:06:17 +01:00