Skip to content

Commit

Permalink
recipes-bsp: opensbi: Use upstream for visionfive2
Browse files Browse the repository at this point in the history
Use upstream opensbi provided by openembedded/poky for visionfive2. To achive
this without breaking other boards, change the overrides from jh7110 to star64.

Signed-off-by: Leonard Anderweit <[email protected]>
  • Loading branch information
leoratte authored and kraj committed Jan 15, 2025
1 parent ca09cb1 commit 1eaa860
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipes-bsp/opensbi/opensbi_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
# Support fdt drivers for AE350
SRCREV:ae350-ax45mp = "22f38ee6c658a660083aa45c4ec6c72f66a17260"
SRCREV:jh7100 = "c6a092cd80112529cb2e92e180767ff5341b22a3"
SRCREV:jh7110 = "c6a092cd80112529cb2e92e180767ff5341b22a3"
SRCREV:star64 = "c6a092cd80112529cb2e92e180767ff5341b22a3"
SRCREV:milkv-duo = "v1.4"
# recent version after 1.4 release
SRCREV:c910 = "17e829129d60d7d178d47ecbd8990e705690d352"

SRC_URI:jh7110 = "git://github.com/starfive-tech/opensbi;branch=JH7110_VisionFive2_devel;protocol=https"
SRC_URI:append:jh7110 = "\
SRC_URI:star64 = "git://github.com/starfive-tech/opensbi;branch=JH7110_VisionFive2_devel;protocol=https"
SRC_URI:append:star64 = "\
file://visionfive2-uboot-fit-image.its \
"

Expand All @@ -24,7 +24,7 @@ _DEPS:milkv-duo = "u-boot:do_deploy"

do_compile[depends] += "${_DEPS}"

do_deploy:append:jh7110() {
do_deploy:append:star64() {
install -m 0644 ${UNPACKDIR}/visionfive2-uboot-fit-image.its ${DEPLOYDIR}/visionfive2-uboot-fit-image.its
cd ${DEPLOYDIR}
mkimage -f visionfive2-uboot-fit-image.its -A riscv -O u-boot -T firmware visionfive2_fw_payload.img
Expand Down

0 comments on commit 1eaa860

Please sign in to comment.