[U-Boot] OMAP3: NAND init problems

Simon Schwarz simonschwarzcor at googlemail.com
Mon Jun 20 18:17:07 CEST 2011


Dear Sughosh,

>  I guess this is the same as nand_spl. Do you use nand_boot.c in the
>  spl code. This file has the nand_chip object declared as a local
>  variable on the stack, and not bss.
I first tried to use the standard NAND implementation - but I think
you are right - using nand_spl implementation is much smaller. the
auto recognition functions are nice but the trade-off in size is huge.

I solved the problem - it was the .bss section not initialized to zero
- thanks for the hint!

Regards
Simon


More information about the U-Boot mailing list