why changing "stdout-path" in uboot doesn't work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

why changing "stdout-path" in uboot doesn't work

861 Views
liguangyu02
Contributor II

Dear NXP export,

I'm doing job to bring up a LS1043A customer board with LSDK2012 and I used ls1043aqds as example.

For some reason, we need to use DUART1 but not DUART0 as console port. so I did some change in atf by changing NXP_UART_ADDR to NXP_UART2_ADDR in platform_def.h, it worked.

However, when I modified "stdout-path = &duart0" to "stdout-path = &duart1" in fsl-ls1043a-qds-duart.dts, the console is still duart0.

I have checked the config file and it's CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-qds-duart".

Is there something that I missed?

 

Thanks in advance!

Guangyu

 

0 Kudos
2 Replies

848 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please add "CONFIG_CONS_INDEX=2" in configs/ls1043aqds_tfa_defconfig.

0 Kudos

851 Views
liguangyu02
Contributor II

This issue now workarounded by fix return value to "&eserial2_device" in function

__weak struct serial_device *default_serial_console(void)

in file serial_ns16550.c

 

0 Kudos