summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
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 /meta-agl-bsp/conf
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
Diffstat (limited to 'meta-agl-bsp/conf')
-rw-r--r--meta-agl-bsp/conf/include/agl_jetson-agx-orin-devkit.inc20
1 files changed, 20 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
kground-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
project('native dep pkgconfig test')

if get_option('start_native')
  dep_native = dependency('dep_tester', native: true, method: 'pkg-config')
  dep_cross = dependency('dep_tester', native: false, method: 'pkg-config')
else
  dep_cross = dependency('dep_tester', native: false, method: 'pkg-config')
  dep_native = dependency('dep_tester', native: true, method: 'pkg-config')
endif

dep_type = dep_native.get_pkgconfig_variable('dep_type')
assert(dep_type == 'native', 'Expected native')

dep_type = dep_cross.get_pkgconfig_variable('dep_type')
assert(dep_type == 'cross', 'Expected cross')