Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync 21/5 #124

Merged
merged 58 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
2eef4f7
ixp4xx: Bump to kernel v6.6
linusw May 15, 2024
d44d35f
libbpf: Update to v1.4.2
guidosarducci May 16, 2024
61330dd
firewall4: update to Git HEAD (2024-05-21)
jow- May 21, 2024
ed23d4d
mt76: update to Git HEAD (2024-05-17)
nbd168 May 21, 2024
bc5d977
mt76: install mt7981_eeprom_mt7976_dbdc.bin to STAGING_DIR_IMAGE
nbd168 May 21, 2024
41655c8
arm-trusted-firmware-mediatek: add mt7981-nor-ddr4 and mt7981-spim-na…
blogic May 13, 2024
27286ed
mediatek/filogic: fix mt7981.dtsi PCIe support
blogic Apr 4, 2024
6e06030
mediatek/filogic: enable led PWM driver by default
blogic Apr 4, 2024
9746b6f
uboot-mediatek: add USB support to mt7981.dtsi
blogic Apr 6, 2024
a46ebf6
uboot-mediatek: add support for OpenWrt One
blogic Apr 6, 2024
797904b
mediatek/filogic: add OpenWrt One support
blogic Apr 4, 2024
47d308a
Revert "mediatek/filogic: add OpenWrt One support"
blogic May 21, 2024
dd58ad9
mediatek/filogic: add OpenWrt One support
blogic Apr 4, 2024
1082c65
kernel: qca-nss-dp: add back printing attached PHY-s
robimarko May 21, 2024
559bc5d
feeds: use forked bitthief/nss-packages
bitthief Jul 19, 2022
cceb9bc
qualcommax: crypto, ktls, netfilter, misc.
bitthief Jul 17, 2023
4832a39
nat46: patches for QCA NSS ECM
bitthief Feb 3, 2023
04c46f2
package: kernel: nat46: use standard build functions
qosmio May 6, 2024
8826466
iproute2: add NSS QDISC support
bitthief Feb 3, 2023
6189fbe
qualcommax: dts: add NSS nodes to IPQ807x devices
bitthief Jul 17, 2023
d296c6b
qualcommax: net: QCA NSS igs support
bitthief Jul 17, 2023
4f968cd
qualcommax: net: QCA NSS qdisc ifb support
bitthief Jul 17, 2023
a9ce741
feeds: use forked dimfishr/nss-packages
dimfishr Aug 2, 2023
a5424e9
ath11k-nss: Add NSS WiFi feature
qosmio Dec 16, 2023
abc0643
feeds: update to use personal fork of nss-packages
qosmio Jan 7, 2024
09e4311
ath11k_nss: handle qca-nss-drv symbol dependancies
qosmio Jan 8, 2024
78e2b44
ath11k_nss: fix ordering of sysctl values
qosmio Jan 8, 2024
cd988bd
qualcommax: add nss-macsec dt support
qosmio Jan 8, 2024
f1e6ae3
ath11k_nss: bugfix overwriting high watermark
qosmio Jan 9, 2024
19ce394
ath11k_nss: Handle 256/512/1G boards automatically
qosmio Jan 11, 2024
be1e593
ath11k_nss: Add support to account memory stats
qosmio Jan 11, 2024
b8bc515
ath11k_nss: allow specifying pbuf 'memory_profile'
qosmio Jan 11, 2024
3b918fe
ath11k_nss: ath11k support dynamic vlan
qosmio Jan 13, 2024
6c2b67e
ath11k_nss: fix `'ppdu_info' is a pointer...` error
qosmio Jan 13, 2024
6ef78f3
ath11k_nss: bugfix NSS memleak + enhancements
qosmio Jan 16, 2024
3396199
ath11k_nss: set pbuf script off by default
qosmio Jan 17, 2024
6d4d12e
ath11k_nss: Refresh patches
qosmio Jan 17, 2024
4085f9b
feeds: Switch to fork that requires nss qdisc
qosmio Feb 18, 2024
80f9087
ath11k_nss: add missing support to enable/disable bss color collision…
qosmio Feb 27, 2024
f91b2e5
ath11k_nss: FW Initiated Dynamic MU-EDCA
qosmio Feb 27, 2024
2b0e9d3
ath11k_nss: refresh patches + cleanup Makefile
qosmio Feb 27, 2024
7e7e65b
ath11k_nss: Set correct pbufs for 1GB profile
qosmio Mar 9, 2024
9436769
qualcommax: remove uneeded btcoex dts
qosmio Mar 9, 2024
65b377d
ath11k_nss: Revert setting fw_mem_mode for IPQ807x
qosmio Mar 9, 2024
8b8a9dd
ath11k_nss: Introduce skbuff_recycle for performance
qosmio Mar 9, 2024
67d4d6d
qualcommax: Move QCE to user selectable module
qosmio Mar 25, 2024
266a425
qualcommax: NSS: kernel 6.6 support
qosmio Mar 25, 2024
607da91
ath11k_nss: set pbuf to 'auto'
qosmio Mar 25, 2024
be2472f
cryptodev-linux: Add hooks for QCA NSS
qosmio Mar 25, 2024
b863e52
feeds: NSS: point to 6.x branch
qosmio Mar 25, 2024
c4c0efb
ath11k_nss: refresh and fixup patches, increment release version
qosmio Mar 25, 2024
34bf6a6
qualcommax: consolidate symbols, revert built-in
qosmio Mar 25, 2024
60e542e
qualcommax: disable swiotlb for 64mb in saving.
qosmio Mar 31, 2024
bb95fd7
qualcommax: qca-mcs support for kernel >= 6.6.29
qosmio Apr 30, 2024
0696b35
feeds: nss-packages: switch to branch 12.5-6.x
qosmio May 5, 2024
21dd75c
ath11k_nss: fix invalid access to memory
qosmio May 5, 2024
4456284
qualcommax: NSS: Add support for all ipq807x targets
qosmio May 7, 2024
c444cfe
ath11k_nss: revert AMPDU in radiotap header
qosmio May 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions feeds.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ src-git packages https://git.openwrt.org/feed/packages.git
src-git luci https://git.openwrt.org/project/luci.git
src-git routing https://git.openwrt.org/feed/routing.git
src-git telephony https://git.openwrt.org/feed/telephony.git
src-git nss_packages https://github.com/qosmio/nss-packages.git;NSS-12.5-K6.x
src-git sqm_scripts_nss https://github.com/qosmio/sqm-scripts-nss.git
#src-git video https://github.com/openwrt/video.git
#src-git targets https://github.com/openwrt/targets.git
#src-git oldpackages http://git.openwrt.org/packages.git
Expand Down
20 changes: 20 additions & 0 deletions package/boot/arm-trusted-firmware-mediatek/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ define Trusted-Firmware-A/mt7981-ram-ddr3
DEFAULT:=TARGET_mediatek_filogic
endef

