Commit Graph

2593 Commits

Author SHA1 Message Date
Matt Madison
875cb42d10 tegra-helper-scripts: update tegra-flash-helper for L4T R36.4.0
* Fetch ramcode ID
* PMICBOARDREV selection change based on FAB

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
f541445b6f conf/machine: remove net.ifnames=0 from KERNEL_ARGS
to align with the defaults in L4T R36.4.0.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
c15e4977d6 uefi: update to r36.4.0
* Obsolete patch for RTC drivers dropped
* XusbController patch added to remove inappropriate C runtime references
* Other patches refreshed

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
9cd2886754 tensorrt: update to 10.3.0 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
a646fd59c2 vpi: update to 3.2.4 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
8f6c098ee7 cupva: update to 2.5.3 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
dcfe4a5bd8 cuda: update to 12.6 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
250611c964 linux-jammy-nvidia-tegra: udpate branch and SRCREV
for L4T R36.4.0.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Ilies CHERGUI
3bb861123a nvidia-kernel-oot: update recipe for L4T R36.4.0
- refresh patches
- update location of device tree files
- add max929x and r8126 kernel modules

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-10-26 08:15:33 -07:00
Ilies CHERGUI
4631f0c639 tegra-configs: refresh patches
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-10-26 08:15:33 -07:00
Ilies CHERGUI
7f01265d37 optee: update recipes for L4T R36.4.0
- base OP-TEE version now 4.2
- refresh makefile patch
- add openssl as dependency to optee-test

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-10-26 08:15:33 -07:00
Ilies CHERGUI
aa7546af8b meta: update recipes R36.3.0/JetPack 6 -> R36.4.0/JetPack 6.1
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Daniel Chaves
369d75b204 nvidia-kernel-oot: install headers under ${includedir}/${BPN}
Signed-off-by: Daniel Chaves <dchvs11@gmail.com>
2024-10-26 04:06:28 -07:00
Matt Madison
6ee8c498d8 gcc-for-nvcc: rename gcc-for-nvcc-source -> gcc-source-for-nvcc
to take advantage of the automatic license whitelisting buried in
base.bbclass that checks for PN starting with 'gcc-source-', and
avoid the issue mentioned in #1711.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-21 14:46:27 -07:00
Matt Madison
d43b919ebb tegra-firmware: add RPROVIDES/RREPLACES/RCONFLICTS
to mark the downstream firmware as a replacement for the
upstream linux-firmware-nvidia-tegra package.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-21 14:32:05 -07:00
Jan Kircher
0cf395491a gcc-for-nvcc: backport buildpaths fixes from OE-Core gcc recipes
From OE-Core commits 350ff7d and 9221e4a

Signed-off-by: Jan Kircher <jan.kircher@leica-microsystems.com>
Co-authored-by: Jan Kircher <jan.kircher@leica-microsystems.com>
2024-10-21 13:25:01 -07:00
Pablo Rodriguez
3fdf6ce5dc init-flash.sh: Handle missing UDC initialization
This update adds a check for a missing UDC (USB Device Controller) variable to prevent errors related to uninitialized or absent UDCs, stopping the execution of the boot process if none is found.

A missing UDC can result from various issues, such as an incorrect Device Tree Blob (DTB) configuration or misconfigured power regulators. By exiting early with a clear error message, this change helps diagnose and address the root cause more effectively.

Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
2024-10-08 10:30:35 -07:00
jpeeee
9d75f09744 uefi: stage UefiUpdateSecurityKeys.dtbo for use in capsule updates
Install UefiUpdateSecurityKeys.dtbo, if available, to staging directory in tegra-uefi-keys recipe, then
copy it from the staging directory when assembling BUP for capsule update.

Signed-off-by: Jean-Philippe Arnaud <jeanphilippe.arnaud@medtronic.com>
2024-10-08 10:01:52 -07:00
Khem Raj
ef93952c81 layer.conf: Update to walnascar (5.2) layer/release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-07 04:38:48 -07:00
Matt Madison
d01401058a external/openembedded-layer: update opencv bbappend version to 4.10
Signed-off-by: Matt Madison <matt@madison.systems>
2024-09-24 04:04:13 -07:00
Atharva Nandanwar
e9fe765b56 arm-trusted-firmware: set DEBUG and LOG_LEVEL from bitbake
- this allows ability to modify these in other layers if needed

