Bug 2231599 - Upgrade to Fedora 38 failed on a Raspberry Pi 3 Model B [NEEDINFO]
Summary: Upgrade to Fedora 38 failed on a Raspberry Pi 3 Model B
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: bcm283x-firmware
Version: 38
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-12 10:06 UTC by Adrian Torregrosa
Modified: 2023-08-17 12:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
pbrobinson: needinfo? (adrian.torregrosa)


Attachments (Terms of Use)

Description Adrian Torregrosa 2023-08-12 10:06:58 UTC
My Raspberry PI Model B was running Fedora 37. I had installed it with Fedora 31 and upgraded it w/o major problems up to Fedora 37.

Recently I attempted to upgrade to Fedora 38. The dnf command went through with no errors at all. Then I rebooted, but the Raspberry Pi failed to start: nothing was displayed on the screen and the green LED entered a cycle of blinking seven times, pausing a couple of seconds or so, and then blinking again. I tried the upgrade twice.

This morning I retried the upgrade but excluding the bcm283x-firmware related rpms, adding the following statement to the dnf command:
-x bcm2711-firmware,bcm2835-firmware,bcm283x-firmware,bcm283x-overlays
This way the upgrade succeeded. The excluded rpms are:
bcm2711-firmware-20230728-1.e03ae3c.fc38.aarch64.rpm
bcm2835-firmware-20230728-1.e03ae3c.fc38.aarch64.rpm
bcm283x-firmware-20230728-1.e03ae3c.fc38.aarch64.rpm
bcm283x-overlays-20230728-1.e03ae3c.fc38.aarch64.rpm

For some reason one of these products caused the Raspberry Pi not to be able to boot. As the system was completely unresponsive and the screen was black I cannot add much more detail. Below you can see the current situation regarding the kernel and the firmware packages:
[root@rpi3b ~]# rpm -qa | grep -e ^kernel -e ^bcm2 | sort
bcm2711-firmware-20220826-1.ecc243c.fc37.aarch64
bcm2835-firmware-20220826-1.ecc243c.fc37.aarch64
bcm283x-firmware-20220826-1.ecc243c.fc37.aarch64
bcm283x-overlays-20220826-1.ecc243c.fc37.aarch64
kernel-6.4.7-200.fc38.aarch64
kernel-core-6.4.7-200.fc38.aarch64
kernel-devel-6.4.7-200.fc38.aarch64
kernel-headers-6.4.4-200.fc38.aarch64
kernel-modules-6.4.7-200.fc38.aarch64
kernel-modules-core-6.4.7-200.fc38.aarch64
kernel-srpm-macros-1.0-19.fc38.noarch
[root@rpi3b ~]#


Reproducible: Always

Steps to Reproduce:
1. Install Fedora 37 Minimal on a Raspberry Pi Model B
2. run dnf -y --releasever 38 upgrade

Actual Results:  
The Raspberry Pi failed to start.

Expected Results:  
The Raspberry Pi should be able to start.

The Raspberry Pi functions properly with the 20220826 version of the firmware packages.

Comment 1 Adrian Torregrosa 2023-08-12 11:35:59 UTC
I found earlier versions of the bcm283x-firmware here: https://koji.fedoraproject.org/koji/packageinfo?packageID=20547 so I went on trying them one after another. Here's the outcome:

20220826: ok
20230118: ok
20230308: NOK

Comment 2 Peter Robinson 2023-08-17 12:58:08 UTC
Have you updated U-Boot during this upgrade cycle? Can you post the output of "dmesg |grep DMI"?
Also have you modified the /boot/efi/config.txt at all? You may have a /boot/efi/config.txt.rpmnew file where you have to do some manual syncs.


Note You need to log in before you can comment on or make changes to this bug.