public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-Boot problems with MPC8272ADS
Date: Wed, 19 Sep 2007 17:05:00 -0400	[thread overview]
Message-ID: <46F18EFC.5080400@smiths-aerospace.com> (raw)
In-Reply-To: <46F18CDA.6090507@freescale.com>

Scott Wood wrote:
> Manil Gaouar wrote:
>> I installed u-boot on my mpc8272ads board, and when I connect the
>> board with a serial link to my pc, I don?t see any output in the
>> console, I use cu S0 at 115200, I have connected a JTAG to see what?s
>> happening in the board I can see that the PC register is changing and
>> going through the memory, and the pc will be stuck in an infinite
>> loop which means that he is waiting for an input,
> 
> That's hardly the only case in which code can get stuck in an infinite loop.

When you halt the CPU with the JTAG, what the PC value?  Look it up in 
your u-boot link map, where is it looping?

>> probable the command prompt. I have compared different positions in
>> my PC register and the u-boot.map and I can see which function my
>> code is at, so u-boot is running, but why I don?t have a display??
> 
> Did you check that the serial port is properly initialized, including 
> I/O pin and BRG setup?  Can you get serial output by manually poking the 
> registers with the BDI?
> 
> -Scott

The second dumbest question: did you plug your serial cable into _both_ 
of the mpc8272ads board's serial ports?

The third dumbest question: did you try different baud rates on your PC 
(or, better, look at the board's serial output with an o'scope)?

gvb
P.S. The first dumbest question is "Is it plugged in?"

  reply	other threads:[~2007-09-19 21:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 20:25 [U-Boot-Users] U-Boot problems with MPC8272ADS Manil Gaouar
2007-09-19 20:55 ` Scott Wood
2007-09-19 21:05   ` Jerry Van Baren [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-20 21:51 Manil Gaouar
2007-09-20 22:22 ` Ben Warren
2007-09-21 16:17 Manil Gaouar
2007-09-21 18:25 ` Ben Warren

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=46F18EFC.5080400@smiths-aerospace.com \
    --to=gerald.vanbaren@smiths-aerospace.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox