mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
62ba0e5df6
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>
118 lines
2.8 KiB
Text
118 lines
2.8 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_TARGET_SL28=y
|
|
CONFIG_SYS_MALLOC_LEN=0x202000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0x3e0000
|
|
CONFIG_ENV_SECT_SIZE=0x10000
|
|
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1028a-kontron-sl28"
|
|
CONFIG_SPL_TEXT_BASE=0x18010000
|
|
CONFIG_SYS_FSL_SDHC_CLK_DIV=1
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SPL_SIZE_LIMIT=0x20000
|
|
CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x0
|
|
CONFIG_SPL=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x3f0000
|
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
|
CONFIG_SPL_SPI=y
|
|
# CONFIG_PSCI_RESET is not set
|
|
CONFIG_AHCI=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_SYS_LOAD_ADDR=0x82000000
|
|
CONFIG_MP=y
|
|
CONFIG_FIT=y
|
|
CONFIG_SPL_LOAD_FIT=y
|
|
# CONFIG_USE_SPL_FIT_GENERATOR is not set
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
|
CONFIG_BOOTDELAY=10
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOARD_LATE_INIT=y
|
|
CONFIG_PCI_INIT_R=y
|
|
CONFIG_SPL_BOARD_INIT=y
|
|
CONFIG_SPL_SEPARATE_BSS=y
|
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
|
CONFIG_SPL_SPI_LOAD=y
|
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x230000
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_NVEDIT_EFI=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_DM=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PCI=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
CONFIG_CMD_WDT=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EFIDEBUG=y
|
|
CONFIG_CMD_RNG=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_OF_LIST=""
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
|
CONFIG_SATA=y
|
|
CONFIG_SCSI_AHCI=y
|
|
CONFIG_SATA_CEVA=y
|
|
CONFIG_FSL_CAAM=y
|
|
CONFIG_SYS_FSL_DDR3=y
|
|
CONFIG_DDR_ECC=y
|
|
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_SF=y
|
|
CONFIG_SL28CPLD_GPIO=y
|
|
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
|
CONFIG_I2C_MUX=y
|
|
CONFIG_SL28CPLD=y
|
|
CONFIG_MMC_HS400_SUPPORT=y
|
|
CONFIG_FSL_ESDHC=y
|
|
CONFIG_FSL_ESDHC_SUPPORT_ADMA2=y
|
|
# CONFIG_SPI_FLASH_UNLOCK_ALL is not set
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_PHY_ATHEROS=y
|
|
CONFIG_PHY_FIXED=y
|
|
CONFIG_DM_DSA=y
|
|
CONFIG_PHY_GIGE=y
|
|
CONFIG_E1000=y
|
|
CONFIG_MSCC_FELIX_SWITCH=y
|
|
CONFIG_NVME_PCI=y
|
|
CONFIG_PCIE_ECAM_GENERIC=y
|
|
CONFIG_PCIE_LAYERSCAPE_RC=y
|
|
CONFIG_RTC_RV8803=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_FSL_DSPI=y
|
|
CONFIG_NXP_FSPI=y
|
|
CONFIG_USB=y
|
|
# CONFIG_SPL_DM_USB is not set
|
|
CONFIG_DM_USB_GADGET=y
|
|
CONFIG_USB_XHCI_HCD=y
|
|
# CONFIG_USB_XHCI_FSL is not set
|
|
CONFIG_USB_DWC3=y
|
|
CONFIG_USB_DWC3_LAYERSCAPE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
# CONFIG_WATCHDOG is not set
|
|
# CONFIG_WATCHDOG_AUTOSTART is not set
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_SL28CPLD=y
|
|
CONFIG_WDT_SP805=y
|
|
CONFIG_OF_LIBFDT_ASSUME_MASK=0x0
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
CONFIG_EFI_SET_TIME=y
|
|
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
|
CONFIG_EFI_CAPSULE_ON_DISK=y
|
|
CONFIG_EFI_IGNORE_OSINDICATIONS=y
|
|
CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y
|