Hello nxp engineers, I am using imx6ull for some development work, and the uboot version I am using is 2016.03, I would like to know if it is possible to implement dual uboot boot? Because on our motherboard, we have encountered the phenomenon that uboot can not get up, and uboot has no output at all, so we want to whether there is a dual uboot boot solution, which is probably that a uboot boot fails and automatically switches to another uboot boot?
Hi @mark123
About the BOOT SEARCH COUNT, Please refer the below link:
I think this link well help you about your request:
uuu_version 1.2.39
# This command will be run when ROM support stream mode
SDPS: boot -f flash.bin
# Program the SPI-NOR Flash Chip
FB: ucmd mmc list
FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: ucmd sf probe
FB[-t 40000]: ucmd sf erase 0 +0x600000
FB: download -f qspi-bin_b0 >> this is header of qspi header prebuilt that we use
FB[-t 30000]: ucmd sf write ${fastboot_buffer} 0x400 0x200
FB: download -f flash-1.bin >> this is flash.bin that is generated with imx-mkimage "make SOC=iMX8QX flash"
FB[-t 30000]: ucmd sf write ${fastboot_buffer} 0x1000 0x100000
FB: download -f flash-2.bin
FB[-t 30000]: ucmd sf write ${fastboot_buffer} 0x401000 0x100000
FB: done
B.R
Hi,I checked the chip manual and found that efuse has a default boot count of 2. Does this mean that uboot is stored twice in the bootrom code?
In addition, when I use kobs-ng to write uboot, I also find that u-boot.imx is written to two addresses (such as 0x100000 and 0x300000). If I use flash_erase to erase one of the two addresses, the hard reset can start normally. It cannot start until the uboot is erased from both addresses
root@y6ull14x14:~# flash_erase /dev/mtd0 0x100000 1
Erasing 128 Kibyte @ 100000 -- 100 % complete