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

m00dawg 2086774 at bugs.launchpad.net
Mon Jan 27 01:07:47 UTC 2025


I just installed 24.10 today on an rPi CM5 and it looks like I am
getting errors even with `3.107ubuntu13~24.10.1`:

```
root at cm5:~# apt-get upgrade flash-kernel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
flash-kernel is already the newest version (3.107ubuntu13~24.10.1).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up initramfs-tools (0.142ubuntu34.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for flash-kernel (3.107ubuntu13~24.10.1) ...
Unsupported platform 'Raspberry Pi Compute Module 5 Lite Rev 1.0'.
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.142ubuntu34.1) ...
update-initramfs: Generating /boot/initrd.img-6.11.0-1006-raspi
Unsupported platform 'Raspberry Pi Compute Module 5 Lite Rev 1.0'.
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:
 flash-kernel
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at cm5:~# 
```

Running flash-kernel directly gives me the same error:

```
root at cm5:~# flash-kernel 
Unsupported platform 'Raspberry Pi Compute Module 5 Lite Rev 1.0'.
root at cm5:~# 
```

-- 
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/2086774

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

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

Bug description:
  [ Impact ]

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

  [ Test Plan ]

  * Boot $series release image on CM5
  * 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.

  [ Other Info ]

  Note to SRU reviewers: on the subject of the version number, I've
  bumped it to the plucky version (plus a ~release suffix) simply
  because after diff'ing noble->oracular->plucky the only differences
  are in the changelog, so the version may as well reflect that this is
  effectively the (current) plucky version back-ported (I say "current"
  because next on the todo list is to merge flash-kernel in plucky to
  upstream's 3.108).

  Add entry for the Raspberry Pi CM5 to the flash-kernel devices
  database, specifically:

  Machine: Raspberry Pi Compute Module 5 Rev 1.0
  Machine: Raspberry Pi Compute Module 5 Rev *
  Kernel-Flavors: raspi raspi-realtime
  Method: pi
  DTB-Id: bcm2712-rpi-cm5-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/2086774/+subscriptions




More information about the foundations-bugs mailing list