summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-27 16:16:44 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-27 20:10:52 +0000
commit743bd411909e8c192973a982199d316415f75789 (patch)
tree8f91e3a8c39df7c5eff24779d06c3147c672f1c5
parent0bef2809872fac47b69eaab6c2479c50f3847328 (diff)
Add templates for jetson-agx-orin-devkit
These are first templates for the jetson-agx-orin-devkit board. Community support only. Bug-AGL: SPEC-5176 Change-Id: I6c6762f5e3b08c17037fb377eeccdee9e2b5451f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30044
-rw-r--r--meta-agl-bsp/conf/include/agl_jetson-agx-orin-devkit.inc20
-rw-r--r--templates/machine/jetson-agx-orin-devkit/50_bblayers.conf.inc1
-rw-r--r--templates/machine/jetson-agx-orin-devkit/50_local.conf.inc2
3 files changed, 23 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_jetson-agx-orin-devkit.inc b/meta-agl-bsp/conf/include/agl_jetson-agx-orin-devkit.inc
new file mode 100644
index 000000000..8dc846123
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_jetson-agx-orin-devkit.inc
@@ -0,0 +1,20 @@
+# Default IMAGE FSTYPES - tegraflash for flashing and ext3 for netboot
+AGL_DEFAULT_IMAGE_FSTYPES := "tegraflash ext3.xz"
+# Default initramfs fstypes - ext3 for netboot and cpio.gz for flashing
+AGL_DEFAULT_INITRAMFS_FSTYPES := "ext3.gz cpio.gz"
+
+# NOTE: we avoid ext4 for now due to optional features introduced in newer
+# e2fsprogs and older kernels (e.g. for the tegra) not supporting these, yet.
+# Downgrade filesystem to ext3
+IMAGE_TEGRAFLASH_FS_TYPE = "ext3"
+
+# DISABLE spdx ... fails on nvidia specific package
+INHERIT:remove = "create-spdx"
+
+# enforce nvme0n1p1
+TNSPEC_BOOTDEV:forcevariable = "nvme0n1p1"
+TNSPEC_BOOTDEV_DEFAULT:forcevariable = "nvme0n1p1"
+
+# DISABLE LTTNG due to FTBS
+LTTNGMODULES:forcevariable = ""
+LTTNGTOOLS:forcevariable = "" \ No newline at end of file
diff --git a/templates/machine/jetson-agx-orin-devkit/50_bblayers.conf.inc b/templates/machine/jetson-agx-orin-devkit/50_bblayers.conf.inc
new file mode 100644
index 000000000..6461f1c76
--- /dev/null
+++ b/templates/machine/jetson-agx-orin-devkit/50_bblayers.conf.inc
@@ -0,0 +1 @@
+BBLAYERS =+ "${METADIR}/bsp/meta-tegra"
diff --git a/templates/machine/jetson-agx-orin-devkit/50_local.conf.inc b/templates/machine/jetson-agx-orin-devkit/50_local.conf.inc
new file mode 100644
index 000000000..c04fcd76a
--- /dev/null
+++ b/templates/machine/jetson-agx-orin-devkit/50_local.conf.inc
@@ -0,0 +1,2 @@
+MACHINE = "jetson-agx-orin-devkit"
+require conf/include/agl_jetson-agx-orin-devkit.inc