This change adds support (adapted from kernel-fitimage handling) for
out-of-tree device tree binary generation. It looks for a provider
of virtual/dtb, and if this exists, enables the copying of device
tree binaries generated by this recipe.
Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
to simplify JetPack revision updates that change *some* of the
nvidia-l4t-* packages to use an updated time/date stamp, but leave
some with the older time/date stamp.
Signed-off-by: Matt Madison <matt@madison.systems>
The 'esp' name was a bit too generic, so renaming should avoid possible
conflicts with other layers.
Also fix a minor typo in the log output in the mkespfs function.
Signed-off-by: Matt Madison <matt@madison.systems>
To enable use of the stock L4T _rootfs_AB.xml layouts, we have to
add replacements for LNXFILE_b, APP_b, and APPUUID_b in the layout
configuration.
Signed-off-by: Matt Madison <matt@madison.systems>
This variable is used everywhere the TNSPEC is calculated, instead
of MACHINE. It can be used to set a different machine name for
compatibility with BUP packaging or NVIDIA's bootload tools.
One example of this is NVIDIA's nvbootctrl tool part of the initial
Jetpack 5 release that matches the devkit machine name against the
COMPATIBLE_SPEC string. A custom TNSPEC_MACHINE name can be used
here to satisfy this match (e.g. 'mymachine-jetson-agx-xavier-devkit')
but the actual MACHINE variable can remain as simply 'mymachine'.
Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
The L4T flash.sh script makes a copy of the mb1 firmware and
modifies the flash layout to use that for the second MB1FILE
entry for t194 devices. Comments in the script indicate that
this is necessary, so do the same here.
Signed-off-by: Matt Madison <matt@madison.systems>
* use EMMC_BCT/EMMC_BCT_OVERRIDE variables for the sdram config
file(s) instead of ${MACHINE}.cfg/${MACHINE}-override.cfg
* add missing mb2 firmware for Orin
Signed-off-by: Matt Madison <matt@madison.systems>
- Removing dynamically generated container csv files for nvidia
container passthrough mechanism, as NVIDIA has moved to base l4t.csv
which includes all the container passthrough references
Signed-off-by: Atharva Nandanwar <anandanwar@sighthound.com>
* Now using tegra-flashtools-native
* T234 systems use same naming for the EMMC_BCT file as T194
* Start fixing up BUP payload generation for T234 (not done yet)
Signed-off-by: Matt Madison <matt@madison.systems>
This was added earlier in the kernel recipe, for handling
bundled initrds; make the corresponding change here for
the non-bundled case.
Signed-off-by: Matt Madison <matt@madison.systems>
With UEFI, the kernel args are extracted from the boot image,
rather than being processed from the device tree, so remove
all the device tree mangling we were doing and instead add
the args to the boot image creation step in the kernel
recipe.
Signed-off-by: Matt Madison <matt@madison.systems>
The DTB overlayss are now provided by the kernel and UEFI recipes and
put in ${IMAGE_DEPLOY_DIR}, so copy them from there.
Also fix the flashvars handling for tegra234 platforms during BUP
generation.
Signed-off-by: Matt Madison <matt@madison.systems>
Not that the conversion type name is still 'cboot' for now,
even though we're not using cboot any more.
Signed-off-by: Matt Madison <matt@madison.systems>
* Drop t210, t186 support
* Replace cboot with UEFI
* Replace trusty with OPTEE
* Other miscellaneous updates
Signed-off-by: Matt Madison <matt@madison.systems>
Fix a typo which I missed when reviewing the INITRAMFS_LINK_NAME
change, and add an explicit inherit of kernel-artifact-names rather
than relying on the indirect inherit of that class through some
of the other image classes, so that variable is always defined.
Signed-off-by: Matt Madison <matt@madison.systems>
This change leverages the INITRAMFS_LINK_NAME to 'dynamically' build
the image name returned from tegra_kernel_image method during tegra_flash
building.
This helps avoid build failures if a custom INITRAMFS_LINK_NAME is used
to generate a bundled kernel and ramdisk image.
By default, INITRAMFS_LINK_NAME expands to
INITRAMFS_LINK_NAME ?= "initramfs-${KERNEL_ARTIFACT_LINK_NAME}"
which would yield:
KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
resulting in no change to default behavior.
Signed-off-by: Kevin Vanden Berge <kvandenberge@gmail.com>
for use in bbappends where we need to add a check on
opengl in DISTRO_FEATURES for just tegra platforms.
Signed-off-by: Matt Madison <matt@madison.systems>
* Use CXX_FOR_CUDA to determine the compiler to pass to nvcc
* Add support for setting CMAKE_CUDA_ARCHITECTURES based on
the CUDA_ARCHITECTURES variable
Signed-off-by: Matt Madison <matt@madison.systems>
for redirecting the gcc toolchain used by nvcc (and,
if necessary, directly compiled CC/C++ code) for
compatibility with CUDA. This class can be inherited
by recipes that need to compile CUDA-compatible code
but do not need the CUDA toolkit dependencies.
The class sets variables CC_FOR_CUDA and CXX_FOR_CUDA.
Recipes needing to use this version of the compiler
must set CC and/or CXX to point to these variables.
Signed-off-by: Matt Madison <matt@madison.systems>
Fixed a missing update for the new override syntax. This fixes
an issue with l4t .deb packages using zstd compression not extracting
properly.
Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
The rollback parser script needs to be in a specific location;
this is done for tegraflash generation, but was missing from the
BUP generation scriptlet.
Signed-off-by: Matt Madison <matt@madison.systems>
Fixups for some changes made by the conversion script:
* some occurrences of '::' and ':}'
* '_arm64.deb' -> ':arm64.deb' changes in our SRC_URIs
* some '_'-> ':' conversions in other locations that shouldn't
have been made
Signed-off-by: Matt Madison <matt@madison.systems>
* Ran convert-overrides.py to generate the initial changes
* Manual cleanup afterwards (which was a lot, due to our
extensive use of overrides).
Signed-off-by: Matt Madison <matt@madison.systems>
Recipes that fetch from the L4T deb package feed
are still 32.5.1, but recipes that use the L4T
BSP tarball are updated.
Signed-off-by: Matt Madison <matt@madison.systems>
Adapted from the bbclass in OE-Core for u-boot, with modifications
for cboot's idiosyncratic and rather crash-prone interpretation of
the extlinux.conf file format.
Signed-off-by: Matt Madison <matt@madison.systems>
to 'fusebypass'. It isn't actually used, so despite the fact
that the rewrite has been around in flash.sh for several L4T
releases, I never noticed.
Signed-off-by: Matt Madison <matt@madison.systems>