[Bug 2038087] Re: flash-kernel installs wrong DTB on Pi

Dave Jones 2038087 at bugs.launchpad.net
Mon Oct 2 11:56:48 UTC 2023


You are correct that the "wrong" DTB is picked in the case of flash-
kernel not recognizing the specific model in question. However, this
doesn't matter provided the "Method" of the selected entry is "pi"
(which it is, as they're currently the only entry that uses this
method).

The "pi" method specifically copies *all* DTBs (and overlays) found to
the boot partition, deliberately, to permit boot media to be moved
between Pi models. However, the way flash-kernel works it still reports
the "selected" DTB at the top of the output (and then goes on to copy
all the found DTBs anyway).

 Still, I should add an entry for the Pi 5, and move the "Raspberry Pi
*" catch-all down to that (and adjust the other catch-alls for various
board revisions).

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

Title:
  flash-kernel installs wrong DTB on Pi

Status in flash-kernel package in Ubuntu:
  Confirmed

Bug description:
  flash-kernel probably shouldn't even be dealing with the DTBs on Pi
  but it's picking the wrong one for some machine models. For example on
  a Raspberry Pi 400 Rev 1.0 it uses bcm2711-rpi-4-b.dtb. Same one
  Compute Module 3 and 3+.

  It's probably because in /usr/share/flash-kernel/db/all.db the catch-
  all

  Machine: Raspberry Pi *

  is listed before these above mentioned models (and others as well).

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




More information about the foundations-bugs mailing list