Public bug reported:

On a Pi Zero 2 W

sudo flash-kernel

installs the wrong device tree files (bcm2712-rpi-5-b.dtb):

Using DTB: bcm2712-rpi-5-b.dtb
Installing 
/lib/firmware/7.0.0-1014-raspi/device-tree/broadcom/bcm2712-rpi-5-b.dtb into 
/boot/dtbs/7.0.0-1014-raspi/./bcm2712-rpi-5-b.dtb
/usr/sbin/flash-kernel: 576: .: cannot open /etc/default/flash-kernel: No such 
file
/usr/sbin/flash-kernel: 585: .: cannot open /etc/default/flash-kernel: No such 
file
Skipping backup of bcm2712-rpi-5-b.dtb.
Installing new bcm2712-rpi-5-b.dtb.
flash-kernel: installing version 7.0.0-1014-raspi
Copying kernel assets to /boot/firmware/new/
Copying boot firmware to /boot/firmware/new/
Copying device trees to /boot/firmware/new/
find: ‘/etc/flash-kernel/dtbs’: No such file or directory
Copying device tree overlays to /boot/firmware/new/overlays/
find: ‘/etc/flash-kernel/dtbs’: No such file or directory
Please be aware next reboot will boot twice

Consequently, rebooting into the new kernel fails.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: flash-kernel (not installed)
ProcVersionSignature: User Name 7.0.0-1009.9-raspi 7.0.0
Uname: Linux 7.0.0-1009-raspi aarch64
ApportVersion: 2.34.0-0ubuntu2
Architecture: arm64
CasperMD5CheckResult: unknown
Date: Sun Jul 12 14:16:24 2026
ImageMediaBuild: 20260423.1
SourcePackage: flash-kernel
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: flash-kernel (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug arm64 arm64-image raspi-image resolute

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

Title:
  flash-kernel copies RPi5 dtb on Pi Zero 2

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to