Backport support for the riscv64 unmatched board

Bug #1932014 reported by Łukasz Zemczak
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Fix Released
Fix Released

Bug Description


Currently in focal (20.04.2) we only build the 'riscv64' image that boots on the SiFive Unleashed board. In hirsute we added support for the Unmatched variant. As part of HWE, we want to backport the support for unmatched in livecd-rootfs and cdimage for the upcoming 20.04.3 milestone.

[Test Case]

Run image builds (best if done via cdimage) of both the unmatched and unleashed devices using proposed enabled. If the builds succeed (or at least by looking at the build logs, the builds seem to be working as expected) this is already sufficient verification of this part of the changes - checking if both boot successfully might be an additional test case. For now it's sufficient for us to have buildable images.

[Where problems could occur]

If the cherry-picks are wrong, some non-preinstalled or non-riscv64 images can stop building or, due to issues with image generation, become unbootable. But a quick check of one/two other daily images of other flavors should be sufficient to make sure that's not the case.

Related branches

description: updated
Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released
Changed in livecd-rootfs (Ubuntu Focal):
importance: Undecided → High
milestone: none → ubuntu-20.04.3
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Łukasz, or anyone else affected,

Accepted livecd-rootfs into focal-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See 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 . 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 livecd-rootfs (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Ok, so I think we can consider it verified as much as it's possible. The existing focal 'riscv64' preinstalled cdimage builds still work (that use 'hifive' as the subarch in livecd-rootfs) and we did a few image test builds on launchpad with the new subarch (e.g. [1]) - the image builds failed, but we think this is unrelated to the livecd-rootfs changes. Currently focal is still missing kernel, u-boot and possibly other bits that are needed for building fully functional images - so we'll know for sure if we got everything once all the other bits are ready.

Let's get this migrated in the meantime. We can follow up with additional changes if needed. livecd-rootfs is special in this way that it does not affect regular users, so SRUs of this package are a bit less risky.


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

This bug was fixed in the package livecd-rootfs - 2.664.24

livecd-rootfs (2.664.24) focal; urgency=medium

  * Backport generalising of the riscv64 images from hirsute to support
    building separate unmatched and unleashed images in focal (LP: #1932014)

 -- Łukasz 'sil2100' Zemczak <email address hidden> Tue, 15 Jun 2021 13:33:33 +0200

Changed in livecd-rootfs (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

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