Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
444 Discussions

HPS uart could not initialize at uboot.

Qiweiii
Beginner
795 Views

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
EBERLAZARE_I_Intel
494 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.

0 Kudos
EBERLAZARE_I_Intel
494 Views

Hi,

 

Do you have any followup from your side?

 

Thanks.

0 Kudos
Reply