* 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>
With recent systemd versions, process limits on the number of open files
have been raised by a couple of orders of magnitude (K to G). The libtirpc
library, which is unfortunately used by libnvidia-container-tools to implement
some inter-process communication, allocates some arrays of tracking structures based
on the open-files limit (e.g., dtablesze) - leading to memory allocation failures
as it tries to allocate multi-GiB arrays off the heap.
Add a modified patch, back-ported from libtirpc 1.3.2, that caps the array sizes
back down to 1K, to work around this problem for now. The original patch only
handled the svc client; the modification also limits the array size for the
server side.
Signed-off-by: Matt Madison <matt@madison.systems>
to address the segmentation fault reported during container
startup. There's still an error getting reported that needs
to be addressed, though.
Signed-off-by: Matt Madison <matt@madison.systems>
to build this older version of libtirpc as a static library, specifically
for use by libnvidia-container-tools.
Signed-off-by: Matt Madison <matt@madison.systems>
and set RECROOTFSSIZE to match the stock config as well, since
the default 300MiB size would be too large.
Signed-off-by: Matt Madison <matt@madison.systems>
ext2_dir_lookup was incorrectly using the original path string while
recursively performing a lookup on a symlink, causing cboot to crash
when trying to recursively identify the link node.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
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>
With GCC 10+, `-fcommon` is no longer the default. This is not a significant issue for the majority of packages, as they have been updated to reflect this change. However, nvvideo4linux2 has not, and requires this work-around to successfully build with GCC 10+.
Signed-off-by: Harrison Ford <harrison@0xcc.pw>
Update nvflashxmlparse to provide for ignoring the 'id' elements
in the flash layout files, for compatibility with L4T R32.4.3.
This is disabled by default in branches based on R32.4.4 and later,
but can be overridden via an environment variable.
The flashing tools in L4T R32.4.3 do not use the 'id' elements
in the flash layout files to indicate partition numbers, and
the stock layout files for t210 platforms specify 'id' elements
on all partitions (just for sequential numbering).
Signed-off-by: Matt Madison <matt@madison.systems>
gst-nvdosd needs a font to be able to render text for the OSD, so add
liberation-fonts as a runtime recommendation.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
libubootenv needs to use the /dev/mtd device, not the
/dev/mtdblock device. Otherwise fw_setenv just silently
fails to set the variable.
Signed-off-by: Matt Madison <matt@madison.systems>
It appears that the NV flashing tools for t210 platforms ignore
the <size> element in the GP1 (primary GPT) entry in the flash
XML file, so adjust the the script to do the same.
Signed-off-by: Matt Madison <matt@madison.systems>
nvflashxmlparse now consistently outputs sector numbers and
counts, so account for that when generating the boot partitions
config file.
Signed-off-by: Matt Madison <matt@madison.systems>
* Handle <align_boundary> elements for all partitions, including
those in boot devices
* All start location and size output is now in sectors, not bytes
* Compute start location for every partition
This corrects some differences between the boot partition config
files used by tegra-boot-tools for initialization and what the
NVIDIA flashing tools were generating.
Signed-off-by: Matt Madison <matt@madison.systems>
Jetson Xavier NX devkit modules got a version bump, so to make
sure that we can build compatible BUP payloads, add that FAB to the
list of specs is needed.
Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
nv_update_engine isn't happy with the addition of the eks payload,
so trim out all of the additions for t18x (except for adsp-fw, whic
works OK) and create an extra 'full_init_only' payload that can be
used for OTA reflashing purposes.
Signed-off-by: Matt Madison <matt@madison.systems>
cboot handles this format for the kernel, and it helps
in particular when using extlinux.conf-style boots
on t194 (which is both slow and error-prone when reading
files larger than around 32MiB).
Leave it as Image for the U-Boot platforms, since we don't
have U-Boot set up properly to handle the decompression.
Signed-off-by: Matt Madison <matt@madison.systems>
Mainly so we can pass the same TEGRA_SIGNING_ARGS options
when doing file signing as we use for other signing operations.
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>
- Handle <align_boundary> elements in the XML file
- Compute the start position of the first partition based on
the size of the partition table(s) and alignment
Signed-off-by: Matt Madison <matt@madison.systems>
Change python shebang to python3 shebang and
other python3 conversions (print and string encodes)
bootlogo-custom recipe was unable to build due to python2
build dependency
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Xwayland tries to use xkbcomp and will fail on startup
if it's not present, so make sure it's present.
Signed-off-by: Matt Madison <matt@madison.systems>
Fix the inverted logic in the check to see if the xwayland startup
script needs to be installed, and fix the script itself so it passes
along the arguments it is given.
Signed-off-by: Matt Madison <matt@madison.systems>
The original config files were for use with an older version of systemd
and needed some tweaks to work with newer versions.
Also flag the links as not required for network-online, especially
since some connected hosts may try to activate both of them, but only
one will come on-line at a time.
Signed-off-by: Matt Madison <matt@madison.systems>
and rework the packaging and dependencies a bit.
By default, the AMQP, Kafka, and Redis client libraries
are excluded. They can be enabled via PACKAGECONFIG
settings, assuming their dependencies are present in
the build.
Signed-off-by: Matt Madison <matt@madison.systems>
Also add:
* runtime dependency on libvisionworks-devso-symlink, since
that is also needed by one of the gstreamer plugins.
* runtime dependency on cuda-cufft, needed by the nvdcf
and nvvpi libraries.
Signed-off-by: Matt Madison <matt@madison.systems>