[Bug 2097008] Re: [SRU] Add CM5 Lite to flash-kernel database

David Cunningham 2097008 at bugs.launchpad.net
Sun May 25 03:47:48 UTC 2025


Verificaton failed on noble.

Looks like the device tree blob is missing:

```dj at deejnet-a8fd:~$ sudo flash-kernel
Unsupported platform 'Raspberry Pi Compute Module 5 Lite Rev 1.0'.
dj at deejnet-a8fd:~$ sudo apt install -t noble-proposed flash-kernel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-image-6.8.0-1019-raspi linux-image-6.8.0-1020-raspi linux-modules-6.8.0-1019-raspi linux-modules-6.8.0-1020-raspi
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  flash-kernel
1 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
1 not fully installed or removed.
Need to get 50.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports noble-proposed/main arm64 flash-kernel arm64 3.107ubuntu13~24.04.4 [50.1 kB]
Fetched 50.1 kB in 0s (311 kB/s)     
Preconfiguring packages ...
(Reading database ... 72486 files and directories currently installed.)
Preparing to unpack .../flash-kernel_3.107ubuntu13~24.04.4_arm64.deb ...
Unpacking flash-kernel (3.107ubuntu13~24.04.4) over (3.107ubuntu13~24.04.2) ...
Setting up initramfs-tools (0.142ubuntu25.5) ...
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.107ubuntu13~24.04.4) ...
Using DTB: bcm2712-rpi-cm5l-cm5io.dtb
flash-kernel: deferring update (trigger activated)
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for initramfs-tools (0.142ubuntu25.5) ...
update-initramfs: Generating /boot/initrd.img-6.8.0-1028-raspi
Using DTB: bcm2712-rpi-cm5l-cm5io.dtb
Couldn't find DTB bcm2712-rpi-cm5l-cm5io.dtb on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image-6.8.0-1028-raspi /lib/firmware/6.8.0-1028-raspi/device-tree/
Installing  into /boot/dtbs/6.8.0-1028-raspi/./bcm2712-rpi-cm5l-cm5io.dtb
cp: cannot stat '': No such file or directory
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)```



** Tags removed: verification-needed-noble
** Tags added: verification-failed-noble

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/2097008

Title:
  [SRU] Add CM5 Lite to flash-kernel database

Status in flash-kernel package in Ubuntu:
  Fix Released
Status in flash-kernel source package in Noble:
  Fix Committed
Status in flash-kernel source package in Oracular:
  Fix Committed
Status in flash-kernel source package in Plucky:
  Fix Committed
Status in flash-kernel source package in Questing:
  Fix Released

Bug description:
  [ Impact ]

  flash-kernel unable to complete successfully on the CM5 Lite (also
  implying kernel upgrades will fail).

  [ Test Plan ]

  For each affected $series:

  * Flash $series to SD card and move card to CM5 Lite
  * Boot image on CM5 Lite
  * sudo flash-kernel
  * Note "Unsupported platform error"
  * sudo apt install -t $series-proposed flash-kernel
  * sudo flash-kernel
  * flash-kernel complete successfully

  To guard against regression, re-test on other supported platforms

  [ Where problems could occur ]

  Only the database db/all.db is changed. Test plan includes test of
  operation on other supported platforms to guard against regression,
  and checks before and after states to ensure issue is present and
  actually fixed.

  [ Original Description ]

  As reported in comment 9 of LP: #2086774 we need other matches for the
  CM5 Lite in the flash-kernel database. Will update for SRU template
  shortly. Add entry for the Raspberry Pi CM5 to the flash-kernel
  devices database, specifically:

  Machine: Raspberry Pi Compute Module 5 Lite Rev 1.0
  Machine: Raspberry Pi Compute Module 5 Lite Rev *
  Kernel-Flavors: raspi raspi-realtime
  Method: pi
  DTB-Id: bcm2712-rpi-cm5l-cm5io.dtb
  U-Boot-Script-Name: bootscr.rpi
  Required-Packages: u-boot-tools

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2097008/+subscriptions




More information about the foundations-bugs mailing list