define Trusted-Firmware-A/mt7981-nor-ddr4
NAME:=MediaTek MT7981 (SPI-NOR, DDR4)
BOOT_DEVICE:=nor
BUILD_SUBTARGET:=filogic
PLAT:=mt7981
DDR_TYPE:=ddr4
endef

define Trusted-Firmware-A/mt7981-emmc-ddr3
NAME:=MediaTek MT7981 (eMMC, DDR3)
BOOT_DEVICE:=emmc
Expand Down Expand Up @@ -203,6 +211,15 @@ define Trusted-Firmware-A/mt7986-ram-ddr4
DEFAULT:=TARGET_mediatek_filogic
endef

define Trusted-Firmware-A/mt7981-spim-nand-ubi-ddr4
NAME:=MediaTek MT7981 (SPI-NAND via SPIM, DDR4)
BOOT_DEVICE:=spim-nand
BUILD_SUBTARGET:=filogic
PLAT:=mt7981
DDR_TYPE:=ddr4
USE_UBI:=1
endef

define Trusted-Firmware-A/mt7986-nor-ddr4
NAME:=MediaTek MT7986 (SPI-NOR, DDR4)
BOOT_DEVICE:=nor
Expand Down Expand Up @@ -477,9 +494,11 @@ TFA_TARGETS:= \
mt7981-ram-ddr3 \
mt7981-emmc-ddr3 \
mt7981-nor-ddr3 \
mt7981-nor-ddr4 \
mt7981-sdmmc-ddr3 \
mt7981-snand-ddr3 \
mt7981-spim-nand-ddr3 \
mt7981-spim-nand-ubi-ddr4 \
mt7981-ram-ddr4 \
mt7981-emmc-ddr4 \
mt7981-spim-nand-ddr4 \
Expand Down Expand Up @@ -527,6 +546,7 @@ TFA_MAKE_FLAGS += \
$(if $(DRAM_USE_COMB),DRAM_USE_COMB=1) \
$(if $(RAM_BOOT_UART_DL),RAM_BOOT_UART_DL=1) \
$(if $(USE_UBI),UBI=1 $(if $(findstring mt7622,$(PLAT)),OVERRIDE_UBI_START_ADDR=0x80000)) \
$(if $(USE_UBI),UBI=1 $(if $(findstring mt7981,$(PLAT)),OVERRIDE_UBI_START_ADDR=0x100000)) \
all

