how to switch uboot debug console from uart1 to uart3 for linux 5.10.9 (uboot 2020.04)

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

how to switch uboot debug console from uart1 to uart3 for linux 5.10.9 (uboot 2020.04)

608件の閲覧回数
hailiu
Contributor IV

dear friends,

I am porting uboot code based on linux 5.10.9 for  imx6 solo processor, I plan to use uart3 as the uboot debug console port. I modified the device tree as:

chosen {

stdout-path=&uart3;

}

I also modified  mx6sabresd.c file as:

setup_iOmux_uart(void)

{

SETUP_IOMUX_PADS(uart3_pads);

}

and modified the uart3_pads definitions correspondingly.

Do I need to modify the CONS_INDEX =1 to CONS_INDEX=3?

any other modifications needed?

would you please direct me to the documentation if possible.

thank you,

Hai

 

0 件の賞賛
返信
1 返信

603件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi

 

one can look at #define CONSOLE_DEV in

https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6sabresd.h?h=lf_v2021.04

 

Best regards
igor