[Bug 2128161] Re: pi-kernel VC4-KMS not working with CM5
Juerg Haefliger
2128161 at bugs.launchpad.net
Fri Oct 31 12:39:45 UTC 2025
2nd stage boot log with vc4-pi5.dtbo:
0.57 RPi: BOOTSYS release VERSION:f788aab6 DATE: 2025/02/12 TIME: 10:51:52
0.61 BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1739357512 serial 8fcbf88b boardrev d04170 stc 861342
0.71 AON_RESET: 00000003 PM_RSTS 00000020
0.75 POWER_OFF_ON_HALT: 0 WAIT_FOR_POWER_BUTTON 0 power-on-reset 0
0.84 RP1_BOOT chip ID: 0x20001927
0.89 PCIEx1: PWR 0 DET_WAKE 0
0.89 part 00000000 reset_info 00000000
0.93 PMIC reset-event 00000000 rtc 69048400 alarm 00000000 enabled 0
0.99 uSD voltage 3.3V
1.18 Initialising SDRAM rank 2 total-size: 64 Gbit 4267 (0x14 0x00)
1.21 DDR 4267 1 0 64 152 BL:1
2.57 OTP boardrev d04170 bootrom a a
2.58 Customer key hash 0000000000000000000000000000000000000000000000000000000000000000
2.65 VC-JTAG unlocked
2.88 RP1_BOOT chip ID: 0x20001927
3.27 RP1_BOOT chip ID: 0x20001927
3.27 RP1_BOOT: fw size 46888
4.65 PCI2 init
4.65 PCI2 reset
4.10 PCIe scan 00001de4:00000001
4.10 RP1_CHIP_INFO 20001927
4.13 RPi: BOOTLOADER release VERSION:f788aab6 DATE: 2025/02/12 TIME: 10:51:52
4.20 BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1739357512 serial 8fcbf88b boardrev d04170 stc 4220264
4.54 usb_pd_init status 1
4.58 XHCI-STOP
4.58 xHC0 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
4.63 USBSTS 1
4.65 xHC0 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
4.70 xHC0 ports 3 slots 64 intrs 4
4.82 XHCI-STOP
4.82 xHC1 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
4.87 USBSTS 1
4.89 xHC1 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
4.94 xHC1 ports 3 slots 64 intrs 4
4.02 Boot mode: SD (01) order f4
4.16 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
4.27 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
4.22 OCR c0ff8000 [136]
CID: 00035344534433324785fd4dff810166
CSD: 400e00325b590000eddf7f800a400000
4.30 SD: bus-width: 4 spec: 2 SCR: 0x02358083 0x01006432
4.38 SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2
4.47 MBR: 0x00000800, 2457600 type: 0x0c
4.49 MBR: 0x00258800, 1536000 type: 0x0c
4.53 MBR: 0x003cf800, 65536 type: 0x83
4.57 MBR: 0x003df800,58296320 type: 0x83
4.61 Trying partition: 0
4.64 type: 32 lba: 2048 'mkfs.fat' ' ubuntu-seed' clusters 2419758 (1)
4.69 rsc 32 fat-sectors 18905 root dir cluster 2 sectors 0 entries 0
4.77 FAT32 clusters 2419758
4.84 [sdcard] autoboot.txt not found
4.84 Select partition rsts 0 C(boot_partition) 0 EEPROM config 0 result 1
4.91 Trying partition: 1
4.94 type: 32 lba: 2048 'mkfs.fat' ' ubuntu-seed' clusters 2419725 (1)
5.00 rsc 32 fat-sectors 18905 root dir cluster 2 sectors 0 entries 0
5.07 FAT32 clusters 2419725
5.14 Read config.txt bytes 1575 hnd 0xdea42
5.18 [sdcard] pieeprom.upd not found
5.19 usb_max_current_enable default 0 max-current 900
5.35 Read /piboot/ubuntu/pi-kernel_1047.snap/bcm2712-rpi-5-b.dtb bytes 78100 hnd 0xc9deb
5.40 dt-match: compatible: raspberrypi,5-model-b match: brcm,bcm2712
5.46 dt-match: compatible: brcm,bcm2712 match: brcm,bcm2712
5.53 Selecting USB low current limit
5.62 Read /config.txt bytes 1575 hnd 0xdea42
5.68 Read /config.txt bytes 1575 hnd 0xdea42
5.73 MESS:00:00:05.073255:0: Initial voltage 800000 temp 45523
5.73 MESS:00:00:05.273852:0: avs_2712: AVS pred 8744 874400 temp 44974
5.77 MESS:00:00:05.277459:0: vpred 874 mV +0
5.86 MESS:00:00:05.286148:0: FB framebuffer_swap 1
5.06 MESS:00:00:05.306121:0: Select resolution HDMI0/2 hotplug 1 max_mode 2
5.22 MESS:00:00:05.322709:0: HDMI0 edid block 0 offset 0
5.25 MESS:00:00:05.325089:0: 00ffffffffffff002264000000000000
5.30 MESS:00:00:05.330761:0: 161f0103803c2278ea9055a75553a028
5.36 MESS:00:00:05.336434:0: 135054bfef8081c0d140818090409500
5.42 MESS:00:00:05.342107:0: a940b300d1c0565e00a0a0a029503020
5.47 MESS:00:00:05.347780:0: 350055502100001a000000ff00313232
5.53 MESS:00:00:05.353452:0: 4c523348543030303538000000fc0048
5.59 MESS:00:00:05.359125:0: 513237325050420a20202020000000fd
5.64 MESS:00:00:05.364798:0: 00384b1f591e000a2020202020200154
5.83 MESS:00:00:05.383011:0: HDMI0 edid block 1 offset 128
5.85 MESS:00:00:05.385569:0: 020324f14f9005040302071601141f12
5.91 MESS:00:00:05.391242:0: 131e1607230907078301000067030c00
5.96 MESS:00:00:05.396914:0: 2000383c023a801871382d40582c4500
5.02 MESS:00:00:05.402587:0: 55502100001f011d8018711c1620582c
5.08 MESS:00:00:05.408260:0: 250055502100009f011d007251d01e20
5.13 MESS:00:00:05.413933:0: 6e28550055502100001f8c0ad08a20e0
5.19 MESS:00:00:05.419606:0: 2d10103e960055502100001900000000
5.25 MESS:00:00:05.425279:0: 000000000000000000000000000000b2
5.30 MESS:00:00:05.430971:0: HDMI0: best-mode 2 (limit 2) 1920x1080 60 Hz CEA modes be005dc0000000000000000000000000 extensions 1
5.42 MESS:00:00:05.442564:0: Select resolution HDMI1/2 hotplug 0 max_mode 2
5.49 MESS:00:00:05.449486:0: FB0 disp 0 max-fb 1 1920x1080 stride 3840 base 0x3f800000
5.63 Loading '/piboot/ubuntu/pi-kernel_1047.snap/initrd.img' to 0x00000000 offset 0x0
6.09 Read /piboot/ubuntu/pi-kernel_1047.snap/initrd.img bytes 27441411 hnd 0xbc952
6.95 MESS:00:00:06.895416:0: dtb_file 'bcm2712-rpi-5-b.dtb'
6.98 Loading '/piboot/ubuntu/pi-kernel_1047.snap/bcm2712-rpi-5-b.dtb' to 0x00000000 offset 0x100
6.18 Read /piboot/ubuntu/pi-kernel_1047.snap/bcm2712-rpi-5-b.dtb bytes 78100 hnd 0xc9deb
6.64 Read /piboot/ubuntu/pi-kernel_1047.snap/overlays/overlay_map.dtb bytes 5195 hnd 0xca7d6
6.98 PCIEx1: PWR 0 DET_WAKE 0
7.18 Read /config.txt bytes 1575 hnd 0xdea42
7.20 MESS:00:00:07.020496:0: dtparam: audio=on
7.29 MESS:00:00:07.029166:0: Unknown dtparam 'audio' - ignored
7.32 MESS:00:00:07.032078:0: dtparam: i2c_arm=on
7.48 MESS:00:00:07.048242:0: dtparam: spi=on
7.83 Read /piboot/ubuntu/pi-kernel_1047.snap/overlays/vc4-pi5.dtbo bytes 3330 hnd 0xdea46
7.27 MESS:00:00:07.127701:0: Loaded overlay 'vc4-pi5'
7.33 Read /piboot/ubuntu/pi-kernel_1047.snap/overlays/dwc2.dtbo bytes 801 hnd 0xca567
7.48 MESS:00:00:07.248454:0: Loaded overlay 'dwc2'
7.48 Read /piboot/ubuntu/pi-kernel_1047.snap/cmdline.txt bytes 136 hnd 0x188
7.32 BMD "armstub8-2712.bin" not found
7.32 fs_open: '/piboot/ubuntu/pi-kernel_1047.snap/armstub8-2712.bin'
7.39 Loading '/piboot/ubuntu/pi-kernel_1047.snap/kernel.img' to 0x00000000 offset 0x200000
8.12 Read /piboot/ubuntu/pi-kernel_1047.snap/kernel.img bytes 12433728 hnd 0xb63f7
9.65 PCI1 reset
9.75 PCI2 reset
9.85 set_reboot_order 0
9.85 set_reboot_arg1 0
9.87 USB-OTG disconnect
10.32 MESS:00:00:10.032904:0: Starting OS 10032 ms
10.38 MESS:00:00:10.038514:0: 00000040: -> 00000480
10.40 MESS:00:00:10.040367:0: 00000030: -> 00100080
10.45 MESS:00:00:10.045080:0: 00000034: -> 00100080
10.49 MESS:00:00:10.049793:0: 00000038: -> 00100080
10.54 MESS:00:00:10.054506:0: 0000003c: -> 00100080
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rpi-eeprom in Ubuntu.
https://bugs.launchpad.net/bugs/2128161
Title:
pi-kernel VC4-KMS not working with CM5
Status in canonical-kernel-snaps:
Invalid
Status in linux-raspi package in Ubuntu:
Invalid
Status in rpi-eeprom package in Ubuntu:
New
Bug description:
Hello!
After switching from PI4B to CM5 on core24 stopped working vc4 driver.
PiOS (trixie) working with CM5 too.
On Raspberry Pi 4B by sudo dmesg | grep vc4:
[ 3.496362] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 3.500184] rc rc0: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 3.500322] input: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
[ 3.506345] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc/fef00700.hdmi/sound/card0/input1
[ 3.507075] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[ 3.512241] rc rc1: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[ 3.512368] input: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input2
[ 3.518685] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc/fef05700.hdmi/sound/card1/input3
[ 3.518919] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[ 3.519244] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[ 3.519461] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.519618] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.519762] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.519870] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.520029] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.527520] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
[ 3.528322] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[ 3.530767] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[ 3.531094] vc4-drm gpu: [drm] Cannot find any crtc or sizes
On Compute module 5 vc4 not loading (sudo dmesg | grep vc4 empty, sudo
dmesg | grep fb):
[ 7.050579] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[ 7.058623] bcm2708_fb: probe of soc:fb failed with error -2
Two boards have (snap list):
Name Version Rev Tracking Publisher Notes
console-conf 24.04.1+git45g5f9fae19+g7598200 80 24/stable canonical** -
core24 20250829 1197 latest/stable canonical** base
mesa-2404 24.2.8-snap185 917 latest/stable canonical** -
pi 24-3 151 24/stable canonical** gadget
pi-kernel 6.8.0-1039.43 1047 24/stable canonical** kernel
snapd 2.71 25205 latest/stable canonical** snapd
ubuntu-frame 211-mir2.20.1 12494 24/stable canonical** -
Linux kernel:
Linux localhost 6.8.0-1039-raspi #43-Ubuntu SMP PREEMPT_DYNAMIC Tue
Sep 9 12:15:05 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
config.txt:
dtoverlay=vc4-kms-v3d
Is there a solution to make VC4-KMS work on core24?
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-kernel-snaps/+bug/2128161/+subscriptions
More information about the foundations-bugs
mailing list