Change of Debug UART of T1042

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

Change of Debug UART of T1042

ソリューションへジャンプ
1,264件の閲覧回数
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,228件の閲覧回数
athershehzad
Contributor III

Thanks @yipingwang 

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

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,229件の閲覧回数
athershehzad
Contributor III

Thanks @yipingwang 

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

0 件の賞賛
1,241件の閲覧回数
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 件の賞賛