summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-07-25 15:45:28 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-07 16:31:23 +0000
commit9662ef604cd0c10336c2eb20e57d88627ec30811 (patch)
tree73175cc7cadee30dea81fcaa6d2e645d369b150e
parentd26651f556470efecbb52d95c65690bd7fb50f25 (diff)
visionfive2 template
This adds a machine template for visionfive2 board. Change-Id: I045d387b64a190965400546a456da3602d786d87 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30112
-rw-r--r--meta-agl-bsp/conf/include/agl_visionfive2.inc1
-rw-r--r--templates/machine/visionfive2/50_bblayers.conf.inc2
-rw-r--r--templates/machine/visionfive2/50_local.conf.inc4
3 files changed, 7 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_visionfive2.inc b/meta-agl-bsp/conf/include/agl_visionfive2.inc
new file mode 100644
index 000000000..1b4cb5339
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_visionfive2.inc
@@ -0,0 +1 @@
+PERF:forcevariable = ""
diff --git a/templates/machine/visionfive2/50_bblayers.conf.inc b/templates/machine/visionfive2/50_bblayers.conf.inc
new file mode 100644
index 000000000..02a564551
--- /dev/null
+++ b/templates/machine/visionfive2/50_bblayers.conf.inc
@@ -0,0 +1,2 @@
+# This is the original place, but we need to tweak layer.conf
+BBLAYERS =+ "${METADIR}/bsp/meta-riscv"
diff --git a/templates/machine/visionfive2/50_local.conf.inc b/templates/machine/visionfive2/50_local.conf.inc
new file mode 100644
index 000000000..9e7af0b81
--- /dev/null
+++ b/templates/machine/visionfive2/50_local.conf.inc
@@ -0,0 +1,4 @@
+MACHINE = "visionfive2"
+
+#see meta-agl/meta-agl-bsp/conf/include/agl_unmatched.inc
+require conf/include/agl_visionfive2.inc