[SRU] provide package u-boot-microchip

Bug #1995848 reported by Heinrich Schuchardt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
u-boot (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

The PolarFire Icicle Kit development board provides good upstream support. Microchip plans to ship this boards for a long time. We should enable the hardware in the Jammy LTS release. This requires providing U-Boot.

The rebuild will be based on OpenSBI 1.1 which will we copied to Jammy with #1995261.

We will enable reset via SBI for all RISC-V platforms with patch d/p/riscv64/sysreset-sbi.patch.

For Jammy the package u-boot-microchip is new. Booting in Jammy will depend on a 5.19 kernel.

[ Test Plan ]

Due to the updated OpenSBI we will have to retest all Ubuntu Jammy supported RISC-V U-Boot platforms (Unmatched, QEMU) plus the PolarFire Icicle kit (VisionFive comes with its own U-Boot on SPI flash, Allwinner Nezha D1 uses separate package u-boot-nezha):

* Boot preinstalled images.
* Update U-Boot.
* Install clang and run 'clang -v' (This failed on the Nezha platform with an older OpenSBI).
* Test reset from Linux.
* Test poweroff from Linux (SiFive HiFive Unmatched and QEMU).

[ Where problems could occur ]

Booting, resetting, and poweroff of all RISC-V platforms might fail due to the updated OpenSBI.

The updated OpenSBI might lead to failures due to incorrect emulation of unimplemented RISC-V instructions or incorrect interrupt handling.

[ Other Info ]

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

u-boot - 2022.01+dfsg-2ubuntu2.1 is available in ppa:xypron/merge-from-debian

Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

1997035 must be merged first to Jammy proposed.

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Heinrich, or anyone else affected,

Accepted u-boot into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/u-boot/2022.01+dfsg-2ubuntu2.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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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 u-boot (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Changed in u-boot (Ubuntu):
status: New → Fix Released
description: updated
description: updated
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Tested u-boot 2022.01+dfsg-2ubuntu2.1 successfully on Jammy on the HiFive Sive Unmatched, the PolarFire Icicle Board, and on QEMU.

'clang -v' works.
Reset from Linux works.
Poweroff from Linux works on SiFive HiFive Unmatched and QEMU.

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

This bug was fixed in the package u-boot - 2022.01+dfsg-2ubuntu2.1

---------------
u-boot (2022.01+dfsg-2ubuntu2.1) jammy; urgency=medium

  * Add package u-boot-microchip (LP: #1995848)
  * Add u-boot-sifive.README.Debian
  * Enable reset via SBI
    d/p/riscv64/sysreset-sbi.patch
    d/p/enable-reset-via-SBI-on-PolarFire-Icicle-Kit.patch

 -- Heinrich Schuchardt <email address hidden> Fri, 18 Nov 2022 12:11:50 +0100

Changed in u-boot (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for u-boot 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.