* [U-Boot] Kirkwood: no console messages from init_sequence?
@ 2010-10-18 0:40 Eric Cooper
2010-10-18 19:35 ` Eric Cooper
0 siblings, 1 reply; 4+ messages in thread
From: Eric Cooper @ 2010-10-18 0:40 UTC (permalink / raw)
To: u-boot
I rebased my dockstar patches on master, after the recent ARM
relocation support for kirkwood had been merged.
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:
Marvell>> reset
resetting ...
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
[...]
(I see the same behavior on a cold start, not just a reset.) Can
someone with another kirkwood board please check whether they see this
behavior also, or did I somehow break something when I rebased?
Thanks.
--
Eric Cooper e c c @ c m u . e d u
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Kirkwood: no console messages from init_sequence?
2010-10-18 0:40 [U-Boot] Kirkwood: no console messages from init_sequence? Eric Cooper
@ 2010-10-18 19:35 ` Eric Cooper
2010-10-18 19:39 ` Reinhard Meyer
0 siblings, 1 reply; 4+ messages in thread
From: Eric Cooper @ 2010-10-18 19:35 UTC (permalink / raw)
To: u-boot
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.
--
Eric Cooper e c c @ c m u . e d u
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Kirkwood: no console messages from init_sequence?
2010-10-18 19:35 ` Eric Cooper
@ 2010-10-18 19:39 ` Reinhard Meyer
2010-10-18 23:21 ` Joakim Tjernlund
0 siblings, 1 reply; 4+ messages in thread
From: Reinhard Meyer @ 2010-10-18 19:39 UTC (permalink / raw)
To: u-boot
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.
Best Regards
Reinhard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Kirkwood: no console messages from init_sequence?
2010-10-18 19:39 ` Reinhard Meyer
@ 2010-10-18 23:21 ` Joakim Tjernlund
0 siblings, 0 replies; 4+ messages in thread
From: Joakim Tjernlund @ 2010-10-18 23:21 UTC (permalink / raw)
To: u-boot
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-18 23:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-18 0:40 [U-Boot] Kirkwood: no console messages from init_sequence? Eric Cooper
2010-10-18 19:35 ` Eric Cooper
2010-10-18 19:39 ` Reinhard Meyer
2010-10-18 23:21 ` Joakim Tjernlund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox