diff options
author | David Bauer <mail@david-bauer.net> | 2021-01-15 02:15:12 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-01-18 17:32:52 +0100 |
commit | a8a17fd22326f0d1aa7644556eea6010e0779afe (patch) | |
tree | b2c59d0119808ea836f3baff62e7f4f7f37ea6b5 /include/prereq.mk | |
parent | f559b89bd0341a0ab3979484ca4c52205343f090 (diff) | |
download | upstream-a8a17fd22326f0d1aa7644556eea6010e0779afe.tar.gz upstream-a8a17fd22326f0d1aa7644556eea6010e0779afe.tar.bz2 upstream-a8a17fd22326f0d1aa7644556eea6010e0779afe.zip |
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>
Diffstat (limited to 'include/prereq.mk')
0 files changed, 0 insertions, 0 deletions