Change of Debug UART of T1042

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change of Debug UART of T1042

Jump to solution
1,229 Views
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 Kudos
1 Solution
1,193 Views
athershehzad
Contributor III

Thanks @yipingwang 

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

View solution in original post

0 Kudos
2 Replies
1,194 Views
athershehzad
Contributor III

Thanks @yipingwang 

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

0 Kudos
1,206 Views
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 Kudos