Arria V preloader print to second HPS UART
Hi,
How can I print the preloader output to HPS_UART1 instead of HPS_UART0?
There are two UART defined in qsys and currently the preloader prints to UART0.
Thanks
Hi bsp_user,
The u-boot open source link can be found as below:
https://github.com/altera-opensource/u-boot-socfpga
I not sure about the u-boot preloader related part but for u-boot, the related device tree for Arria v can be found as below, can try to search with the key word socfpga_ with the product family name, it includes sockpga.dtsi:
https://github.com/altera-opensource/u-boot-socfpga/blob/socfpga_v2022.10/arch/arm/dts/socfpga.dtsi
The uart0 and uart1 address for Arria v HPS as below:
uart0 and uart1 may not share the same physical pin connection and you might need to consider additional hardware in order to get the uart logging. Do check with the pin guidlines of the device and also check in the pin mux and peripherals setting under the Arria V HPS IP in quartus qsys on how the default uart0 was enabled by default. If uart1 selection is not found together with the same pin used by uart0 then need to search for other pins which allows uart1 pinmux routing.
Thanks.
Regards,
Aik Eu