Hi,
I am working on migrating u-boot-imx to the latest version v2024.04 GA 2.0.0 under Yocto for our custom board which is based on i.MX6UL.
The u-boot code is based on mx6ul_14x14_evk with nand support since we have a raw NAND.
I the defconfig which I begin with:
CONFIG_ARM=yCONFIG_ARCH_MX6=yCONFIG_SYS_MALLOC_LEN=0x1000000CONFIG_NR_DRAM_BANKS=1CONFIG_SYS_MEMTEST_START=0x80000000CONFIG_SYS_MEMTEST_END=0x88000000CONFIG_ENV_SIZE=0x80000CONFIG_ENV_SECT_SIZE=0x80000CONFIG_ENV_OFFSET=0x00400000CONFIG_ENV_OFFSET_REDUND=0x00480000CONFIG_MX6UL=yCONFIG_TARGET_SECUREMETERS_SKYLINE410=y# CONFIG_LDO_BYPASS_CHECK is not setCONFIG_SYS_I2C_MXC_I2C1=yCONFIG_SYS_I2C_MXC_I2C2=yCONFIG_DM_GPIO=yCONFIG_DEFAULT_DEVICE_TREE="securemeters_skyline410"CONFIG_SUPPORT_RAW_INITRD=yCONFIG_IMX_CONFIG="board/freescale/securemeters_skyline410/imximage.cfg"CONFIG_NAND_BOOT=yCONFIG_CMD_NAND=yCONFIG_CMD_NAND_TRIMFFS=yCONFIG_CMD_UBI=yCONFIG_MTD=yCONFIG_CMD_MTD=yCONFIG_DM_MTD=yCONFIG_MTD_RAW_NAND=yCONFIG_NAND=yCONFIG_NAND_MXS=yCONFIG_NAND_MXS_DT=yCONFIG_NAND_MXS_USE_MINIMUM_ECC=yCONFIG_SYS_NAND_USE_FLASH_BBT=yCONFIG_SYS_NAND_ONFI_DETECTION=yCONFIG_ENV_IS_IN_NAND=yCONFIG_BOOTDELAY=3# CONFIG_CONSOLE_MUX is not setCONFIG_SYS_CONSOLE_IS_IN_ENV=yCONFIG_BOARD_EARLY_INIT_F=yCONFIG_HUSH_PARSER=yCONFIG_SYS_MAXARGS=32CONFIG_SYS_PBSIZE=532CONFIG_CMD_BOOTZ=y# CONFIG_CMD_IMLS is not setCONFIG_CMD_MEMTEST=yCONFIG_CMD_GPIO=yCONFIG_CMD_I2C=yCONFIG_CMD_MMC=yCONFIG_CMD_USB=yCONFIG_CMD_USB_MASS_STORAGE=yCONFIG_CMD_DHCP=yCONFIG_CMD_PING=yCONFIG_CMD_BMP=yCONFIG_CMD_CACHE=yCONFIG_CMD_NET=yCONFIG_CMD_EXT2=yCONFIG_CMD_EXT4=yCONFIG_CMD_EXT4_WRITE=yCONFIG_CMD_FAT=yCONFIG_CMD_FS_GENERIC=yCONFIG_OF_CONTROL=yCONFIG_ENV_OVERWRITE=yCONFIG_SYS_RELOC_GD_ENV_ADDR=yCONFIG_SYS_MMC_ENV_DEV=1CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=yCONFIG_USE_ETHPRIME=yCONFIG_ETHPRIME="eth0"CONFIG_NET_RANDOM_ETHADDR=yCONFIG_BOUNCE_BUFFER=yCONFIG_DM_74X164=yCONFIG_DM_I2C=yCONFIG_SYS_I2C_MXC=yCONFIG_FSL_USDHC=yCONFIG_PHYLIB=yCONFIG_PHY_MICREL=yCONFIG_PHY_MICREL_KSZ8XXX=yCONFIG_DM_ETH_PHY=yCONFIG_FEC_MXC=yCONFIG_MII=yCONFIG_CMD_MII=yCONFIG_PINCTRL=yCONFIG_PINCTRL_IMX6=yCONFIG_DM_REGULATOR=yCONFIG_DM_REGULATOR_FIXED=yCONFIG_DM_REGULATOR_GPIO=yCONFIG_DM_SERIAL=yCONFIG_MXC_UART=yCONFIG_SPI=yCONFIG_DM_SPI=yCONFIG_SOFT_SPI=yCONFIG_IMX_THERMAL=yCONFIG_USB=yCONFIG_USB_MAX_CONTROLLER_COUNT=2CONFIG_USB_STORAGE=yCONFIG_USB_HOST_ETHER=yCONFIG_USB_ETHER_ASIX=yCONFIG_VIDEO=nCONFIG_VIDEO_LINK=nCONFIG_VIDEO_LOGO=nCONFIG_SYS_WHITE_ON_BLACK=nCONFIG_VIDEO_MXS=nCONFIG_SPLASH_SCREEN=nCONFIG_SPLASH_SCREEN_ALIGN=nCONFIG_BMP_16BPP=nCONFIG_USB_GADGET=yCONFIG_USB_GADGET_DOWNLOAD=yCONFIG_USB_GADGET_MANUFACTURER="FSL"CONFIG_USB_GADGET_VENDOR_NUM=0x1fc9CONFIG_USB_GADGET_PRODUCT_NUM=0x0152CONFIG_CI_UDC=yCONFIG_CMD_FASTBOOT=yCONFIG_USB_FUNCTION_FASTBOOT=yCONFIG_FASTBOOT_UUU_SUPPORT=yCONFIG_FASTBOOT=yCONFIG_FASTBOOT_BUF_ADDR=0x83800000CONFIG_FASTBOOT_BUF_SIZE=0x40000000CONFIG_FASTBOOT_FLASH=yCONFIG_EFI_PARTITION=yCONFIG_CMD_CRC32=yCONFIG_CRC32_VERIFY=yCONFIG_DDR3L_MT41K256M16HA=yCONFIG_USB_EHCI_MX6=y
CONFIG_RESET_TO_RETRY=yCONFIG_BOOT_RETRY_TIME=30
I also tried adding "bootretry=30" to default environment variable. But it does not help either.
Hello @securemetersczhang
I hope you are doing well.
Could you please point to me what is the U-Boot version that you had before the update?
Best regards,
Salas.
Hi Salas,
Thank you for your reply.
We had u-boot-imx v2015.04. I believe the closet branch is nxp/imx_3.14.38_6ul_engr
BR/Chencheng