Add templates for jetson-agx-orin-devkit 44/30044/3
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 27 Jun 2024 16:16:44 +0000 (16:16 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 27 Jun 2024 20:10:52 +0000 (20:10 +0000)
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

meta-agl-bsp/conf/include/agl_jetson-agx-orin-devkit.inc [new file with mode: 0644]
templates/machine/jetson-agx-orin-devkit/50_bblayers.conf.inc [new file with mode: 0644]
templates/machine/jetson-agx-orin-devkit/50_local.conf.inc [new file with mode: 0644]

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 (file)
index 0000000..8dc8461
--- /dev/null
@@ -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 (file)
index 0000000..6461f1c
--- /dev/null
@@ -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 (file)
index 0000000..c04fcd7
--- /dev/null
@@ -0,0 +1,2 @@
+MACHINE = "jetson-agx-orin-devkit"
+require conf/include/agl_jetson-agx-orin-devkit.inc