how to use ttymxc0 as a comon uart

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

how to use ttymxc0 as a comon uart

1,034件の閲覧回数
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 返答(返信)

803件の閲覧回数
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 件の賞賛

803件の閲覧回数
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 件の賞賛

803件の閲覧回数
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 件の賞賛

803件の閲覧回数
raysonrayson
Contributor I

Hi Haoran:

   I see, thank you very much。

0 件の賞賛