Support LicheeRV and PolarFire RISC-V platforms in jammy

Bug #1997233 reported by Łukasz Zemczak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Invalid
High
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

As part of our HWE story, we want to support two new platforms (available in kinetic/lunar): the LicheeRV and the PolarFire Icicle Kit. To do this, we need to backport some of the livecd-rootfs changes for building those images.

https://code.launchpad.net/~xypron/livecd-rootfs/+git/livecd-rootfs/+merge/433185 list all the changes needed:

* Add support for the LicheeRV board (SUBARCH=licheerv)
* Add support for the PolarFire Icicle Kit board (SUBARCH=icicle)
* Reduce initrd size for Nezha and LicheeRV boards
* Use efi=debug earlycon on kernel command line

[Test Case]

Build official PROPOSED=1 images for jammy for licheerv and icicle SUBARCHes.

Additionally to this, make sure existing RISC-V preinstalled images still build correctly. Reach out to the CPC to check if cloud images for RISC-V still build correctly with the new livecd-rootfs.

[Regression Potential]

The only regression potential is breaking other RISC-V related images, but this should be mitigated by the additional testing steps provided in the Test Case.

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

Hello Łukasz, or anyone else affected,

Accepted livecd-rootfs into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.765.13 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 livecd-rootfs (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Tested livecd-rootfs 2.765.13 on Jammy:

http://cdimage.ubuntu.com/ubuntu-server/jammy/daily-preinstalled/20221129.1/jammy-preinstalled-server-riscv64+licheerv.img.xz built with livecd-rootfs 2.765.13
* boot works
* reboot works
* apt-get update; apt-get install hello; hello works
* snap install hello; hello works

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

Tested livecd-rootfs 2.765.13 on Jammy:

http://cdimage.ubuntu.com/ubuntu-server/jammy/daily-preinstalled/20221129.1/jammy-preinstalled-server-riscv64+unmatched.img.xz built with livecd-rootfs 2.765.13 on QEMU and on SiFive HiFive Unmatched:
* boot works
* reboot works
* apt-get update; apt-get install hello; hello works
* snap install hello; hello works

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

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

---------------
livecd-rootfs (2.765.13) jammy; urgency=medium

  [ Heinrich Schuchardt ]
  * Backporting patches to support new RISC-V platforms (LP: #1997233)
  * Add support for the LicheeRV board (SUBARCH=licheerv)
  * Add support for the PolarFire Icicle Kit board (SUBARCH=icicle)
  * Reduce initrd size for Nezha and LicheeRV boards
  * Use efi=debug earlycon on kernel command line

livecd-rootfs (2.765.12) jammy; urgency=medium

  * Remove fwupd, modemmanager, and udisks2 from the cloud images.
    LP: #1981109.

 -- Łukasz 'sil2100' Zemczak <email address hidden> Mon, 21 Nov 2022 11:18:14 +0100

Changed in livecd-rootfs (Ubuntu Jammy):
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.

Changed in livecd-rootfs (Ubuntu):
status: New → Invalid
Changed in livecd-rootfs (Ubuntu Jammy):
milestone: none → ubuntu-22.04.2
Changed in livecd-rootfs (Ubuntu):
milestone: ubuntu-22.04.2 → none
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.