[U-Boot-Users] data abort
Glenson Muthedan
glenson at gmx.de
Wed Sep 17 16:17:14 CEST 2003
Hi Anders,
Ohh, yes! You're right. I had put some printf-lines in board.c between
devices_init() and console_init_r(). As you explained, removing those
lines solved that problem. Now U-Boot seems to run quite normal.
Thanks.
Glenson.
Anders Larsen wrote:
> Hi Glenson,
>
> does it happen immediately at that line, or did you add any debug
> output?
>
> As soon as GD_FLG_DEVINIT is set, the output functions (puts, printf,
> ...) will search for the output device in a lookup table, which
> unfortunately has not yet been initialized at that point (the lookup
> table is initialized in console_init_r() which is called *after*
> devices_init() has completed).
>
> Perhaps the line "gd->flags |= GD_FLG_DEVINIT;" should better be
> moved to console_init_r() ?
>
> Cheers
> Anders
>
>
More information about the U-Boot
mailing list