How to set USB serial as debug port / console?

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

How to set USB serial as debug port / console?

跳至解决方案
2,629 次查看
yurirellosa
Contributor IV

Hi All!

I'm working on an iMX23 cpu with linux-2.6.35.3 and wondering if this is even possible to implement.

I can build g_serial and g_multi and use the serial port function, which uses /dev/ttyGS0.

Do I just have to change [console=ttyS0] to [console=ttyGS0] on the kernel command line?

Thanks

标记 (2)
0 项奖励
回复
1 解答
1,908 次查看
yurirellosa
Contributor IV

I added another console setting in [/etc/inittab]

::respawn:/sbin/getty -L ttyAM0 115200 vt100

It works fine!

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,909 次查看
yurirellosa
Contributor IV

I added another console setting in [/etc/inittab]

::respawn:/sbin/getty -L ttyAM0 115200 vt100

It works fine!

0 项奖励
回复