Public bug reported:

[Impact]

We need this new package because it allows to detect memory size at
runtime: if the memory is not discovered automatically, the Nezha can't
boot without an additional memory node in the device tree. The issue is
that the Nezha boards comes now with 2 different amounts of memory, 1GB
or 2GB. So the additional device tree node can't cover both boards.

In addition:
- we fixed the model string which changed in the last DTB from the kernel we'll 
use
- the vendor updated to version 2022.04, which brings more stability
- we added the Built-using field to the package so that we know which opensbi 
version we use

It is essential to backport this fix to Jammy as we intend to provide first 
support for the Nezha board in 22.04.1.
 
[Test Plan]

This package must be tested with the nezha-boot0 package whose SRU can
be found in [1] and the corresponding package in [2]. It also requires a
custom kernel (for now, but the kernel is working on its packaging)
which can be found in [3].

I tested those packages on the Nezha board with 1G of RAM and the
LicheeRV board with 512M of RAM.

[1] https://bugs.launchpad.net/ubuntu/+source/nezha-boot0/+bug/1965260
[2] 
https://launchpad.net/~alexghiti/+archive/ubuntu/riscv/+sourcepub/13653972/+listing-archive-extra
[3] 
https://github.com/AlexGhiti/riscv-linux/tree/int/alex/nezha_Ubuntu-unstable-5.17.0-8.8

[Where problems could occur]

This package was never used before (and should not have been) as we did
not provide any image for Jammy 22.04, the plan is 22.04.1.

[Other Info]

We decided to update the version of the u-boot since the vendor patches
were updated (some added) on this new release only.

** Affects: u-boot-nezha (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976594

Title:
  Detect RAM size automatically and other fixes

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to