summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-02-25 18:18:40 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2022-02-28 12:01:02 +0530
commit62ba0e5df6e81f0a45b589273c043d451986767c (patch)
tree0c4967e795538bcd29f48d4b11f8cd3827890596 /configs
parent2810da7c80ad7d25ef987d65bcaad2479f1df30e (diff)
downloadu-boot-62ba0e5df6e81f0a45b589273c043d451986767c.tar.gz
u-boot-62ba0e5df6e81f0a45b589273c043d451986767c.tar.bz2
u-boot-62ba0e5df6e81f0a45b589273c043d451986767c.zip
board: sl28: disable random MAC address generation
Nowadays, u-boot (when CONFIG_NET_RANDOM_ETHADDR is set) will set enetaddr to a random value if not set and then pass the randomly generated MAC address to linux. This is bad for the following reasons: (1) it makes it impossible for linux to detect this error (2) linux won't trigger any fallback mechanism for the case where it didn't find any valid MAC address (3) a saveenv will store this randomly generated MAC address in the environment Probably, the user will also be unaware that something is wrong. He will just get different MAC addresses on each reboot, asking himself why this is the case. As this board usually have a serial port, the user can just fix this by setting the MAC address manually in the environment. Also disable the netconsole just in case, because it cannot be guaranteed that it will work in any case. After all, this was just a convenience option, because the bootloader - right now - doesn't have the ability to read the MAC address, which is stored in the OTP. But it is far more important to have a clear view of whats wrong with a board and that means we can no longer use this Kconfig option. Signed-off-by: Michael Walle <michael@walle.cc> [Rebased] Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/kontron_sl28_defconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
index a4d9254815..b743c2ba9e 100644
--- a/configs/kontron_sl28_defconfig
+++ b/configs/kontron_sl28_defconfig
@@ -59,8 +59,6 @@ CONFIG_OF_LIST=""
CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
-CONFIG_NET_RANDOM_ETHADDR=y
-CONFIG_NETCONSOLE=y
CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_SATA=y
CONFIG_SCSI_AHCI=y