how to use ttymxc0 as a comon uart

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

how to use ttymxc0 as a comon uart

1,033 次查看
raysonrayson
Contributor I

Hi All:

   On mx6sdq, the ttymxc0 is used as a debug uart,   I want to use it as a common uart connected by a printer. when during debugging time , I want it used as debug uart  to output informations, others, I want to use it as a common uart , and do not output any debug information 。Can you give me some suggestions? thanks very much。

标签 (1)
0 项奖励
4 回复数

802 次查看
haoranwang
NXP Employee
NXP Employee

Hi Rayson,

     I think you can remove the debug uart ttymxc0 port by changing BOARD_KERNEL_CMDLINE in BoardConfig.mk. Then try use it as normal uart.

     Thanks.

BRs,

Haoran

0 项奖励

802 次查看
raysonrayson
Contributor I

Hi Haoran:

   Thanks for your reply , I use the linux  version,not android ,and how to do , please give me some suggestions, thank you again.

0 项奖励

802 次查看
haoranwang
NXP Employee
NXP Employee

Hi Rayson,

     I think they are same. You can simply modify the "console" parameter in uboot "bootargs" or "mmcargs" to ttymxc1 or other. But I cannot make sure whether the kernel log will print to ttymxc1. But the ttymxc0 will be free to use.

     Thanks.

BRs,

Haoran

0 项奖励

802 次查看
raysonrayson
Contributor I

Hi Haoran:

   I see, thank you very much。

0 项奖励