Signed-off-by: Atharva Nandanwar <atharva.nandanwar@colorado.edu>
2024-09-19 14:12:43 -07:00
Matt Madison
98e065a4d9 tegra-flash-init: quote configuration state when testing
The configuration state could be 'not attached', which confuses
the shell unless we quote it.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-09-14 06:37:26 -07:00
Matt Madison
fa83834fdc tegra-flash-init: update variable name
With 2ba2294c45, we
now use 'configured' instead of 'suspended', but
missed updating the declaration of the variable
within the functions that use it.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-09-14 05:27:15 -07:00
Matt Madison
239d429089 setup-nv-boot-control: fix compat spec for P3701 SKUs
The logic for generating the compatibility spec for P3701
SKUs changed in L4T R35.4.1, but we missed it.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-09-14 05:20:57 -07:00
Matt Madison
e3ed33a319 tegra-eeprom-tool: update v2.0.1 -> v2.0.2
Signed-off-by: Matt Madison <matt@madison.systems>
2024-09-14 04:40:47 -07:00
Igor Opaniuk
9de11ba168 tegra-uefi-capsules: remove ESP image dependency for BUP
Remove ESP image dependency for BUP generation. The BUP generation
script doesn't use it, and the only mention of ESP partition is in the list
of boot artifacts to be included into BUP image (bup_type=bl), where
the ESP image is explicitly marked to be skipped.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-09-14 03:31:03 -07:00
Khem Raj
a378e7eddb layer.conf: Switch to 'styhead' release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 04:00:31 -07:00
Kurt Kiefer
2ba2294c45 tegra-flash-init: use usb configuration state for connection status
When a device is enumerated by the host, its usb configuration state
changes to positively identify that it is ready to go. Conversely,
when it is powered down, its configuration state indicates that it
is no longer in that ready ('configured') state.

A side effect of the power saving for the USB peripheral would change
the device into a suspended state if it is not configured, but this
mechanism does not work reliably on the Orin AGX devkit.

Additionally, the gadget device sysfs node changed from a single
/UDC/device/gadget function to /UDC/device/gadget.# in kernels newer
than the current L4T 5.15, breaking the previous method for newer
kernels.

Use this more direct method of determining if the usb host is using
the device so it will work across various platforms as well as kernel
versions.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-09-05 06:30:55 -07:00
Dan Walkes
a0a0005b15 tegra-storage-layout-base: fix typo on external layout
Fix typo and missing 'T' character in variable reference
for `PARTITION_LAYOUT_EXTERNAL`.

The current typo means if the name of the file referenced
by PARTITION_FILE_EXTERNAL was different than the name
PARTITION_LAYOUT_EXTERNAL, the wrong filename would be used
in the l4t-storage-layout dir.

Relates to #1

1: https://github.com/OE4T/meta-tegra/pull/1684

Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com>
2024-08-31 02:50:58 -07:00
Matt Madison
ba9e09c980 egl-gbm: correct capitalization of Pending in Upstream-Status in patch
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-30 08:40:33 -07:00
Matt Madison
725a447d82 egl-gbm: correct capitalization of Status in Upstream-Status tag in patch
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-30 07:40:38 -07:00
Kurt Kiefer
1e0eb5a43c nvidia-kernel-oot: remove nvidia-drm + tegra-drm ordering patch
This workaround is no longer needed with commit:
'egl-gbm: fix for kms display-only rendering'

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-08-30 06:16:28 -07:00
Kurt Kiefer
bbc0362ea3 egl-gbm: fix for kms display-only rendering
The tegra-drm + nvidia-drm setup on r36 is tenuous with respect
to egl-gbm (and particularly calls to eglGetPlatformDisplayEXT with
EGL_PLATFORM_GBM_KHR). It was only working somewhat by chance due
to the order that devices are probed and then made available to
readdir().

This change adds a patch to egl-gbm to provide a fallback in the
case where eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_KHR) might have
otherwise failed for no good reason, thus eliminating the need for
workarounds to enforce ordering of the modules loading.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-08-30 06:16:28 -07:00
Khem Raj
63ef5b0faf mesa,mesa-gl: Rename bbappend to match oe-core
OE-core has dropped the version number from these recipe names

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-23 06:31:29 -07:00
Matt Madison
1247115ba4 cuda-sanitizer: remove 32-bit x86 binaries
CUDA 12 added 32-bit x86 tools and libraries to the cuda-sanitizer
package. They're not likely needed in our builds or SDKs, so just
remove them to avoid packaging issues.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 05:33:01 -07:00
Matt Madison
18f8c776a3 l4t-launcher-extlinux: inherit python3native
to ensure that there's a usable python3 environment for
running the scripts from tegra-flashtools-native.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 05:21:25 -07:00
Matt Madison
1d91fcff73 linux-jammy-nvidia-tegra: inherit python3native
The deploy task uses the tegra-flashtools python scripts, so
inherit python3native to ensure we've got a suitable python
environment to run them.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 05:20:14 -07:00
Sid-Ali Teir
db40c73e8d tegra-flashtools: add dependency on python3-pyyaml
The tegrasign_v3 Python scripts depend on this package.

