summaryrefslogtreecommitdiff
path: root/lib/efi_loader/helloworld.c
diff options
context:
space:
mode:
authorChristian Kohlschütter <christian@kohlschutter.com>2022-09-27 15:05:21 +0000
committerKever Yang <kever.yang@rock-chips.com>2023-05-06 17:28:18 +0800
commitc2d5edff916379abd2da4590e8171c965d9a3e1d (patch)
treef08c1aaf9db973b75c47835eb39b44026dd81e3c /lib/efi_loader/helloworld.c
parent53c5093b2ec08c69b48183e23c5ada3c385053e1 (diff)
rk3399: r4s: Derive local MAC address if EEPROM is missing
Some RK3399 boards, such as newer revisions of NanoPi R4S, do not provide an EEPROM chip containing a globally unique MAC address. Currently, this means that a randomly generated temporary MAC address may be generated each time the device is rebooted, leading to ARP cache issues and other confusing bugs. Since RK3399 CPUs provide a built-in unique serial number, we can reliably derive a locally MAC address from it by reading the corresponding bits from the non-secure efuse block. Enable configuration options that allow deriving a local MAC address from the CPU serial number.
Diffstat (limited to 'lib/efi_loader/helloworld.c')
0 files changed, 0 insertions, 0 deletions