Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB otg as serial #12

Open
axjslack opened this issue Oct 14, 2015 · 1 comment
Open

USB otg as serial #12

axjslack opened this issue Oct 14, 2015 · 1 comment

Comments

@axjslack
Copy link

I know that this not a proper issue, but may be useful for others: do you know it there is a way to use the OTG usb of CI20 as serial for console (both u-boot and kernel)? I see something similar on some TI boards or ST-Ericsson board.

This would be helpful for people that don't want (or can't) to use the TTL serial.

@ZubairLK
Copy link
Contributor

Perhaps. Using the gadget serial driver it might be possible to use the OTG port as a serial console under Linux. Something similar might exist in u-boot as well.

This might help.
https://www.kernel.org/doc/Documentation/usb/gadget_serial.txt

But 'technically possible' doesn't mean it works. ;)

There will be SW side effort involved in getting it done.

fyi. in some boards, the usb port is physically used.
But behind the physical usb port, the actual chip is a usb to ftdi ttl converter.
Hence it is a standard serial port behind the scenes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants