Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Qiweiii
Beginner
381 Views

HPS uart could not initialize at uboot.

In out case, HPS UART0 is routed to FPGA, HPS UART1 is routed to HPS.

hps uart.png

 

But we found that uboot would hanging while HPS UART0 initializing(before HPS UART0 initialize, HPS UART1 finished initialzing).

The problem is hanging in ns16550.c

while (!(serial_in(&com_port->lsr) & UART_LSR_TEMT)) ;

hps uart hanging 1.png

hps uart hanging 2.png

 

Is there anything we missed if we are making the HPS UART route to FPGA or any change we should make in uboot?

0 Kudos
2 Replies
80 Views

Hi,

 

May I know which quartus version you are using?

 

Have you tried running our GHRD image to see if everything works successfully?

 

You may find the steps here:

https://rocketboards.org/foswiki/Documentation/A10GSRDBootLinuxFromSDCardLTS

 

For Quaruts version 18.1 you may find the image here:

https://rocketboards.org/foswiki/Documentation/GSRD181ReleaseNotes

 

Regards.

80 Views

Hi,

 

Do you have any followup from your side?

 

Thanks.

Reply