[SRU] Jammy RISC-V nezha and licheerv (allwinner kernel) images failing to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
Jammy |
Fix Released
|
Critical
|
Dave Jones |
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:/
* 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.
Changed in flash-kernel (Ubuntu): | |
status: | New → Invalid |
Changed in flash-kernel (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Dave Jones (waveform) |
milestone: | none → ubuntu-22.04.4 |
Note to self, just in case you need to refer back to these:
Working build-log: https:/ /launchpadlibra rian.net/ 706743201/ buildlog_ ubuntu_ jammy_riscv64_ licheerv_ cpc_BUILDING. txt.gz
Failing build-log: https:/ /launchpadlibra rian.net/ 714417851/ buildlog_ ubuntu_ jammy_riscv64_ licheerv_ cpc_BUILDING. txt.gz