[PATCH 00/14] Add support for NVIDIA Jetson TX1 DevKit

Tomasz Maciej Nowak tmn505 at terefe.re
Tue Oct 29 08:46:53 PDT 2024


From: Tomasz Maciej Nowak <tmn505 at gmail.com>

The work here is partially based on tree from Koen[1].

This comes with new sub-target with enabled optimisation for Cortex-A57.
I'm inclined to drop the optimisation, since that would allow to narrow
build to nonshared packages, but first I would like to have some input
from developers on what is preferred.

The commits introducing sound and video input modules are not fully
tested, building and loading works.

1. https://git.openwrt.org/?p=openwrt/staging/xback.git;a=shortlog;h=refs/heads/nvidia_jetson

Koen Vandeputte (5):
  kernel: modules: package Tegra xHCI and OTG modules
  linux-firmware: package Tegra X1 USB firmware
  build: add support for cortex-a57 cpu
  linux-firmware: package Tegra X1 VIC firmware
  linux-firmware: add support for NVIDIA GM20B GPU

Tomasz Maciej Nowak (9):
  kernel: modules: enable UART variant of Broadcom bluetooth
  tegra: rename generic subtarget to armv7
  linux-firmware: package BCM4354 NVRAM for Jetson TX1
  uboot-tegra: bump version to 2024.10
  uboot-tegra: build NVIDIA Jetson TX1 DevKit image
  tegra: add support for NVIDIA Jetson TX1 DevKit
  kernel: modules: package Tegra and Nouveau DRM drivers
  kernel: modules: package Tegra X1 sound modules
  kernel: modules: package Tegra Video Input module

 config/Config-images.in                       |   2 +-
 include/target.mk                             |   1 +
 package/boot/uboot-tegra/Makefile             |  25 +-
 ...a-pass-cboot-MAC-addresses-to-os-fdt.patch | 176 ++++++++++
 ...2180-pass-bt-and-wifi-mac-to-booting.patch |  27 ++
 package/firmware/cypress-firmware/Makefile    |   3 +
 package/firmware/linux-firmware/broadcom.mk   |   9 +
 package/firmware/linux-firmware/nvidia.mk     |  37 ++
 ...01-brcm-replace-NVRAM-for-Jetson-TX1.patch | 155 +++++++++
 package/kernel/linux/modules/crypto.mk        |   4 +-
 package/kernel/linux/modules/other.mk         |   7 +-
 package/kernel/linux/modules/sound.mk         |  77 +++++
 package/kernel/linux/modules/usb.mk           |  39 +++
 package/kernel/linux/modules/video.mk         |  86 ++++-
 package/kernel/mac80211/broadcom.mk           |   1 +
 target/linux/loongarch64/config-6.6           |   3 +
 target/linux/tegra/Makefile                   |   9 +-
 target/linux/tegra/armv7/config-6.6           | 296 ++++++++++++++++
 target/linux/tegra/armv7/target.mk            |   9 +
 target/linux/tegra/armv8/config-6.6           | 230 +++++++++++++
 target/linux/tegra/armv8/target.mk            |   9 +
 .../etc/hotplug.d/ieee80211/10-fix-wifi-mac   |  22 ++
 target/linux/tegra/base-files/etc/inittab     |   1 +
 .../lib/preinit/81_load_serial_gadget         |  11 +
 target/linux/tegra/config-6.6                 | 315 +-----------------
 target/linux/tegra/generic/target.mk          |   1 -
 target/linux/tegra/image/Makefile             |  19 +-
 target/linux/tegra/image/armv7.mk             |   9 +
 target/linux/tegra/image/armv8.mk             |  12 +
 target/linux/tegra/image/bootscript.txt       |  15 +
 target/linux/tegra/image/generic-bootscript   |   8 -
 ...-iommu-Add-iommu_ops-identity_domain.patch |  95 ++++++
 ...v6.7-iommu-Add-IOMMU_DOMAIN_PLATFORM.patch | 134 ++++++++
 ...-iommu_get_default_domain_type-to-re.patch | 184 ++++++++++
 ...DENTITY-domain-as-the-default_domain.patch | 104 ++++++
 ...ra-smmu-Implement-an-IDENTITY-domain.patch |  90 +++++
 ...ra-smmu-Support-DMA-domains-in-tegra.patch |  36 ++
 ...ommu-Remove-ops-set_platform_dma_ops.patch | 102 ++++++
 ...default_domain-for-all-iommu-drivers.patch | 127 +++++++
 ...iommu-Add-__iommu_group_domain_alloc.patch | 171 ++++++++++
 ....7-iommu-Add-ops-domain_alloc_paging.patch | 101 ++++++
 ...mple-drivers-with-DOMAIN_DMA-to-doma.patch |  50 +++
 ...mmu-Remove-useless-group-refcounting.patch | 239 +++++++++++++
 ...ommu-Add-generic_single_device_group.patch | 110 ++++++
 ...-IOMMU_DOMAIN_DMA-if-CONFIG_IOMMU_DM.patch |  46 +++
 ...-code-in-iommu_group_alloc_default_d.patch |  29 ++
 ...ra-Fix-gpio-for-P2597-vmmc-regulator.patch |  28 ++
 ...wp-gpio-for-P2597-s-external-card-sl.patch |  27 ++
 ...-up-power-sensors-on-Jetson-TX1-DevK.patch | 112 +++++++
 ...re-up-Bluetooth-on-Jetson-TX1-module.patch |  43 +++
 ...ra-Wire-up-WiFi-on-Jetson-TX1-module.patch |  48 +++
 ...dd-SDMMC-sdr104-offsets-for-Tegra-X1.patch |  29 ++
 ...-hci_bcm-do-not-mark-valid-bd_addr-a.patch |  27 ++
 ...-up-PWM-fan-on-Jetson-TX1-DevKit-bas.patch |  49 +++
 ...d-cooling-maps-for-Jetson-TX1-module.patch | 127 +++++++
 ...ra-keep-crucial-sysfs-paths-constant.patch |  14 +
 target/linux/zynq/config-6.6                  |   3 +
 57 files changed, 3383 insertions(+), 360 deletions(-)
 create mode 100644 package/boot/uboot-tegra/patches/001-ARM-tegra-pass-cboot-MAC-addresses-to-os-fdt.patch
 create mode 100644 package/boot/uboot-tegra/patches/002-ARM-tegra-p2371-2180-pass-bt-and-wifi-mac-to-booting.patch
 create mode 100644 package/firmware/linux-firmware/nvidia.mk
 create mode 100644 package/firmware/linux-firmware/patches/001-brcm-replace-NVRAM-for-Jetson-TX1.patch
 create mode 100644 target/linux/tegra/armv7/config-6.6
 create mode 100644 target/linux/tegra/armv7/target.mk
 create mode 100644 target/linux/tegra/armv8/config-6.6
 create mode 100644 target/linux/tegra/armv8/target.mk
 create mode 100644 target/linux/tegra/base-files/etc/hotplug.d/ieee80211/10-fix-wifi-mac
 create mode 100644 target/linux/tegra/base-files/lib/preinit/81_load_serial_gadget
 delete mode 100644 target/linux/tegra/generic/target.mk
 create mode 100644 target/linux/tegra/image/armv7.mk
 create mode 100644 target/linux/tegra/image/armv8.mk
 create mode 100644 target/linux/tegra/image/bootscript.txt
 delete mode 100644 target/linux/tegra/image/generic-bootscript
 create mode 100644 target/linux/tegra/patches-6.6/001-v6.7-iommu-Add-iommu_ops-identity_domain.patch
 create mode 100644 target/linux/tegra/patches-6.6/002-v6.7-iommu-Add-IOMMU_DOMAIN_PLATFORM.patch
 create mode 100644 target/linux/tegra/patches-6.6/003-v6.7-iommu-Reorganize-iommu_get_default_domain_type-to-re.patch
 create mode 100644 target/linux/tegra/patches-6.6/004-v6.7-iommu-Allow-an-IDENTITY-domain-as-the-default_domain.patch
 create mode 100644 target/linux/tegra/patches-6.6/005-v6.7-iommu-tegra-smmu-Implement-an-IDENTITY-domain.patch
 create mode 100644 target/linux/tegra/patches-6.6/006-v6.7-iommu-tegra-smmu-Support-DMA-domains-in-tegra.patch
 create mode 100644 target/linux/tegra/patches-6.6/007-v6.7-iommu-Remove-ops-set_platform_dma_ops.patch
 create mode 100644 target/linux/tegra/patches-6.6/008-v6.7-iommu-Require-a-default_domain-for-all-iommu-drivers.patch
 create mode 100644 target/linux/tegra/patches-6.6/009-v6.7-iommu-Add-__iommu_group_domain_alloc.patch
 create mode 100644 target/linux/tegra/patches-6.6/010-v6.7-iommu-Add-ops-domain_alloc_paging.patch
 create mode 100644 target/linux/tegra/patches-6.6/011-v6.7-iommu-Convert-simple-drivers-with-DOMAIN_DMA-to-doma.patch
 create mode 100644 target/linux/tegra/patches-6.6/012-v6.7-iommu-Remove-useless-group-refcounting.patch
 create mode 100644 target/linux/tegra/patches-6.6/013-v6.7-iommu-Add-generic_single_device_group.patch
 create mode 100644 target/linux/tegra/patches-6.6/014-v6.7-iommu-Do-not-use-IOMMU_DOMAIN_DMA-if-CONFIG_IOMMU_DM.patch
 create mode 100644 target/linux/tegra/patches-6.6/015-v6.7-iommu-Fix-return-code-in-iommu_group_alloc_default_d.patch
 create mode 100644 target/linux/tegra/patches-6.6/016-v6.12-arm64-tegra-Fix-gpio-for-P2597-vmmc-regulator.patch
 create mode 100644 target/linux/tegra/patches-6.6/017-v6.12-arm64-tegra-Add-wp-gpio-for-P2597-s-external-card-sl.patch
 create mode 100644 target/linux/tegra/patches-6.6/018-v6.12-arm64-tegra-Wire-up-power-sensors-on-Jetson-TX1-DevK.patch
 create mode 100644 target/linux/tegra/patches-6.6/019-v6.12-arm64-tegra-Wire-up-Bluetooth-on-Jetson-TX1-module.patch
 create mode 100644 target/linux/tegra/patches-6.6/020-v6.12-arm64-tegra-Wire-up-WiFi-on-Jetson-TX1-module.patch
 create mode 100644 target/linux/tegra/patches-6.6/021-v6.13-arm64-tegra-Add-SDMMC-sdr104-offsets-for-Tegra-X1.patch
 create mode 100644 target/linux/tegra/patches-6.6/102-Revert-Bluetooth-hci_bcm-do-not-mark-valid-bd_addr-a.patch
 create mode 100644 target/linux/tegra/patches-6.6/103-arm64-tegra-wire-up-PWM-fan-on-Jetson-TX1-DevKit-bas.patch
 create mode 100644 target/linux/tegra/patches-6.6/104-arm64-tegra-add-cooling-maps-for-Jetson-TX1-module.patch
 create mode 100644 target/linux/tegra/patches-6.6/105-arm64-tegra-keep-crucial-sysfs-paths-constant.patch

-- 
2.47.0




More information about the openwrt-devel mailing list