[Bug 2110301] Re: [SRU] Backport u-boot 2025.01-3 to Noble
Heinrich Schuchardt
2110301 at bugs.launchpad.net
Fri Aug 1 13:31:02 UTC 2025
u-boot 2025.01-0ubuntu0.24.04.2_riscv64 runs fine on
* DeepComputing FML13V01
* Microchip Icicle Kit
* Milk-V Mars
* Pine64 Star64
* StarFive VisionFive 2
* SiFive Unmatched
The variable $fdtfile is correctly set for selecting the correct device-
tree.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/2110301
Title:
[SRU] Backport u-boot 2025.01-3 to Noble
Status in u-boot package in Ubuntu:
Invalid
Status in u-boot source package in Noble:
Fix Committed
Status in u-boot source package in Oracular:
Won't Fix
Status in u-boot source package in Plucky:
Invalid
Bug description:
[ Impact ]
With the release of Ubuntu 25.04 (Plucky) we support new RISC-V
hardware:
* Pine64 Star64
* DeepComputing FML13V01
In the 25.10 cycle we will upgraded the ISA from RVA20 to presumably
RVA23. This implies that hardware that is not RVA23 compliant will
only be supported on 24.04 in the long term.
We therefore need to backport the hardware support to 24.04. This
includes:
* U-Boot
* Kernel 6.14 (already completed)
With this SRU we will backport U-Boot 2025.01-3 to Noble.
[ Test Plan ]
For each $board:
* DeepComputing FML13V01
* Microchip Icicle Kit
* Milk-V Mars
* Pine64 Star64
* StarFive VisionFive 2
* SiFive Unmatched
If the $board was originally supported on the affected $series:
* Flash the pre-installed image from cdimage for the $series and $board combination
* Boot the image
* sudo apt install -t $series-proposed u-boot-$board (e.g. u-boot-starfive)
* Update U-Boot on the SD-card (only u-boot-microchip, u-boot-sifive do this via postinst automatically)
* sudo reboot
* Interrupt the boot sequence
* echo $fdtfile (check that u-boot's fdtfile variable shows the value matching the board)
* Exit to allow boot to continue
* Check boot succeeds
See the descriptions in the Ubuntu manual tests
(https://iso.qa.ubuntu.com/) for the respective boards.
If $board was *not* originally supported on the affected $series:
* Build test image incorporating proposed version (this may require PPA usage); instructions for this omitted for brevity
* Boot the image
* echo $fdtfile (check that u-boot's fdtfile variable shows the value matching the board)
* Exit to allow boot to continue
* Check boot succeeds
Check that booting via GRUB into Ubuntu works.
[ Where problems could occur ]
Updating the bootloader always carries the risk of breaking boot on
user's machines. That said, a bootloader is necessarily a standalone
binary (when running at boot time). The particular upstream version we
are backporting is already in successful use in plucky, giving us a
reasonable degree of confidence that this version is fundamentally
sound.
The backport in plucky's case simply incorporates changes to the
debian/ directory which occurred after plucky's release (we sync'd
from Debian's experimental branch during plucky).
The backport for oracular and noble is an actual upstream version
bump; the risk here is that the build acts differently (e.g. due to
differences in the build dependencies). To guard against that, the
test plan covers all potentially affected boards (for which we produce
official images), not just those on which we hope to enable boot.
[ Other Info ]
N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/2110301/+subscriptions
More information about the foundations-bugs
mailing list