Переглянути джерело

opensbi: Add the bbappend for d1

Signed-off-by: Ma Jun <majun258@linux.alibaba.com>
Ma Jun 3 роки тому
батько
коміт
0cb2b9d6bb

+ 11 - 0
recipes-bsp/opensbi/opensbi_0.6.bbappend

@@ -0,0 +1,11 @@
+SUMMARY = "RISC-V Open Source Supervisor Binary Interface (OpenSBI)"
+DESCRIPTION = "OpenSBI aims to provide an open-source and extensible implementation of the RISC-V SBI specification for a platform specific firmware (M-mode) and a general purpose OS, hypervisor or bootloader (S-mode or HS-mode). OpenSBI implementation can be easily extended by RISC-V platform or System-on-Chip vendors to fit a particular hadware configuration."
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=42dd9555eb177f35150cf9aa240b61e5"
+
+SRCREV="${AUTOREV}"
+SRC_URI = "git://git@gitlab.alibaba-inc.com/thead-linux/d1_opensbi.git;branch=d1-miniapp;protocol=ssh"
+
+COMPATIBLE_MACHINE = "d1"
+
+EXTRA_OEMAKE += "SUNXI_CHIP=sun20iw1p1 PLATFORM_RISCV_ISA=rv64gcxthead"

+ 1 - 0
recipes-bsp/opensbi/opensbi_0.8.bbappend

@@ -0,0 +1 @@
+COMPATIBLE_MACHINE = "ice"