USB support missing in initrd makes booting core with writable on USB impossible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
linux-raspi2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when using a gadget.yaml like:
volumes:
pi4-system-boot:
schema: mbr
bootloader: u-boot
structure:
- type: 0C
filesystem: vfat
size: 512M
content:
- source: boot-assets/
target: /
pi4-usb-writable:
schema: mbr
structure:
- name: writable
type: 83
filesystem: ext4
size: 650M
role: system-data
this creates two separate img files for a Pi image ... one for SD to hold the boot files, one for USB that carries the rootfs ...
sadly our kernel will then not find the writable partition because it lacks support for usb disks (usb-storage seems to be there but not sufficient)
adding the following to a re-built kernel snap makes everything work (verified with USB 3.1 SSD on a pi4 as well as various USB 3.0 keys)
- CONFIG_
- CONFIG_
- CONFIG_
- CONFIG_USB_UAS=y
can we please have these either built into the kernel or added to the core initrd as modules ?
description: | updated |
summary: |
- USB support missing in initrd makes booting with writable on USB + USB support missing in initrd makes booting core with writable on USB impossible |
description: | updated |
description: | updated |
no longer affects: | linux-raspi (Ubuntu Xenial) |
no longer affects: | linux-raspi (Ubuntu Bionic) |
no longer affects: | linux-raspi2 (Ubuntu Focal) |
Status changed to 'Confirmed' because the bug affects multiple users.