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>
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>
* 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>
Remove unnecessary dependency between firmware BUP and EFI system partition image.
This creates circular dependency if you want to place your kernel on ESP.
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>
* 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>
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>
* 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>
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>
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>
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>
* 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>
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>
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>
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>
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>
* 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>
* 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>