Commit 9fa8701606dffc7153e7593f817e8ef8f56d335e:
[ nvidia-kernel-oot: fix a build issue ]
intended to pass ${STAGING_KERNEL_BUILDDIR} to make but mistakenly
passed ${STAGING_KERNEL_DIR} which still referring to kernel source but
not kernel builddir, fix that.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
The OOT R8168 driver does not get built for 6.10 kernels,
so add the R8169 driver (which also covers the 8168) to
to the kernel build, so we have a driver available for
the Ethernet interface on the Orin Nano dev kit carrier.
Signed-off-by: Matt Madison <matt@madison.systems>
Add a patch for the conftest script so it correctly detects one
of the 6.10 changes even when 'linux' appears in the directory path
during a build, as ours usually do.
Also renumber the patches so the order of application is clearer.
Signed-off-by: Matt Madison <matt@madison.systems>
With the Jetson minimal UEFI, no application is loaded from the
ESP partition by the bootloader, so allow for the possibility
that someone has removed the ESP from the storage layout.
Signed-off-by: Matt Madison <matt@madison.systems>
The AGX Orin platform supports a minimal UEFI for booting
off its internal eMMC. Add support for a TEGRA_UEFI_MINIMAL
variable, which when set to a boolean true value, builds
this minimal configuration instead of the normal UEFI.
See the "miniUEFI Support" section in the Jetson Linux developer
guide for more information about support, restrictions, etc.
Signed-off-by: Matt Madison <matt@madison.systems>
The ESP partition is no longer required for setting up the
boot control configuration, so we can remove that dependency.
We may also want to remove the esp.mount unit, or move that
to an optional fstab addition, at some point in the future.
Signed-off-by: Matt Madison <matt@madison.systems>
The tegraflash.py script takes a '--sparseupdate' option that causes
it to update only changed partitions in the SPI flash. Enable that
by default in the flash helper script, and add an --erase-spi option
to force full erasure of the SPI flash, in case that's needed.
Signed-off-by: Matt Madison <matt@madison.systems>
A build issue was observed as follows:
| .../kernel-source/Makefile:672: include/config/auto.conf: No such file or directory
| make[1]: *** [Makefile:226: __sub-make] Error 2
| make[1]: Leaving directory '.../kernel-source'
| make: *** [Makefile:63: hwpm] Error 2
it's not always reproduced, but occasionally happens when we add
patches to nvidia-kernel-oot.
The root cause of this problem is in nvidia-kernel-oot's Makefile, it
goes into ${KERNEL_SRC} instead of ${STAGING_KERNEL_DIR} to build,
which is wrong when building modules/dtbs, because there are no config
files generated in kernel source.
Let's change ${KERNEL_SRC} to ${STAGING_KERNEL_DIR}.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
- This matches the behavior in classes/image_types_cboot.bbclass
whereby the signed kernel image is copied over the top of the
original unsigned kernel image.
Signed-off-by: Chad McQuillen <chad.mcquillen@lexmark.com>
Signed-off-by: Matt Madison <matt@madison.systems>
Starting with the BOARDID and BOARDSKU variables.
For our purposes, they need to be fixed at build time,
and if they don't match the actual target machine, we'll
get difficult-to-diagnose boot failures.
Signed-off-by: Matt Madison <matt@madison.systems>
which we can use to prevent mis-flashing when the selected
machine configuration doesn't match the actual target hardware.
Signed-off-by: Matt Madison <matt@madison.systems>
Have the helper script cross-check the build-time board ID and SKU
settings, if available, against the actuals read from the CVM EEPROM,
and error out, rather than flashing the wrong boot firmware.
Signed-off-by: Matt Madison <matt@madison.systems>
The default chip SKU should now be getting passed via the
TEGRA_FLASHVAR_CHIP_SKU setting in the machine configuration,
so do not supply a probably-incorrect default in the helper
script. Instead, report an error and exit.
Signed-off-by: Matt Madison <matt@madison.systems>
* Move the mostly-common Orin NX settings to a new orin-nx.inc file
* Set TEGRA_FLASHVAR_CHIP_SKU for machines that differ from the
common default, derived from the chip SKU referenced in the
TEGRA_BUPGEN_SPECS setting
* Convert jetson-agx-orin-devkit-industrial config to using the
agx-orin.inc include file
Signed-off-by: Matt Madison <matt@madison.systems>
* HOSTTOOLS is now using lz4 instead of lz4c since:
https://git.openembedded.org/openembedded-core/commit/?id=fe167e082cbde1c6d186ecdda531abef610ac2ac
and tegra-uefi-capsules do_compile is failing with:
tegra-uefi-capsules/35.6.0/recipe-sysroot-native/usr/lib/python3.13/subprocess.py", line 1966, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'lz4c'
tegra-uefi-capsules/35.6.0/temp/run.do_compile.2229307:369 exit 1 from './doflash.sh'
* I've seen this only with scarthgap-l4t-r35.x branch modified to build
for walnascar (master), but it looks like the same is needed in master
branch (which has surprisingly to me older version 36.4.0 while
scarthgap-l4t-r35.x has 36.6.0, but I don't really use any nvidia
MACHINEs, only sometimes building world for them, so maybe it's
expected)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* drop the one which says 'Inappropriate [Backport]'
as it's either Backport or Inappropriate, but cannot be both
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
This change removes rtl8822 from nvidia-kernel-oot to switch to the
driver and firmware from linux-yocto and linux firmware. It includes
updates to tegra-wifi to pull in the needed packages to the image.
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
We now have recipes for the nvipcpipeline and nvunixfd plugins, so remove
them from the binary-only package.
Signed-off-by: Matt Madison <matt@madison.systems>
Looks like VPI is dynamically loading one of the libnpp libraries
at runtime, rather than linking against it, so make sure it gets
pulled in.
Signed-off-by: Matt Madison <matt@madison.systems>
* Python package files moved to a subdirectory
* Need to use gitsm:// to pick up the onnx parser submodule
* Refresh the build-related changes and patch
Signed-off-by: Matt Madison <matt@madison.systems>
* Switch git:// to gitsm:// to pick up the ONNX submodule
* Refresh build patch, dropping some long-obsolete changes
* Replace second build patch with the correct fix via CUDAFLAGS setting
Signed-off-by: Matt Madison <matt@madison.systems>
* Updates for wayland-related changes
* Drop NV12 blocklinear support in weston-dmabuf-formats due to missing
source file
Signed-off-by: Matt Madison <matt@madison.systems>