From 57102af92b5715017a739e84b4ccbd7db3791055 Mon Sep 17 00:00:00 2001 From: suyuan168 <175338101@qq.com> Date: Wed, 29 Jun 2022 16:03:21 +0800 Subject: [PATCH] fix --- root/include/target.mk | 13 +- root/package/boot/uboot-envtools/Makefile | 0 root/package/boot/uboot-rockchip/Makefile | 0 ...-spl-remove-dtoc-of-pdata-generation.patch | 0 .../nanopi-r2s-rk3328/dt-structs-gen.h | 0 root/package/firmware/ipq-wifi/Makefile | 7 +- .../ipq-wifi/board-teltonika_rutx.qca4019 | Bin 24276 -> 0 bytes .../package/kernel/linux/modules/netfilter.mk | 10 +- .../files/drivers/net/phy/b53/b53_common.c | 2 +- ...w_table-add-hardware-offload-support.patch | 16 +- ...w_table-rework-hardware-offload-time.patch | 11 + root/target/linux/ipq40xx/Makefile | 0 .../ipq40xx/base-files/etc/board.d/01_leds | 34 +- .../etc/hotplug.d/firmware/11-ath10k-caldata | 0 .../linux/ipq40xx/base-files/etc/inittab | 0 .../etc/uci-defaults/04_led_migration | 0 .../lib/preinit/05_set_iface_mac_ipq40xx.sh | 0 .../preinit/06_set_preinit_iface_ipq40xx.sh | 0 .../lib/upgrade/dualboot_datachk.sh | 0 .../base-files/lib/upgrade/platform.sh | 0 root/target/linux/ipq40xx/config-5.4 | 0 .../arch/arm/boot/dts/qcom-ipq4019-wpj419.dts | 400 ------------------ .../arch/arm/boot/dts/qcom-ipq4018-a42.dts | 0 .../arm/boot/dts/qcom-ipq4018-ap120c-ac.dts | 0 .../dts/qcom-ipq4018-cs-w3-wd1200g-eup.dts | 0 .../arm/boot/dts/qcom-ipq4018-dap-2610.dts | 0 .../arm/boot/dts/qcom-ipq4018-ea6350v3.dts | 0 .../arm/boot/dts/qcom-ipq4018-eap1300.dts | 0 .../arm/boot/dts/qcom-ipq4018-ecw5211.dts | 0 .../arch/arm/boot/dts/qcom-ipq4018-emd1.dts | 0 .../arm/boot/dts/qcom-ipq4018-emr3500.dts | 0 .../arm/boot/dts/qcom-ipq4018-ens620ext.dts | 0 .../arm/boot/dts/qcom-ipq4018-ex6100v2.dts | 0 .../arm/boot/dts/qcom-ipq4018-ex6150v2.dts | 0 .../arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi | 0 .../boot/dts/qcom-ipq4018-fritzbox-4040.dts | 0 .../arm/boot/dts/qcom-ipq4018-gl-ap1300.dts | 0 .../arm/boot/dts/qcom-ipq4018-hap-ac2.dts | 0 .../arm/boot/dts/qcom-ipq4018-jalapeno.dts | 0 .../arm/boot/dts/qcom-ipq4018-jalapeno.dtsi | 0 .../dts/qcom-ipq4018-magic-2-wifi-next.dts | 0 .../boot/dts/qcom-ipq4018-meshpoint-one.dts | 0 .../arm/boot/dts/qcom-ipq4018-nbg6617.dts | 0 .../arch/arm/boot/dts/qcom-ipq4018-pa1200.dts | 0 .../arm/boot/dts/qcom-ipq4018-rt-ac58u.dts | 0 .../arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts | 0 .../arm/boot/dts/qcom-ipq4018-wre6606.dts | 0 .../arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts | 0 .../arch/arm/boot/dts/qcom-ipq4019-a62.dts | 0 .../arm/boot/dts/qcom-ipq4019-cm520-79f.dts | 0 .../arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts | 0 .../arm/boot/dts/qcom-ipq4019-e2600ac-c2.dts | 0 .../arm/boot/dts/qcom-ipq4019-e2600ac.dtsi | 0 .../arch/arm/boot/dts/qcom-ipq4019-ea8300.dts | 0 .../arm/boot/dts/qcom-ipq4019-eap2200.dts | 0 .../boot/dts/qcom-ipq4019-fritzbox-7530.dts | 0 .../dts/qcom-ipq4019-fritzrepeater-1200.dts | 0 .../dts/qcom-ipq4019-fritzrepeater-3000.dts | 0 .../boot/dts/qcom-ipq4019-habanero-dvk.dts | 0 .../arm/boot/dts/qcom-ipq4019-map-ac2200.dts | 0 .../arch/arm/boot/dts/qcom-ipq4019-mr8300.dts | 0 .../arch/arm/boot/dts/qcom-ipq4019-oap100.dts | 0 .../arch/arm/boot/dts/qcom-ipq4019-pa2200.dts | 0 .../arm/boot/dts/qcom-ipq4019-rtl30vw.dts | 0 .../arm/boot/dts/qcom-ipq4019-u4019-32m.dts | 0 .../arch/arm/boot/dts/qcom-ipq4019-u4019.dtsi | 0 .../arch/arm/boot/dts/qcom-ipq4019-wpj419.dts | 0 .../arm/boot/dts/qcom-ipq4019-wtr-m2133hp.dts | 0 .../arm/boot/dts/qcom-ipq4019-xx8300.dtsi | 0 .../arch/arm/boot/dts/qcom-ipq4028-wpj428.dts | 0 .../arch/arm/boot/dts/qcom-ipq4029-ap-303.dts | 0 .../arm/boot/dts/qcom-ipq4029-ap-303h.dts | 0 .../arch/arm/boot/dts/qcom-ipq4029-ap-365.dts | 0 .../dts/qcom-ipq4029-aruba-glenmorangie.dtsi | 0 .../arm/boot/dts/qcom-ipq4029-gl-b1300.dts | 0 .../arm/boot/dts/qcom-ipq4029-gl-s1300.dts | 0 .../arch/arm/boot/dts/qcom-ipq4029-mr33.dts | 0 .../net/ethernet/qualcomm/essedma/Makefile | 0 .../net/ethernet/qualcomm/essedma/edma.c | 0 .../net/ethernet/qualcomm/essedma/edma.h | 0 .../net/ethernet/qualcomm/essedma/edma_axi.c | 0 .../ethernet/qualcomm/essedma/edma_ethtool.c | 0 .../net/ethernet/qualcomm/essedma/ess_edma.h | 0 .../ipq40xx/files/drivers/net/phy/ar40xx.c | 0 .../ipq40xx/files/drivers/net/phy/ar40xx.h | 0 .../ipq40xx/files/drivers/net/phy/qca807x.c | 0 root/target/linux/ipq40xx/generic/target.mk | 0 root/target/linux/ipq40xx/image/Makefile | 0 root/target/linux/ipq40xx/image/mikrotik.mk | 0 .../linux/ipq40xx/mikrotik/config-default | 0 root/target/linux/ipq40xx/mikrotik/target.mk | 0 ...5.7-ARM-qcom-Add-support-for-IPQ40xx.patch | 0 ...r-add-IPQ4019-SDHCI-VQMMC-LDO-driver.patch | 0 ...om-ipq4019-Add-SDHCI-controller-node.patch | 0 ...om-Add-nodes-for-SMP-boot-in-IPQ40xx.patch | 0 ...RM-dts-qcom-add-gpio-ranges-property.patch | 0 ...om-ipq4019-fix-high-resolution-timer.patch | 0 ...net-phy-mdio-add-IPQ4019-MDIO-driver.patch | 0 ...2-ARM-dts-qcom-ipq4019-add-MDIO-node.patch | 0 ...add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch | 0 ....5-crypto-qce-switch-to-skcipher-API.patch | 0 ...ce-fix-ctr-aes-qce-block-chunk-sizes.patch | 0 ...crypto-qce-fix-xts-aes-qce-key-sizes.patch | 0 ...-save-a-sg-table-slot-for-result-buf.patch | 0 ....6-crypto-qce-update-the-skcipher-IV.patch | 0 ...qce-initialize-fallback-only-for-AES.patch | 0 ...e-allow-building-only-hashes-ciphers.patch | 0 ...e-use-cryptlen-when-adding-extra-sgl.patch | 0 ...-use-AES-fallback-for-small-requests.patch | 0 ...-handle-AES-XTS-cases-that-qce-fails.patch | 0 ...-driver-for-Qualcomm-IPQ40xx-USB-PHY.patch | 0 .../0018-v5.9-pinctrl-msm-open-drain.patch | 0 ...d-spi-nor-Add-support-for-mx25r3235f.patch | 0 .../100-GPIO-add-named-gpio-exports.patch | 0 ...dts-IPQ4019-add-SDHCI-VQMMC-LDO-node.patch | 0 ...com-ipq4019-add-USB-devicetree-nodes.patch | 0 ...arm-dts-qcom-ipq4019-add-more-labels.patch | 0 .../104-clk-fix-apss-cpu-overclocking.patch | 0 .../300-clk-qcom-ipq4019-add-ess-reset.patch | 0 ...-compressed-add-appended-DTB-section.patch | 0 ...d-set-ipq40xx-watchdog-to-allow-boot.patch | 0 ...msm-use-sdhci_set_clock-instead-of-s.patch | 0 ...702-dts-ipq4019-add-PHY-switch-nodes.patch | 0 ...4019-needs-rfs-vlan_tag-callbacks-in.patch | 0 .../705-net-add-qualcomm-ar40xx-phy.patch | 0 .../706-dt-bindings-net-add-QCA807x-PHY.patch | 0 ...7-net-phy-Add-Qualcom-QCA807x-driver.patch | 0 ...8-arm-dts-ipq4019-QCA807x-properties.patch | 0 ...add-qualcomm-essedma-ethernet-driver.patch | 0 ...ts-ipq4019-add-ethernet-essedma-node.patch | 0 .../850-soc-add-qualcomm-syscon.patch | 0 .../900-dts-ipq4019-ap-dk01.1.patch | 0 .../901-arm-boot-add-dts-files.patch | 0 ...essedma-disable-default-vlan-tagging.patch | 45 -- .../902-dts-ipq4019-ap-dk04.1.patch | 0 .../patches-5.4/997-device_tree_cmdline.patch | 0 root/tools/firmware-utils/Makefile | 105 ++++- 137 files changed, 148 insertions(+), 495 deletions(-) mode change 100755 => 100644 root/include/target.mk mode change 100755 => 100644 root/package/boot/uboot-envtools/Makefile mode change 100755 => 100644 root/package/boot/uboot-rockchip/Makefile mode change 100755 => 100644 root/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch mode change 100755 => 100644 root/package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-structs-gen.h mode change 100755 => 100644 root/package/firmware/ipq-wifi/Makefile delete mode 100755 root/package/firmware/ipq-wifi/board-teltonika_rutx.qca4019 mode change 100755 => 100644 root/package/kernel/linux/modules/netfilter.mk mode change 100755 => 100644 root/target/linux/generic/files/drivers/net/phy/b53/b53_common.c mode change 100755 => 100644 root/target/linux/generic/pending-5.4/640-netfilter-nf_flow_table-add-hardware-offload-support.patch mode change 100755 => 100644 root/target/linux/generic/pending-5.4/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch mode change 100755 => 100644 root/target/linux/ipq40xx/Makefile mode change 100755 => 100644 root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata mode change 100755 => 100644 root/target/linux/ipq40xx/base-files/etc/inittab mode change 100755 => 100644 root/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration mode change 100755 => 100644 root/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh mode change 100755 => 100644 root/target/linux/ipq40xx/base-files/lib/preinit/06_set_preinit_iface_ipq40xx.sh mode change 100755 => 100644 root/target/linux/ipq40xx/base-files/lib/upgrade/dualboot_datachk.sh mode change 100755 => 100644 root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh mode change 100755 => 100644 root/target/linux/ipq40xx/config-5.4 delete mode 100755 root/target/linux/ipq40xx/files-5.15/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cs-w3-wd1200g-eup.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-dap-2610.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ecw5211.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emd1.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emr3500.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ens620ext.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex6100v2.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex6150v2.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-gl-ap1300.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dtsi mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-magic-2-wifi-next.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-meshpoint-one.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-pa1200.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-a62.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c2.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac.dtsi mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ea8300.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-eap2200.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-habanero-dvk.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mr8300.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-oap100.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-pa2200.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rtl30vw.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-u4019-32m.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-u4019.dtsi mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wtr-m2133hp.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-xx8300.dtsi mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303h.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-s1300.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/Makefile mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.h mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_axi.c mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_ethtool.c mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/ess_edma.h mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.h mode change 100755 => 100644 root/target/linux/ipq40xx/files/drivers/net/phy/qca807x.c mode change 100755 => 100644 root/target/linux/ipq40xx/generic/target.mk mode change 100755 => 100644 root/target/linux/ipq40xx/image/Makefile mode change 100755 => 100644 root/target/linux/ipq40xx/image/mikrotik.mk mode change 100755 => 100644 root/target/linux/ipq40xx/mikrotik/config-default mode change 100755 => 100644 root/target/linux/ipq40xx/mikrotik/target.mk mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0001-v5.7-ARM-qcom-Add-support-for-IPQ40xx.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0002-01-v5.6-regulator-add-IPQ4019-SDHCI-VQMMC-LDO-driver.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0002-02-v5.5-ARM-dts-qcom-ipq4019-Add-SDHCI-controller-node.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0003-v5.6-ARM-dts-qcom-Add-nodes-for-SMP-boot-in-IPQ40xx.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0003-v5.7-ARM-dts-qcom-add-gpio-ranges-property.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0004-v5.8-ARM-dts-qcom-ipq4019-fix-high-resolution-timer.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0005-01-v5.8-net-phy-mdio-add-IPQ4019-MDIO-driver.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0005-02-v5.8-02-ARM-dts-qcom-ipq4019-add-MDIO-node.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0006-v5.5-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0007-v5.5-crypto-qce-switch-to-skcipher-API.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0008-v5.6-crypto-qce-fix-ctr-aes-qce-block-chunk-sizes.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0009-v5.6-crypto-qce-fix-xts-aes-qce-key-sizes.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0010-v5.6-crypto-qce-save-a-sg-table-slot-for-result-buf.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0011-v5.6-crypto-qce-update-the-skcipher-IV.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0012-v5.6-crypto-qce-initialize-fallback-only-for-AES.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0013-v5.6-crypto-qce-allow-building-only-hashes-ciphers.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0014-v5.7-crypto-qce-use-cryptlen-when-adding-extra-sgl.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0015-v5.7-crypto-qce-use-AES-fallback-for-small-requests.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0016-v5.7-crypto-qce-handle-AES-XTS-cases-that-qce-fails.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0017-v5.8-phy-add-driver-for-Qualcomm-IPQ40xx-USB-PHY.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0018-v5.9-pinctrl-msm-open-drain.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/0019-v5.6-mtd-spi-nor-Add-support-for-mx25r3235f.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/100-GPIO-add-named-gpio-exports.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/101-arm-dts-IPQ4019-add-SDHCI-VQMMC-LDO-node.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/102-ARM-dts-qcom-ipq4019-add-USB-devicetree-nodes.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/103-arm-dts-qcom-ipq4019-add-more-labels.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/104-clk-fix-apss-cpu-overclocking.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/300-clk-qcom-ipq4019-add-ess-reset.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/301-arm-compressed-add-appended-DTB-section.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/702-dts-ipq4019-add-PHY-switch-nodes.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/705-net-add-qualcomm-ar40xx-phy.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/706-dt-bindings-net-add-QCA807x-PHY.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/707-net-phy-Add-Qualcom-QCA807x-driver.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/708-arm-dts-ipq4019-QCA807x-properties.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/710-net-add-qualcomm-essedma-ethernet-driver.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/711-dts-ipq4019-add-ethernet-essedma-node.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/850-soc-add-qualcomm-syscon.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/900-dts-ipq4019-ap-dk01.1.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/901-arm-boot-add-dts-files.patch delete mode 100755 root/target/linux/ipq40xx/patches-5.4/901-essedma-disable-default-vlan-tagging.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch mode change 100755 => 100644 root/target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch mode change 100755 => 100644 root/tools/firmware-utils/Makefile diff --git a/root/include/target.mk b/root/include/target.mk old mode 100755 new mode 100644 index 948bc50f..75262249 --- a/root/include/target.mk +++ b/root/include/target.mk @@ -33,16 +33,6 @@ else DEFAULT_PACKAGES+=busybox procd endif -# include ujail on systems with enough storage -ifeq ($(CONFIG_SMALL_FLASH),) -DEFAULT_PACKAGES+=procd-ujail -endif - -# include seccomp ld-preload hooks if kernel supports it -ifneq ($(CONFIG_SECCOMP),) -DEFAULT_PACKAGES+=procd-seccomp -endif - # For the basic set DEFAULT_PACKAGES.basic:= # For nas targets @@ -57,7 +47,7 @@ DEFAULT_PACKAGES.router:=\ firewall \ ip6tables \ iptables \ - kmod-nft-offload \ + kmod-ipt-offload \ odhcp6c \ odhcpd-ipv6only \ ppp \ @@ -234,7 +224,6 @@ ifeq ($(DUMP),1) endif ifeq ($(ARCH),powerpc64) CPU_TYPE ?= powerpc64 - CPU_CFLAGS_e5500:=-mcpu=e5500 CPU_CFLAGS_powerpc64:=-mcpu=powerpc64 endif ifeq ($(ARCH),sparc) diff --git a/root/package/boot/uboot-envtools/Makefile b/root/package/boot/uboot-envtools/Makefile old mode 100755 new mode 100644 diff --git a/root/package/boot/uboot-rockchip/Makefile b/root/package/boot/uboot-rockchip/Makefile old mode 100755 new mode 100644 diff --git a/root/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch b/root/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch old mode 100755 new mode 100644 diff --git a/root/package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-structs-gen.h b/root/package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-structs-gen.h old mode 100755 new mode 100644 diff --git a/root/package/firmware/ipq-wifi/Makefile b/root/package/firmware/ipq-wifi/Makefile old mode 100755 new mode 100644 index 7a60ba88..389b9d4a --- a/root/package/firmware/ipq-wifi/Makefile +++ b/root/package/firmware/ipq-wifi/Makefile @@ -49,8 +49,7 @@ ALLWIFIBOARDS:= \ nec_wg2600hp3 \ plasmacloud_pa1200 \ plasmacloud_pa2200 \ - pangu_l1000 \ - teltonika_rutx\ + pangu_l1000 \ qxwlan_e2600ac ALLWIFIPACKAGES:=$(foreach BOARD,$(ALLWIFIBOARDS),ipq-wifi-$(BOARD)) @@ -137,6 +136,6 @@ $(eval $(call generate-ipq-wifi-package,nec_wg2600hp3,NEC Platforms WG2600HP3)) $(eval $(call generate-ipq-wifi-package,plasmacloud_pa1200,Plasma Cloud PA1200)) $(eval $(call generate-ipq-wifi-package,plasmacloud_pa2200,Plasma Cloud PA2200)) $(eval $(call generate-ipq-wifi-package,pangu_l1000,PANGU L1000)) -$(eval $(call generate-ipq-wifi-package,teltonika_rutx,Teltonika RUTX)) $(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac,Qxwlan E2600AC)) -$(foreach PACKAGE,$(ALLWIFIPACKAGES),$(eval $(call BuildPackage,$(PACKAGE)))) \ No newline at end of file + +$(foreach PACKAGE,$(ALLWIFIPACKAGES),$(eval $(call BuildPackage,$(PACKAGE)))) diff --git a/root/package/firmware/ipq-wifi/board-teltonika_rutx.qca4019 b/root/package/firmware/ipq-wifi/board-teltonika_rutx.qca4019 deleted file mode 100755 index 440c63af41984fc90773e9ac4b5e70b39c589d20..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24276 zcmeHPT~HHQ7QR9LR8%?%|Dg#9fy9LXfrSWBLWoR&78q6$qU$1}k^oBt<;OTB<)R`+ zWJDPP29QEUetKP{T%A#wT^-li(v-U|^XALG&4W}~TU)-Yv$xX;BqkXXgq;9=!tHzR z>3i-u_v=p5-S;D(=VT{j?^Glw6(q=tvP*l5o_?A1+10zX0daG&$` zrny~#a5lutB1DcBeZJ0enDMlW5$F4@n;Vi1$k&{~tT5@;7RPZPxfquiiI|ynVZb&~ zSmpvNw`BeLjT_x^aL}3K!1ha+G+mR#X=4`K3|@~-b#|&%dCIKUQv)5XRmy_AEsw_s z&UQAaKF>>gJOQ;vRY~5j-$A)^PY?&*j8C2JtWoVyN?%V5oN29AVtJCsw}@`aygV^< zIN#X}ZJDG)+-C4*bm~NFnKC0U9=f)-9#G0*w;KbU(6vC!e>^pCsa2ya5hs});%xK# zNUIgfN4nVVrW|bXaNJr6C^??l^0Gc1uK6NgowPeRYjUu$BfW~ZE4<**_z`{XS$;!k zg??g>e#=>QBV+%AtEv+PHQXJ+(g!2;XELh=T$n>SQ_iq2m(M^rzUY8pyB8Kq%VEH9L(Z08W5t?}_& zyMDtagb@@HX8FXQuZhptd71OFR^SB@05qDHmluuLu36*bW_KIMLBuPBe#8>g^BAS18tlQToy%(B0kCv~wqxD+cS=`}&fx!~!0d!-;|orr&?w zy?-ABHPS{HBLn=ryuJTx>PiES{K-+4ZmXGu*CTLv&B?Awq7aezW{Hg)jA)J>KiPh+tEbOi0TQ!3bW5S5 zbRqo(9SKLnh2dBr8i<6VGE^p%y^taKXudEXlcG{Yfr?O(Q1n8CWS|+s3@iyvLd57? z5{41S>Re6|$y`>HYIl5GfrNoF-Y}2|G(s4G<)Arla*zVFKv;mKpeb)skW4gFn2C`G z!Fp>7MMA&iTjJc+oHI;X7v3kz{5OkZ&C&a1p|+K9O-jwdm7`CgM4{va0qWFn0*sA$ zRib2r0M(!npb(%Cpb(%Cpb%Ka2!x12kSO|RqR)^bdb%hb$)fvP1e8=>8oBetdTY7$ zcdxdOvDPAs7Go73LTc(O1p!xA2wd&A%y7Z>R_mr;0s!k4-SG6w4{P|O8a|^&Sz$~r zmrXwWhMMQtI8aRag_;!N;XKomY|&8IQ4qfnsKA=Y&y#GPe!5=vLx40D0398n1w-jJ z*O$#T-yZ=IAn}$01pNJppbdazz(pXB3KDNPkk4Z&5@?tC2wutj1pk1As7)o%8v%Z8 zKI}2L|MjaM!4E(DXsQXFD3q*R1b(_5!1VH}f-4XJ(7e3;zk+fNie<+4p?r!BD}x`d z!_(h8tK(vMF~4LXSMJEQI&yUmE8bbQx1y?A*L}I~>hS2;khvjFc=Jng~eh4q67p4xKn7frR3L3nZwLi4*!?I1{SA{iHQlP z`|NkXV{Ik&`(3rH%4J(>(yp8y9*B}FX;XbD1SkY31ePlT6&1=-l3!1!2W}u|;U>Sn zg7n|8!RsyQf9Q~9%&%!HM5@7 zP3e*oT=FgPMz-eG6Z$98>v>oi@lgBGORL)p8}(x!9<%3+wK!%-*0E+gj5T z4ukqQ0f5~u;2K?tI&Jp4u?KI_m8m88jBY@ERI!~OYKl;!-b1Ej=qFM#7(4MAt-L&D zcEorQZ_w>hZ^OUQ>D5gN1wUfuzTt`~r6?k$!G1oB&}aMuen7iT5e{8DaFtf3h`|43 z7*f|Mvc-wUZ}1Uat9rLMoNyTG7sP_uUSk_xq0LZ)&FYQqc$HS72!n~}wa3Z}!~)|z zykFO#E>gsh5d<)$i^dkbOe<0_XTLNa$CXe+j1TZ@5KE~TeSLT4s-an(qX;7-z&W@h z9(buwrR2&1q)?(za)Q80I5nJ1jWVxV1n!+X@!Rdm39K;R>m9Xw(?!vd8~u;==C%ut zgjWXSemi>b!d5N!a7g)Ids>uP39&(;K6kI2sL7X!5+gz{4wrT%A7`sK6+XLFdr8{H zs|(xrykAwE9v2$|z~iCgwTc{JLS*Fqu_L|GQ-TKit|#NFo~$-*ZRozILyZ-(G#)E7 z;NkV!!wLn;31sL73Qs2=4cfh7`-5ARmoiSWYl8MXGSu!ZmdD2+-qRyZ4ciqQeo%O) zzUWM9Q)qdB;_k%nu82=X)dlUF?mK!QZ(BT<;X7_p@y!U6Y+JyCC~qu ze?Go7>`>tD+r7utMREa$?mMcl|9$b!gwzPmO}(mP+p*1u83i}S>iaX>xed&HH!o@` z<(XU-i`oBW)xqug@uHyc3thXvNL6$8(4}|A8?P2#;5UaJT(u_-HE{}o6@Y-%Pi;g* zM%mn$nHt39|Gd~w*w0$*cZ1;$jY8a_l!*8|UJU$$zqG;TMn`j^OMN`%*Ea0A?-qK! z|DvtU+sClb>(?$?3b;xW3l@!EZY_1Me*w)_k9Vu`JTk3ca)2#pU7j7 zH&6215ffLQ;L)#Z7qrPCAAa)|PBvMhj%?myD%S$NlTCbif-~>ewhk7e_F flow_offload_free(flow); } +@@ -361,6 +370,9 @@ static void nf_flow_offload_gc_step(stru + if (!teardown) + nf_ct_offload_timeout(flow); + ++ if (nf_flow_in_hw(flow) && !teardown) ++ return; ++ + if (nf_flow_has_expired(flow) || teardown) + flow_offload_del(flow_table, flow); + } @@ -490,10 +502,43 @@ int nf_flow_dnat_port(const struct flow_ } EXPORT_SYMBOL_GPL(nf_flow_dnat_port); @@ -496,7 +506,7 @@ Signed-off-by: Pablo Neira Ayuso +MODULE_ALIAS("nf-flow-table-hw"); --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c -@@ -5743,6 +5743,13 @@ static int nf_tables_flowtable_parse_hoo +@@ -5748,6 +5748,13 @@ static int nf_tables_flowtable_parse_hoo if (err < 0) return err; @@ -510,7 +520,7 @@ Signed-off-by: Pablo Neira Ayuso ops = kcalloc(n, sizeof(struct nf_hook_ops), GFP_KERNEL); if (!ops) return -ENOMEM; -@@ -5873,10 +5880,19 @@ static int nf_tables_newflowtable(struct +@@ -5878,10 +5885,19 @@ static int nf_tables_newflowtable(struct } flowtable->data.type = type; @@ -530,7 +540,7 @@ Signed-off-by: Pablo Neira Ayuso err = nf_tables_flowtable_parse_hook(&ctx, nla[NFTA_FLOWTABLE_HOOK], flowtable); if (err < 0) -@@ -6002,7 +6018,8 @@ static int nf_tables_fill_flowtable_info +@@ -6007,7 +6023,8 @@ static int nf_tables_fill_flowtable_info nla_put_string(skb, NFTA_FLOWTABLE_NAME, flowtable->name) || nla_put_be32(skb, NFTA_FLOWTABLE_USE, htonl(flowtable->use)) || nla_put_be64(skb, NFTA_FLOWTABLE_HANDLE, cpu_to_be64(flowtable->handle), diff --git a/root/target/linux/generic/pending-5.4/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch b/root/target/linux/generic/pending-5.4/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch old mode 100755 new mode 100644 index 576a5161..3c44c292 --- a/root/target/linux/generic/pending-5.4/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch +++ b/root/target/linux/generic/pending-5.4/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch @@ -24,3 +24,14 @@ Signed-off-by: Felix Fietkau struct flow_offload { struct flow_offload_tuple_rhash tuplehash[FLOW_OFFLOAD_DIR_MAX]; +--- a/net/netfilter/nf_flow_table_core.c ++++ b/net/netfilter/nf_flow_table_core.c +@@ -370,7 +370,7 @@ static void nf_flow_offload_gc_step(stru + if (!teardown) + nf_ct_offload_timeout(flow); + +- if (nf_flow_in_hw(flow) && !teardown) ++ if ((flow->flags & FLOW_OFFLOAD_KEEP) && !teardown) + return; + + if (nf_flow_has_expired(flow) || teardown) diff --git a/root/target/linux/ipq40xx/Makefile b/root/target/linux/ipq40xx/Makefile old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/root/target/linux/ipq40xx/base-files/etc/board.d/01_leds index 8aabd313..c84ee2ea 100755 --- a/root/target/linux/ipq40xx/base-files/etc/board.d/01_leds +++ b/root/target/linux/ipq40xx/base-files/etc/board.d/01_leds @@ -41,28 +41,15 @@ engenius,eap2200) ucidef_set_led_netdev "lan2" "LAN2" "blue:lan2" "eth1" ;; engenius,ens620ext) - ucidef_set_led_wlan "wlan2g" "WLAN2G" "nhx:wifi2" "phy0tpt" - ucidef_set_led_wlan "wlan5g" "WLAN5G" "nhx:wifi5g" "phy1tpt" - ucidef_set_led_netdev "wan" "WAN" "nhx:net" "eth1" - ;; -nhx,nhx4019) ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy0tpt" ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy1tpt" ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth0" ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth1" ;; -mikrotik,sxtsq-5-ac) - ucidef_set_rssimon "wlan0" "200000" "1" - ucidef_set_led_rssi "rssilow" "rssilow" "green:rssilow" "wlan0" "1" "100" - ucidef_set_led_rssi "rssimediumlow" "rssimediumlow" "green:rssimediumlow" "wlan0" "21" "100" - ucidef_set_led_rssi "rssimedium" "rssimedium" "green:rssimedium" "wlan0" "41" "100" - ucidef_set_led_rssi "rssimediumhigh" "rssimediumhigh" "green:rssimediumhigh" "wlan0" "61" "100" - ucidef_set_led_rssi "rssihigh" "rssihigh" "green:rssihigh" "wlan0" "81" "100" - ;; -mobipromo,cm520-79f) - ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1" - ucidef_set_led_switch "lan1" "LAN1" "blue:lan1" "switch0" "0x10" - ucidef_set_led_switch "lan2" "LAN2" "blue:lan2" "switch0" "0x08" +nhx,nhx4019) + ucidef_set_led_wlan "wlan2g" "WLAN2G" "nhx:wifi2" "phy0tpt" + ucidef_set_led_wlan "wlan5g" "WLAN5G" "nhx:wifi5g" "phy1tpt" + ucidef_set_led_netdev "wan" "WAN" "nhx:net" "eth1" ;; pangu,l1000) ucidef_set_led_default "power" "POWER" "blue:power" "1" @@ -80,6 +67,19 @@ zbt,z4019) ucidef_set_led_netdev "wwan1" "4G1" "green:4g2" "wwan1" ucidef_set_led_netdev "wwan2" "4G2" "green:4g3" "wwan2" ;; +mikrotik,sxtsq-5-ac) + ucidef_set_rssimon "wlan0" "200000" "1" + ucidef_set_led_rssi "rssilow" "rssilow" "green:rssilow" "wlan0" "1" "100" + ucidef_set_led_rssi "rssimediumlow" "rssimediumlow" "green:rssimediumlow" "wlan0" "21" "100" + ucidef_set_led_rssi "rssimedium" "rssimedium" "green:rssimedium" "wlan0" "41" "100" + ucidef_set_led_rssi "rssimediumhigh" "rssimediumhigh" "green:rssimediumhigh" "wlan0" "61" "100" + ucidef_set_led_rssi "rssihigh" "rssihigh" "green:rssihigh" "wlan0" "81" "100" + ;; +mobipromo,cm520-79f) + ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "blue:lan1" "switch0" "0x10" + ucidef_set_led_switch "lan2" "LAN2" "blue:lan2" "switch0" "0x08" + ;; netgear,ex6100v2 |\ netgear,ex6150v2) ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:router" "phy0tpt" diff --git a/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/base-files/etc/inittab b/root/target/linux/ipq40xx/base-files/etc/inittab old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration b/root/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh b/root/target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/base-files/lib/preinit/06_set_preinit_iface_ipq40xx.sh b/root/target/linux/ipq40xx/base-files/lib/preinit/06_set_preinit_iface_ipq40xx.sh old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/base-files/lib/upgrade/dualboot_datachk.sh b/root/target/linux/ipq40xx/base-files/lib/upgrade/dualboot_datachk.sh old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/config-5.4 b/root/target/linux/ipq40xx/config-5.4 old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files-5.15/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts b/root/target/linux/ipq40xx/files-5.15/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts deleted file mode 100755 index 0562c7b5..00000000 --- a/root/target/linux/ipq40xx/files-5.15/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts +++ /dev/null @@ -1,400 +0,0 @@ -/* Copyright (c) 2015, The Linux Foundation. All rights reserved. - * Copyright (c) 2019, Nguyen Dinh Phi - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - */ - -#include "qcom-ipq4019.dtsi" -#include -#include -#include - -/ { - model = "Compex WPJ419"; - compatible = "compex,wpj419", "qcom,ipq4019"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; - }; - - reserved-memory { - ranges; - rsvd1@87000000 { - /* Reserved for other subsystem */ - reg = <0x87000000 0x500000>; - no-map; - }; - wifi_dump@87500000 { - reg = <0x87500000 0x600000>; - no-map; - }; - - rsvd2@87B00000 { - /* Reserved for other subsystem */ - reg = <0x87B00000 0x500000>; - no-map; - }; - }; - - chosen { - bootargs-append = " ubi.mtd=ubi root=/dev/ubiblock0_1"; - }; - - soc { - pinctrl@1000000 { - mdio_pins: mdio_pinmux { - mux_1 { - pins = "gpio6"; - function = "mdio"; - bias-pull-up; - }; - - mux_2 { - pins = "gpio7"; - function = "mdc"; - bias-pull-up; - }; - }; - - serial_0_pins: serial_pinmux { - mux { - pins = "gpio16", "gpio17"; - function = "blsp_uart0"; - bias-disable; - }; - }; - - serial_1_pins: serial1_pinmux { - mux { - pins = "gpio8", "gpio9", "gpio10", "gpio11"; - function = "blsp_uart1"; - bias-disable; - }; - }; - - spi_0_pins: spi_0_pinmux { - pinmux { - function = "blsp_spi0"; - pins = "gpio13", "gpio14", "gpio15"; - bias-disable; - }; - - pinmux_cs { - function = "gpio"; - pins = "gpio12"; - bias-disable; - output-high; - }; - }; - - i2c_0_pins: i2c_0_pinmux { - mux { - pins = "gpio20", "gpio21"; - function = "blsp_i2c0"; - bias-disable; - }; - }; - - nand_pins: nand_pins { - pullups { - pins = "gpio52", "gpio53", "gpio58", "gpio59"; - function = "qpic"; - bias-pull-up; - }; - - pulldowns { - pins = "gpio54", "gpio55", "gpio56", - "gpio57", "gpio60", "gpio61", - "gpio62", "gpio63", "gpio64", - "gpio65", "gpio66", "gpio67", - "gpio68", "gpio69"; - function = "qpic"; - bias-pull-down; - }; - }; - - led_0_pins: led0_pinmux { - mux_1 { - pins = "gpio36"; - function = "led0"; - bias-pull-down; - }; - mux_2 { - pins = "gpio40"; - function = "led4"; - bias-pull-down; - }; - }; - }; - - blsp_dma: dma@7884000 { - status = "okay"; - }; - - spi_0: spi@78b5000 { - pinctrl-0 = <&spi_0_pins>; - pinctrl-names = "default"; - status = "okay"; - cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>, <&tlmm 41 GPIO_ACTIVE_HIGH>; - num-cs = <2>; - - flash0@0 { - reg = <0>; - compatible = "jedec,spi-nor"; - spi-max-frequency = <24000000>; - broken-flash-reset; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "0:SBL1"; - reg = <0x000000 0x040000>; - read-only; - }; - - partition@40000 { - label = "0:MIBIB"; - reg = <0x040000 0x020000>; - read-only; - }; - - partition@60000 { - label = "0:QSEE"; - reg = <0x060000 0x060000>; - read-only; - }; - - partition@c0000 { - label = "0:CDT"; - reg = <0x0c0000 0x010000>; - read-only; - }; - - partition@d0000 { - label = "0:DDRPARAMS"; - reg = <0x0d0000 0x010000>; - read-only; - }; - - partition@e0000 { - label = "u-boot-env"; - reg = <0x0e0000 0x010000>; - }; - - partition@f0000 { - label = "u-boot"; - reg = <0x0f0000 0x080000>; - read-only; - }; - - partition@170000 { - label = "0:ART"; - reg = <0x170000 0x010000>; - read-only; - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; - - precal_art_1000: precal@1000 { - reg = <0x1000 0x2f20>; - }; - - precal_art_5000: precal@5000 { - reg = <0x5000 0x2f20>; - }; - }; - }; - }; - - nand@1 { - reg = <1>; - status = "okay"; - compatible = "spi-nand"; - spi-max-frequency = <24000000>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - /* The device has 128MB, but we can only address - * 64MB because of the bootloader's default settings. - * This is due to the old mt29f driver, - * which detected the deivce with only 64MB - */ - partition@0 { - label = "ubi"; - reg = <0x0000000 0x4000000>; - }; - }; - }; - }; - - mdio@90000 { - status = "okay"; - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>; - reset-delay-us = <5000>; - }; - - ess-psgmii@98000 { - status = "okay"; - }; - - tcsr@194b000 { - /* select hostmode */ - compatible = "qcom,tcsr"; - reg = <0x194b000 0x100>; - qcom,usb-hsphy-mode-select = ; - status = "okay"; - }; - - tcsr@1949000 { - compatible = "qcom,tcsr"; - reg = <0x1949000 0x100>; - qcom,wifi_glb_cfg = ; - }; - - ess_tcsr@1953000 { - compatible = "qcom,tcsr"; - reg = <0x1953000 0x1000>; - qcom,ess-interface-select = ; - }; - - tcsr@1957000 { - compatible = "qcom,tcsr"; - reg = <0x1957000 0x100>; - qcom,wifi_noc_memtype_m0_m2 = ; - }; - - i2c_0: i2c@78b7000 { - pinctrl-0 = <&i2c_0_pins>; - pinctrl-names = "default"; - status = "okay"; - }; - - serial@78af000 { - pinctrl-0 = <&serial_0_pins>; - pinctrl-names = "default"; - status = "okay"; - }; - - serial@78b0000 { - pinctrl-0 = <&serial_1_pins>; - pinctrl-names = "default"; - status = "okay"; - }; - - usb3_ss_phy: ssphy@9a000 { - status = "okay"; - }; - - usb3_hs_phy: hsphy@a6000 { - status = "okay"; - }; - - usb3: usb3@8af8800 { - status = "okay"; - }; - - usb2_hs_phy: hsphy@a8000 { - status = "okay"; - }; - - usb2: usb2@60f8800 { - status = "okay"; - }; - - cryptobam: dma@8e04000 { - status = "okay"; - }; - - crypto@8e3a000 { - status = "okay"; - }; - - watchdog@b017000 { - status = "okay"; - }; - - ess-switch@c000000 { - switch_lan_bmp = <0x1e>; - switch_wan_bmp = <0x20>; - status = "okay"; - }; - - edma@c080000 { - status = "okay"; - }; - - qpic_bam: dma@7984000 { - status = "okay"; - }; - - pcie0: pci@40000000 { - status = "okay"; - perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>; - wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>; - }; - - nand: nand-controller@79b0000 { - pinctrl-0 = <&nand_pins>; - pinctrl-names = "default"; - status = "okay"; - }; - }; - - keys { - compatible = "gpio-keys"; - - reset { - label = "reset"; - gpios = <&tlmm 18 GPIO_ACTIVE_LOW>; - linux,code = ; - }; - }; -}; - -&gmac0 { - qcom,phy_mdio_addr = <4>; - qcom,poll_required = <1>; - qcom,forced_speed = <1000>; - qcom,forced_duplex = <1>; - vlan_tag = <2 0x20>; -}; - -&gmac1 { - qcom,phy_mdio_addr = <3>; - qcom,poll_required = <1>; - qcom,forced_speed = <1000>; - qcom,forced_duplex = <1>; - vlan_tag = <1 0x10>; -}; - -&wifi0 { - status = "okay"; - nvmem-cell-names = "pre-calibration"; - nvmem-cells = <&precal_art_1000>; -}; - -&wifi1 { - status = "okay"; - nvmem-cell-names = "pre-calibration"; - nvmem-cells = <&precal_art_5000>; -}; diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cs-w3-wd1200g-eup.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cs-w3-wd1200g-eup.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-dap-2610.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-dap-2610.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ecw5211.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ecw5211.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emd1.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emd1.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emr3500.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emr3500.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ens620ext.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ens620ext.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex6100v2.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex6100v2.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex6150v2.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex6150v2.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-gl-ap1300.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-gl-ap1300.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dtsi b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dtsi old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-magic-2-wifi-next.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-magic-2-wifi-next.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-meshpoint-one.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-meshpoint-one.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-pa1200.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-pa1200.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-a62.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-a62.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c2.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c2.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac.dtsi b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac.dtsi old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ea8300.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ea8300.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-eap2200.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-eap2200.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-habanero-dvk.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-habanero-dvk.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mr8300.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mr8300.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-oap100.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-oap100.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-pa2200.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-pa2200.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rtl30vw.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rtl30vw.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-u4019-32m.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-u4019-32m.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-u4019.dtsi b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-u4019.dtsi old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wtr-m2133hp.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wtr-m2133hp.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-xx8300.dtsi b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-xx8300.dtsi old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303h.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303h.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-s1300.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-s1300.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/Makefile b/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/Makefile old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c b/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.h b/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.h old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_axi.c b/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_axi.c old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_ethtool.c b/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_ethtool.c old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/ess_edma.h b/root/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/ess_edma.h old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c b/root/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.h b/root/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.h old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/files/drivers/net/phy/qca807x.c b/root/target/linux/ipq40xx/files/drivers/net/phy/qca807x.c old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/generic/target.mk b/root/target/linux/ipq40xx/generic/target.mk old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/image/Makefile b/root/target/linux/ipq40xx/image/Makefile old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/image/mikrotik.mk b/root/target/linux/ipq40xx/image/mikrotik.mk old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/mikrotik/config-default b/root/target/linux/ipq40xx/mikrotik/config-default old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/mikrotik/target.mk b/root/target/linux/ipq40xx/mikrotik/target.mk old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0001-v5.7-ARM-qcom-Add-support-for-IPQ40xx.patch b/root/target/linux/ipq40xx/patches-5.4/0001-v5.7-ARM-qcom-Add-support-for-IPQ40xx.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0002-01-v5.6-regulator-add-IPQ4019-SDHCI-VQMMC-LDO-driver.patch b/root/target/linux/ipq40xx/patches-5.4/0002-01-v5.6-regulator-add-IPQ4019-SDHCI-VQMMC-LDO-driver.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0002-02-v5.5-ARM-dts-qcom-ipq4019-Add-SDHCI-controller-node.patch b/root/target/linux/ipq40xx/patches-5.4/0002-02-v5.5-ARM-dts-qcom-ipq4019-Add-SDHCI-controller-node.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0003-v5.6-ARM-dts-qcom-Add-nodes-for-SMP-boot-in-IPQ40xx.patch b/root/target/linux/ipq40xx/patches-5.4/0003-v5.6-ARM-dts-qcom-Add-nodes-for-SMP-boot-in-IPQ40xx.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0003-v5.7-ARM-dts-qcom-add-gpio-ranges-property.patch b/root/target/linux/ipq40xx/patches-5.4/0003-v5.7-ARM-dts-qcom-add-gpio-ranges-property.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0004-v5.8-ARM-dts-qcom-ipq4019-fix-high-resolution-timer.patch b/root/target/linux/ipq40xx/patches-5.4/0004-v5.8-ARM-dts-qcom-ipq4019-fix-high-resolution-timer.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0005-01-v5.8-net-phy-mdio-add-IPQ4019-MDIO-driver.patch b/root/target/linux/ipq40xx/patches-5.4/0005-01-v5.8-net-phy-mdio-add-IPQ4019-MDIO-driver.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0005-02-v5.8-02-ARM-dts-qcom-ipq4019-add-MDIO-node.patch b/root/target/linux/ipq40xx/patches-5.4/0005-02-v5.8-02-ARM-dts-qcom-ipq4019-add-MDIO-node.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0006-v5.5-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch b/root/target/linux/ipq40xx/patches-5.4/0006-v5.5-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0007-v5.5-crypto-qce-switch-to-skcipher-API.patch b/root/target/linux/ipq40xx/patches-5.4/0007-v5.5-crypto-qce-switch-to-skcipher-API.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0008-v5.6-crypto-qce-fix-ctr-aes-qce-block-chunk-sizes.patch b/root/target/linux/ipq40xx/patches-5.4/0008-v5.6-crypto-qce-fix-ctr-aes-qce-block-chunk-sizes.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0009-v5.6-crypto-qce-fix-xts-aes-qce-key-sizes.patch b/root/target/linux/ipq40xx/patches-5.4/0009-v5.6-crypto-qce-fix-xts-aes-qce-key-sizes.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0010-v5.6-crypto-qce-save-a-sg-table-slot-for-result-buf.patch b/root/target/linux/ipq40xx/patches-5.4/0010-v5.6-crypto-qce-save-a-sg-table-slot-for-result-buf.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0011-v5.6-crypto-qce-update-the-skcipher-IV.patch b/root/target/linux/ipq40xx/patches-5.4/0011-v5.6-crypto-qce-update-the-skcipher-IV.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0012-v5.6-crypto-qce-initialize-fallback-only-for-AES.patch b/root/target/linux/ipq40xx/patches-5.4/0012-v5.6-crypto-qce-initialize-fallback-only-for-AES.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0013-v5.6-crypto-qce-allow-building-only-hashes-ciphers.patch b/root/target/linux/ipq40xx/patches-5.4/0013-v5.6-crypto-qce-allow-building-only-hashes-ciphers.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0014-v5.7-crypto-qce-use-cryptlen-when-adding-extra-sgl.patch b/root/target/linux/ipq40xx/patches-5.4/0014-v5.7-crypto-qce-use-cryptlen-when-adding-extra-sgl.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0015-v5.7-crypto-qce-use-AES-fallback-for-small-requests.patch b/root/target/linux/ipq40xx/patches-5.4/0015-v5.7-crypto-qce-use-AES-fallback-for-small-requests.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0016-v5.7-crypto-qce-handle-AES-XTS-cases-that-qce-fails.patch b/root/target/linux/ipq40xx/patches-5.4/0016-v5.7-crypto-qce-handle-AES-XTS-cases-that-qce-fails.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0017-v5.8-phy-add-driver-for-Qualcomm-IPQ40xx-USB-PHY.patch b/root/target/linux/ipq40xx/patches-5.4/0017-v5.8-phy-add-driver-for-Qualcomm-IPQ40xx-USB-PHY.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0018-v5.9-pinctrl-msm-open-drain.patch b/root/target/linux/ipq40xx/patches-5.4/0018-v5.9-pinctrl-msm-open-drain.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/0019-v5.6-mtd-spi-nor-Add-support-for-mx25r3235f.patch b/root/target/linux/ipq40xx/patches-5.4/0019-v5.6-mtd-spi-nor-Add-support-for-mx25r3235f.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/100-GPIO-add-named-gpio-exports.patch b/root/target/linux/ipq40xx/patches-5.4/100-GPIO-add-named-gpio-exports.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/101-arm-dts-IPQ4019-add-SDHCI-VQMMC-LDO-node.patch b/root/target/linux/ipq40xx/patches-5.4/101-arm-dts-IPQ4019-add-SDHCI-VQMMC-LDO-node.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/102-ARM-dts-qcom-ipq4019-add-USB-devicetree-nodes.patch b/root/target/linux/ipq40xx/patches-5.4/102-ARM-dts-qcom-ipq4019-add-USB-devicetree-nodes.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/103-arm-dts-qcom-ipq4019-add-more-labels.patch b/root/target/linux/ipq40xx/patches-5.4/103-arm-dts-qcom-ipq4019-add-more-labels.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/104-clk-fix-apss-cpu-overclocking.patch b/root/target/linux/ipq40xx/patches-5.4/104-clk-fix-apss-cpu-overclocking.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/300-clk-qcom-ipq4019-add-ess-reset.patch b/root/target/linux/ipq40xx/patches-5.4/300-clk-qcom-ipq4019-add-ess-reset.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/301-arm-compressed-add-appended-DTB-section.patch b/root/target/linux/ipq40xx/patches-5.4/301-arm-compressed-add-appended-DTB-section.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch b/root/target/linux/ipq40xx/patches-5.4/302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch b/root/target/linux/ipq40xx/patches-5.4/400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/702-dts-ipq4019-add-PHY-switch-nodes.patch b/root/target/linux/ipq40xx/patches-5.4/702-dts-ipq4019-add-PHY-switch-nodes.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch b/root/target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/705-net-add-qualcomm-ar40xx-phy.patch b/root/target/linux/ipq40xx/patches-5.4/705-net-add-qualcomm-ar40xx-phy.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/706-dt-bindings-net-add-QCA807x-PHY.patch b/root/target/linux/ipq40xx/patches-5.4/706-dt-bindings-net-add-QCA807x-PHY.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/707-net-phy-Add-Qualcom-QCA807x-driver.patch b/root/target/linux/ipq40xx/patches-5.4/707-net-phy-Add-Qualcom-QCA807x-driver.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/708-arm-dts-ipq4019-QCA807x-properties.patch b/root/target/linux/ipq40xx/patches-5.4/708-arm-dts-ipq4019-QCA807x-properties.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/710-net-add-qualcomm-essedma-ethernet-driver.patch b/root/target/linux/ipq40xx/patches-5.4/710-net-add-qualcomm-essedma-ethernet-driver.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/711-dts-ipq4019-add-ethernet-essedma-node.patch b/root/target/linux/ipq40xx/patches-5.4/711-dts-ipq4019-add-ethernet-essedma-node.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/850-soc-add-qualcomm-syscon.patch b/root/target/linux/ipq40xx/patches-5.4/850-soc-add-qualcomm-syscon.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/900-dts-ipq4019-ap-dk01.1.patch b/root/target/linux/ipq40xx/patches-5.4/900-dts-ipq4019-ap-dk01.1.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/901-arm-boot-add-dts-files.patch b/root/target/linux/ipq40xx/patches-5.4/901-arm-boot-add-dts-files.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/901-essedma-disable-default-vlan-tagging.patch b/root/target/linux/ipq40xx/patches-5.4/901-essedma-disable-default-vlan-tagging.patch deleted file mode 100755 index 824ba8a8..00000000 --- a/root/target/linux/ipq40xx/patches-5.4/901-essedma-disable-default-vlan-tagging.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 42b508d91b7f51b054f383e3aa42089ccab9300d Mon Sep 17 00:00:00 2001 -From: Chen Minqiang -Date: Thu, 15 Mar 2018 05:33:46 +0800 -Subject: [PATCH] essedma: disable default vlan tagging - -The essedma driver has its own unique take on VLAN management -and its configuration. In the original SDK, each VLAN is -assigned one virtual ethernet netdev. - -However, this is non-standard. So, this patch does away -with the default_vlan_tag property the driver is using -and therefore forces the user to use the kernel's vlan -feature. - -This patch also removes the "qcom,poll_required = <1>;" from -the essedma node. - -Signed-off-by: Christian Lamparter -Signed-off-by: Chen Minqiang ---- - arch/arm/boot/dts/qcom-ipq4019.dtsi | 5 ++--- - drivers/net/ethernet/qualcomm/essedma/edma.c | 14 +++++--------- - 2 files changed, 7 insertions(+), 12 deletions(-) - ---- a/arch/arm/boot/dts/qcom-ipq4019.dtsi -+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi -@@ -666,8 +666,7 @@ - qcom,page-mode = <0>; - qcom,rx_head_buf_size = <1540>; - qcom,mdio_supported; -- qcom,poll_required = <1>; -- qcom,num_gmac = <2>; -+ qcom,num_gmac = <1>; - interrupts = <0 65 IRQ_TYPE_EDGE_RISING - 0 66 IRQ_TYPE_EDGE_RISING - 0 67 IRQ_TYPE_EDGE_RISING -@@ -705,7 +704,7 @@ - - gmac0: gmac0 { - local-mac-address = [00 00 00 00 00 00]; -- vlan_tag = <1 0x1f>; -+ vlan_tag = <1 0x3f>; - }; - - gmac1: gmac1 { diff --git a/root/target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch b/root/target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch old mode 100755 new mode 100644 diff --git a/root/target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch b/root/target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch old mode 100755 new mode 100644 diff --git a/root/tools/firmware-utils/Makefile b/root/tools/firmware-utils/Makefile old mode 100755 new mode 100644 index 2534cec5..cec8398a --- a/root/tools/firmware-utils/Makefile +++ b/root/tools/firmware-utils/Makefile @@ -6,16 +6,103 @@ # include $(TOPDIR)/rules.mk -PKG_NAME:=firmware-utils -PKG_RELEASE:=1 - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL=$(PROJECT_GIT)/project/firmware-utils.git -PKG_SOURCE_DATE:=2022-04-25 -PKG_SOURCE_VERSION:=ddc3e00e314d3fbc3f9faab2d07395722ce9b01a -PKG_MIRROR_HASH:=246fc1d72d3a8cdb4072d81e033c92abaf614acd6f35a10fffd029d5c7f9303b +PKG_NAME := firmware-utils +PKG_RELEASE := 7 include $(INCLUDE_DIR)/host-build.mk -include $(INCLUDE_DIR)/cmake.mk +include $(INCLUDE_DIR)/kernel.mk + +define cc + $(HOSTCC) \ + $(HOST_CFLAGS) \ + -Wno-unused-parameter \ + -include endian.h $(HOST_LDFLAGS) \ + -o $(HOST_BUILD_DIR)/bin/$(firstword $(1)) \ + $(foreach src,$(1),src/$(src).c) \ + $(2) +endef + +define Host/Compile + mkdir -p $(HOST_BUILD_DIR)/bin + $(call cc,add_header) + $(call cc,addpattern) + $(call cc,asustrx) + $(call cc,bcm4908asus,-Wall) + $(call cc,bcm4908kernel,-Wall) + $(call cc,buffalo-enc buffalo-lib,-Wall) + $(call cc,buffalo-tag buffalo-lib,-Wall) + $(call cc,buffalo-tftp buffalo-lib,-Wall) + $(call cc,dgfirmware) + $(call cc,dgn3500sum,-Wall) + $(call cc,dns313-header,-Wall) + $(call cc,edimax_fw_header,-Wall) + $(call cc,encode_crc) + $(call cc,fix-u-media-header cyg_crc32,-Wall) + $(call cc,hcsmakeimage bcmalgo) + $(call cc,imagetag imagetag_cmdline cyg_crc32) + $(call cc,jcgimage,-lz -Wall) + $(call cc,lxlfw) + $(call cc,lzma2eva,-lz) + $(call cc,makeamitbin) + $(call cc,mkbrncmdline) + $(call cc,mkbrnimg) + $(call cc,mkbuffaloimg,-Wall) + $(call cc,mkcameofw,-Wall) + $(call cc,mkcasfw) + $(call cc,mkchkimg) + $(call cc,mkcsysimg) + $(call cc,mkdapimg) + $(call cc,mkdapimg2) + $(call cc,mkdhpimg buffalo-lib,-Wall) + $(call cc,mkdlinkfw mkdlinkfw-lib,-lz -Wall --std=c99) + $(call cc,mkdniimg) + $(call cc,mkedimaximg) + $(call cc,mkfwimage,-lz -Wall -Werror -Wextra -D_FILE_OFFSET_BITS=64) + $(call cc,mkfwimage2,-lz) + $(call cc,mkheader_gemtek,-lz) + $(call cc,mkhilinkfw,-lcrypto) + $(call cc,mkmerakifw sha1,-Wall) + $(call cc,mkmerakifw-old,-Wall) + $(call cc,mkmylofw) + $(call cc,mkplanexfw sha1) + $(call cc,mkporayfw,-Wall) + $(call cc,mkrasimage,--std=gnu99) + $(call cc,mkrtn56uimg,-lz) + $(call cc,mksenaofw md5,-Wall --std=gnu99) + $(call cc,mksercommfw,-Wall) + $(call cc,mktitanimg) + $(call cc,mktplinkfw mktplinkfw-lib md5,-Wall -fgnu89-inline) + $(call cc,mktplinkfw2 mktplinkfw-lib md5,-fgnu89-inline) + $(call cc,mkwrggimg md5,-Wall) + $(call cc,mkwrgimg md5,-Wall) + $(call cc,mkzcfw cyg_crc32) + $(call cc,mkzynfw) + $(call cc,motorola-bin) + $(call cc,nand_ecc) + $(call cc,nec-enc,-Wall --std=gnu99) + $(call cc,osbridge-crc) + $(call cc,oseama md5,-Wall) + $(call cc,otrx) + $(call cc,pc1crypt) + $(call cc,ptgen cyg_crc32) + $(call cc,seama md5) + $(call cc,sign_dlink_ru md5,-Wall) + $(call cc,spw303v) + $(call cc,srec2bin) + $(call cc,tplink-safeloader md5,-Wall --std=gnu99) + $(call cc,trx) + $(call cc,trx2edips) + $(call cc,trx2usr) + $(call cc,uimage_padhdr,-Wall -lz) + $(call cc,wrt400n cyg_crc32) + $(call cc,xorimage) + $(call cc,zyimage,-Wall) + $(call cc,zytrx,-Wall) + $(call cc,zyxbcm) +endef + +define Host/Install + $(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/ +endef $(eval $(call HostBuild))