Signed-off-by: Sid-Ali Teir <sidali.teir@wavelit.io>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 04:45:23 -07:00
Zachary T Welch
69145eb661 linux-jammy-nvidia-tegra, image_types_cboot: fix KERNEL_ARGS quoting
This change permits passing kernel command line arguments that include
quoted strings, including dyndbg.  Without single quotes, these
invocations of `mkbootimg` will silently produce incorrect results.

Signed-off-by: Zachary T Welch <zach@aquabyte.ai>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 04:27:12 -07:00
Stefan Schorr
716714ae34 initrd-flash: Add custom extra-pre-wipe
This introduces a hook to the initrd-flash script which makes it
possible to run custom scripts before erasing the storage disk
via "erase-nvme" or overwriting it via "export-devices".

Note: There exists already an "extra" hock to run future scripts
before the final reboot step. Similar to that, any future recipe
intended to add custom extra pre-wipe scripts can use the
TEGRA_INITRD_FLASH_INSTALL variable in the distro config to add
the new package(s).

Furthermore, note that these custom scripts will need to be
installed with executable permission set in the
/init_extra-pre-wipe.d folder of the tegraflash initrd image.

Signed-off-by: Stefan Schorr <stefan.schorr@cognex.com>
2024-08-16 13:09:01 -07:00
Matt Madison
814a256f34 l4t_version: move L4T_VERSION to global scope
The global tegra-mender-setup.bbclass from the meta-mender-community
layer uses the L4T_VERSION variable to define a `l4t-mender-<version>`
machine override, so that variable also needs to be available globally.

Signed-off-by: Zachary T Welch <zach@aquabyte.ai>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-16 13:02:37 -07:00
Sid-Ali Teir
064152c354 nvidia-l4t-optee: add 'bash' as RDEPENDS
Signed-off-by: Sid-Ali Teir <sidali.teir@wavelit.io>
2024-08-14 09:24:37 -07:00
Sid-Ali Teir
1135764567 nvidia-l4t-optee: install missing tee-supplicant script
Signed-off-by: Sid-Ali Teir <sidali.teir@wavelit.io>
2024-08-08 13:08:04 -07:00
Matt Madison
b20cff753f libconfig-tegra, libusbgx-tegra-initrd-flash: meta-oe compatibility
These recipes are included to allow the initrd used for flashing
to be built without relying on the meta-oe layer.  Clean them
up so that if meta-oe is part of the build, they don't conflict
with the real recipes for things like SDK builds.

For libconfig-tegra, exclude it completely when meta-oe is present,
since we can use the normal libconfig recipe instead.

The libusbgx build is customized for the initrd flash initramfs,
so for now, at least, just empty the -dev package for it.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-07-27 07:06:06 -07:00
Khem Raj
28471e11ae cuda-samples: Build all samples under 0_Introduction
Add needed dependencies and linker flags as well as copy the data files
to target, needed to run c++11_cuda sample, in order to run this the
limitation is that one must be in /usr/bin/cuda-samples subdir when
executing this sample, so it can find warandpeace.txt under ./data dir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-26 05:16:41 -07:00
Khem Raj
62748c693d tegra-libraries-eglcore: Force hardlink creation in postinstall
otherwise O_P_M update does not work and fails like below

Configuring tegra-libraries-eglcore.
ln: failed to create hard link '/usr/lib/aarch64-linux-gnu/tegra-egl/libEGL_nvidia.so.0': File exists
error: pkg_run_script: package "tegra-libraries-eglcore" postinst script returned status 1.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-18 13:32:43 -07:00
Matt Madison
76e5fb3546 l4t-launcher-rootfs-ab-config: add S setting
so we don't get the warning about S being undefined during
the build.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-07-15 12:13:13 -07:00
Matt Madison
5e53516a94 external/virtualization-layer: update libnvidia-container makefile patch
to add -trimpath to the build of libnvidia-container-go.so, so it doesn't
trigger buildpaths QA warnings.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-07-15 12:13:13 -07:00
Khem Raj
5da2520145 tar-l4t-workaround-native: Switch away from S = WORKDIR
Fixes
WARNING: tar-l4t-workaround-native-1.0-r0 do_unpack: tar-l4t-workaround-native: the directory ${WORKDIR}/${BP} (/mnt/b/yoe/master/build/tmp/work/x86_64-linux/tar-l4t-workaround-native/1.0/tar-l4t-workaround-1.0) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-15 12:12:52 -07:00
Matt Madison
cc1c28f05f nsight-systems: update LIC_FILES_CHKSUM
Date stamp change in the EULA.txt file.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-07-13 04:32:19 -07:00