opensbi_%.bbappend 753 B

123456789101112131415
  1. SRCREV:starfive-visionfive2 = "c6a092cd80112529cb2e92e180767ff5341b22a3"
  2. SRC_URI:starfive-visionfive2 = "git://git@192.168.110.45/sbc/opensbi.git;protocol=ssh \
  3. file://visionfive2-uboot-fit-image.its \
  4. "
  5. EXTRA_OEMAKE:starfive-visionfive2 += "PLATFORM=${RISCV_SBI_PLAT} I=${D} FW_PIC=n CLANG_TARGET= FW_TEXT_START=0x40000000"
  6. DEPENDS:starfive-visionfive2:append = " u-boot-tools-native dtc-native"
  7. do_deploy:append:starfive-visionfive2() {
  8. install -m 0644 ${WORKDIR}/visionfive2-uboot-fit-image.its ${DEPLOYDIR}/visionfive2-uboot-fit-image.its
  9. cd ${DEPLOYDIR}
  10. mkimage -f visionfive2-uboot-fit-image.its -A riscv -O u-boot -T firmware visionfive2_fw_payload.img
  11. }