
Wolfgang Denk wd@denx.de schreibt:
Dear Anders,
in message fc.004c4e48001cb53e3b9aca0046c440fa.1cb55e@rea.de you wrote:
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() ?
...but there is no output happening between devices_init() and console_init_r().
...which is why I asked Glenson if he had eventually added any (debug) output statement.
I still think we should move the line in question to close this window of (potential) crashes.
Cheers Anders