Re: [U-Boot] need help for SPL-NAND boot

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/29/2013 02:14 PM, Gupta, Pekon wrote:
Hi,
Need a help in debugging the spl boot via NAND.
NAND Device is flashed with valid 'MLO' and 'u-boot.img'. Also it boots via MMC/SD perfectly using same images. But is NAND-SPL boot gets stuck under following condition..
CONFIG_SPL_OS_BOOT (falcon mode) is enable by default for am33xx.. #ifdef CONFIG_SPL_OS_BOOT if(valid_linux_image_header) loads_and_boots_linux else U-boot_hangs #else shows_serial_terminal with 'ccccc'
#endif
I have been debugging this flow by analyzing code in $U-BOOT/common/spl/spl.c $U-BOOT/common/spl/spl_nand.c: spl_nand_load_image() But, I'm getting stuck & lost .. Any pointers in this regard would be helpful.
So, when I was testing out falcon mode with NAND on am335x, what I found was that the kernel was up and dying, unless I was using a much older one that had NAND support in it, if I threw in earlyprintk.
Also, I'm not seeing following CONFIGS being used anywhere.. #define CONFIG_SYS_NAND_U_BOOT_START #define CONFIG_SYS_NAND_U_BOOT_SIZE #define CONFIG_SYS_NAND_U_BOOT_DST Have these been deprecated ?
They aren't used by CONFIG_SPL_FRAMEWORK drivers, no.
- -- Tom
participants (1)
-
Tom Rini