i.MX6UL u-boot-imx v2024.04 CONFIG_BOOT_RETRY_TIME does not work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX6UL u-boot-imx v2024.04 CONFIG_BOOT_RETRY_TIME does not work

266 次查看
securemetersczhang
Contributor I

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=y
CONFIG_ARCH_MX6=y
CONFIG_SYS_MALLOC_LEN=0x1000000
CONFIG_NR_DRAM_BANKS=1
CONFIG_SYS_MEMTEST_START=0x80000000
CONFIG_SYS_MEMTEST_END=0x88000000
CONFIG_ENV_SIZE=0x80000
CONFIG_ENV_SECT_SIZE=0x80000
CONFIG_ENV_OFFSET=0x00400000
CONFIG_ENV_OFFSET_REDUND=0x00480000
CONFIG_MX6UL=y
CONFIG_TARGET_SECUREMETERS_SKYLINE410=y
# CONFIG_LDO_BYPASS_CHECK is not set
CONFIG_SYS_I2C_MXC_I2C1=y
CONFIG_SYS_I2C_MXC_I2C2=y
CONFIG_DM_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="securemeters_skyline410"
CONFIG_SUPPORT_RAW_INITRD=y
CONFIG_IMX_CONFIG="board/freescale/securemeters_skyline410/imximage.cfg"
CONFIG_NAND_BOOT=y
CONFIG_CMD_NAND=y
CONFIG_CMD_NAND_TRIMFFS=y
CONFIG_CMD_UBI=y
CONFIG_MTD=y
CONFIG_CMD_MTD=y
CONFIG_DM_MTD=y
CONFIG_MTD_RAW_NAND=y
CONFIG_NAND=y
CONFIG_NAND_MXS=y
CONFIG_NAND_MXS_DT=y
CONFIG_NAND_MXS_USE_MINIMUM_ECC=y
CONFIG_SYS_NAND_USE_FLASH_BBT=y
CONFIG_SYS_NAND_ONFI_DETECTION=y
CONFIG_ENV_IS_IN_NAND=y
CONFIG_BOOTDELAY=3
# CONFIG_CONSOLE_MUX is not set
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
CONFIG_BOARD_EARLY_INIT_F=y
CONFIG_HUSH_PARSER=y
CONFIG_SYS_MAXARGS=32
CONFIG_SYS_PBSIZE=532
CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_IMLS is not set
CONFIG_CMD_MEMTEST=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
CONFIG_CMD_USB=y
CONFIG_CMD_USB_MASS_STORAGE=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_PING=y
CONFIG_CMD_BMP=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_NET=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_OF_CONTROL=y
CONFIG_ENV_OVERWRITE=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
CONFIG_USE_ETHPRIME=y
CONFIG_ETHPRIME="eth0"
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_BOUNCE_BUFFER=y
CONFIG_DM_74X164=y
CONFIG_DM_I2C=y
CONFIG_SYS_I2C_MXC=y
CONFIG_FSL_USDHC=y
CONFIG_PHYLIB=y
CONFIG_PHY_MICREL=y
CONFIG_PHY_MICREL_KSZ8XXX=y
CONFIG_DM_ETH_PHY=y
CONFIG_FEC_MXC=y
CONFIG_MII=y
CONFIG_CMD_MII=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y
CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y
CONFIG_DM_SERIAL=y
CONFIG_MXC_UART=y
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_SOFT_SPI=y
CONFIG_IMX_THERMAL=y
CONFIG_USB=y
CONFIG_USB_MAX_CONTROLLER_COUNT=2
CONFIG_USB_STORAGE=y
CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_ASIX=y
CONFIG_VIDEO=n
CONFIG_VIDEO_LINK=n
CONFIG_VIDEO_LOGO=n
CONFIG_SYS_WHITE_ON_BLACK=n
CONFIG_VIDEO_MXS=n
CONFIG_SPLASH_SCREEN=n
CONFIG_SPLASH_SCREEN_ALIGN=n
CONFIG_BMP_16BPP=n
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
CONFIG_USB_GADGET_VENDOR_NUM=0x1fc9
CONFIG_USB_GADGET_PRODUCT_NUM=0x0152
CONFIG_CI_UDC=y
CONFIG_CMD_FASTBOOT=y
CONFIG_USB_FUNCTION_FASTBOOT=y
CONFIG_FASTBOOT_UUU_SUPPORT=y
CONFIG_FASTBOOT=y
CONFIG_FASTBOOT_BUF_ADDR=0x83800000
CONFIG_FASTBOOT_BUF_SIZE=0x40000000
CONFIG_FASTBOOT_FLASH=y
CONFIG_EFI_PARTITION=y
CONFIG_CMD_CRC32=y
CONFIG_CRC32_VERIFY=y
CONFIG_DDR3L_MT41K256M16HA=y
CONFIG_USB_EHCI_MX6=y
The u-boot builds and boots fine.
 
However, if I add these two configs, it does not work as expected:
CONFIG_RESET_TO_RETRY=y
CONFIG_BOOT_RETRY_TIME=30
 
The board does not reset itself after I stop autoboot and stay there with no action for more than 30 seconds.
Please help me on this issue. Thanks!
 
Best regards,
Chencheng
 
标签 (1)
0 项奖励
回复
3 回复数

261 次查看
securemetersczhang
Contributor I

I also tried adding "bootretry=30" to default environment variable. But it does not help either.

0 项奖励
回复

198 次查看
Alejandro_Salas
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复

182 次查看
securemetersczhang
Contributor I

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

0 项奖励
回复