[SRU] Add entries for Pi 4

Bug #1847587 reported by Dave Jones
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Dave Jones

Bug Description

Impact
======

The current stable release (bionic) does not support booting on the Raspberry Pi 4. Several packages need back-porting from devel to support this, along with a new kernel.

Bionic back-port branch:

https://code.launchpad.net/~waveform/ubuntu/+source/flash-kernel/+git/flash-kernel/+ref/bionic-clean-up

Focal branch:

https://code.launchpad.net/~waveform/ubuntu/+source/flash-kernel/+git/flash-kernel/+ref/focal-clean-up

Builds of packages for both releases available from the following PPA (along with all packages required for testing the bionic back-port):

https://launchpad.net/~waveform/+archive/ubuntu/pi4

Test Case
=========

* Attempt to boot the latest bionic image (18.04.3) on a pi4; note failure
* Move the SD card to a pi3 and boot successfully
* Ensure all packages are up to date (apt update/upgrade)
* sudo add-apt-repository ppa:waveform/pi4
* sudo apt upgrade
* sudo reboot
* Ensure boot proceeds successfully on the pi3
* Verify facilities (USB peripherals, USB mass storage, wifi, bluetooth, audio, etc.) work
* sudo apt install linux-image-raspi2-hwe-18.04-edge
* sudo reboot
* Ensure boot proceeds successfully on the pi3
* Verify facilities (USB peripherals, USB mass storage, wifi, bluetooth, audio, etc.) work
* Move the SD card back to the pi4
* Ensure boot proceeds successfully on the pi4
* Verify facilities (USB peripherals, USB mass storage, wifi, bluetooth, audio, etc.) work
* Repeat for both archs (armhf and arm64)

Regression Potential
====================

Plenty; pi4 support on bionic requires back-ports of flash-kernel, u-boot, linux-firmware-raspi2, and the kernel. Furthermore, the firmware package needs to support two kernels (the current 4.x series and the proposed 5.x series). Verification of boot, and other facilities (USB peripherals, mass storage, free memory, wifi, etc. etc.) should be performed on both archs and all supported models of pi (2, 3, 3A+, 3B+, 4B all memory variants).

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Looks fine, I have sponsored this for eoan. This doesn't explicitly require an FFe because it's basically a bugfix for the new pi4 support that we already had an FFe for.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flash-kernel - 3.98ubuntu4

---------------
flash-kernel (3.98ubuntu4) eoan; urgency=medium

  * Add support for Raspberry Pi 4 (LP: #1847587)

 -- Dave Jones <email address hidden> Thu, 10 Oct 2019 10:41:43 +0100

Changed in flash-kernel (Ubuntu):
status: New → Fix Released
Dave Jones (waveform)
summary: - Add entries for Pi 4
+ [SRU] Add entries for Pi 4
Dave Jones (waveform)
description: updated
Dave Jones (waveform)
Changed in flash-kernel (Ubuntu Bionic):
assignee: nobody → Dave Jones (waveform)
status: New → In Progress
Dave Jones (waveform)
description: updated
Dave Jones (waveform)
description: updated
tags: added: id-5db0502bcb3f2112497e1b92
Dave Jones (waveform)
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Dave, or anyone else affected,

Accepted flash-kernel into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/flash-kernel/3.98ubuntu8.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in flash-kernel (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-bionic
Dave Jones (waveform)
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Dave, or anyone else affected,

Accepted flash-kernel into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/flash-kernel/3.98ubuntu10~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Dave, or anyone else affected,

Accepted flash-kernel into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/flash-kernel/3.98ubuntu11~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This is still good. Certification was testing our daily images and the images look fine.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flash-kernel - 3.98ubuntu11~18.04.1

---------------
flash-kernel (3.98ubuntu11~18.04.1) bionic; urgency=medium

  * Permit flash-kernel to workaround an inconsistent /boot directory when
    triggered prior to the kernel finishing its triggers (LP: #1861292)

flash-kernel (3.98ubuntu10~18.04.1) bionic; urgency=medium

  * SRU of 3.98ubuntu10 to support Raspberry Pi 4B. (LP: #1847587)
  * Removed new entries from db/all.db for machines that were not already
    supported on Bionic
  * Remove "quiet splash" from kernel command line options; Bionic shipped
    without these options and we shouldn't change the boot experience for
    existing users
  * Ensure the "overlays" dir always exists on the boot partition; the Bionic
    image for the Pi 2 shipped without this dir

 -- Dave Jones <email address hidden> Wed, 29 Jan 2020 16:15:05 +0000

Changed in flash-kernel (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for flash-kernel has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.