From 743bd411909e8c192973a982199d316415f75789 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Thu, 27 Jun 2024 16:16:44 +0000 Subject: [PATCH] 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 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30044 --- .../conf/include/agl_jetson-agx-orin-devkit.inc | 20 ++++++++++++++++++++ .../jetson-agx-orin-devkit/50_bblayers.conf.inc | 1 + .../machine/jetson-agx-orin-devkit/50_local.conf.inc | 2 ++ 3 files changed, 23 insertions(+) create mode 100644 meta-agl-bsp/conf/include/agl_jetson-agx-orin-devkit.inc create mode 100644 templates/machine/jetson-agx-orin-devkit/50_bblayers.conf.inc create mode 100644 templates/machine/jetson-agx-orin-devkit/50_local.conf.inc 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 -- 2.16.6