aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* treewide: add support for "gc-sections" in PKG_BUILD_FLAGSAndre Heider2023-03-2120-48/+51
| | | | | | | | | | | | | | | This reduces open coding and allows to easily add a knob to enable it treewide, where chosen packages can still opt-out via "no-gc-sections". Note: libnl, mbedtls and opkg only used the CFLAGS part without the LDFLAGS counterpart. That doesn't help at all if the goal is to produce smaller binaries. I consider that an accident, and this fixes it. Note: there are also packages using only the LDFLAGS part. I didn't touch those, as gc might have been disabled via CFLAGS intentionally. Signed-off-by: Andre Heider <a.heider@gmail.com>
* treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16Andre Heider2023-03-2119-26/+30
| | | | | | | Keep backwards compatibility via PKG_USE_MIPS16 for now, as this is used in all package feeds. Signed-off-by: Andre Heider <a.heider@gmail.com>
* build: introduce PKG_BUILD_FLAGS and move PKG_IREMAP to itAndre Heider2023-03-211-2/+14
| | | | | | | | | | | | | | | | | | | PKG_BUILD_FLAGS is a new variable for package Makefiles similar to PKG_FLAGS. It's a whitespace separated list of flags to control various aspects of how a package is build. The build system and/or .config defines the default for each, but every package has the means to override it. Using $flagname enables a flag, no-$flagname disables it. Start with PKG_IREMAP as "iremap". That's easy as no package here nor in any package feed uses it. The default is unchanged: enabled. Packages can opt-out via: PKG_BUILD_FLAGS:=no-iremap (Not that any should, just to illustrate how to use it) Signed-off-by: Andre Heider <a.heider@gmail.com>
* ipq40xx: add support for Wallystech DR40x9Robert Marko2023-03-216-1/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for the Wallys DR40x9 series boards. They come in IPQ4019 and IPQ4029 versions. IPQ4019/4029 only differ in that that IPQ4029 is the industrial version that is rated to higher temperatures. Specifications are: * CPU: Qualcomm IPQ40x9 (4x ARMv7A Cortex A7) at 716 MHz * RAM: 512 MB * Storage: 2MB of SPI-NOR, 128 MB of parallel NAND * USB 3.0 TypeA port for users * MiniPCI-E with PCI-E 2.0 link * MiniPCI-E for LTE modems with only USB2.0 link * 2 SIM card slots that are selected via GPIO11 * MicroSD card slot * Ethernet: 2x GBe with 24~48V passive POE * SFP port (Does not work, I2C and GPIO's not connected on hardware) * DC Jack * UART header * WLAN: In-SoC 2x2 802.11b/g/n and 2x2 802.11a/n/ac * 4x MMCX connectors for WLAN * Reset button * 8x LED-s Installation instructions: Connect to UART, pins are like this: -> 3.3V | TX | RX | GND Settings are 115200 8n1 Boot initramfs from TFTP: tftpboot 0x84000000 openwrt-ipq40xx-generic-wallys_dr40x9-initramfs-fit-uImage.itb bootm Then copy the sysupgrade image to the /tmp folder and execute sysupgrade -n <image_name> The board file binary was provided from Wallystech on March 14th 2023 including full permission to use and distribute. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* ipq-wifi: bump to latest git HEADKoen Vandeputte2023-03-211-3/+3
| | | | | | f9cece0 ipq40xx: add support for Wallystech DR40x9 Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add missing symbols in 5.15Koen Vandeputte2023-03-211-0/+6
| | | | | | Found these while playing around with video support Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: backport eth_addr_add()Rafał Miłecki2023-03-214-4/+86
| | | | | | It's required by upcoming NVMEM layout drivers. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: fix Archer AX23 WiFi MAC address conflictDavid Bauer2023-03-211-4/+1
| | | | | | | | | | The original claim about conflicting MAC addresses is wrong. mac80211 does increment the first octet and sets the LA bit. This means our "workaround" actually leads to the issue while incrementing the last octet is safe. Signed-off-by: David Bauer <mail@david-bauer.net>
* ramips: cudy wr1300v2 reduce SPI freq to 40000000Óscar García Amor2023-03-201-2/+1
| | | | | | | | | Cases have been reported in which certain devices do not boot correctly or have errors. After various tests by users who have such errors it has been concluded that the SPI frequency should be reduced to 40Mhz, at this speed it appears that all devices work correctly. Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
* tools/autoconf-archive: bump to 2023.02.20Linhui Liu2023-03-201-2/+2
| | | | | | Changelog included in package. Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/cmake: bump to 3.26.0Linhui Liu2023-03-203-5/+5
| | | | | | | Release Notes: https://cmake.org/cmake/help/v3.26/release/3.26.html Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: bump to 5.4.2Linhui Liu2023-03-201-2/+2
| | | | | | | Release Notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/libressl: bump to 3.7.1Linhui Liu2023-03-201-3/+2
| | | | | | | Release Notes: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.1-relnotes.txt Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* linux-firmware: update to 20230310Nick Hainke2023-03-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 588dd07 qat: update licence text a03713d rtl_bt: Update RTL8822C BT USB firmware to 0x0CC6_D2E3 63dac62 rtl_bt: Update RTL8822C BT UART firmware to 0x05C6_D2E3 5adebcf WHENCE: remove duplicate File entries d32de23 WHENCE: remove trailing white space 24c9df9 linux-firmware: add fw for qat_4xxx b568bbc Fix symlinks for Intel firmware f49c572 linux-firmware: update firmware for mediatek bluetooth chip (MT7921) db6e357 linux-firmware: update firmware for MT7921 WiFi device 4309412 iwlwifi: update core69 and core72 firmwares for Ty device 4cc3eda rtlwifi: Add firmware v16.0 for RTL8710BU aka RTL8188GU 76ad275 brcm: Add nvram for the Lenovo Yoga Book X90F / X90L convertible 1bc8afb brcm: Fix Xiaomi Inc Mipad2 nvram/.txt file macaddr d02d58a brcm: Add nvram for the Advantech MICA-071 tablet c51488f rtl_bt: Update RTL8852C BT USB firmware to 0xD7B8_FABF 3653d69 rtl_bt: Add firmware and config files for RTL8821CS 7375bcf rtw89: 8852b: update fw to v0.29.29.0 5148670 rtw89: 8852b: update fw to v0.29.26.0 c600840 liquidio: remove lio_23xx_vsw.bin 23afbfe intel: avs: Add AudioDSP base firmware for CNL-based platforms 284e55d intel: avs: Add AudioDSP base firmware for APL-based platforms 289e3a9 intel: avs: Add AudioDSP base firmware for SKL-based platforms c7a57ef ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 6a4e7f6 ath11k: WCN6855 hw2.0: update board-2.bin 0e2486b ath11k: WCN6750 hw1.0: update board-2.bin f48fbe4 ath11k: IPQ5018 hw1.0: add to WLAN.HK.2.6.0.1-00861-QCAHKSWPL_SILICONZ-1 9dacec6 ath11k: IPQ5018 hw1.0: add board-2.bin 15054af ath10k: QCA6174 hw3.0: update firmware-sdio-6.bin to version WLAN.RMH.4.4.1-00174 024cc5e ath10k: WCN3990 hw1.0: update board-2.bin a253a37 cnm: update chips&media wave521c firmware. c0a0bc2 amdgpu: Update GC 11.0.1 firmware 4296b7a intel: catpt: Add AudioDSP base firmware for BDW platforms f79e4ba linux-firmware: Update AMD cpu microcode 1fd4c55 brcm: revert firmware files for Cypress devices 5aa0b27 brcm: restore previous firmware file for BCM4329 device c3f3baa rtw88: 8822c: Update normal firmware to v9.9.14 c1181ae i915: Add DMC v2.11 for MTL 2fd61bc linux-firmware: Add firmware for Cirrus CS35L41 on UM3402 ASUS Laptop a60d908 linux-firmware: Add missing tuning files for HP Laptops using Cirrus Amps a5046f4 i915: Add DMC v2.18 for ADLP 5c11a37 amdgpu: Add VCN 4.0.2 firmware 5fe2d73 amdgpu: Add PSP 13.0.4 firmware a3332f8 amdgpu: Add SDMA 6.0.1 fimware 4535de6 amdgpu: Add GC 11.0.1 firmware 2e93e4c amdgpu: Add DCN 3.1.4 firmware 3435843 iwlwifi: remove old intermediate 5.15+ firmwares 494389c iwlwifi: remove 5.10 and 5.15 intermediate old firmwares 177c593 iwlwifi: remove 5.4 and 5.10 intermediate old firmwares fa3a6d5 iwlwifi: remove 4.19 and 5.4 intermediate old firmwares d11eb6f iwlwifi: remove old unsupported older than 4.14 LTS bb2d42d linux-firmware: update firmware for MT7921 WiFi device 3f0f338 linux-firmware: update firmware for mediatek bluetooth chip (MT7921) f88f1f8 amdgpu: update vangogh firmware Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: bump 5.10 to 5.10.175John Audia2023-03-2037-212/+136
| | | | | | | | | | | | | | Manually rebased: backport-5.10/611-v5.12-net-ethernet-mediatek-support-setting-MTU.patch Removed upstreamed: bcm47xx/patches-5.10/170-bgmac-fix-initial-chip-reset-to-support-BCM5358.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.175&id=cbf11ff3708ff163387da924f80a47ce7c721e9b Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 5.10 to 5.10.174John Audia2023-03-201-2/+2
| | | | | | No patches needed to be rebased. Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 5.10 to 5.10.173John Audia2023-03-2036-90/+81
| | | | | | | | | Manually rebased: ramips/patches-5.10/810-uvc-add-iPassion-iP2970-support.patch All other patches automatically rebased. Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: tcindex classifier has been retiredJohn Audia2023-03-201-1/+0
| | | | | | https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/net/sched?h=v5.10.173&id=18c3fa7a7fdbb4d21dafc8a7710ae2c1680930f6 Signed-off-by: John Audia <therealgraysky@proton.me>
* x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACEJohn Audia2023-03-201-1/+1
| | | | | | | | | | | We use late loading[1] so need to set this option despite upstream adding a kernel taint when this option is set. See discussion in PR#12149 for more details. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v5.10.173&id2=v5.10.172 1. https://github.com/openwrt/openwrt/blob/master/target/linux/x86/base-files/lib/preinit/02_load_x86_ucode Signed-off-by: John Audia <therealgraysky@proton.me>
* mpc85xx: poll PHY statusDavid Bauer2023-03-202-4/+4
| | | | | | | | | | Disable interrupts for the eth-PHYs, as the interrupts are either not firing or lost within the stack. Switch to polling the PHY status in the meantime until a proper fix is implemented. Ref: https://github.com/openwrt/openwrt/issues/12192 Signed-off-by: David Bauer <mail@david-bauer.net>
* mpc85xx: use bootwrapper for ws-ap3825iDavid Bauer2023-03-204-2/+81
| | | | | | | | | | | | | | | The boot-procedure for the Extreme WS-AP3825I is vfragile to put it mildly. It does not relocate the FDT properly. It currently exercises every step manually as well as coming with a pre-padded dtb. Use the PowerPC bootwrapper code for legacy platforms with a pre-filles DTS instead. We still need to ship a fit image to not break the fdt resize / relocate instructions on existing boards. This does not require adapting the U-Boot bootcommand. Ref: https://github.com/openwrt/openwrt/issues/12223 Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: filogic: move ilm, dlm and cpu_boot in dedicated nodesLorenzo Bianconi2023-03-207-0/+522
| | | | | | | | This fixes issues with legacy boot loaders that don't process reserved memory regions outside of system RAM Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: move mediatek flow offload refcount fix and fix a logic errorFelix Fietkau2023-03-201-4/+13
| | | | | | | Move it to pending, since it wasn't actually accepted upstream yet. Fixes potential issues when doing offload between multiple MACs. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bmips: dts: fix switch compatible stringsÁlvaro Fernández Rojas2023-03-204-4/+4
| | | | | | Use the proper string for each SoC. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: add pending bmips patchesÁlvaro Fernández Rojas2023-03-2015-246/+1109
| | | | | | Add patches sent upstream for bmips and b53 and remove downstream ones. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ipq807x: add support for Netgear WAX218Alexandru Gagniuc2023-03-208-2/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Netgear WAX218 is a 802.11ax AP claiming AX3600 support. It is wall or ceiling mountable. It can be powered via PoE, or a 12 V adapter. The board has footprints for 2.54mm UART headers. They're difficult to solder because the GND is connected to a large copper plane. Only try soldering if you are very skilled. Otherwise, use pogo pins. Specifications: --------------- * CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz * RAM: 366 MB of RAM available to OS, not sure of total amount * Storage: Macronix MX30UF2G18AC 256MB NAND * Ethernet: * 2.5G RJ45 port (QCA8081) with PoE input * WLAN: * 2.4GHz/5GHz with 8 antennas * LEDs: * Power (Amber) * LAN (Blue) * 2G WLAN (Blue) * 5G WLAN (Blue) * Buttons: * 1x Factory reset * Power: 12V DC Jack * UART: Two 4-pin unpopulated headers near the LEDs * "J2 UART" is the CPU UART, 3.3 V level Installation: ============= Web UI method ------------- Flashing OpenWRT using the vendor's Web UI is problematic on this device. The u-boot mechanism for communicating the active rootfs is antiquated and unreliable. Instead of setting the kernel commandline, it relies on patching the DTS partitions of the nand node. The way partitions are patched is incompatible with newer kernels. Newer kernels use the SMEM partition table, which puts "rootfs" on mtd12. The vendor's Web UI will flash to either mtd12 or mtd14. One reliable way to boot from mtd14 and avoid boot loops is to use an initramfs image. 1. In the factory web UI, navigate to System Manager -> Firmware. 2. In the "Local Firmware Upgrade" section, click Browse 3. Navigate and select the 'web-ui-factory.fit' image 4. Click "Upload" 5. On the following page, click on "Proceed" The flash proceeds at this point and the system will reboot automatically to OpenWRT. 6. Flash the 'nand-sysupgrade.bin' using Luci or the commandline SSH method ---------- Enable SSH using the CLI or Web UI. The root account is locked out to ssh, and the admin account defaults to Netgear's CLI application. So we need to get creative: First, make sure the device boots from the second firmware partition: ssh -okexalgorithms=diffie-hellman-group14-sha1 admin@<ipaddr> \ /usr/sbin/fw_setenv active_fw 1 Then reboot the device, and run the update: scp -O -o kexalgorithms=diffie-hellman-group14-sha1 \ -o hostkeyalgorithms=ssh-rsa \ netgear_wax218-squashfs-nand-factory.ubi \ admin@<ipaddr>:/tmp/openwrt.ubi ssh -okexalgorithms=diffie-hellman-group14-sha1 admin@<ipaddr> \ /usr/sbin/ubiformat /dev/mtd12 -f /tmp/openwrt.ubi ssh -okexalgorithms=diffie-hellman-group14-sha1 admin@<ipaddr> \ /usr/sbin/fw_setenv active_fw 0 Now reboot the device, and it should boot into a ready-to-use OpenWRT. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com> Tested-by: Francisco G Luna <frangonlun@gmail.com>
* mac80211: ath11k: sync with ath-nextRobert Marko2023-03-2011-0/+2637
| | | | | | | | | | | | Synchronize the ath11k backports with the current ath-next tree. This brings in actually setting the MU-MIMO parameters in HW and 6GHz regulatory support along with some minor resource handling fixes. This allows to easily backport further fixes as cherry picking them has started requiring manual conflict resolution. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mpc85xx: fix incorrect kernel targetDavid Bauer2023-03-201-1/+1
| | | | | | | | | | | | | | | The wrapper-image for the WL-WDR4900 was used as a build-target for the kernel. This workd fine as long as only a single wrapper is used with the OpenWrt build-system. If additional wrappers are used, the build becomes racy in the wrapper-stage. The wrapper images actually do not represent a target. They are built based on the kernel configuration. Only copy the resulting images to avoid race-conditions as explained. Signed-off-by: David Bauer <mail@david-bauer.net>
* mpc85xx: remove Watchguard T10 MAC overrideDavid Bauer2023-03-201-5/+0
| | | | | | | | As the mac-address readout never worked, the mac-address fillout by the bootloader is sufficient. Remove the readout for the Watchguard T10 then. Signed-off-by: David Bauer <mail@david-bauer.net>
* mpc85xx: fix missing system importDavid Bauer2023-03-201-0/+1
| | | | | | | The mac-address accessor functions were not included in the sourced script. Fix this by importing the correct script path. Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: Add CONFIG_KERNEL_HARDLOCKUP_DETECTORHauke Mehrtens2023-03-192-0/+13
| | | | | | | Make it possible to change the kernel configuration option CONFIG_HARDLOCKUP_DETECTOR from OpenWrt. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* kernel: Deactivate options shown with CONFIG_KERNEL_KCOV=yHauke Mehrtens2023-03-191-0/+1
| | | | | | | This sets the CONFIG_KCOV_IRQ_AREA_SIZE kernel configuration option to its default value. This is shown when I set CONFIG_KERNEL_KCOV=y in the OpenWrt configuration on x86/64. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* kernel: Deactivate options shown with CONFIG_KERNEL_KASAN=yHauke Mehrtens2023-03-191-0/+2
| | | | | | | | | This deactivates some kernel configuration options I see when CONFIG_KERNEL_KASAN=y is set in the OpenWrt configuration on x86/64. Set CONFIG_STACK_HASH_ORDER to its default value. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* kernel: Set some options to default shown with CONFIG_KERNEL_UBSAN=yHauke Mehrtens2023-03-191-0/+5
| | | | | | | | This sets some kernel configuration options to their default values. I saw these as warnings when I set CONFIG_KERNEL_UBSAN=y is set in the OpenWrt configuration on x86/64. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* kernel: Deactivate options shown with CONFIG_KERNEL_DYNAMIC_FTRACE=yHauke Mehrtens2023-03-191-0/+1
| | | | | | | This deactivates some kernel configuration options I see when CONFIG_KERNEL_DYNAMIC_FTRACE=y is set in the OpenWrt configuration on x86/64. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* kernel: Deactivate options shown with CONFIG_KERNEL_HIST_TRIGGERS=yHauke Mehrtens2023-03-191-0/+2
| | | | | | | This deactivates some kernel configuration options I see when CONFIG_KERNEL_HIST_TRIGGERS=y is set in the OpenWrt configuration on x86/64. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* kernel: Deactivate options shown with CONFIG_KERNEL_DEBUG_VIRTUAL=yHauke Mehrtens2023-03-191-0/+1
| | | | | | | This deactivates some kernel configuration options I see when CONFIG_KERNEL_DEBUG_VIRTUAL=y is set in the OpenWrt configuration on x86/64. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* kernel: Deactivate options shown with CONFIG_KERNEL_DEBUG_VM=yHauke Mehrtens2023-03-191-0/+3
| | | | | | | This deactivates some kernel configuratoion options I see when CONFIG_KERNEL_DEBUG_VM=y is set in the OpenWrt configuration on x86/64. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* tools: update elf.hMathew McBride2023-03-191-215/+1535
| | | | | | | | | | | | | | | | | | | | | | OpenWrt contains a 2012 copy of glibc's elf.h, which predates the introduction of some newer architectures like Arm64 and RISC-V. Linux 5.13 introduced the "gen-hyprel" tool into the kernel compile (when virtualization/KVM is enabled) which requires EM_AARCH64 to be defined. arch/arm64/kvm/hyp/nvhe/gen-hyprel.c: In function 'init_elf': arch/arm64/kvm/hyp/nvhe/gen-hyprel.c:289:43: error: 'EM_AARCH64' undeclared (first use in this function); did you mean 'EM_IA_64'? 289 | assert_eq(elf16toh(elf.ehdr->e_machine), EM_AARCH64, "%u"); | ^~~~~~~~~~ Update the copy of elf.h from the latest glibc to fix this. Compile-tested: ath79, armvirt, mpc85xx, x86 Run-tested: armvirt Signed-off-by: Mathew McBride <matt@traverse.com.au>
* mac80211: mark patches accepted upstreamNick Hainke2023-03-1915-0/+0
| | | | | | Add kernel tags to the patches that got accepted upstream. Signed-off-by: Nick Hainke <vincent@systemli.org>
* ipq-wifi: bump to latest git HEADKristjan Krušič2023-03-191-3/+3
| | | | | | | 31ff96d ipq806x: add support for Nokia Airscale AC400i 1af1df2 ath11k: ipq8074: add Netgear WAX218 Signed-off-by: Kristjan Krušič <kristjan.krusic@krusic22.com>
* ipq806x: add support for Nokia Airscale AC400iKristjan Krušič2023-03-198-0/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- SoC: Qualcomm IPQ8065 RAM: 512 MB DDR3 Flash: 256 MB NAND (Macronix MX30UF2G18AC) (split into 2x128MB) 4 MB SPI-NOR (Macronix MX25U3235F) WLAN: Qualcomm Atheros QCA9984 - 2.4Ghz Qualcomm Atheros QCA9984 - 5Ghz ETH: eth0 - POE (100Mbps in U-Boot, 1000Mbps in OpenWrt) eth1 - (1000Mbps in both) Auto-negotiation broken on both. USB: USB 2.0 LED: 5G, 2.4G, ETH1, ETH2, CTRL, PWR (All support green and red) BTN: Reset Other: SD card slot (non-functional) Serial: 115200bps, near the Ethernet transformers, labeled 9X. Connections from the arrow to the 9X text: [NC] - [TXD] - [GND] - [RXD] - [NC] Installation ------------ 0. Connect to the device Plug your computer into LAN2 (1000Mbps connection required). If you use the LAN1/POE port, set your computer to force a 100Mbps link. Connect to the device via TTL (Serial) 115200n8. Locate the header (or solder pads) labeled 9X, near the Ethernet jacks/transformers. There should be an arrow on the other side of the header marking. The connections should go like this: (from the arrow to the 9X text): NC - TXD - GND - RXD - NC 1. Prepare for installation While the AP is powering up, interrupt the startup process. MAKE SURE TO CHECK YOUR CURRENT PARTITION! If you see: "Current Partition is : partB" or "Need to switch partition from partA to partB", you have to force the device into partA mode, before continuing. This can be done by changing the PKRstCnt to 5 and resetting the device. setenv PKRstCnt 5 saveenv reset After you interrupt the startup process again, you should see: Need to switch partition from partB to partA You can now continue to the next step. If you see: "Current Partition is : partA", you can continue to the next step. 2. Prevent partition switching. To prevent the device from switching partitions, we are going to modify the startup command. set bootcmd "setenv PKRstCnt 0; saveenv; bootipq" setenv 3. First boot Now, we have to boot the OpenWrt intifs. The easiest way to do this is by using Tiny PXE. You can also use the normal U-Boot tftp method. Run "bootp" this will get an IP from the DHCP server and possibly the firmware image. If it doesn't download the firmware image, run "tftpboot". Now run "bootm" to run the image. You might see: "ERROR: new format image overwritten - must RESET the board to recover" this means that the image you are trying to load is too big. Use a smaller image for the initial boot. 4. Install OpenWrt from initfs Once you are booted into OpenWrt, transfer the OpenWrt upgrade image and use sysupgrade to install OpenWrt to the device. Signed-off-by: Kristjan Krušič <kristjan.krusic@krusic22.com>
* lantiq: xway: add phy reset pin to AVM Fritz!Box 7320Aleksander Jan Bajkowski2023-03-191-0/+17
| | | | | | | | | | This commit adds the PHY reset gpio for the LAN1 port to the dts. According to the GPL sources, gpios 34 and 36 are used on the AVM FritzBox 7320 and 7330. The second port is unsupported. The gpio assignment has been verified on the FritzBox 7330. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
* nftables: update to 1.0.7Nick Hainke2023-03-191-2/+2
| | | | | | | Release Notes: https://marc.info/?l=netfilter-devel&m=167873533214563&w=2 Signed-off-by: Nick Hainke <vincent@systemli.org>
* libnftnl: update to 1.2.5Nick Hainke2023-03-191-3/+3
| | | | | | | | | Upstream switched to "tar.xz". Release Notes: https://www.spinics.net/lists/netfilter/msg61016.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* ipq40xx: mf18a: rename wifi0 calibration variant to ZTE-MF18AChristian Marangi2023-03-181-1/+1
| | | | | | | Rename wifi0 calibration variant to ZTE-MF18A to allign to BDF changes for ZTE MF18A. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq-wifi: bump to latest git HEADChristian Marangi2023-03-181-2/+2
| | | | | | 86180c4 ath10k-firmware: IPQ4019 hw1.0: Rename variant to ZTE MF18A specific BDF Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq-wifi: bump to latest git HEADChristian Marangi2023-03-181-3/+3
| | | | | | | 1f35a8c ath10k-firmware: IPQ4019 hw1.0: Add variant to Teltonika RUTX10 specific BDF a49672f ath10k-firmware: QCA99X0 hw2.0: Add variant to ZTE MF18A specific BDF Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: rutx10: Add missing variant to ath10k wifiChristian Marangi2023-03-181-0/+10
| | | | | | | Add missing variant to ath10k wifi to allign to BDF changes for Teltonika RUTX10. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: mf18a: Add missing variant to PCI ath10k cardChristian Marangi2023-03-181-0/+1
| | | | | | | Add missing variant to PCI ath10k card to allign to BDF changes for ZTE MF18A. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>