define Package/trusted-firmware-a-ram/install
Expand Down
27 changes: 27 additions & 0 deletions package/boot/uboot-mediatek/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,31 @@ define U-Boot/mt7981_jcg_q30-pro
DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3
endef

define U-Boot/mt7981_openwrt_one-snand
NAME:=OpenWrt One NAND
BUILD_SUBTARGET:=filogic
BUILD_DEVICES:=openwrt_one
UBOOT_CONFIG:=mt7981_openwrt-one-spi-nand
UBOOT_IMAGE:=u-boot.fip
BL2_BOOTDEV:=spim-nand-ubi
BL2_SOC:=mt7981
BL2_DDRTYPE:=ddr4
DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ubi-ddr4
endef

define U-Boot/mt7981_openwrt_one-nor
NAME:=OpenWrt One NOR
BUILD_SUBTARGET:=filogic
BUILD_DEVICES:=openwrt_one
UBOOT_CONFIG:=mt7981_openwrt-one-nor
UBOOT_IMAGE:=u-boot.fip
BL2_BOOTDEV:=nor
BL2_SOC:=mt7981
BL2_DDRTYPE:=ddr4
FIP_COMPRESS:=1
DEPENDS:=+trusted-firmware-a-mt7981-nor-ddr4
endef

define U-Boot/mt7981_rfb-spim-nand
NAME:=MT7981 Reference Board
BUILD_SUBTARGET:=filogic
Expand Down Expand Up @@ -701,6 +726,8 @@ UBOOT_TARGETS := \
mt7981_cmcc_rax3000m-nand \
mt7981_h3c_magic-nx30-pro \
mt7981_jcg_q30-pro \
mt7981_openwrt_one-snand \
mt7981_openwrt_one-nor \
mt7981_rfb-spim-nand \
mt7981_rfb-emmc \
mt7981_rfb-nor \
Expand Down
76 changes: 76 additions & 0 deletions package/boot/uboot-mediatek/patches/290-mt7981-add-USB-nodes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
From cca5775031e4890f195246772e00f7f4ae7438f6 Mon Sep 17 00:00:00 2001
From: John Crispin <[email protected]>
Date: Mon, 19 Feb 2024 05:52:24 +0100
Subject: [PATCH 1/2] mt7981.dtsi: add USB nodes

Signed-off-by: John Crispin <[email protected]>
---
arch/arm/dts/mt7981.dtsi | 47 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)

diff --git a/arch/arm/dts/mt7981.dtsi b/arch/arm/dts/mt7981.dtsi
index bda80ac9..6f4e5b9f 100644
--- a/arch/arm/dts/mt7981.dtsi
+++ b/arch/arm/dts/mt7981.dtsi
@@ -6,6 +6,7 @@

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/phy/phy.h>
#include <dt-bindings/clock/mt7981-clk.h>
#include <dt-bindings/reset/mt7629-reset.h>
#include <dt-bindings/pinctrl/mt65xx.h>
@@ -342,4 +343,50 @@
status = "disabled";
};

+ xhci: xhci@11200000 {
+ compatible = "mediatek,mt7981-xhci",
+ "mediatek,mtk-xhci";
+ reg = <0x11200000 0x2e00>,
+ <0x11203e00 0x0100>;
+ reg-names = "mac", "ippc";
+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&u2port0 PHY_TYPE_USB2>,
+ <&u3port0 PHY_TYPE_USB3>;
+ clocks = <&infracfg_ao CK_INFRA_IUSB_SYS_CK>,
+ <&infracfg_ao CK_INFRA_IUSB_CK>,
+ <&infracfg_ao CK_INFRA_IUSB_133_CK>,
+ <&infracfg_ao CK_INFRA_IUSB_66M_CK>,
+ <&topckgen CK_TOP_U2U3_XHCI_SEL>;
+ clock-names = "sys_ck",
+ "ref_ck",
+ "mcu_ck",
+ "dma_ck",
+ "xhci_ck";
+ mediatek,u3p-dis-msk = <0x1>;
+ status = "okay";
+ };
+
+ usbtphy: usb-phy@11e10000 {
+ compatible = "mediatek,mt7981",
+ "mediatek,generic-tphy-v2";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ status = "okay";
+
+ u2port0: usb-phy@11e10000 {
+ reg = <0x11e10000 0x700>;
+ clocks = <&topckgen CK_TOP_USB_FRMCNT_SEL>;
+ clock-names = "ref";
+ #phy-cells = <1>;
+ status = "okay";
+ };
+
+ u3port0: usb-phy@11e10700 {
+ reg = <0x11e10700 0x900>;
+ clocks = <&topckgen CK_TOP_USB3_PHY_SEL>;
+ clock-names = "ref";
+ #phy-cells = <1>;
+ status = "okay";
+ };
+ };
};
--
2.34.1

Loading
Loading