Commit Graph

1461 Commits

Author SHA1 Message Date
Matt Madison
b9507ceb23 meta: convert to new override syntax
* 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>
2021-08-03 08:27:55 -07:00
Matt Madison
c9e1de40c6 u-boot-tegra: bump SRCREV
to pick up changes that align the environment size with
our prior versions.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-07-31 06:54:24 -07:00
Matt Madison
269181b906 external/virtualization-layer: patch libtirpc126 to limit fd table sizes
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>
2021-07-25 06:46:41 -07:00
Matt Madison
8e6b254d02 contrib: gcc-8: add libsanitizer patch
which drops references to the Linux cyclades driver
header that was removed in Linux 5.12.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-07-24 05:07:01 -07:00
Matt Madison
cf2b5e5ad7 libnvidia-container-tools: build against libtirpc126
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>
2021-07-24 05:07:01 -07:00
Matt Madison
62359380e6 libtirpc126: add recipe
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>
2021-07-24 05:07:01 -07:00
Matt Madison
79da7d69ae xwayland: drop patches
which are already present in the 21.1.2 code base.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-07-20 04:50:54 -07:00
Matt Madison
b05cf67b78 jetson-xavier-nx-devkit-tx2-nx: update ROOTFSPARTSIZE to match stock L4T
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>
2021-07-20 03:57:51 -07:00
Ricardo Salveti
e35257d528 cboot-*: add patch to fix symlink support in ext2_dir_lookup
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>
2021-07-16 04:14:34 -07:00
Matt Madison
58d0bbf844 README.md: update for L4T R32.5.2
Signed-off-by: Matt Madison <matt@madison.systems>
2021-07-15 09:07:43 -07:00
Matt Madison
77550030b3 meta: update to L4T R32.5.2
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>
2021-07-15 09:07:43 -07:00
Matt Madison
4f6e485ec0 cboot-*: add patch for ext4 linear directory traversal
The existing code wasn't handling multi-block directories
correctly.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-07-15 07:01:52 -07:00
Harrison
ba7470b927 Add workaround to fix nvvideo4linux2 build
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>
2021-07-14 12:58:50 -07:00
Matt Madison
de74799ce3 tegra-helper-scripts: add ignore option to nvflashxmlparse
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>
2021-07-09 08:06:16 -07:00
Mathieu Othacehe
8c020a0aca deepstream: recommend liberation-fonts for the osd.
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>
2021-07-08 04:28:26 -07:00
Chad McQuillen
9b9861d6c4 gstreamer: add libgst packages to PACKAGES_DYNAMIC
gstreamer1.0-plugins-tegra-nvcompositor RDEPENDS on libgstbadvideo-1.0,
but no providers of the package can be found.

This commit was patterned after:

https://git.openembedded.org/openembedded-core/commit/?id=d5650e00f7b26b8949ca3baad7df4b8a4ea918a7

