From: Anders Larsen Date: Wed, 17 Sep 2003 12:08:44 +0200 Subject: [U-Boot-Users] data abort In-Reply-To: <20030917100247.3CACAC59E4@atlas.denx.de> References: <20030917100247.3CACAC59E4@atlas.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk schreibt: >Dear Anders, > >in message 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