[U-Boot] Kirkwood: no console messages from init_sequence?

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Oct 19 01:21:05 CEST 2010


> 
> Dear Eric Cooper,
> > On Sun, Oct 17, 2010 at 08:40:31PM -0400, Eric Cooper wrote:
> >> I no longer see any of the early console messages that should result
> >> from display_banner, print_cpuinfo, etc.  The first thing I see is 
the
> >> NAND information:
> >> [...]
> >
> > But if I load the same u-boot image into memory and execute it with
> > "go", I see the entire banner, DRAM message, etc.  So the problem only
> > occurs when it is booting from NAND flash.
> 
> Looks to me like the console does not get initialized early or that the
> console driver does not work before relocation. Check for possible 
static
> data usage in the driver.

The init_sequence is the first variable to hold initialized static data, 
possibly
its pointers are wrong even before relocation. Will be if your link 
address!=load address


More information about the U-Boot mailing list