[Bug 1905274] Re: enable u-boot spl for riscv64

Łukasz Zemczak 1905274 at bugs.launchpad.net
Fri Jan 8 17:08:04 UTC 2021


Hello Dimitri, or anyone else affected,

Accepted u-boot into groovy-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/u-boot/2020.10+dfsg-
1ubuntu0~20.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: u-boot (Ubuntu Groovy)
       Status: Won't Fix => Fix Committed

** Tags added: verification-needed verification-needed-groovy

** Changed in: u-boot (Ubuntu Focal)
       Status: New => Fix Committed

** Tags added: verification-needed-focal

-- 
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:
  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