Console UART port changing in imx linux branch

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Console UART port changing in imx linux branch

ソリューションへジャンプ
2,267件の閲覧回数
vivekrajpara
Contributor III

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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,461件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

3 返答(返信)
1,462件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

1,461件の閲覧回数
rootb3r
Contributor II

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.

0 件の賞賛
返信
1,461件の閲覧回数
vivekrajpara
Contributor III

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

0 件の賞賛
返信