public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [help] busy loop at omap_serial_reset()
@ 2006-03-01  8:57 Hiroki Kaminaga
  2006-03-01 15:46 ` U-boot 1.1.4 compilation problem Djordje Nijemcevic
  2006-03-03 19:00 ` [help] busy loop at omap_serial_reset() Tony Lindgren
  0 siblings, 2 replies; 4+ messages in thread
From: Hiroki Kaminaga @ 2006-03-01  8:57 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

I'm facing a problem as below:

I'm trying to boot from uncompressed linux kernel.
Kernel image is allocated by boot loader.
When control is moved to kernel (pc is set to .stext of kernel head.S),
it starts fine, until it enters omap_serial_init() -> omap_serial_reset().
Here, value 0x1 is written to UART_OMAP_SYSC, and busy loops until the written
value is read. The target board hangs here, since the written value could 
not be read (or reads the default 0x0 value).

Is there something that have to be set/done by boot loader before entering
kernel for serial config?

I'm kicking kernel from hand-made boot loader command, and 
MMU is turned off, I/D cache disabled, r0 = 0x0, r1 = machine nr.
(From reading arch/arm/kernel/head.S Kernel startup entry point comment)

When I start kernel from (compressed) uImage, it boots fine.

I'm using (a bit old) 2.6.11 kernel, but the routine looks the same as
of 2.6.15 kernel. I'm using omap osk 5912 as target.

Any hint?


Best Regards,

HK.
--

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-03 19:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-01  8:57 [help] busy loop at omap_serial_reset() Hiroki Kaminaga
2006-03-01 15:46 ` U-boot 1.1.4 compilation problem Djordje Nijemcevic
2006-03-02  1:06   ` Hiroki Kaminaga
2006-03-03 19:00 ` [help] busy loop at omap_serial_reset() Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox