How to set USB serial as debug port / console?

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

How to set USB serial as debug port / console?

ソリューションへジャンプ
2,542件の閲覧回数
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,821件の閲覧回数
yurirellosa
Contributor IV

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

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

It works fine!

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,822件の閲覧回数
yurirellosa
Contributor IV

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

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

It works fine!

0 件の賞賛
返信