162 Commits

Author SHA1 Message Date
Khem Raj
3eda822867 linux-yocto-6.6: Delete bbappend
6.6 recipes are gone from core layer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-12 16:21:30 -08:00
Matt Madison
652714f9d8 Revert "linux-yocto: import recipe for 6.10"
This reverts commit e563e7860f.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-01-12 09:17:15 -08:00
Matt Madison
1a2a086ed6 linux-yocto: update bbappend for version 6.12
Now that we have patched the NVIDIA out-of-tree drivers to
be compatible with this version, we can update.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-01-12 09:17:15 -08:00
Matt Madison
e563e7860f linux-yocto: import recipe for 6.10
Temporarily pull in the 6.10 recipe, until we can sort out
an update to 6.12.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-12-16 13:35:09 -08:00
Hugo Serrat
12df4c3236 linux-yocto: add patch to fix compatibility with nvbootctrl
Signed-off-by: Hugo Serrat <hu.serrat@gmail.com>
2024-12-10 07:16:49 -08:00
Matt Madison
2b64044bc8 linux-yocto_6.10: add config fragment for R8169
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>
2024-11-11 10:01:23 -08:00
Chad McQuillen
67637b4a0d tegra-kernel: fix sign_bootimg
- 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>
2024-11-10 06:29:34 -08:00
Kurt Kiefer
87a914b530 linux-yocto: add tegra support for version 6.10
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-10-29 12:03:41 -07:00
Kurt Kiefer
48dd43b15c linux: linux-yocto: move patches into version-specific directory
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-10-29 12:03:41 -07:00
Kurt Kiefer
3a38168363 linux: move tegra-specific kernel functions to include file
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-10-29 12:03:41 -07:00
Kurt Kiefer
944504cd13 linux: linux-yocto: add rtw88 support
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>
2024-10-29 12:03:41 -07:00
Kurt Kiefer
9ba6b25333 linux: linux-yocto: add support as a provider for the tegra kernel
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
2024-10-29 12:03:41 -07:00
Matt Madison
250611c964 linux-jammy-nvidia-tegra: udpate branch and SRCREV
for L4T R36.4.0.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
1d91fcff73 linux-jammy-nvidia-tegra: inherit python3native
The deploy task uses the tegra-flashtools python scripts, so
inherit python3native to ensure we've got a suitable python
environment to run them.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 05:20:14 -07:00
Zachary T Welch
69145eb661 linux-jammy-nvidia-tegra, image_types_cboot: fix KERNEL_ARGS quoting
This change permits passing kernel command line arguments that include
quoted strings, including dyndbg.  Without single quotes, these
invocations of `mkbootimg` will silently produce incorrect results.

Signed-off-by: Zachary T Welch <zach@aquabyte.ai>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 04:27:12 -07:00
Pavel Löbl
2b577499a1 recipes-kernel: fix indentation in jammy recipe
Signed-off-by: Pavel Löbl <pavel@loebl.cz>
2024-05-31 09:57:00 -07:00
Pavel Löbl
47f8230cfa recipes-kernel: fix build without initramfs
This fixes builds which sets INITRAMFS_IMAGE="". This was probably copy
paste error.

Signed-off-by: Pavel Löbl <pavel@loebl.cz>
2024-05-31 09:57:00 -07:00
Matt Madison
6b045aac99 recipes-kernel: update kernel recipe to linux-jammy-nvidia-tegra 5.15
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
4f825ddeb2 meta: drop SRCPV from all PV settings
The use of ${SRCPV} in recipe version (PV) strings has
been discontinued in OE-Core; source revisions are now
inserted directly into task hashes and into PKGV, and
SRCPV is a null string.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-04-14 08:03:13 -07:00
Matt Madison
5132d86b98 linux-tegra: update to R35.5.0 kernel
Signed-off-by: Matt Madison <matt@madison.systems>
2024-03-17 07:40:13 -07:00
Ilies CHERGUI
07f08cf209 linux-tegra: fix unexpected operator
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2023-12-07 07:43:13 -08:00
Chad McQuillen
c4a0fa60e8 meta: refactor uefi-signing
- Encapsulate knowledge of local signing by moving most TEGRA_UEFI_DB_*
  references to tegra-uefi-signing.bbclass.

- All recipes just call the tegra_uefi_* signing functions.

- Recipes that require uefi signing inherit ${TEGRA_UEFI_SIGNING_CLASS}
  which defaults to tegra-uefi-signing.bbclass.  Users can assign
  their own class to override the default uefi signing function
  behavior (to use a signing server, as an example).

- Use weak default assignment for TEGRA_UEFI_SIGNING_CLASS and
  TEGRA_UEFI_USE_SIGNED_FILES in the event they are not defined.

