[SRU] Please merge flash-kernel 3.103 from Debian unstable

Bug #1904890 reported by Dave Jones
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Wishlist
Unassigned
Focal
Fix Released
Undecided
Unassigned
Groovy
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

This version includes support for the Pi 400 (which was unavailable at Focal's release), and for pattern matching against the machine's model in the dtb (e.g. "Raspberry Pi *"). This is necessary for flash-kernel to operate successfully on Pi models booted with out of date firmware (e.g. older boot firmware marks the Pi 400 as "Raspberry Pi ? Rev 1.0"). Hence, back-porting this version to Focal is a pre-requisite for Pi 400 support.

[ Test Case ]

* Flash Ubuntu 20.04 image to an SD card
* Boot SD card on an older Pi model (e.g. 3B) and run apt update && apt upgrade (this is required as the focal release firmware cannot boot on the 400)
* Reboot SD card on the Pi 400
* Attempt flash-kernel; note failure with "unsupported platform"
* Enable proposed; upgrade flash-kernel to proposed version
* flash-kernel should run successfully during upgrade (regardless of whether /proc/device-tree/model has "Raspberry Pi 400" or "Raspberry Pi ?", depending on firmware revision)

[ Regression Potential ]

Minimal; the diff from 3.100 (groovy current) to 3.103 (sid) is minimal (board additions to the database and some new translations), whilst the ubuntu changes we're SRUing are already present in groovy and have been working happily there since release.

The diff from 3.98 (focal current) to 3.100 (groovy current) appears more substantial but is largely benign. Specifically, a lot of definitions in db/all.db are shuffled around as 3.100 imposed an alphabetical ordering on the file. Furthermore, two machine definitions are dropped (Linksys NSLU2 and Thecus N2100) along with their corresponding sub-architectures (ixp4xx and iop32x respectively). However, these machines have never been supported in Ubuntu (each require an unsupported kernel flavour which only exists in Debian).

[ Original Description ]

Please merge flash-kernel 3.103 from Debian unstable.

Updated changelog and diff against Debian unstable to be attached shortly.

Revision history for this message
Dave Jones (waveform) wrote :

Attaching patch against Debian unstable. The following git branch contains the split from which the diff is built:

https://code.launchpad.net/~waveform/ubuntu/+source/flash-kernel/+git/flash-kernel/+ref/merge-3.103

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "1-1904890.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
Changed in flash-kernel (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Dave Jones (waveform) wrote :

Updated patch with changes from 3.100ubuntu5

The aforementioned branch (https://code.launchpad.net/~waveform/ubuntu/+source/flash-kernel/+git/flash-kernel/+ref/merge-3.103) has also been updated with these changes.

Dave Jones (waveform)
description: updated
summary: - Please merge flash-kernel 3.103 from Debian unstable
+ [SRU] Please merge flash-kernel 3.103 from Debian unstable
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Dave, or anyone else affected,

Accepted flash-kernel into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/flash-kernel/3.103ubuntu1~20.10.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, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. 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 Groovy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-groovy
Dave Jones (waveform)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Dave, or anyone else affected,

Accepted flash-kernel into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/flash-kernel/3.103ubuntu1~20.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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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 Focal):
status: New → Fix Committed
tags: added: verification-needed-focal
Dave Jones (waveform)
tags: added: verification-done-groovy
removed: verification-needed-groovy
Revision history for this message
Dave Jones (waveform) wrote :

Groovy verification done.

Focal verification done, including checking that the new Breaks: clause in linux-firmware-raspi2 prevents it from being upgraded without this updated f-k being in place to copy it to the boot partition. All working nicely.

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

This bug was fixed in the package flash-kernel - 3.103ubuntu1~20.10.1

---------------
flash-kernel (3.103ubuntu1~20.10.1) groovy; urgency=medium

  * Backport latest upstream version to groovy (LP: #1904890)
  * This includes Dann Frazier's workaround for LP: #1900796

 -- Dave Jones <email address hidden> Tue, 12 Jan 2021 17:14:57 +0000

Changed in flash-kernel (Ubuntu Groovy):
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.

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

This bug was fixed in the package flash-kernel - 3.103ubuntu1~20.04.1

---------------
flash-kernel (3.103ubuntu1~20.04.1) focal; urgency=medium

  * Backport latest upstream version to groovy (LP: #1904890)
  * This includes Dann Frazier's workaround for LP: #1900796

 -- Dave Jones <email address hidden> Tue, 12 Jan 2021 17:14:57 +0000

Changed in flash-kernel (Ubuntu Focal):
status: Fix Committed → Fix Released
Dave Jones (waveform)
Changed in flash-kernel (Ubuntu):
status: New → Fix Released
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.