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。
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
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.
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
Hi Haoran:
I see, thank you very much。