summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-04-07 00:06:04 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-04-07 00:07:02 +0200
commit01b111da2219872ca171d06d8a016e391d1ed96f (patch)
tree00dd3b5b288e584611fcfd6070287dcc85a55a23
parentabc1f292902c26212e1c8bb0ac76649c1cf5942b (diff)
Include visionfive2 board templatessandbox/jsmoeller/next-riscv-EW24
Change-Id: I705e7f2e2dc93ac1b6e23605580ba7c3443bccb2 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-agl-bsp/conf/include/agl_visionfive2.inc1
-rw-r--r--templates/machine/unmatched/50_local.conf.inc2
-rw-r--r--templates/machine/visionfive2/50_bblayers.conf.inc2
-rw-r--r--templates/machine/visionfive2/50_local.conf.inc4
4 files changed, 8 insertions, 1 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/unmatched/50_local.conf.inc b/templates/machine/unmatched/50_local.conf.inc
index c4d2b3ae5..33a5f54a8 100644
--- a/templates/machine/unmatched/50_local.conf.inc
+++ b/templates/machine/unmatched/50_local.conf.inc
@@ -1,4 +1,4 @@
MACHINE = "unmatched"
-#see meta-agl/meta-agl-bsp/conf/include/agl_raspberrypi4.inc
+#see meta-agl/meta-agl-bsp/conf/include/agl_unmatched.inc
require conf/include/agl_unmatched.inc
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..82d9a65cd
--- /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_unmatched.inc