From cd1a0018bb112dd17f34b62ca55db6a1781335fa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 30 May 2023 21:53:03 -0700 Subject: [PATCH] opensbi: Make FW_TEXT_START=0x40000000 specific to jh7110 This ensures that it does not inflict upon other RISCV SOCs and qemu based machines, which can result in non-booting systems since entry adddress in FW_JUMP Firmware Configuration is wrong. Signed-off-by: Khem Raj --- recipes-bsp/opensbi/opensbi_%.bbappend | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/opensbi/opensbi_%.bbappend b/recipes-bsp/opensbi/opensbi_%.bbappend index f25fecf..9c81031 100644 --- a/recipes-bsp/opensbi/opensbi_%.bbappend +++ b/recipes-bsp/opensbi/opensbi_%.bbappend @@ -8,12 +8,11 @@ SRC_URI:append:jh7110 = "\ file://visionfive2-uboot-fit-image.its \ " -DEPENDS:jh7110:append = " u-boot-tools-native dtc-native" -EXTRA_OEMAKE:append = " FW_TEXT_START=0x40000000" +DEPENDS:append:jh7110 = " u-boot-tools-native dtc-native" +EXTRA_OEMAKE:jh7110:append = " FW_TEXT_START=0x40000000" do_deploy:append:jh7110() { install -m 0644 ${WORKDIR}/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 } -