Signed-off-by: Chad McQuillen <chad.mcquillen@lexmark.com>
2021-07-06 13:56:33 -07:00
Matt Madison
d4f05d04d7 u-boot: fix SPI flash device name in fw_env.config file
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>
2021-06-17 13:48:36 -07:00
Matt Madison
956d0b5053 tegra-helper-scripts: fix GPT sizing in nvflashxmlparse for t210
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>
2021-06-17 03:26:49 -07:00
Matt Madison
26de549602 tegra-boot-tools: update to 2.4.0
Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-15 04:44:44 -07:00
Matt Madison
2b11da3125 tegra-bootpart-config: update for nvflashxmlparse changes
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>
2021-06-15 04:44:44 -07:00
Matt Madison
d1d803f67b tegra-helper-scripts: update nvflashxmlparse script
* 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>
2021-06-15 04:44:44 -07:00
Matt Madison
9ab73f2e15 nvbufsurface-headers: update to use DeepStream 5.1 SDK
Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-10 04:21:27 -07:00
Ilies CHERGUI
f7a63c78e1 jetson-xavier-nx-devkit-emmc: add BUP support for FAB 300
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>
2021-06-09 05:54:21 -07:00
Matt Madison
a34a400a98 cboot-t18x: drop extlinux patch addition
which is in common code, but not included in the t18x version.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 05:02:31 -07:00
Matt Madison
910718cf35 conf: update LAYERSERIES_COMPAT settings
to align with the updated code name in OE-Core.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
e5d56a7779 cboot: add patch to fix sub-second timeouts in extlinux configs
Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
ab3f5bc5b1 tegra186-flashtools-native: revert BUP additions for t18x platforms
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>
2021-06-09 04:58:47 -07:00
Matt Madison
ddb4897a4e cboot: add patch to fix reading ext4 sparse files
Put in missing zero-fills to when there is a gap
between extents, and at the end of a file.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
3ae311fc2b conf/machine: use Image.gz kernel on cboot platforms
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>
2021-06-09 04:58:47 -07:00
Matt Madison
059191d1c9 tegra-bootfiles: change CBOOTOPTION_FILE default to null string
to align with what stock L4T does for t194 platforms.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
684f2a3ece image_types_tegra.bbclass: make cbo.dtb optional
to align with what stock L4T does for t194 platforms.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
c7eaf29043 tegra-binaries: fix typo in l4t_sign_image.sh patch
Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
64a7c4c913 tegra194: adjust UBOOT_EXTLINUX variables
to set them appropriately for cboot.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
110063c8e8 cboot-extlinux: add recipe for extlinux setup for cboot
Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-09 04:58:47 -07:00
Matt Madison
c0b03b5d92 tegra-helper-scripts: add a helper to wrap l4t_sign_image.sh
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>
2021-06-09 04:58:47 -07:00
Matt Madison
361d1f3b4b classes: add cboot-extlinux-config.bbclass
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>
2021-06-09 04:58:47 -07:00
Matt Madison
08a3d1ece9 tegra-helper-scripts: update nvflashxmlparse for partition alignment
- 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>
2021-06-03 03:21:51 -07:00
Matt Madison
6772b7730a tegra210-flashtools-native: update BMP generator to python3
Apply the same patch as from d1c22ae78e.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-02 11:28:49 -07:00
Geoff Parker
d1c22ae78e tegra186-flashtools-native: patch BMP_generator_L4T.py for python3
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>
2021-06-02 10:50:54 -07:00
Matt Madison
811c171f63 xwayland: add missing runtime dependency
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>
2021-06-01 14:00:12 -07:00
Matt Madison
099e91775b weston-init: fix xwayland startup script
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>
2021-06-01 13:57:38 -07:00
Matt Madison
a283ced483 external/openembedded-layer: remove usb-gadget.target from libusbgx bbappend
OE-Core systemd recipe now installs this target, so we don't need the
extra hack any more.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-01 06:44:51 -07:00
Matt Madison
79e4ad1453 l4t-usb-device-mode: refresh systemd-networkd config files
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>
2021-06-01 06:30:17 -07:00
Matt Madison
103f7dfb67 deepstream: update to deepstream-5.1
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>
2021-05-29 06:13:10 -07:00
Matt Madison
ac6c6f8caf deepstream-5.0: add missing .so symlinks
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>
2021-05-28 12:14:48 -07:00
Matt Madison
204f32bebe u-boot-tegra: update to 2021.04
to track the u-boot recipe in OE-Core.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-05-27 05:36:48 -07:00
Matt Madison
b7bf7d7837 egl-wayland: update to 1.1.7
and drop the back-ported patch that is present in this version.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-05-27 05:36:13 -07:00
Joel Winarske
12bdf5665b relocate under dynamic layer 2021-05-27 04:29:45 -07:00
Joel Winarske
9c4bb48bff enable KVM via DISTRO_FEATURES 2021-05-27 04:29:45 -07:00
Matt Madison
0117a21134 python3-tensorrt: add recipe
Signed-off-by: Matt Madison <matt@madison.systems>
2021-05-18 09:59:28 -07:00