** Description changed:
[ Impact ]
The StarFive VisionFive 2 Lite is a new RISC-V RVA20 board that we can
support with Ubuntu 24.04. The board features a JH7710S SoC which only
differs from the JH7710 by the allowable CPU frequency and temperature
range. To make OpenSBI recognize the board the compatibility string of
the new SoC needs to be added to OpenSBI:
diff --git a/platform/generic/starfive/jh7110.c
b/platform/generic/starfive/jh7110.c
index 4163e416..c1328437 100644
--- a/platform/generic/starfive/jh7110.c
+++ b/platform/generic/starfive/jh7110.c
@@ -322,6 +322,7 @@ static int starfive_jh7110_platform_init(const void *fdt,
int nodeoff,
-
- static const struct fdt_match starfive_jh7110_match[] = {
- { .compatible = "starfive,jh7110" },
+
+ static const struct fdt_match starfive_jh7110_match[] = {
+ { .compatible = "starfive,jh7110" },
+ { .compatible = "starfive,jh7110s" },
- { },
- };
+ { },
+ };
We will execute the change in Questing, Plucky, Noble to keep the code
the same but as the new board will not be supported in Questing no
feature freeze exception is needed.
[ Test Plan ]
- * Build OpenSBI with the patch.
- * Build for the StarFive VisionFive 2 and the StarFive VisionFive 2 Lite
using this OpenSBI
+ For each backported $series (questing, plucky, noble), for each
+ potentially affected $board supported by $series (see
+ https://ubuntu.com/download/risc-v/canonical-built for definitions):
+
+ * Flash image for $board to appropriate storage (see board specific
instructions [2] if required).
+ * Boot image on $board.
+ * Upgrade opensbi to version in -proposed: sudo apt install $series-proposed
opensbi
+ * Re-flash boot firmware (if required; instructions may vary depending on
$board)
* Check that SBI sysreset is the only sysreset driver in U-Boot.
- * Test that the 'reset' command reboots each of the boards.
+ * Test that the 'reset' command reboots the board.
+
+ [1]: https://ubuntu.com/download/risc-v/canonical-built
+
+ [2]: https://canonical-ubuntu-boards.readthedocs-
+ hosted.com/en/latest/how-to/
[ Where problems could occur ]
- The patch only influences which SoCs are supported by OpenSBI. We are
- only adding a compatible string which enlarges the list of supported
- SoCs.
+ This backport potentially upgrades a part of the bootloader on all
+ RISC-V boards supported, hence the test plan ensures that (re)boot is
+ not affected on all such boards. Note that only RISC-V boards are
+ potentially affected so testing is limited to this architecture.
- With the test above we ensure that existing boards are not impacted.
+ One potential hole in testing is that questing (25.10) cannot be tested
+ on actual hardware. We require RVA23 in questing, and no RVA23 hardware
+ yet exists, so the only testing that can be done is in QEMU. However,
+ this also means no actual hardware can be regressed by this change,
+ hence the risk of regression in questing at least is minimal.
[ Other Info ]
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121785
Title:
[SRU] Support StarFive VisionFive 2 Lite
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/2121785/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs