please include vc4 modules in pi2-kernel snap initrd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Impact:
when using the vc4-kms-v3d devicetree overlay to get accelerated graphics /dev/fb0 is handled by the vc4 driver.
since this module does not exist in the initrd currently, using the framebuffer for something like an early splash screen from the initrd is impossible (it works fine when using the vc4-fkms-v3d overlay which hands framebuffer handling back over to the kernel instead, but this sadly results in a completely unaccelerated graphics stack)
the list of modules to include is:
drm_kms_helper.ko
drm.ko
drm_mipi_dsi.ko
vc4.ko
sysimgblt.ko
sysfillrect.ko
syscopyarea.ko
fb_sys_fops.ko
i2c-bcm2708.ko
Fix:
add the i2c-bcm2708.ko to initrd
How to test:
generate the pi2-kernep snap after applying the below patch, unsquash it, and checks that initrd.img contains all the above kmods (see #2).
Regression:
None, it's a trivial one-line change.
tags: | added: patch |
description: | updated |
description: | updated |
Changed in linux-raspi2 (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in linux-raspi2 (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in linux-raspi2 (Ubuntu Cosmic): | |
status: | New → Invalid |
note that alternatively compiling vc4 into the kernel would perhaps work too, but i guess people with headless use-cases that want to save on RAM would find this disturbing.