[Bug 1934791] Re: SRU u-boot to focal to enable HiFive Unmatched booting

William Wilson 1934791 at bugs.launchpad.net
Mon Jul 26 22:09:09 UTC 2021


The verification passed for focal. The daily images are building with
u-boot-menu-4.0.2ubuntu5~20.04.1. I have successfully booted these daily
images in qemu and Unmatched hardware.

Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.8.0-29-generic riscv64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  System information as of Tue Jul 20 17:31:58 UTC 2021

  System load: 0.89
  Usage of /: 82.1% of 3.22GB
  Memory usage: 9%
  Swap usage: 0%
  Processes: 114
  Users logged in: 0
  IPv4 address for eth0: 10.0.2.15
  IPv6 address for eth0: fec0::5054:ff:fe12:3456

 * Super-optimized for small spaces - read how we shrank the memory
   footprint of MicroK8s to make it the smallest full K8s around.

   https://ubuntu.com/blog/microk8s-memory-optimisation

0 updates can be applied immediately.

Last login: Fri Jul 16 13:46:13 UTC 2021 on ttyS0
ubuntu at ubuntu:~$ apt-cache policy u-boot-menu
u-boot-menu:
  Installed: 4.0.2ubuntu5~20.04.1
  Candidate: 4.0.2ubuntu5~20.04.1
  Version table:
 *** 4.0.2ubuntu5~20.04.1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main riscv64 Packages
        100 /var/lib/dpkg/status
     4.0.1ubuntu0.1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe riscv64 Packages
     4.0.1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/universe riscv64 Packages

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-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/1934791

Title:
  SRU u-boot to focal to enable HiFive Unmatched booting

Status in u-boot package in Ubuntu:
  New
Status in u-boot source package in Focal:
  Fix Committed

Bug description:
  In order to boot Ubuntu 20.04 on the Unmatched, the version of u-boot
  currently in hirsute will need to be SRU'd to focal.

  Raspberry pi core and classic images will need to be tested with this
  new version of u-boot as well to ensure nothing was broken by the SRU.

  [Impact]

   * Without the hirsute version of u-boot, the HiFive Unmatched
     will not boot focal

  [Test Case]

  For RISC-V "unmatched" boards:
   * Attempt to build a HiFive Unmatched image with 
     u-boot 2020.10+dfsg-1ubuntu0~20.04.2
   * Note that it fails to build
   * Build image with u-boot from proposed
   * Attempt to boot the Unmatched with the new version of u-boot
   * Verify that u-boot is able to load the kernel

  For Raspberry Pi boards (2, 3, 3+, 4 (inc. 8GB variant), 400, CM4):
   * Flash focal image to an SD card and boot it on the relevant Pi
   * Ensure card is fully up to date (sudo apt update && sudo apt upgrade)
   * Enable proposed (https://wiki.ubuntu.com/Testing/EnableProposed)
   * Update u-boot (sudo apt install u-boot-rpi)
   * Check reboot still boots successfully (sudo reboot)

  [Regression Potential]

  There are multiple changes being SRU'd, but since we know they all
  work in hirsute on these models the risk is fairly low. Attempts to
  boot all the supported Raspberry pi models should still be made to
  ensure no regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1934791/+subscriptions




More information about the foundations-bugs mailing list