SRU flash-kernel to add support for RISC-V boards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The image for the StarFive VisionFive and the Nezha boards will be available in 22.04.1: in order to be able to boot using UEFI, we need flash-kernel to install the DTBs to the right location for GRUB to load, so we need to add those boards to the flash-kernel database.
[Test Plan]
I tested the version that built here [1] on the VisionFive board, and flash-kernel worked correctly:
ubuntu@ubuntu:~$ sudo dpkg -i flash-kernel_
Selecting previously unselected package flash-kernel.
(Reading database ... 94352 files and directories currently installed.)
Preparing to unpack flash-kernel_
Unpacking flash-kernel (3.104ubuntu11~
Setting up flash-kernel (3.104ubuntu11~
Installing new version of config file /etc/flash-
Using DTB: starfive/
Installing /lib/firmware/
Taking backup of jh7100-
Installing new jh7100-
flash-kernel: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.
Using DTB: starfive/
Installing /lib/firmware/
Taking backup of jh7100-
Installing new jh7100-
Installing /lib/firmware/
Taking backup of jh7100-
Installing new jh7100-
System running in EFI mode, skipping.
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for flash-kernel (3.104ubuntu11~
Using DTB: starfive/
Installing /lib/firmware/
Taking backup of jh7100-
Installing new jh7100-
System running in EFI mode, skipping.
[1] https:/
[Where problems could occur]
The changes are board-specific so it should not alter the behaviour on other boards and unfortunately, I tried flash-kernel on a non-working kernel as the kernel team is still working on it, but the changes are straightforward enough.
[Other Info]
I added support for the LicheeRV board although not officially supported, but as it works well with our current kernel, we'd better have it available.
Note that I dropped the ~22.04.1 suffix and moved to 3.104ubuntu11 as @waveform has just uploaded 3.106ubuntu1 into kinetic (which already contains the support for those boards).
description: | updated |
description: | updated |
Changed in flash-kernel (Ubuntu): | |
status: | New → Fix Committed |
Changed in flash-kernel (Ubuntu): | |
status: | Fix Committed → New |
Changed in flash-kernel (Ubuntu): | |
status: | New → Fix Released |
Looks good; I've uploaded this to jammy-proposed (minus the ~ppa0 suffix obviously), and targetted the bug to jammy. Could you remove ubuntu-sponsors from the notification list? Thanks!