Signed-off-by: Chad McQuillen <chad.mcquillen@lexmark.com>
2023-10-15 04:13:57 -07:00
Matt Madison
d90c9aea71 meta: update BSP recipes from L4T R35.3.1 -> R35.4.1
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2023-09-02 05:04:12 -07:00
Matt Madison
6ddd5386f1 linux-tegra: bump SRCREV
to pick up patches that fix compilation errors with gcc 13.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-05-27 07:16:06 -07:00
Matt Madison
a800fa9c53 linux-tegra: add config fragment to disable module signing
and remove the wireless_regdb config fragment, which is obsolete.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-04-09 04:23:07 -07:00
Matt Madison
938f4a0545 linux-tegra: update branch and SRCREV for R35.3.1
Signed-off-by: Matt Madison <matt@madison.systems>
2023-04-09 04:23:07 -07:00
Matt Madison
88f299a9f7 linux-tegra: bump SRCREV
Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Matt Madison
e00621789b linux-tegra: add UEFI signing support
When UEFI secure boot is enabled, the kernel image must
be signed.  For the tegra platforms, the Android bootimg
must also be signed (and include a signed kernel image).

Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Matt Madison
722acef30d linux-tegra: deploy TEGRA_PLUGIN_MANAGER_OVERLAYS
For the move away from using OVERLAY_DTB_FILE.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Matt Madison
063c78aac1 recipes-kernel: update recipes for L4T R35.2.1
Signed-off-by: Matt Madison <matt@madison.systems>
2023-02-08 03:14:00 -08:00
Matt Madison
fe39a6223a linux-tegra: bump SRCREV
Signed-off-by: Matt Madison <matt@madison.systems>
2022-10-02 04:33:07 -07:00
Matt Madison
0f40f3269d linux-tegra: remove compatibility filtering when compiling overlays
To support boot-time overlays, we have to make all overlays for all
models/revisions/SKUs, so don't filter them out of the build.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-05 13:54:07 -07:00
Matt Madison
5fdf6e4729 linux-tegra: update default configuration
* Drop obsolete wireless-regdb configs and recipe steps
* Drop explicity CONFIG_FW_USER_HELPER_FALLBACK disable, which
  isn't needed
* Add config fragment to build in drivers needed for SPI flash
  and /dev/mtdblock0 access

Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-05 13:54:07 -07:00
Matt Madison
f209b7d293 linux-tegra: update flashtools dependencies
Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-05 13:54:07 -07:00
Matt Madison
4f3e19f490 meta: move KERNEL_ARGS handling to kernel recipe
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>
2022-09-05 13:54:07 -07:00
Matt Madison
c5797e2e90 linux-tegra: bump SRCREV, add deployment of DTB overlays
The update adds a fix for overlay for the Xavier NX dev kit
so the SDcard shows up as /dev/mmcblk0, as it used to, instead
of /dev/mmcblk1.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-05 13:54:07 -07:00
Matt Madison
22e1a52be3 linux-tegra: update to 5.10.104 kernel
* New repo - linux-tegra-5.10
* NVIDIA out-of-tree repos added as subtrees
* Build patches applied

Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-05 13:54:07 -07:00
Matt Madison
24e0aba316 linux-tegra: bump SRCREV
to pick up some minor reproducibility fixes to eliminate
package_qa warnings about embedded build paths.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-07-28 12:50:32 -07:00
Kurt Kiefer
a5c0332651 linux-tegra: update packaging RDEPENDS->RRECOMMENDS
Upstream kernel.bbclass changed the inclusion of kernel image
artifacts from RDEPENDS to RRECOMMENDS.

Update this recipe accordingly.

Fixes #999

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
2022-06-15 13:13:55 -07:00
Matt Madison
b321300bfc linux-tegra: bump SRCREV
to pick up fixes for compiling the kernel with gcc 12.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-05-15 10:18:02 -07:00
Matt Madison
f30b7c34c1 linux-tegra: disable FW_LOADER_USER_HELPER with systemd
systemd-udevd doesn't support the userland firmware loader,
so tell the kernel not to try and use it. This speeds up
firmware loading considerably.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-03-17 11:09:22 -07:00
Matt Madison
de55e2951d linux-tegra: update SRCBRANCH, SRCREV
for L4T R32.7.1.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-03-17 11:09:22 -07:00
Matt Madison
65f5c44919 linux-tegra: update LICENSE setting
Signed-off-by: Matt Madison <matt@madison.systems>
2022-03-08 04:49:14 -08:00
Matt Madison
3aa190329a linux-tegra: bump SRCREV
to pick up another bcmdhd driver fix in the
reg_notifier function.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-02-21 05:35:19 -08:00
Kurt Kiefer
193c88d9bb linux-tegra: fix compilation when no dtb overlays are built
Compilation was failing with the following error:

| install: cannot stat 'arch/arm64/boot/dts/*.dtbo': No such file or directory

This change updates the for loop to use the find command to search
for device tree overlay files to install, as well as using the
KERNEL_OUTPUT_DIR variable as do install steps in kernel.bbclass

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
2022-02-20 03:39:32 -08:00
Ilies CHERGUI
36db2c8791 linux-tegra: enable the regulatory database for wireless
Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2022-02-20 03:38:53 -08:00
Ilies CHERGUI
18c226e777 linux-tegra: bump SRCREV
This commit includes a fix to build wl_cfg80211 when enabling
CONFIG_CFG80211_INTERNAL_REGDB

Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2022-02-20 03:38:53 -08:00
Matt Madison
704382cedd linux-tegra: add support for device tree overlays
* Bump SRCREV to pick up some kernel makefile fixes for
  building the dtb and dtbo files

* Add task to compile all available overlays and remove
  those that are not compatible with the target's dtb(s)

* Add KERNEL_DEVICETREE_APPLY_OVERLAYS variable to have
  one or more overlays applied at build time

Signed-off-by: Matt Madison <matt@madison.systems>
2022-02-11 05:10:32 -08:00
Kurt Kiefer
ed28a45690 linux-tegra: bump SRCREV
This commit includes a fix to build libtraceevent (for perf) with
newer versions of binutils.

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
2021-10-27 11:20:07 -07:00
Matt Madison
dc9c598949 linux-tegra: bump SRCREV
to pick up a Kbuild change that fixes host-side single program
compilations when the host-side linker flags are passed in with
the HOSTLDFLAGS setting, as is now done in OE-Core's kernel.bbclass.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-10-19 12:19:48 -07:00