Merge ~xnox/ubuntu-core-initramfs:less-modules into ~canonical-foundations/ubuntu-core-initramfs:master
Status: | Merged |
---|---|
Merged at revision: | 39f77dcb29f2e75370a8f3ef6fef2d73508760f6 |
Proposed branch: | ~xnox/ubuntu-core-initramfs:less-modules |
Merge into: | ~canonical-foundations/ubuntu-core-initramfs:master |
Diff against target: |
86 lines (+2/-68) 2 files modified
debian/changelog (+1/-1) factory/usr/lib/modules-load.d/ubuntu-core-initramfs.conf (+1/-67) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov (community) | Approve | ||
Review via email: mp+384033@code.launchpad.net |
Commit message
Ship less modules in the initrd.
RPi ideally should boot without any modules at all.
But currently we include too many, without matching firmware.
When we do that, module loads, fails to find matching firmware, and continuous to runtime without giving PiFi.
However, we have two ways to fix this
- ship more firmware in the initrd
- ship less modules in the initrd
Either of that will achieve to have "both firmware and modules at the same time". This implements "ship less modules in the initrd", as rpi kernel is built to boot without modules.
Initrd with this change was built at https:/
I tested this change on a Raspberry Pi 4 in arm64 and it auto-loaded the wlan module correctly such that networking could be hypothetically configured via wlan from console-conf if it wasn't currently crashing.
+1 from me on pi on arm64.