Skip to content

raspi: load USB classes from disk#799

Open
bsek wants to merge 2 commits into
aros-development-team:masterfrom
bsek:raspi_usb_diskload
Open

raspi: load USB classes from disk#799
bsek wants to merge 2 commits into
aros-development-team:masterfrom
bsek:raspi_usb_diskload

Conversation

@bsek

@bsek bsek commented May 15, 2026

Copy link
Copy Markdown
Contributor
  • Moved usb classes from rom to disk
  • Trimmed the usbromstartup to just register usb2otg driver

Device binding now happens during execution of startup-sequence.

BSP rom no longer bakes USB/hid, USB/hub, USB/bootmouse,
USB/bootkeyboard or USB/massstorage. AddUSBClasses in
Startup-Sequence picks them up from SYS:Classes/USB once DOS
comes up. usbromstartup trimmed to just register usb2otg.device.
@Kalamatee

Copy link
Copy Markdown
Member

This change prevents older PI's from starting boot on sdcard, but continuing from a USB device.

USB-MSD boot needs hub.class + massstorage.class available before
Startup-Sequence runs (which is where AddUSBClasses loads the
disk-side classes). Reintroduce ROM-side registration and class scan
for those two, plus the mass-storage boot delay.

HID classes (hid, bootmouse, bootkeyboard) remain disk-loaded.
@bsek

bsek commented May 17, 2026

Copy link
Copy Markdown
Contributor Author

This change prevents older PI's from starting boot on sdcard, but continuing from a USB device.

Good point — I've put hub.class and massstorage.class back into the ROM so usb-msd boot still works

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

Successfully merging this pull request may close these issues.

2 participants