aboutsummaryrefslogtreecommitdiff
path: root/target
Commit message (Collapse)AuthorAge
...
* mediatek: filogic: migrate Zyxel NWA50AX Pro to upstream PHY LED controlAleksander Jan Bajkowski2025-03-01
| | | | | | | This commit switches the control of the leds connected to the Maxlinear GPY211C PHY to an upstream solution. There should be no functional changes. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
* realtek: Drop redundant LED labelsSander Vanheule2025-02-28
| | | | | | | | Some devices have both the color/function and label property defined. The label can be constructed from the former properties, making it redundant. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: Add status LED for Netgear GS310TPSander Vanheule2025-02-28
| | | | | | | Power LED is identical to GS308T. Link: https://forum.openwrt.org/t/222970/11 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: add thermal zones for SFP sensors on SKS8300-8XBjørn Mork2025-02-27
| | | | | | | | | Create thermal zones for SFP internal sensors, enabling shutdown on critical temperatures. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17967 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: add thermal zones for SFP sensors on GS1900-10HPBjørn Mork2025-02-27
| | | | | | | | | Create thermal zones for SFP internal sensors, enabling shutdown on critical temperatures. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17967 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: thermal driver for rtl838x and rtl930x SoCsBjørn Mork2025-02-27
| | | | | | | | Add simple driver reading the internal temperature sensor. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17967 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* kernel: kmod-btmtk: Extract btmtk.ko into own packageHauke Mehrtens2025-02-26
| | | | | | | | | btmtk.ko is used by btusb.ko and btmtkuart.ko, add it into an own package and make both packages depend on it. Fixes: 1c42a0be3619 ("kernel: modules: bluetooth: separating UART and USB drivers") Link: https://github.com/openwrt/openwrt/pull/18110 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* realtek: rtl930x: sgmii supportBjørn Mork2025-02-25
| | | | | | | | | | | | | This makes sgmii work for 1000Base-T SFPs by stupidly adding the sgmii mode wherever 1000base-x is accepted. No intelligence has been used in the process. But it "works for me". There is an obvious need for refactoring this code to make it more obvious how and why we configure the mac/phy link like we do for different modes. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: rtl93xx: mdio-smbus support for clause 45 and Rollball SFPsBjørn Mork2025-02-25
| | | | | | | | | These features have been added to the mdio-i2c driver and are now used by the sfp driver. The support is required for some newer SFPs. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: rtl93xx: support SFPs with physBjørn Mork2025-02-25
| | | | | | | | | | | | | | | | | | | This driver use "phy-handle" as a placeholder for mac configuration data. Such handles are therefore required for all ports - even those connected directly to SFP slots and having a managed property set to "in-band-status". The DSA core will register these nodes as if they are real phys. This prevents later attachment of pluggable phys with errors like sfp sfp-p8: sfp_add_phy failed: -EBUSY Replace the virtual SFP slot handles with "pseudo-phy-handle" to keep the driver logic as-is but hide the node from the DSA core. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: sfp: add mdio bus only for sfps with a phyBjørn Mork2025-02-25
| | | | | | | | | | The SMBus patch broke the logic and caused the driver to always register an mdio bus, regardless of the sfp. Restore original logic. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: sfp: prevent duplicate hwmon devices when re-probing on interface upBjørn Mork2025-02-25
| | | | | | | | | Re-probing on interface up will register a new duplicate hwmon device. Skip the hwmon probe if we already have a sensor device. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: i2c-rtl9300: fix crash on block transfersBjørn Mork2025-02-25
| | | | | | | | | | Fix a typo which resulted in wrong .read hooks and unset .write hooks. This made I2C_SMBUS_BLOCK_DATA transfers dereference the NULL .write hook and Oops. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: dsa: silence debug log noiseBjørn Mork2025-02-25
| | | | | | | | | | The log noise emmitted by this driver is overwhelming, even for developers looking at specific issues. Demoting to debug allows individual messages to be dynamically enabled instead. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: dsa: silence log noise on route offloadBjørn Mork2025-02-25
| | | | | | | | | | | | | | | | | Adding a static IPv4 route made the driver repeatedly print rtl83xx_l3_nexthop_update: Setting up fwding: ip 192.168.1.42, GW mac 0000001b21a7xxxx Route with id 3 to 192.168.99.0 / 24 rtl83xx_l3_nexthop_update: total packets: 0 Warning: TEMPLATE_FIELD_RANGE_CHK: not configured These messages are only useful to developers while debugging offloading. Demote to debug level, which in general is more useful for developers by allowing precise dynamic control. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/17950 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* qualcommax: fix upgrade function for Linksys MX dual boot devicesPaweł Owoc2025-02-24
| | | | | | | | | Function remove_oem_ubi_volume was called before CI_UBIPART variable was defined. Fixes: https://github.com/openwrt/openwrt/commit/df1f6e1e186a99b2180abac5da87f071b7f6b3fa (qualcommax: ipq807x: Remove OEM UBI volume before upgrade for Linksys MX devices) Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18090 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: fix IPv6 TCP GSO segmentation with NATFelix Fietkau2025-02-24
| | | | | | | Add missing checksum update Fixes: https://github.com/openwrt/openwrt/issues/15857 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* linux: use packages kmod-hci-uart and kmod-btusb instead of kmod-bluetoothPaweł Owoc2025-02-24
| | | | | | | | Use Bluetooth UART and USB packages separetly. Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15118 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* realtek: ONTi ONT-S508CL-8S is a relabeled XikeStor SKS8300-8XBjørn Mork2025-02-23
| | | | | | | | | | | | Both hardware and firmware of these devices appears identical except for the manufacturers logo and device name. The documented XikeStor SKS8300-8X installation method is verified to work on the ONTi ONT-S508CL-8S using Openwrt images made for the XikeStor SKS8300-8X. This includes the OEM boot loader magic password phrases. Signed-off-by: Bjørn Mork <bjorn@mork.no> Link: https://github.com/openwrt/openwrt/pull/18071 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* kernel: bump 6.6 to 6.6.79John Audia2025-02-23
| | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.79 Manually rebased: ramips/patches-6.6/810-uvc-add-iPassion-iP2970-support.patch All other patches automatically rebased. Build system: x86/64 Build-tested: bcm27xx/bcm2712, filogic/glinet_gl-mt6000, filogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Run-tested: bcm27xx/bcm2712, filogic/glinet_gl-mt6000, filogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/18066 Signed-off-by: Nick Hainke <vincent@systemli.org>
* sunxi: enable usbgadget featureChukun Pan2025-02-22
| | | | | | | | | The USB of most sunxi devices works in otg or peripheral mode. Enable this feature to use usbgadget. Tested on OrangePi Zero3. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250221140105.250920-1-amadeus@jmu.edu.cn/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* realtek: add PoE enable line to Netgear GS310TPSander Vanheule2025-02-22
| | | | | | | | | | | | | | By switching to the new RTL8231 driver in commit b7af54d5c18c ("realtek: Simple conversions to RTL8231 MFD driver"), the bootloader state of the RTL8231's pins is now maintained. As the bootloader de-asserts the PoE enable signal, this means PoE output is no longer available. Add a gpio-hog with high output, restoring the line value from when the pin was configured (by default) as an input with a pull-up resistor. This will hard-enable the PoE output, but the individual ports can still be administratively disabled by realtek-poe or a similar tool. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* imagebuilder: fix addition of local packagesKuan-Yi Li2025-02-21
| | | | | | | | | | | | | Since alpinelinux/apk-tools@460d62ee743c, relative paths are no longer accepted in repositories file. Add local repository in APK command instead to fix this issue. Fixes: 83d2d21904e0 ("apk: update to Git HEAD (2025-02-08)") Fixes: https://github.com/openwrt/openwrt/issues/18032 Signed-off-by: Kuan-Yi Li <kyli@abysm.org> Link: https://github.com/openwrt/openwrt/pull/18048 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq40xx: convert GL.iNet GL-S1300 to DSANick Hainke2025-02-20
| | | | | | | | | Convert the router to DSA. Co-Developed-by: Matt Beaumont <github@beaum.xyz> Tested-by: Matt Beaumont <github@beaum.xyz> Link: https://github.com/openwrt/openwrt/pull/12478 Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: bump 6.6 to 6.6.78John Audia2025-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.78 Removed upstreamed: bcm27xx/patches-6.6/950-0487-drivers-media-imx296-Add-standby-delay-during-probe.patch[1] mediatek/patches-6.6/256-clk-mediatek-mt2701-vdec-fix-conversion-to-mtk_clk_s.patch[2] mediatek/patches-6.6/257-clk-mediatek-mt2701-aud-fix-conversion-to-mtk_clk_si.patch[3] mediatek/patches-6.6/258-clk-mediatek-mt2701-bdp-add-missing-dummy-clk.patch[4] mediatek/patches-6.6/259-clk-mediatek-mt2701-mm-add-missing-dummy-clk.patch[5] mediatek/patches-6.6/260-clk-mediatek-mt2701-img-add-missing-dummy-clk.patch[6] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.78&id=25abffee5ceb6691ecd4f089be2bb28842e2d2fd 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.78&id=b6c5237ab7af82c9f1d8d772dbf309bb4aadfdbb 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.78&id=20210b5c775d2d96f706591c64bc2ad975c37eaf 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.78&id=a1fa3dda6bf0b7ecd95fa8f9125e5486b699a81f 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.78&id=fc60e9357f15372698da373ee76de8f52d22aac2 6. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.78&id=6f4868e6b2887b55531bc8e0a4106ef0150e6326 Build system: x86/64 Build-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Run-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/18000 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq50xx: Linksys MX remove superfluous properties and fix ↵George Moussalem2025-02-20
| | | | | | | | | | | | | | | | | | | indentation On the ipq50xx platform, the internal GE PHY at phy address 7 on mdio0 must be enabled as it's used to detect the virtual switch in qca-ssdk. This is a platform wide condition and is therefore part of the dtsi. However, by enabling the mdio0 bus in board-specific dts files, the ge_phy is implicitly enabled. So, let's remove the superfluous status property in the dts files for Linksys MX2000 and MX5500. While at it, remove the redundant phy-mode property as it's set to sgmii by default in the ipq5018-ess.dtsi file and fix indentation in the firmware property of the q5v6_wcss node. Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18029 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq50xx: use ascii-env driver to set mac address for Linksys MX ↵George Moussalem2025-02-20
| | | | | | | | | | | devices The ascii-env driver enables reading name pair values from nand in ascii layout. So, let's pick up and set the mac address accordingly. Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18029 Signed-off-by: Robert Marko <robimarko@gmail.com>
* nvmem: layouts: ascii-env handle CRLF while parsingGeorge Moussalem2025-02-19
| | | | | | | | | Add validation and support for parsing of name/value pairs with CRLF line endings. Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17935 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* sunxi: add support for Merrii Hummingbird A31Zoltan HERPAI2025-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | Specifications: - SoC: Allwinner A31 @ 1GHz - DRAM: 1/2Gb DDR3 - SD-card slot - NAND: 8/16Gb MLC - Ethernet: 1x 10/100/1000Mbps (RTL8211E) - Wireless: Ampak AP6210 (BCM43362) - 2x USB2.0 - 1x mPCIe slot for 4G cards - 1x SIM slot - HDMI/VGA via simplefb - RTC with battery - Power via DC12V / 3A Installation: Use the standard sunxi installation to an SD-card. NAND is not supported. This is to re-add proper support for an older device. Link: https://openwrt.org/toh/merrii/hummingbird Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: add missing patch descriptionDaniel Golle2025-02-18
| | | | | | | | Add missing patch description, so all generic patches can be applied to a kernel tree using 'git am'. Fixes: d23e0a0086 ("kernel: backport MHI patch required by an upcoming mac80211 update") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qualcommax: ipq50xx: sysupgrade: fix OEM UBI volume name for Linksys MX devicesGeorge Moussalem2025-02-18
| | | | | | | | | | The UBI volume name in OEM firmware for Linksys MX2000, MX5500, and SPNMX56 is 'squashfs' instead of 'rootfs'. So let's update the volume accordingly. Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17968 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq50xx: add support for Linksys SPNMX56George Moussalem2025-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SPNMX56 is an ISP-branded and distributed device similar to the MX5500 with the same Wifi chips (IPQ5018 for 2.4G and QCN9074 for 5G) but has an additional QCA8081 PHY providing a 2.5gbps ethernet WAN port. Speficiations: * SoC: Qualcomm IPQ5018 (64-bit dual-core ARM Cortex-A53 @ 1.0Ghz) * Memory: Winbond W634GU6NB-11 (512 MiB DDR3-933) * Serial Port: 3v3 TTL 115200n8 * Wi-Fi: IPQ5018 (2x2 2.4 Ghz 802.11b/g/n/ax) QCN9024 (4x4:4 5 Ghz 802.11an/ac/ax) * Ethernet: IPQ5018 integrated virtual switch connected to an external QCA8337 switch (3 Ports 10/100/1000 GBASE-T) and a QCA8081 phy (up to 2.5 Gbps) * Flash: Gigadevice GD5F2GM7RExxG (256 MiB) * LEDs: 1x multi-color PWM LED * Buttons: 1x WPS (GPIO 27 Active Low) 1x Reset (GPIO 28 Acive Low) Flash instructions: 1. On OEM firmware, login to the device (typically at http://192.168.1.1) and click 'CA' in the bottom right corner -> Connectivity -> Manual Upgrade. Alternatively, browse to http://<router IP>/fwupdate.html Upload openwrt-qualcommax-ipq50xx-linksys_spnmx56-squashfs-factory.bin Optionally flash 2nd partition, after first boot check actual partition: fw_printenv -n boot_part and install firmware on second partition using command in case of 2: mtd -r -e kernel -n write openwrt-qualcommax-ipq50xx-linksys_spnmx56-squashfs-factory.bin kernel and in case of 1: mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq50xx-linksys_spnmx56-squashfs-factory.bin alt_kernel 2. Installation using serial connection from OEM firmware hit Enter once booted and enter credentials (login: root, password: admin) fw_printenv -n boot_part In case of 2: flash_erase /dev/mtd12 0 0 nandwrite -p /dev/mtd12 openwrt-qualcommax-ipq50xx-linksys_spnmx56-squashfs-factory.bin or in case of 1: flash_erase /dev/mtd14 0 0 nandwrite -p /dev/mtd14 openwrt-qualcommax-ipq50xx-linksys_spnmx56-squashfs-factory.bin After first boot install firmware on second partition: mtd -r -e kernel -n write openwrt-qualcommax-ipq50xx-linksys_spnmx56-squashfs-factory.bin kernel or: mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq50xx-linksys_spnmx56-squashfs-factory.bin alt_kernel 3. Back to the OEM firmware. Download firmware from OEM website: Firmware for this device cannot be searched for on the Linksys website. Instead, we'd have to use serial to intercept the URL of the firmware while it's trying to update. Firmware is ISP specific: Toob (UK): http://download.linksys.com/updates/20241125t080737/FW_MX56TB_1.0.1.216218_prod.img The intention is to collect URLs for different ISPs on a wiki page. From serial or SSH: fw_printenv boot_part in case of 1: mtd -r -e alt_kernel -n write FW_MX56TB_1.0.1.216218_prod.img alt_kernel else in case of 2: mtd -r -e kernel -n write FW_MX56TB_1.0.1.216218_prod.img kernel Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17968 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: mtk_eth_soc: dump registers on forced resetDaniel Golle2025-02-18
| | | | | | | | | | Import patch from MediaTek's SDK to hack-6.6 which dumps all relevant registers of the Ethernet controller in case of a forced reset. This can help to debug and find the cause for sporadic resets seen on Filogic SoCs when used with OpenWrt's Linux 6.6. Link: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/73d44392b8556c5fdd13728c1b56ce2abfe280df Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: Add support for Mercusys MR1800X as alt name of MR70XRobert Senderek2025-02-17
| | | | | | | | | Both share the same OEM firmware but differ in product_name for safeloader product_name:MR1800X,product_ver:1.0.0,special_id:45550000 Signed-off-by: Robert Senderek <robert.senderek@10g.pl> Link: https://github.com/openwrt/openwrt/pull/17965 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: improve MT7621S core detectionMieczyslaw Nalewaj2025-02-17
| | | | | | | | | | | | | | | | | The proposed detection method was based on reading the LAUNCH_FREADY core flag. However, this method only works before the cores are launched. For this reason, the core number detection method has been changed to a simpler one. For mt6721s the 17th revision bit is zero, hence we know that it is this chip, so the number of cores is 1. Fixes: https://github.com/openwrt/openwrt/issues/17764 Tested-by: Enrico Mioso <mrkiko.rs@gmail.com> Tested-by: Simon Etzlstorfer <simon@etzi.at> Tested-by: Mauri Sandberg <maukka@ext.kapsi.fi> Co-authored-by: Shiji Yang <yangshiji66@qq.com> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/17834 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: receive all bridged multicast packets if IFF_ALLMULTI is setFelix Fietkau2025-02-17
| | | | | | Fixes issues with odhcpd, especially in relay mode Signed-off-by: Felix Fietkau <nbd@nbd.name>
* qualcommax: add support for Aliyun AP8220Chukun Pan2025-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aliyun AP8220 is an AP manufactured by Edgecore. (Very similar to Edgecore EAP102) Hardware specifications: SoC: Qualcomm IPQ8071A RAM: 1GB of DDR4 600MHz Flash1: MX25U3235F 4MB Flash2: MX30UF1G18AC 128MB Ethernet: 2x 2.5G RJ45 port USB: 2x USB-A 2.0 port WiFi1: QCN5024 2.4GHz WiFi2: QCN5054 5GHz Power: DC 12V / PoE Flash instructions: 1. Connect the router via serial port 2. Keep pressing @ until uboot is interrupted 3. Download the initramfs image, rename it to initramfs.bin, host it with tftp server 4. Run these commands: tftpboot initramfs.bin bootm 5. After openwrt boots up, use scp or luci to upload sysupgrade.bin to upgrade. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://github.com/openwrt/openwrt/pull/17970 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: cleanup network script indentChukun Pan2025-02-17
| | | | | | | | Cleanup 02_network script indentation. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://github.com/openwrt/openwrt/pull/17970 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: filogic: fix sysupgrade for ex5601-t0-stockPietro Ameruoso2025-02-16
| | | | | | | | fix undesired red warning when upgrading in place ex5601-t0-stock model. Signed-off-by: Pietro Ameruoso <p.ameruoso@live.it> Link: https://github.com/openwrt/openwrt/pull/17973 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: fixes for Keenetic KN-1613,1711,1713,1910Anton Yu. Ivanusev2025-02-16
| | | | | | | | | | Fixed the 5G mac address on KN-1910, rolled back the image size to stock (there are no errors with loading large images in version 24.10.0), minor spelling errors. Signed-off-by: Anton Yu. Ivanusev <ivanusevanton@yandex.ru> Link: https://github.com/openwrt/openwrt/pull/17946 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: Add alternate support for TP-Link FR205Raylynn Knight2025-02-16
| | | | | | | | | | | This is a MT7621-based device with 128MB NAND flash, 256MB RAM, and a USB port. It is identical hardware to the already supported TP-Link ER605 v2 right down to the PCB ID. The only differences are the color of the case and the factory firmware features. Signed-off-by: Raylynn Knight <rayknight@me.com> Link: https://github.com/openwrt/openwrt/pull/17728 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* imx: cortexa53: fix sysupgrade image device support for veniceTim Harvey2025-02-16
| | | | | | | | | Set the SUPPORTED_DEVICES Device var so that sysupgrade images are supported without a force. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/17964 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* imx: cortexa53: add 'gateworks,imx8m*' to sysupgrade board checksTim Harvey2025-02-16
| | | | | | | | | | The upstream device-tree files are now using 'gateworks' instead of 'gw' for compatible. Add this pattern so that the newer boards support sysupgrade. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/17964 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: filogic: upstream LEDs control on 2.5G ports on EX5601Aleksander Jan Bajkowski2025-02-16
| | | | | | | | | | | | This commit switches the control of the leds connected to the Maxlinear GPY211C PHY to an upstream solution. The behaviour of LED1 is the same as before. The behaviour of 2.5G-WAN LED has been changed. It is only active when a 2.5G link is detected, which matches the stock software. Additionally, the name of the WAN led has been changed to INTERNET. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17952 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* octeon/generic: ubnt,erlite: define profileFabian Groffen2025-02-16
| | | | | | | | | | | | | | Currently the erlite install shows Model as EBNT_E100, uses eth0 as lan, eth1 as wan, and doesn't use eth2. - define dts for this device, such that we get a cleaner naming here - fix handing of this device to inlude eth2 - change eth0 to wan, like er-4/usg/etc as it once was intended Fixes: https://github.com/openwrt/openwrt/issues/14946 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Link: https://github.com/openwrt/openwrt/pull/17758 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: apply bootloader work-around for affected ASUS devicesDaniel Golle2025-02-15
| | | | | | | | Apply "u-boot-dont-touch-spi-nand" to ASUS RT-AX59U, ASUS TUF-AX4200 as well as ASUS TUF-AX6000 routers to prevent U-Boot from wiping MTD child nodes from DT. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: add work-around for ASUS bootloader MTD behaviorDaniel Golle2025-02-15
| | | | | | | | | | | | | | | | | | | | | | ASUS makes use of U-Boot's fdt_fixup_mtdparts() function which applies the partitions defined in U-Boot's mtdparts and mtdids environment variables to the devicetree passed over to Linux. The undesired side-effect is that in this way also all additional properties and child nodes get wiped, preventing NVMEM cells to be defined for MTD partitions or UBI volumes. To work-around this issue, add an additional compatible string 'u-boot-dont-touch-spi-nand' which can be used instead of 'spi-nand' in case the replacement of the MTD partitions by U-Boot should be skipped alltogether. In practise this is mostly relevant for SPI-NAND which anyway comes only with two partitions nowadays: 'Bootloader' and 'UBI_DEV'. Hence this work-around is applicable for SPI-NAND only. Similar work-arounds for other MTD devices can be created as well should they actually be needed. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* gemini: Convert to use module for Realtek switchLinus Walleij2025-02-14
| | | | | | | | | | | | | Only the DIR-685 uses a Realtek DSA switch currently so convert this platform to load it from a module and save memory on all other devices. At the same time drop the rt2800 PCI package that this device actually isn't using, it needs an out-of-tree wireless driver. Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250207-gemini-rtl-dsa-module-v3-1-e25a3df8bdc0@linaro.org/ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* Revert "Revert "ramips: mt7620: fix patching mac address in caldata""Shiji Yang2025-02-13
| | | | | | | | | | | | This reverts commit f628467dfd6b32ead172d33a2593f04901395343. The initial fix was correct. However, a recently introduced bug in base-files can cause some unexpected byte overwriting in eeprom. Since it has been fixed, let's accept this patch again. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17892 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: mt7620: add missing PA/LNA pinctrl for Linksys E1700Shiji Yang2025-02-13
| | | | | | | | | | | This device has high-power external PA and LNA[1]. So we must configure PA/LNA pins to make the wireless work properly. [1] https://fccid.io/Q87-E1700/Internal-Photos/Internal-Photos-pdf-2135639.pdf Fixes: https://github.com/openwrt/openwrt/issues/7959 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17892 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>