[SRU] Creating FIT images is not supported

Bug #1931987 reported by Alfonso Sanchez-Beato
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Wishlist
Unassigned
Focal
Fix Released
Wishlist
Unassigned
Hirsute
Fix Released
Wishlist
Unassigned

Bug Description

[Impact]

flash-kernel does currently not support creating FIT images. There are some platforms where this is preferred, for instance for the Kria SOM platform.

This have been just fixed in flash-kernel 3.104ubuntu4 in impish (dev) (LP: #1931278), and we would like this ported back to hirsute/focal to support Kria SOM platform in focal.

[Test Plan]

For testing, a Kria SOM device is needed. By install flash-kernel with the fix, a file in path /boot/firmware/image.fit will be created, and the system should be able to boot.

[Where problems could occur]

The change adds new functionality which should not interfere with the previous one. However, there is some small potential for a regression happening. If that is the case, some hardware platforms that use flash-kernel might not be able to update the bootloader or will break it, making the system unable to boot.

[Other Info]

See LP: #1931278

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

Hirsute debdiff

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

Focal debdiff

Mathew Hodson (mhodson)
Changed in flash-kernel (Ubuntu):
status: New → Fix Released
importance: Undecided → Wishlist
Changed in flash-kernel (Ubuntu Focal):
importance: Undecided → Wishlist
Changed in flash-kernel (Ubuntu Hirsute):
importance: Undecided → Wishlist
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Alfonso, or anyone else affected,

Accepted flash-kernel into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/flash-kernel/3.104ubuntu4~21.04 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-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. 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 Hirsute):
status: New → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Alfonso, 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.3 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
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

I have verified in focal. Installation generated FIT images on my Kria system, and reboot was successful. I cannot verify on hirsute though as I do not have a Kria image for that Ubuntu version.

$ apt policy flash-kernel
flash-kernel:
  Installed: 3.103ubuntu1~20.04.3
  Candidate: 3.103ubuntu1~20.04.3
  Version table:
 *** 3.103ubuntu1~20.04.3 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 Packages
        100 /var/lib/dpkg/status
     3.103ubuntu1~20.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages
     3.98ubuntu12 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I think the ageing we got on hirsute is enough of a verification on hirsute.

tags: added: verification-done-hirsute
removed: verification-needed-hirsute
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.3

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

  * Backport from 3.104ubuntu4 (LP: #1931987):
    * Add support for FIT images
      - Support for ITS files
      - New Boot-FIT-Path and Boot-ITS-File-Name DB fields
    * Add Xilinx Kria SOM and ZCU10{2,4,6} boards to the devices database

 -- Alfonso Sanchez-Beato (email Canonical) <email address hidden> Fri, 30 Jul 2021 09:46:25 +0200

Changed in flash-kernel (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flash-kernel - 3.104ubuntu4~21.04

---------------
flash-kernel (3.104ubuntu4~21.04) hirsute; urgency=medium

  * Backport from 3.104ubuntu4 (LP: #1931987)
    * Add support for FIT images
      - Support for ITS files
      - New Boot-FIT-Path and Boot-ITS-File-Name DB fields
    * Add Xilinx Kria SOM and ZCU10{2,4,6} boards to the devices database

 -- Alfonso Sanchez-Beato (email Canonical) <email address hidden> Tue, 15 Jun 2021 10:51:59 +0200

Changed in flash-kernel (Ubuntu Hirsute):
status: Fix Committed → 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.