immortalwrt/target/linux/rockchip
David Bauer aa75db53e8 rockchip: use stable MAC-address for NanoPi R2S
The NanoPi R2S does not have a board specific MAC address written inside
e.g. an EEPROM, hence why it is randomly generated on first boot.

The issue with that however is the lack of a driver for the PRNG.
It often results to the same MAC address used on multiple boards by
default, as urngd is not active at this early stage resulting in low
available entropy.

There is however a semi-unique identifier available to us, which is the
CID of the used SD card. It is unique to each SD card, hence we can use
it to generate the MAC address used for LAN and WAN.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-01-19 12:10:04 +08:00
..
armv8 rockchip: use stable MAC-address for NanoPi R2S 2021-01-19 12:10:04 +08:00
files/drivers/char/hw_random rockchip: move hwRNG driver to files 2020-11-29 11:30:32 +08:00
image rockchip: remove redundant usb-net dependencies 2021-01-09 17:07:45 +08:00
patches-5.4 rockchip: improve support for NanoPi R4S 2021-01-09 16:45:53 +08:00
config-default kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-10 17:29:57 +08:00
Makefile rockchip: add NanoPi R4S support 2020-12-27 14:02:01 +08:00