How to set USB serial as debug port / console?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set USB serial as debug port / console?

Jump to solution
1,728 Views
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

Tags (2)
0 Kudos
1 Solution
1,007 Views
yurirellosa
Contributor IV

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

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

It works fine!

View solution in original post

0 Kudos
1 Reply
1,008 Views
yurirellosa
Contributor IV

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

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

It works fine!

0 Kudos