Help with mainline u-boot booting i.mx6 from NAND

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with mainline u-boot booting i.mx6 from NAND

1,677 Views
richardhu
Contributor II

Hi all, I try to use mainline u-boot-2013(git://git.denx.de/u-boot.git) to boot i.mx6 from NAND flash.

I can boot i.mx6 from NAND flash using u-boot-2009 from LTIB.

It means hardware BOOT_CFG is configured correctly.

Moreover, mainline u-boot-2013 can boot from SD card.

It means the DRAM settings in DCD is correct.

I burn u-boot image into NAND flash using command:

kobs-ng init -x -w -v u-boot.imx

The command '-x 'pads 1K bytes in the head of u-boot.imx.

But mainline u-boot-2013 still can't boot i.mx6 from NAND flash.

I guess maybe something wrong in boot ROM process ?

0 Kudos
2 Replies

700 Views
rp123
Contributor II

for uboot-2009 did you have to make any adjustments to the 'board_config'.h file to tailor the u-boot image for nand boot?

0 Kudos

700 Views
Hans-PeterRosin
Senior Contributor I

Hi no u-boot 2009 worked for me without any modifications

0 Kudos