LS1028 - U-Boot console on LPUART

cancel
Showing results for 
Search instead for 
Did you mean: 

LS1028 - U-Boot console on LPUART

56 Views
cguer
Contributor I

Hello NXP Community,

Context
I'm using ls1028 device. U-Boot and Linux console output use duart1(duart0 on dts).
Now, i would like the console output to be on the lpuart6(lpuart5 on dts).
I'm using U-Boot qoriq 2020.04 

What i've done

  • rcw

I've set UART1_SOUTSIN_PMUX to 0b011 to use LPUART6 according datasheet Rev. 0 , 12/2019

  • u-boot defconfig

I've set following config to yes:  CONFIG_DM_SERIAL, CONFIG_FSL_LPUART, CONFIG_LPUART.
I've also set CONFIG_SYS_EXTRA_OPTIONS to "LPUART".

  • u-boot device tree

I have my own device tree which I include fsl-ls1028a.dtsi. In addition to that, i've changed the status of node to "okay" for the following nodes: &lpuart5 &serial0.
I've done aliases between serial0 and &lpuart5.
I've set also stdout-path to &lpuart5 (under chosen).

Status
After those step, I still don't have console output. 
Any suggestion? Is it possible to have console output on LPUART6?

Thanks in advance  
Kind Regards,
Cguer

 

 

0 Kudos
2 Replies

44 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could use flexbuild_lsdk2004_update_290520 release.

Please refer to the attached u-boot patches.

38 Views
cguer
Contributor I

Hi @yipingwang,

I really appreciate your fast reply on this subject.

The patches you sent to me are for LPUART1(lpuart0 in dts). What should I do if I want for LPUART6?
Especially the modification done with your patch 0001-board-freescale-ls1028a-mux-changes-for-lpuart.patch concerning QIXIS_READ.

Thank you in advance.

0 Kudos