imx6ull Dual uboot boot support

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

imx6ull Dual uboot boot support

1,167 次查看
mark123
Contributor I

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?

0 项奖励
回复
3 回复数

1,063 次查看
pengyong_zhang
NXP Employee
NXP Employee

Hi @mark123 

About the BOOT SEARCH COUNT, Please refer the below link:

https://community.nxp.com/t5/i-MX-Processors/How-to-do-for-nand-boot-config-quot-boot-search-count-q...

I think this link well help you about your request:

https://community.nxp.com/t5/iMX-and-Vybrid-Support/How-to-use-UUU-to-program-FlexSPI-on-I-MX8QXP-wi...

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

0 项奖励
回复

1,121 次查看
pengyong_zhang
NXP Employee
NXP Employee

Hi @mark123 

Sorry about this, There is no solution about dual uboot boot on i.MX6ULL.

B.R

0 项奖励
回复

1,118 次查看
mark123
Contributor I

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?

mark123_0-1730787431589.png

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

mark123_1-1730787729766.png

root@y6ull14x14:~# flash_erase /dev/mtd0 0x100000 1
Erasing 128 Kibyte @ 100000 -- 100 % complete

 

0 项奖励
回复