Hi All,
I am working with imx7s and free scale linux git repository.
I need to change console UART port of the Cortex A7 core so that I can access U-Boot prompt and Kernel Logs on different UART.
Currently logs are transferred to UART 1 port I need to transfer them to UART 4 port.
Can anyone suggest required changes for this?
Thanks,
Vivek
解決済! 解決策の投稿を見る。
Hi Vivek
one can look at Sabre AI example where uart4 is used, so in
uboot/include/configs/mx6qsabreauto.h :
#define CONFIG_MXC_UART_BASE UART4_BASE
#define CONFIG_CONSOLE_DEV "ttymxc3"
with kernel boot parameter console=ttymxc3,115200
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Vivek
one can look at Sabre AI example where uart4 is used, so in
uboot/include/configs/mx6qsabreauto.h :
#define CONFIG_MXC_UART_BASE UART4_BASE
#define CONFIG_CONSOLE_DEV "ttymxc3"
with kernel boot parameter console=ttymxc3,115200
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I'm facing the same issue on imx28evk custom board for Wink Hub 1 but the uboot/include/configs/mx28evk.h file doesn't seem to have the CONFIG_MXC_UART_BASE & CONFIG_CONSOLE_DEV config.
Waiting for reply.
Thank you Igor,
These settings worked. I just need to do extra iomux settings in U-Boot code in addition to steps mentioned by you
Best Regards,
Vivek