Activity log for bug #2038087

Date Who What changed Old value New value Message
2023-10-02 11:06:44 Juerg Haefliger bug added bug
2023-10-02 11:49:32 Launchpad Janitor flash-kernel (Ubuntu): status New Confirmed
2023-10-02 12:10:33 Dave Jones flash-kernel (Ubuntu): assignee Dave Jones (waveform)
2023-10-02 12:16:34 Dave Jones summary flash-kernel installs wrong DTB on Pi [FFe] flash-kernel displays wrong "selected" DTB on various Pi models
2023-10-02 12:26:25 Dave Jones 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). [ Impact ] flash-kernel displays a "selected" DTB at the top of its output. On a Pi this isn't actually that relevant as it goes on to copy every DTB associated with the kernel anyway, but this is still confusing for users, especially when they see a completely different board model than the one they expected (e.g. at present on the Pi 400 or Pi 5, the output will indicate that the rpi-4-b dtb is being used). [ Test Plan ] * Boot a mantic daily image on an affected model of Pi (400, 5, CM3, CM3+, Zero 2W) * Run "sudo flash-kernel" and confirm it outputs "Using DTB: bcm2711-rpi-4-b.dtb" at the top of its messages * Enable the -proposed pocket and "sudo apt update" * "sudo apt install flash-kernel" to update flash-kernel to the proposed version * Run "sudo flash-kernel" and confirm it outputs the correct DTB for the selected model of Pi. [ Regression Potential ] Low; the existing flash-kernel already copies all DTBs found and the proposed one will too (all Pi related entries use "Method: pi", the method isn't changing in its behaviour, the only db entries that are changing are Pi related). Thus the worst-case scenario is that flash-kernel continues to output the "wrong" DTB at the top of its output, which is no worse than the present situation. [ Original 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).
2023-10-02 13:46:36 Dave Jones flash-kernel (Ubuntu): milestone ubuntu-23.10
2023-10-02 13:49:23 Dave Jones bug added subscriber Ubuntu Release Team
2023-10-02 14:08:04 Graham Inggs flash-kernel (Ubuntu): status Confirmed Triaged
2023-10-02 15:29:59 Launchpad Janitor flash-kernel (Ubuntu): status Triaged Fix Released