Kernel Sources / OTG Device Mode
Options
Michael Meyer
New Member Posts: 2 ✭
Hi,
I'm trying to get USB OTG to work in device mode, and so far I haven't had much luck (running linux 4.8-rc6, Fedora 24). I have a feeling this is because I'm running the vanilla kernel (no patches applied). I also tried after enabling two kernel options (while inside `make menuconfig`), USB OTG and gadget mode, no luck.
Where can I find the source code for Linux 4.2 kernel w/upboard changes (the one mentioned here)?
Also, if you're still beta testing Linux 4.4 / Ubuntu 16.04, I would love to help out.
Thanks!
Michael
I'm trying to get USB OTG to work in device mode, and so far I haven't had much luck (running linux 4.8-rc6, Fedora 24). I have a feeling this is because I'm running the vanilla kernel (no patches applied). I also tried after enabling two kernel options (while inside `make menuconfig`), USB OTG and gadget mode, no luck.
Where can I find the source code for Linux 4.2 kernel w/upboard changes (the one mentioned here)?
Also, if you're still beta testing Linux 4.4 / Ubuntu 16.04, I would love to help out.
Thanks!
Michael
Comments
-
Hi mmeyer,
Have you checked out our tutorial on how to enable and use it as a serial console?
Have a look at our wiki: https://up-community.org/wiki/Serial_console#USB3.0_OTG_port_in_device_mode
You can get the source from our ubilinux distribution downloading the linux source package using
apt-get install linux-ubilinux-source
or directly from this link:
http://ubilinux.org/ubilinux/pool/main/l/linux-ubilinux/linux-ubilinux-source-4.4_4.4.13-1_all.deb
Also downloading the Yocto BSP layer you can find the patches applied to a standard 4.4 kernel
I am glad to read that you are interested in the beta testing program. Please send an email to "community AT up-board.org" and send us your request including your launchpad PPA username/email.
Thanks! -
Thanks! I got it working now.
For anyone wondering.. I had to set this in my kernel's .config before compiling:CONFIG_USB_DWC3=m CONFIG_USB_DWC3_GADGET=y CONFIG_USB_DWC3_PCI=m
Categories
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral