From: Glenson Muthedan <glenson@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] data abort
Date: Wed, 17 Sep 2003 16:17:14 +0200 [thread overview]
Message-ID: <3F686CEA.7020809@gmx.de> (raw)
In-Reply-To: fc.004c4e48001cb53e3b9aca0046c440fa.1cb55e@rea.de
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
>
>
next prev parent reply other threads:[~2003-09-17 14:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-15 11:04 [U-Boot-Users] data abort Glenson Muthedan
2003-09-15 11:29 ` Wolfgang Denk
2003-09-15 11:48 ` Anders Larsen
2003-09-15 12:51 ` Robert Schwebel
2003-09-15 12:58 ` Anders Larsen
2003-09-15 13:44 ` Robert Schwebel
2003-09-16 18:43 ` Glenson Muthedan
2003-09-16 20:26 ` Wolfgang Denk
2003-09-17 8:57 ` Anders Larsen
2003-09-17 10:02 ` Wolfgang Denk
2003-09-17 10:08 ` Anders Larsen
2003-09-17 14:17 ` Glenson Muthedan [this message]
2003-09-15 11:42 ` Robert Schwebel
-- strict thread matches above, loose matches on Subject: below --
2003-09-16 20:36 Woodruff, Richard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F686CEA.7020809@gmx.de \
--to=glenson@gmx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.