Commit Graph

2493 Commits

Author SHA1 Message Date
Matt Madison
a08306e618 cuda-crt: set ALLOW_EMPTY on main package
since cuda-crt only includes header files.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
b1da318c6c meta: update L4T_DEB_DEFAULT_VERSION and all L4T sha256 checksums
NVIDIA "refreshed" all the L4T BSP packages for R36.3.0.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
298b8a915e arm-trusted-firmware: add missing PAC settings to EXTRA_OEMAKE
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Ilies CHERGUI
57f8edc79d cuda-nvvm: update recipe
- update sha256sum
- set FILES:${PN} to include the right nvvm files

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-05-31 09:57:00 -07:00
Matt Madison
c00331ff32 optee: drop obsolete patch, add new early TA to optee-os build
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
0e9a32364c layer.conf: prune SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
Most of the entries in that list have been obsolete since we moved
to using the nvidia-l4t-*.deb packages for installing the tegra-specific
libraries.  The only entry we definitely still need is the one for the
gcc-for-nvcc cross-compiler; delete all others for now, and we can
populate more-correct entries when we run into sstate sharing problems.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
6a0b861b5a l4t-graphics-demos: refresh patches for weston 13
Note that libweston-desktop APIs were moved into libweston.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
069ee3b8ad egl-wayland: update to latest
and rename the recipe as '_git', setting PV in the recipe, to simplify
future updates.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
a59ace7897 weston-init: add bbappend
weston-init is already a machine-specific package, so it's a good place to
mention our tegra-specific runtime dependencies (well, recommendations)
for running Weston.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
db466146df weston: drop weston 10.0.2 recipe and bbappend
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
fd15e19dc5 conf/machine: drop PREFERRED_VERSION_weston from tegra-common
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
b89eb84af6 nvidia-drm-loadconf: add autoload configuration for nvidia-drm
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
e4667a53af tegra-initrd-flash-initramfs: remove graphics console from kernel command line
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
a758e632f7 agx-orin: update TEGRA_PLUGIN_MANAGER_OVERLAYS for R36.3.0
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
f8633daf75 conf/machine: add missing TEGRA_BOARDSKU settings
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Pavel Löbl
3e76d865a5 p3768-0000-p3767-0001: set correct SKU for Orin NX 8Gb
Set SKU to 0001 as otherwise 0000 is used from included
16Gb Orin NX variant config.

Signed-off-by: Pavel Löbl <pavel@loebl.cz>
2024-05-31 09:57:00 -07:00
Matt Madison
79cf38de27 external/virtualization-layer: update nvidia-container-toolkit to 1.14.5
* Added patch to support location of files in the container-passthrough tree
* Added systemd service to generate the config.toml file for the container
  runtime during boot, so we can add the location of the passthrough tree.

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:56:26 -07:00
Matt Madison
b562d4db27 external/virtualization-layer: update libnvidia-container to 1.14.2 and refresh patch
* Dropped libnvidia-container-jetson recipe, which is now obsoloete

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:56:26 -07:00
Matt Madison
41db12cc55 tegra-configs: update the container CSV files for R36.3.0
l4t.csv has been split in two.  Only the drivers.csv file
needs modification for our builds.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:56:26 -07:00
Matt Madison
3b763e9a41 setup-nv-boot-control: updates for R36.3.0
* Drop Xavier references
* Drop eMMC hack which was only needed for AGX Xavier platforms

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:56:26 -07:00
Matt Madison
87ff11686d tegra-storage-layout: update for L4T R36.3
* Add PVA firmware partition
* Populate TSEC firmware partition

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
57a87f318e tegra-helper-scripts: updates for L4T R36.3
tegra-flash-helper:
     - DCE overlay DTB handling
     - secondary_gpt_backup has been dropped
     - EEPROM custinfo command changed to 'try_custinfo'
     - PVA firmware
     - remove SCE firmware
     - drop odmsign.func check, as it is now included in the BSP
     - add readfuses command on initial contact with device
     - fix handling of custinfo data
     - set up FLASHARGS variable for processing by odmsign

initrd-flash:
     - now using module serial number/asset ID instead of ECID for
       the unique identifier
     - normal helper/tegraflash invocation can now generate
       a signed RCM boot blob, so remove special hack for that
     - reorder helper invocations in signing steps - RCM first,
       then internal, then external

rewrite-tegraflash-args:
     - updated from latest tegraflash.py script

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
fc10506a18 uefi: update recipes for R36.3.0
* Handle some changes to NVIDIA's build configurator, and
  some path changes for scripts within the edk2-nvidia repo
* Move the rootfs A/B overlay to a separate recipe, so
  it can also be used with prebuilt UEFI

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
ff8f3de44e libusbgx-tegra-initrd-flash: add missing runtime depedency
on the tegra-xudc driver.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
14c20def2e tegra-minimal-initramfs: include some drivers
Just a minimal set, mainly to support booting off NVMe.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
218dfb2d9f tegra-initrd-flash-initramfs: add 'essential' machine packages
Drivers that are generally always needed are included in the
MACHINE_ESSENTIAL_EXTRA_* variables, so just include these in the
initrd-flash image.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
106d558853 initrdscripts: updates for L4T R36.3
* More drivers are now kernel modules
* Switch from ECID to module serial number for
  forming USB device ID when flashing

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
34408864ce Revert "tegra-common: set OLDEST_KERNEL so that glibc will restrict features"
This reverts commit 1eec81c883.

