From: Rommel G Custodio <sessyargc@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] PPC405 with XMD boot
Date: Wed, 6 Feb 2013 20:13:11 +0900 [thread overview]
Message-ID: <20130206111311.GA32098@crg> (raw)
In-Reply-To: <CABoww6OyeR2dr-4C=tW8Uf+g7wxXnW47PFuFu70u9ZXyMMdE=Q@mail.gmail.com>
Dear Frank,
On 2013.02/05, Frank Lombardo wrote:
> Rommel,
>
> I am using your recently posted patch to boot my custom Virtex4 board with
> XMD. Execution gets stuck in the NS16550_init() function. It gets stuck
> at this line:
So you're not jumping to random addresses anymore.
>
> #if (!defined(CONFIG_SYS_NS16550_BROKEN_TEMT))
> while (!(serial_in(&com_port->lsr) & UART_LSR_TEMT))
> ;
> #endif
>
> If I define CONFIG_SYS_NS16550_BROKEN_TEMT, it gets stuck in the while loop
> in NS16550_putc:
>
> while ((serial_in(&com_port->lsr) & UART_LSR_THRE) == 0)
> ;
> serial_out(c, &com_port->thr);
>
> From the GDB output, I can see it is using the correct address for the the
> serial port (0x84000000)
Hmmn. I've seen that before, I think.
Don't define CONFIG_SYS_NS16550_BROKEN_TEMT.
Make sure you use CTS/RTS (h/w flow) control with your terminal
application.
HTH.
All the best,
Rommel
>
> (gdb) target remote localhost:1234
> Remote debugging using localhost:1234
> NS16550_putc (com_port=0x84000000, c=13 '\r') at ns16550.c:91
> 91 while ((serial_in(&com_port->lsr) & UART_LSR_THRE) == 0)
> (gdb)
>
>
> In your opinion, is your patch providing everything that I need to boot
> with XMD? Can you suggest what I might be doing wrong?
>
> Thanks for any insight you may have,
> Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130206/082aaf33/attachment.pgp>
next prev parent reply other threads:[~2013-02-06 11:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 0:51 [U-Boot] PPC405 with XMD boot Frank Lombardo
2013-02-06 11:13 ` Rommel G Custodio [this message]
2013-02-06 14:08 ` Stefan Roese
2013-02-07 3:20 ` Frank Lombardo
2013-02-07 7:12 ` Stefan Roese
2013-02-07 9:21 ` Rommel Custodio
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=20130206111311.GA32098@crg \
--to=sessyargc@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.