[Bug 1905274] Re: enable u-boot spl for riscv64
Dimitri John Ledkov
1905274 at bugs.launchpad.net
Mon Jan 18 12:40:27 UTC 2021
** Changed in: u-boot (Ubuntu Focal)
Milestone: ubuntu-20.04.1 => ubuntu-20.04.2
--
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/1905274
Title:
enable u-boot spl for riscv64
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in u-boot package in Ubuntu:
Fix Released
Status in u-boot source package in Focal:
Fix Committed
Status in livecd-rootfs source package in Groovy:
Won't Fix
Status in u-boot source package in Groovy:
Fix Committed
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/lib/mkimage_fit_opensbi.sh" \
arch/riscv/dts/hifive-unleashed-a00.dtb > u-boot.its
WARNING: OpenSBI binary "fw_dynamic.bin" not found, resulting binary is not functional.
* A missbuilt package will have the Warning emitted by
mkimage_fit_opensbi.sh, whereas fixed u-boot package will not.
* Check that uboot-sifive riscv64 .deb provides
./usr/lib/u-boot/sifive_fu540/u-boot-spl.bin
./usr/lib/u-boot/sifive_fu540/u-boot.bin
./usr/lib/u-boot/sifive_fu540/u-boot.itb
./usr/lib/u-boot/sifive_fu540/uboot.elf
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1905274/+subscriptions
More information about the foundations-bugs
mailing list