How to redirect Android kernel output via usb to PC?

Discuss Android on the Wandboard, as well as app development for or on the Wandboard.

How to redirect Android kernel output via usb to PC?

Postby repu1sion » Fri Jan 27, 2017 7:13 pm

My Android system with a 4.4.2 kernel fails to boot into a stable state where adb could be used.
Could I redirect somehow a kernel output to get it via minicom and usb?
For example, now in kernel command line I have: "console=ttymxc0,115200"
But no any device /dev/tttymxc0 is created on my PC even so usb cable is connected.
Would it work if I change it to /dev/ttyUSB0 or what should I do to see kernel output immediately?
Thanks.
repu1sion
 
Posts: 13
Joined: Mon Jun 01, 2015 4:00 pm

Re: How to redirect Android kernel output via usb to PC?

Postby nevmair » Sat Jan 28, 2017 4:37 pm

On the wandboard there is a DB9 connector, the kernel output is sent there.

You need to connect a serial port
configured to 115200 Baud, 8N1 (8Bits, No parity , 1 stop bit)

The /dev/ttymxc0 device is on the wandboard not your PC.
nevmair
 
Posts: 43
Joined: Mon Feb 16, 2015 3:42 pm


Return to Software - Android

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron