USB on Embedded Linux Systems Deep Dive
summary
Covers USB recovery modes and boot paths with concrete commands and limits: DFU over endpoint 0 is slow and use fastboot for large images; shows U-Boot setup (dfu, fastboot, ums) and required buffer/address settings. Describes role switching via ID GPIO, extcon or connector driver and using USB power switch chips. Demonstrates Linux-side tools: dfu-util, lsusb, usbmon + Wireshark live capture, and hardware analyzers (Beagle, Sentience/Luna, sigrok); explains configfs gadget instantiation and that ~20 kernel gadget functions must be available.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 0:35Agenda
- 1:16USB specification
- 1:54USB protocol
- 8:01USB signals
- 10:50USBC signals
- 12:43TI M62
- 13:42Itadodynamics Item Plus
- 14:55USB Recovery Mode
- 16:28Firmware Upgrade
- 18:07Bootloader
- 20:47USB Mass Storage
- 23:12Linux Kernel
- 24:30Userspace
- 25:34USBS
- 27:17USB Tools
- 29:28USB Roll Switching
- 32:39USB Device Configuration
- 32:53Config FS
- 34:45USB GX
- 34:59USB Mon
- 37:32Questions
related talks
52mDebugging Usually Slightly Broken (USB) Devices and Drivers
39mFrom Hardware to Linux
49mBring-up with Netconsole and USB without a Serial Debug Net
42mOverview of Universal Flash Storage Subsystem
43mUCSI, TCPM, PD, AltModes: Demystifying USB-C and Its Support in Linux
38mWriting Your Own Gadget with Zephyr OS
02mBecoming a Linux Developer
28mEmulating Devices in Linux Using Greybus Subsystem
