public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [help] busy loop at omap_serial_reset()
Date: Fri, 3 Mar 2006 11:00:33 -0800	[thread overview]
Message-ID: <20060303190033.GF4398@atomide.com> (raw)
In-Reply-To: <20060301.175750.92583404.kaminaga@sm.sony.co.jp>

* Hiroki Kaminaga <kaminaga@sm.sony.co.jp> [060301 01:00]:
> 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?

If you have the lowlevel debug on in the kernel, you need to leave the
serial port enabled and configured for the kernel from the bootloader.
Maybe you don't have the serial clock on? Or maybe your loop also tries
to read for another uninitialized serial port?

Regards,

Tony

      parent reply	other threads:[~2006-03-03 19:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Tony Lindgren [this message]

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=20060303190033.GF4398@atomide.com \
    --to=tony@atomide.com \
    --cc=kaminaga@sm.sony.co.jp \
    --cc=linux-omap-open-source@linux.omap.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox