[Bug 1905274] Re: enable u-boot spl for riscv64
Dimitri John Ledkov
1905274 at bugs.launchpad.net
Fri Dec 4 04:33:39 UTC 2020
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.
** Description changed:
- enable u-boot spl for riscv64
+ [Impact]
- 1) backport opensbi 0.8 to focal
- https://bugs.launchpad.net/ubuntu/focal/+source/opensbi/+bug/1905456
+ * To build bootable uboot-sifive package, it must be built with
+ opensbi. Currently those are missbuilt and not packaged.
- 2) build u-boot with opensbi specified
+ [Test Case]
- 3) ship uboot-spl in the cloud image
+ * 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]
+
+ * Anything else you think is useful to include
+ * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
+ * and address these questions in advance
** Also affects: livecd-rootfs (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: u-boot (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: livecd-rootfs (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: u-boot (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: livecd-rootfs (Ubuntu Groovy)
Status: New => Won't Fix
** Changed in: u-boot (Ubuntu Groovy)
Status: New => Won't Fix
** Description changed:
[Impact]
- * To build bootable uboot-sifive package, it must be built with
+ * 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
+ * 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.
+ * 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
+ * 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]
-
- * Anything else you think is useful to include
- * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
- * and address these questions in advance
+
+ * 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.
** Changed in: u-boot (Ubuntu Focal)
Milestone: None => ubuntu-20.04.1
--
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 livecd-rootfs source package in Focal:
New
Status in u-boot source package in Focal:
New
Status in livecd-rootfs source package in Groovy:
Won't Fix
Status in u-boot source package in Groovy:
Won't Fix
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