Re: [U-Boot] PPC405 with XMD boot

2013-02-07 Thread Rommel Custodio
Stefan Roese sr at denx.de writes: On 02/07/2013 04:20 AM, Frank Lombardo wrote: Thanks for the responses guys. I got to work. What I found was that the address being passed to the driver code was 0x8400. This is the base address of the UART. However, the registers of the XPS

Re: [U-Boot] PPC405 with XMD boot

2013-02-06 Thread Rommel G Custodio
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

Re: [U-Boot] PPC405 with XMD boot

2013-02-06 Thread Stefan Roese
On 02/06/2013 12:13 PM, Rommel G Custodio wrote: 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

Re: [U-Boot] PPC405 with XMD boot

2013-02-06 Thread Frank Lombardo
Thanks for the responses guys. I got to work. What I found was that the address being passed to the driver code was 0x8400. This is the base address of the UART. However, the registers of the XPS 16550 UART are offset by 0x1000 from the base. I changed the base address in my xparameters.h

Re: [U-Boot] PPC405 with XMD boot

2013-02-06 Thread Stefan Roese
On 02/07/2013 04:20 AM, Frank Lombardo wrote: Thanks for the responses guys. I got to work. What I found was that the address being passed to the driver code was 0x8400. This is the base address of the UART. However, the registers of the XPS 16550 UART are offset by 0x1000 from the

[U-Boot] PPC405 with XMD boot

2013-02-05 Thread Frank Lombardo
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: #if (!defined(CONFIG_SYS_NS16550_BROKEN_TEMT)) while (!(serial_in(com_port-lsr) UART_LSR_TEMT)) ; #endif If I