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
Please add "CONFIG_CONS_INDEX=2" in configs/ls1043aqds_tfa_defconfig.
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