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 ?
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?
Hi no u-boot 2009 worked for me without any modifications