Change of Debug UART of T1042

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Change of Debug UART of T1042

跳至解决方案
1,263 次查看
athershehzad
Contributor III

Hi !

I am working on a custom board based on T1042. I want to change debug uart from ttyS0 to ttyS3.

I have changed environment variable "consoledev=ttyS0" to "consoledev=ttyS3". The effect of this change is that during booting, kernel prints shift to ttyS3 however filesystem never come to a login state. Also u-boot prints are still coming of ttyS0.

What other changes do I need to change to achieve this goal?

Regards

Ather

0 项奖励
1 解答
1,227 次查看
athershehzad
Contributor III

Thanks @yipingwang 

Changing the value to #define CONFIG_CONS_INDEX 4 solves the issue.

在原帖中查看解决方案

0 项奖励
2 回复数
1,228 次查看
athershehzad
Contributor III

Thanks @yipingwang 

Changing the value to #define CONFIG_CONS_INDEX 4 solves the issue.

0 项奖励
1,240 次查看
yipingwang
NXP TechSupport
NXP TechSupport

In u-boot source code, please do the following modification, then rebuild u-boot image. in include/configs/T104xRDB.h.

#define CONFIG_CONS_INDEX 1

Modify to

#define CONFIG_CONS_INDEX 3

0 项奖励