2723 Commits

Author SHA1 Message Date
Khem Raj
d8f3d990d0 egl-wayland: Fix build with clang
Clang19 reports more errors, fixed thusly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-13 04:24:22 -07:00
Khem Raj
e499f2c770 nvgstapps: Remove unused patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-13 04:24:22 -07:00
Matt Madison
8f9efcd3c0 tegra-flash-init: make machine-specific
since we now have a dependency on a machine-specific variable.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-06-11 14:25:04 -07:00
Pavel Löbl
105532880b tegra-flash-init: derive mtd name from OTABOOTDEV variable
On custom board the QSPI flash can be under different name
(like mtd1). Instead hardcoding mtd0 we derive the mtd device
name from OTABOOTDEV variable already specified in machine
files.

Signed-off-by: Pavel Löbl <pavel@loebl.cz>
2024-06-11 14:21:28 -07:00
Matt Madison
cab25debe1 nvidia-kernel-oot: mark replacements for in-tree drivers
A number of the out-of-tree modules are named identically to
modules built in-tree, and are intended to replace the in-tree
copies. Mark those with RREPLACES/RCONFLICTS settings when
packaging the modules.

Also add PREFERRED_RPROVIDER settings for those packages,
to point to the out-of-tree copies, to the tegra-common machine
configuration include file.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-06-09 05:36:59 -07:00
Matt Madison
e9f872043b tegra-helper-scripts: allow for custom TBCDTB_FILE definition
* Add a default setting for TEGRA_FLASHVAR_TBCDTB_FILE that resolves
  to "@DTBFILE@"
* Update the flash helper to:
    - replace @DTBFILE@ with the name of the device tree file in that variable
    - remove the TBCDTB-FILE replacement in the storage layout, which isn't needed
    - simplify p3701 flashvars handling, similar to what's there for p3767

Signed-off-by: Matt Madison <matt@madison.systems>
2024-06-08 08:06:33 -07:00
Matt Madison
740407008b tegra-container-passthrough: fix SRC_URI for nvidia-l4t-gstreamer package
which is in the common deb pool, rather than the SoC-specific one.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-06-08 07:17:53 -07:00
Pavel Löbl
dc2d7526b1 bup: remove extra dependency to ESP
Remove unnecessary dependency between firmware BUP and EFI system partition image.
This creates circular dependency if you want to place your kernel on ESP.
2024-06-08 03:06:36 -07:00
Igor Opaniuk
618ea3d069 tegra-uefi-capsules: conditionally install capsules
Install capsules to rootfs only when TEGRA_UEFI_CAPSULE_INSTALL_DIR
is set.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-06-08 03:00:38 -07:00
Timo Schuster
eda302c9ed Add missing RDEPENDS in nvidia-kernel-oot for alsa drivers
Signed-off-by: Timo Schuster <timo.schuster@leica-microsystems.com>
2024-06-04 02:41:57 -07:00
Matt Madison
b4aa81e7c6 README.md: update for JetPack 6.0/L4T R36.3.0
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:58:57 -07:00
Matt Madison
ec308c582f external/virtualization-layer: nvidia-container-toolkit: install config.toml symlink
With the updated toolkit/runtime setup, the toolkit is run at boot time to generate the
configuration file used by the container runtime.  To allow for a read-only rootfs setup,
we place the generated config.toml under /run. We need to install a symlink in the
normal /etc/nvidia-container-runtime directory to point to that generated config, so the
container runtime can find it.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
8bb73c7e6b tegra-configs: fix container-passthrough CSV, drop obsolete symlink
* The nvdla_compiler library is passed through from the host, so fix
  the path in the CSV file accordingly
* Drop the obsolete symlink for libgstreamer1.0

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
923778a798 tegra-flashtools-native: refresh python script patch
to eliminate the SynatxWarning messages generated by the
dtbcheck.py script.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
ef9eb285e5 meta: update -native recipes to use inherit_defer
to improve compatibility with devtool.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
30730c5104 tegra-uefi-capsules: update for L4T R36.3.0
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
992db32b98 external/virtualization-layer: drop obsolete linux-tegra bbappend
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
c0660474e9 meta: remove BOOT_PARTITIONS_ON_EMMC references
The spillover of some boot firmware partitions into
the eMMC was specific to some of the Xavier models,
so we can drop handling of that case.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
35d254912c jetson-orin-nano-devkit: drop TEGRA_SPIFLASH_BOOT setting
which is no longer needed.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
667e13147a image_types_tegra: update flash package script generation
* Drop obsolete variables that were specific to Xavier models
* Make doscard.sh script dependent on existence of an sdcard
  stanza in the storage layout
* Add doexternal.sh script to allow for off-device population
  of a USB or NVMe drive

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
2e21f8d41c image_types_tegra: update TEGRA_EXT4_OPTIONS
We had been disabling the metadata_csum_seed ext4 attribute
because the cboot ext4 implementation did not support it.
The UEFI ext4 implementation does support it, however, so
we can remove the disablement from TEGRA_EXT4_OPTIONS.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
582bef7466 gstreamer1.0-plugins-nveglgles: update wayland support to use xdg-shell
Weston removed support for the wl_shell protocol in version 11.0. Clients
are expected to use the xdg-shell extension instead, so convert the
video_platform_wrapper wayland adapter to do that.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
ae07bbea11 l4t-graphics-demos: update wayland support to use xdg-shell
Weston removed support for the wl_shell protocol in version 11.0. Clients
are expected to use the xdg-shell extension instead, so convert
the nvgldemo wayland adapter to do that.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Pavel Löbl
2b577499a1 recipes-kernel: fix indentation in jammy recipe
Signed-off-by: Pavel Löbl <pavel@loebl.cz>
2024-05-31 09:57:00 -07:00
Pavel Löbl
47f8230cfa recipes-kernel: fix build without initramfs
This fixes builds which sets INITRAMFS_IMAGE="". This was probably copy
paste error.

Signed-off-by: Pavel Löbl <pavel@loebl.cz>
2024-05-31 09:57:00 -07:00
Matt Madison
ed154b3183 edk2-firmware-tegra: fixes and reproducibility improvements
* Apply the inclusion of the NVIDIA-specific tools definitions when
  the Conf directory is populated, rather than trying to pass LZMA_FLAGS
  on the build command line (which doesn't work)

* Update the compiler and linker flags to allow us to pass the DEBUG_PREFIX_MAP
  flags in via an environment variable. This doesn't completely solve the build-paths
  embedding problem, but gets us closer.

* Pass the SOURCE_DATE_EPOCH in as a compilation flag, rather than having the
  generated makefiles for NVIDIA's RTC drivers call on the 'date' command during
  the build to get a suitable build epoch.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
a4f7ed44eb tegra-helper-scripts: fix PMICBOARDREV for 3701 SKU 0000 in flash helper
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
c30b7216de cuda-nvcc: add missing runtime dependenices
nvcc needs nvvm-dev and crt-dev when installed on the target.
It really does need those -dev packages, so relax the dev-deps
packaging QA check.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
ea31e32772 cuda-cupti: update packaging settings
Move all of the extras/CUPTI files into the -dev package, and
add in missing runtime dependencies for the -dev package, which
has makefiles and a perl script.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
503b67bb21 cuda-gdb: add missing runtime dependency
cuda-gdb is linked against libgmp.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
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