Message ID | 20241029161046.110403-1-tmn505@terefe.re |
---|---|
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=KQsEqC44; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=terefe.re header.i=@terefe.re header.a=rsa-sha256 header.s=default header.b=mLPzXbJU; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XdHZ72bWfz1xxf for <incoming@patchwork.ozlabs.org>; Wed, 30 Oct 2024 04:39:27 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NoIi/+6HKPNqf12BKomQaHMJQLT7HCqyZmcnAcDzfUs=; b=KQsEqC44qu0mSA DgogsigEUjdTOwBp5IQu46UMij/ZopAlKqwTwuCco7v9Mxjmb0NjAer0XUoLt25O5+FE3lRElwmuM xFOMB5cy0F/JUjx3hXRbaoBGStYOaFWOXkV8pC6riIYC5aaMSHf7HSSPkBXwCI1YI5PPu/VZIcAH/ Q5CaX7sFBgRDLzWNo4J+5JpGk8DEomJAguafMnyyJ+rbNSJCBEx9DN+0tsd3r/xkGntwxijB5cPx5 0f0Idwn0GDdcGz8iS47DN237TWWLNdGpwm+8bDmbjYuDvJQ712C+TmynU7TuZ/cXW3XCCLGPAnZxw Qb8/Q1ToTM+bMSBsV5eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t5qAC-0000000FJOC-2h6k; Tue, 29 Oct 2024 17:37:52 +0000 Received: from terefe.re ([5.255.96.200]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t5oos-0000000F4jP-1yN2 for openwrt-devel@lists.openwrt.org; Tue, 29 Oct 2024 16:11:48 +0000 Received: from localhost.localdomain (unknown [212.106.161.104]) by terefe.re (Postfix) with ESMTPSA id 394C420120; Tue, 29 Oct 2024 17:11:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=terefe.re; s=default; t=1730218301; bh=gZl1TLjbZrNp8X/ybW+Ly4PASJ1LORTQVQAnX67oiW8=; h=From:To:Cc:Subject:Date:From; b=mLPzXbJUZyDKwUDp/h7stXWOdH/lxdIlpBsTlu6J9Clh0CK8Xcb6/nbHOvJX2SahW b7+B1RscZyY3xNqp/UxnNutw0gVaBMw674YjhIyva14KJa2SD4q3Jdm7NXFkY2SRs9 rr/6QGtcl4YMq423gVoH9fuGcQilXQfhlrHM24FhH44P7YZ/ckd2yAcB/VRYx2cwCQ oioAtMR71eC4wuOxvNNPeh8AYPMZ+bZ4JNOpxG2mcSf0+rYB0HKXxME53XlqB0sbFf VqlrujbMftzsSKO1Ivgn00b7fNoNakFwXf7B7fypsUbVnH4Z+lU3iF2Oe/BC8Djrsg P1N2/N5y4cdDA== From: Tomasz Maciej Nowak <tmn505@terefe.re> To: openwrt-devel@lists.openwrt.org Cc: Raylynn Knight <rayknight@me.com>, Koen Vandeputte <koen.vandeputte@citymesh.com>, Tomasz Maciej Nowak <tmn505@gmail.com> Subject: [PATCH 00/14] Add support for NVIDIA Jetson TX1 DevKit Date: Tue, 29 Oct 2024 16:46:53 +0100 Message-ID: <20241029161046.110403-1-tmn505@terefe.re> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241029_091146_985131_82F7D652 X-CRM114-Status: GOOD ( 12.05 ) X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Tomasz Maciej Nowak <tmn505@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 [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [5.255.96.200 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [5.255.96.200 listed in sa-accredit.habeas.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [5.255.96.200 listed in bl.score.senderscore.com] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
Add support for NVIDIA Jetson TX1 DevKit
|
expand
|
From: Tomasz Maciej Nowak <tmn505@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