[Bug 2054304] Re: [SRU] Jammy RISC-V nezha and licheerv (allwinner kernel) images failing to build
Launchpad Bug Tracker
2054304 at bugs.launchpad.net
Mon Feb 19 18:18:57 UTC 2024
This bug was fixed in the package flash-kernel - 3.104ubuntu19
---------------
flash-kernel (3.104ubuntu19) jammy; urgency=medium
* Use "any" kernel flavor for allwinner-based RISC-V boards, as the new
kernel is a "-generic" flavor (LP: #2054304)
-- Dave Jones <dave.jones at canonical.com> Mon, 19 Feb 2024 11:02:55
+0000
** Changed in: flash-kernel (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/2054304
Title:
[SRU] Jammy RISC-V nezha and licheerv (allwinner kernel) images
failing to build
Status in flash-kernel package in Ubuntu:
Invalid
Status in flash-kernel source package in Jammy:
Fix Released
Bug description:
[ Impact ]
The new allwinner kernel in jammy (20.04) no longer has the
"-allwinner" flavour suffix, but "-generic". This results in flash-
kernel failing to match the kernel when running (and f-k failing to
run causes apt upgrade to fail). The "Kernel-Flavor:" field for all
boards which are currently limited to "allwinner riscv64" should be
changed to "any"; this matches the state in noble.
[ Test Plan ]
There are three entries in the f-k database which are affected:
* Allwinner D1 Nezha
* Sipeed Lichee RV
* Sipeed Lichee RV Dock
Ideally, a jammy image should be tested on each of these three boards
as follows:
* Install jammy image
* Enable proposed (https://wiki.ubuntu.com/Testing/EnableProposed)
* sudo apt install -t jammy-proposed flash-kernel
* sudo apt update; sudo apt full-upgrade
* Upgrade should run successfully without apt dying during flash-kernel
* Verify freshly installed kernel is from the 6.5 series and is "-generic" flavour
* sudo reboot
* Check system reboots and is operational afterward
[ Regression Potential ]
Database changes in flash-kernel should only affect the listed boards,
and the move to "any" makes the entry less restrictive which is
generally a "safer" change. However if, for any reason, one of these
boards has an unsupported kernel flavour with a later version
installed, that will cause a regression as flash-kernel will now
select that kernel for installation. This shouldn't be the case in any
supported configuration, but is a possibility to be aware of.
[ Original Description ]
Since the beginning of the year, all jammy -allwinner kernel based
images are failing to build, aka. the nezha and licheerv subarch ones.
It looks like the problem is with the new allwinner kernel, now
needing some changes to flash-kernel to properly handle it during DTB
preparation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2054304/+subscriptions
More information about the foundations-bugs
mailing list