enable u-boot spl for riscv64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned | ||
u-boot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* To build bootable uboot-sifive package, it must be built with opensbi. Currently those are missbuilt and not packaged.
[Test Case]
* Download u-boot buildlog for riscv64
and Look for:
/<<PKGBUILDDIR>
arch/riscv/
WARNING: OpenSBI binary "fw_dynamic.bin" not found, resulting binary is not functional.
* A missbuilt package will have the Warning emitted by mkimage_
* Check that uboot-sifive riscv64 .deb provides
./usr/lib/
./usr/lib/
./usr/lib/
./usr/lib/
As those will be consumed by livecd-rootfs when building bootable preinstalled images.
[Where problems could occur]
* u-boot build embedds FU540 dtb and OpenSBI at a particular interface versions. It is unknown if these components will be compatible with future board revisions or may require changes and rebuilds. Specifically kernel interfaces with opensbi and uboot and hardware and has certain dtb expectation. Currently it has been verified that the dtb vendored in opensbi u-boot and kernel are all identical. But hardware issues may arise when these will change out of sync - for example opensbi installed shutdown/reboot handler resulting in a reboot hang.
I expect all of these components needing changes and rebuilds to support FU740.
[Other Info]
* Groovy will not receive these changes. There will not be a point release of groovy to make a new image. Focal images will be provided at next point release which will only be supported to upgrade to hirsute or next LTS.
CVE References
description: | updated |
no longer affects: | opensbi (Ubuntu) |
description: | updated |
no longer affects: | livecd-rootfs (Ubuntu Focal) |
Changed in u-boot (Ubuntu Focal): | |
milestone: | ubuntu-20.04.1 → ubuntu-20.04.2 |
Probs https:/ /github. com/canonical/ cloud-init/ pull/687/ files is wanted too.