[Bug 2121785] [NEW] [SRU] Support StarFive VisionFive 2 Lite
Heinrich Schuchardt
2121785 at bugs.launchpad.net
Mon Sep 1 05:18:46 UTC 2025
Public bug reported:
[ 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" },
+ { .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
* Check that SBI sysreset is the only sysreset driver in U-Boot.
* Test that the 'reset' command reboots each of the boards.
[ 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.
With the test above we ensure that existing boards are not impacted.
[ Other Info ]
** Affects: opensbi (Ubuntu)
Importance: Undecided
Assignee: Heinrich Schuchardt (xypron)
Status: Confirmed
** Affects: opensbi (Ubuntu Noble)
Importance: Undecided
Assignee: Heinrich Schuchardt (xypron)
Status: New
** Affects: opensbi (Ubuntu Plucky)
Importance: Undecided
Assignee: Heinrich Schuchardt (xypron)
Status: New
** Affects: opensbi (Ubuntu Questing)
Importance: Undecided
Assignee: Heinrich Schuchardt (xypron)
Status: Confirmed
** Changed in: opensbi (Ubuntu)
Assignee: (unassigned) => Heinrich Schuchardt (xypron)
** Changed in: opensbi (Ubuntu)
Milestone: None => ubuntu-24.04.4
** Changed in: opensbi (Ubuntu)
Status: New => Confirmed
** Also affects: opensbi (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: opensbi (Ubuntu Plucky)
Importance: Undecided
Status: New
** Also affects: opensbi (Ubuntu Questing)
Importance: Undecided
Assignee: Heinrich Schuchardt (xypron)
Status: Confirmed
** Changed in: opensbi (Ubuntu Noble)
Milestone: None => ubuntu-24.04.4
** Changed in: opensbi (Ubuntu Questing)
Milestone: ubuntu-24.04.4 => None
** Changed in: opensbi (Ubuntu Plucky)
Assignee: (unassigned) => Heinrich Schuchardt (xypron)
** Changed in: opensbi (Ubuntu Noble)
Assignee: (unassigned) => Heinrich Schuchardt (xypron)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to opensbi in Ubuntu.
https://bugs.launchpad.net/bugs/2121785
Title:
[SRU] Support StarFive VisionFive 2 Lite
Status in opensbi package in Ubuntu:
Confirmed
Status in opensbi source package in Noble:
New
Status in opensbi source package in Plucky:
New
Status in opensbi source package in Questing:
Confirmed
Bug description:
[ 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" },
+ { .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
* Check that SBI sysreset is the only sysreset driver in U-Boot.
* Test that the 'reset' command reboots each of the boards.
[ 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.
With the test above we ensure that existing boards are not impacted.
[ Other Info ]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/2121785/+subscriptions
More information about the foundations-bugs
mailing list