With L4T R36.x, we now have a 5.15 kernel as a base, so we no
longer need to do this.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
eb2d73cdf7 conf/machine: updates for L4T R36.3.0
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
427c8002a8 external/openembedded-layer: libusbgx: update runtime dependencies
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
81a4f98016 alsa-state: add runtime dependency on out-of-tree ALSA drivers
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
30b20fa605 nvidia-kernel-oot: add recipe
to build all of the NVIDIA out-of-tree modules and device trees.

This also removes the old nvidia-display-driver recipe, since the
source for the display drivers is coupled with the other out-of-tree
drivers.

Added patches for fixing:

* driver ordering between nvidia-drm and tegra-drm
* build compatibility with gcc 14

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
9a93922dbe python3-kconfiglib-tegra: add recipe
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
42c22a5791 optee: update recipes for L4T R36.3.0
- base OP-TEE version now 3.22
- refresh makefile patch
- optee-client now needs pkg-config and depends on libuuid

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
f68de0317d gstreamer: update recipes for R36.3.0
- public_sources archive layout change
- refresh patches where needed

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
5459445460 arm-trusted-firmware, optee: update for new public_sources structure
The 'public' subdirectory has been removed.  Also bump ATF version
to 2.8, which is the version included with L4T R36.3.0.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
6b045aac99 recipes-kernel: update kernel recipe to linux-jammy-nvidia-tegra 5.15
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
617aa8c815 meta: update recipes R35.5.0/JetPack 5 -> R36.3.0/JetPack 6
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
26f6e9401d meta: remove all t194/xavier references
in preparation for the R36.x update, which drops support
for those platforms.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:38 -07:00
Kurt Kiefer
0aeecc729b tegra-uefi-capsules: add missing DTB_EXTRA_DEPS dependency
The collection of dtb overlays used during tegraflash package creation
can come from sources other than l4t or the kernel. Most commonly this
is the virtual/dtb package, but it can be overridden, and is specified
by the DTB_EXTRA_DEPS variable.

The migration from creating bup payloads to creating only capsules
inadvertantly dropped this dependency, so this change adds it back.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-05-30 10:36:08 -07:00
Igor Opaniuk
3b28f68df6 tegra-uefi-capsules: include all logic for BUP generation
Drop BUP-specific recipes and move all logic to UEFI capsule
generation recipe, as suggested in [1].

[1] https://github.com/OE4T/meta-tegra/discussions/1492
Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-05-29 12:49:04 -07:00
Igor Opaniuk
ca2f725732 tegra-uefi-capsule-signing.bbclass: use build dir for capsules
Use ${B} for storing generated capsules instead of hacking
with ${DEPLOY_DIR_IMAGE}.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-05-29 12:49:04 -07:00
Igor Opaniuk
d239384ba0 image_types_tegra.bbclass: drop bup-payload CONVERSION_CMD
Drop bup-payload image type CONVERSION_CMD, as it's planned to generate
BUP image inside UEFI capsule generation recipes, as suggested in
[1].

[1] https://github.com/OE4T/meta-tegra/discussions/1492
Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-05-29 12:49:04 -07:00
Igor Opaniuk
669ccd241e tegra-common: drop bup-payload image_type
Drop bup-payload image type from TEGRA_INITRAMFS_FSTYPES, as it's
planned to generate BUP image inside UEFI capsule generation
recipes.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-05-29 12:49:04 -07:00
Igor Opaniuk
cea5f835f7 tegra-uefi-capsules: weak default value for capsule install dir
Rename variable holding Capsule install dir in the final rootfs,
so it's more generic TEGRA_UEFI_CAPSULE_INSTALL_DIR and set
a weak default value, so it can be adjusted if needed.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-05-29 12:49:04 -07:00
Igor Opaniuk
90256a7871 tegra-uefi-capsules: fix indentation issues
Fix indentation in task definitions (use spaces instead of tabs).

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-05-29 12:49:04 -07:00
Matt Madison
742f465849 meta: fix unpack warnings from recipes with only in-tree files
There is now a check that ${S} exists after running do_unpack.
The convention for recipes with only local in-tree files is
to define S and point UNPACKDIR at the same directory.  All
such recipes are updated to use this convention.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-29 06:15:10 -07:00
Matt Madison
cae3b11804 cuda-samples: move debian unpacking into do_unpack task
There is now a check that ${S} exists after running do_unpack, so
append the extraction of the sources from the debian package to
the do_unpack task, instead of breaking it out as a separate
task.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-29 06:12:28 -07:00
Matt Madison
b097a5a48f gstreamer1.0-plugins-nveglgles: fix build error with gcc-14
gcc 14 has promoted the int-conversion warning to the default -Werror
list, so update CFLAGS to prevent the error.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-28 06:54:28 -07:00
Matt Madison
9d4c380c46 xwayland: update bbappend for version 24.1
The new version drops eglstream support, so that's removed from
the tegra-specific configuration.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-28 06:54:23 -07:00