On 2025-07-29, Kurva Prashanth wrote:
> I have tested flash-kernel on a Raspberry Pi 5 and 3A+
> with the following entry in /etc/flash-kernel/db:
>
> Machine: Raspberry Pi 5 Model B Rev 1.0
> Kernel-Flavors: arm64
> DTB-Id: broadcom/bcm2712-rpi-5-b.dtb
> U-Boot-Script-Name: bootscr.uboot-generic
> Required-Packages: u-boot-tools
> Boot-Script-Path: /boot/boot.scr
>
> Machine: Raspberry Pi 3 Model A Plus Rev 1.1
> Kernel-Flavors: arm64 armmp
> DTB-Id: broadcom/bcm2837-rpi-3-a-plus.dtb
> U-Boot-Script-Name: bootscr.uboot-generic
> Required-Packages: u-boot-tools
> Boot-Script-Path: /boot/boot.scr
The "Machine:" lines do not match what model is present in the .dtb
files.
Does /proc/device-tree/model show exactly what you have in the
"Machine:" lines?
Yes, /proc/device-tree/model
shows exactly what I mentioned in the "Machine:" lines:
“Raspberry Pi 5 Model B Rev 1.0” and “Raspberry Pi 3 Model A Plus Rev 1.1”
To clarify, I’ve tested only on the following specific revision of boards:
Raspberry Pi 5 ( Revision 1.0)
Raspberry Pi 3 A+ (Revision 1.1)
It seems there are other revisions of these models. The reference for those is the Raspberry Pi revision code list:
https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/raspberry-pi/revision-codes.adoc
Thanks & regards,
Kurva Prashanth