aboutsummaryrefslogtreecommitdiff
path: root/target/linux
Commit message (Collapse)AuthorAge
...
* kernel/x86: update config for kernel 6.12Mieczyslaw Nalewaj2025-04-30
| | | | | | | | Update target x86 config for kernel 6.12. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* x86: 6.12: manually rebuilding patchesJohn Audia2025-04-30
| | | | | | | | | Manually rebuilding patches: - 103-pcengines_apu6_platform.patch Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/x86: Restore kernel files for v6.6Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/x86: Create kernel files for v6.12 (from v6.6)Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: remove outdated kernel symbolsMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | Symbols that no longer exist in 6.12 were removed by a script [1]. [1] https://github.com/openwrt/openwrt/pull/15324 Co-authored-by: Mantas Pucka <mantas@8devices.com> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: add missing symbolsMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | These symbols only become visible when some packages or kernel debug options get enabled. Move them to generic. Co-authored-by: Mantas Pucka <mantas@8devices.com> Co-authored-by: Mathew McBride <matt@traverse.com.au> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: refresh hack patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | Refreshed patches for generic/hack-6.12 by running make target/linux/refresh Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: manually rebuild hack patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | Manually rebuild hack patches: - 200-tools_portability.patch - 204-module_strip.patch - 210-darwin_scripts_include.patch - 251-kconfig.patch - 421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch - 610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch - 721-net-add-packet-mangeling.patch - 725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch - 760-net-usb-r8152-add-LED-configuration-from-OF.patch - 800-GPIO-add-named-gpio-exports.patch - 901-debloat_sock_diag.patch - 902-debloat_proc.patch - 904-debloat_dma_buf.patch - 910-kobject_uevent.patch - 911-kobject_add_broadcast_uevent.patch - 930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> [ improve commit title ] Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: refresh pending patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | Refreshed patches for generic/pending-6.12 by running make target/linux/refresh Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: move MIPS reloc patch from pending to hack and reworkChristian Marangi2025-04-30
| | | | | | | | | | | Move MIPS reloc patch from pending to hack and rework it to adapt to new kernel 6.12 version. This required an additional patch. While at it also improve the text with the original info without cut. Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: manually rebuild pending patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manually rebuild pending patches: - 103-kbuild-export-SUBARCH.patch - 141-jffs2-add-RENAME_EXCHANGE-support.patch - 200-ARM-9404-1-arm32-fix-boot-hang-with-HAVE_LD_DEAD_COD.patch - 203-kallsyms_uncompressed.patch - 270-platform-mikrotik-build-bits.patch - 308-mips32r2_tune.patch - 330-MIPS-kexec-Accept-command-line-parameters-from-users.patch - 402-mtd-spi-nor-write-support-for-minor-aligned-partitions.patch - 451-block-partitions-populate-fwnode.patch - 476-mtd-spi-nor-add-eon-en25q128.patch - 477-mtd-spi-nor-add-eon-en25qx128a.patch - 479-mtd-spi-nor-add-xtx-xt25f128b.patch - 481-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch - 482-mtd-spi-nor-add-gd25q512.patch - 484-mtd-spi-nor-add-esmt-f25l16pa.patch - 485-mtd-spi-nor-add-xmc-xm25qh128c.patch - 488-mtd-spi-nor-add-xmc-xm25qh64c.patch - 490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch - 497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch - 498-mtd-spi-nor-locking-support-for-MX25L6405D.patch - 510-block-add-uImage.FIT-subimage-block-driver.patch - 530-jffs2_make_lzma_available.patch - 630-packet_socket_type.patch - 666-Add-support-for-MAP-E-FMRs-mesh-mode.patch - 681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch - 700-netfilter-nft_flow_offload-handle-netdevice-events-f.patch - 702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch - 706-net-phy-populate-host_interfaces-when-attaching-PHY.patch - 711-03-net-dsa-qca8k-add-support-for-port_change_master.patch - 734-net-ethernet-mediatek-enlarge-DMA-reserve-buffer.patch - 736-03-net-ethernet-mtk_eth_soc-improve-keeping-track-of-of.patch - 737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch - 739-03-net-pcs-pcs-mtk-lynxi-add-platform-driver-for-MT7988.patch - 801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch - 809-01-nvmem-core-generalize-mac-base-cells-handling.patch - 811-pci_disable_usb_common_quirks.patch - 834-ledtrig-libata.patch - 892-leds-Add-LED1202-I2C-driver.patch - 920-mangle_bootargs.patch Co-authored-by: Aditya Nugraha <vortexilation@gmail.com> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> [ improve commit title + minor fixes ] Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: remove obsolete pending patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | Remove obsolete pending patches Unnecessary: - 820-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch[1] [1] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=9c0a5b3f9e55cf9a3dc85843666cae28adfdf7e3 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: refresh backport patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | Refreshed patches for generic/backport-6.12 by running make target/linux/refresh Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: manually rebuild backport patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | Manually rebuild backport patches: - 410-v6.13-01-block-add-support-for-defining-read-only-partitions.patch - 839-v6.13-net-phy-aquantia-allow-forcing-order-of-MDI-pairs.patch - 901-v6.13-net-dsa-mv88e6xxx-Support-LED-control.patch Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> [ improve commit title ] Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.12: remove obsolete backport patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | | | Remove obsolete backport patches already included in kernel 6.12 including the patches: - 623-v6.14-net-ipv6-fix-TCP-GSO-segmentation-with-NAT.patch - backported to kernel 6.12.21[1] - 785-05-v6.15-net-sfp-add-quirk-for-FS-SFP-10GM-T-copper-SFP-module.patch - backported to kernel 6.12.24[2] - 910-v6.13-pmdomain-core-add-dummy-release-function-to-genpd-de.patch - backported to kernel 6.12.9[3] 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=8940e6168bb353379772ef2555610a82ac569e36 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=163e8c1083b41289aad2afd06c39b9f859dc4ec0 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=cba9d51794ecde58a21e4e96bcfd0a18f7dd4ff8 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/generic: Restore kernel files for v6.6Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/generic: Create kernel files for v6.12 (from v6.6)Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: add define for kernel 6.12Mieczyslaw Nalewaj2025-04-30
| | | | | | | | Add define for kernel 6.12. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: refresh patchesMieczyslaw Nalewaj2025-04-30
| | | | | | | | | Refreshed patches by running: make target/linux/refresh Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18640 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq50xx: fix GE_PHY and Uniphy resetsGeorge Moussalem2025-04-30
| | | | | | | | | | | | | | Fix the resets of the GE_PHY and Uniphy found on the IPQ5018 SoC. Bitmasks are used to perform multiple resets simultaneously, including the RX and TX clocks. This enables the Uniphy to properly shift between SGMII/1G and SGMII+/2.5G modes. While at it, properly reorder the patches, and rename some to follow naming standards. Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18638 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: drop extra-old-deprecated pending fix patch for sch codelChristian Marangi2025-04-29
| | | | | | | | | | | | | | | | | | | | | Patch 620-net_sched-codel-do-not-defer-queue-length-update.patch is actually an ancient patch that somehow manage to be ported for 7 solid years. This comes from [1] where a fix patch was proposed. Nobody notice that the proposed patch was actually rejected upstream in favor of [2]. And the upstream fix patch is present in kernel from version 4.18. This means that we were actually fixing for a non existant bug and maybe introducing regression down the line. Drop the patch for good as we already have a fix for it in flace for a long time. [1] https://bugzilla.kernel.org/show_bug.cgi?id=109581 [2] https://github.com/torvalds/linux/commit/35b42da69e35536da603a50e40aa6c41b2f7b0f8 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: ipq50xx: fix ipq5018 GE PHY and tidy up mdio nodesGeorge Moussalem2025-04-29
| | | | | | | | | | | | | | | As part of the previous commit to add the #clock-cells property to the GE PHY, the PHY was inadvertently moved under the second mdio node in the dtsi, and therefore broke the init sequence as the driver was trying to use the wrong mdio bus to set the init values (ex. DAC, MSE, and AZ). So let's move it back under the right mdio node and, while at it, pad the register addresses to 8 hex numbers and re-order properties in line with Linux DTS coding standards. Fixes: 6782d0e66fd607a3536d5fd94e998d2d700ffeaf Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18634 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq60xx: LED mapping update for Netgear WAX610 and WAX610YErik Servili2025-04-29
| | | | | | | | Fix swapped WLAN LEDs and move to blue LEDs to match stock behavior. Add LAN LED mappings. Signed-off-by: Erik Servili <serverror@serverror.com> Link: https://github.com/openwrt/openwrt/pull/18624 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ramips: correct wifi driver packages for TP-Link MR200 v6Shiji Yang2025-04-29
| | | | | | | | | | | TP-Link Archer MR200 v6 uses the MT7613 wireless chip, hence the default wifi driver packages should be kmod-mt7615e and kmod-mt7663-firmware-ap. Fixes: https://github.com/openwrt/openwrt/issues/18627 Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18633 Signed-off-by: Robert Marko <robimarko@gmail.com>
* bcm47xx: old gpio wdt: use remove_newRosen Penev2025-04-28
| | | | | | | | Easy way to add compatibility for kernel 6.12. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18617 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq50xx: drop unused factory.ubi for ELECOM WRC-X3000GS2INAGAKI Hiroshi2025-04-27
| | | | | | | | | | | | | | Drop the firmware image entry "factory.ubi" from IMAGES for ELECOM WRC-X3000GS2. `Device/UbiFit` is added in the early stage of working for adding support of the device, but finally, only `KERNEL_IN_UBI` is neccesary and factory.ubi is not. So `Device/UbiFit` should have been replaced to `KERNEL_IN_UBI` but it was forgotten. Fixes: 3b7d72bc2e ("qualcommax: add support for ELECOM WRC-X3000GS2") Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18611 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: convert MTK PCS patch to .remove_newChristian Marangi2025-04-26
| | | | | | | Convert MTK PCS patch to .remove_new to simplify support for new 6.12 kernel version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: fix UDPv6 GSO segmentation with NATFelix Fietkau2025-04-26
| | | | | | | | | Fixes issues with rx-gro-list and NAT66 Fixes: https://github.com/openwrt/openwrt/issues/18387 Fixes: https://github.com/openwrt/openwrt/issues/18516 Fixes: https://github.com/openwrt/openwrt/issues/18608 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mediatek: add missing pipeDavid Bauer2025-04-25
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: fix GL.iNet GL-MT2500 preinit interfaceDavid Bauer2025-04-25
| | | | | | This was previously set incorrectly to a non-existant interface. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: filogic: add support for ASUS RT-AX52Christoph Krapp2025-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- SOC: MediaTek MT7981b RAM: 256MB DDR3 FLASH: 128MB SPI-NAND (Winbond W25N01GV) WIFI: Mediatek MT7981b DBDC 802.11ax 2.4/5 GHz ETH: MediaTek MT7531 Switch UART: 3V3 115200 8N1 (Pinout silkscreened / Do not connect VCC) Installation ----------------------------------------------------------- Vendor-UI Method ----------------------------------------------------------- 1. Download the OpenWrt initramfs.trx image. 2. Connect the PC via LAN to one of the yellow router ports and wait until your PC to get a DHCP lease. 3. Browse to http://192.168.50.1 4. If your router is brand new, finish the setup process and log into the Web-UI. 5. Navigate to Administration -> Firmware Upgrade and upload the downloaded OpenWrt image. 6. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device using scp and install using sysupgrade. $ sysupgrade -n <path-to-sysupgrade.bin> ----------------------------------------------------------- TFTP Method ----------------------------------------------------------- 1. Download the OpenWrt initramfs image. Copy the image to a TFTP server reachable at 192.168.1.70/24. Rename the image to rtax52.bin. 2. Connect the PC with TFTP server to the RT-AX52. Set a static ip on the ethernet interface of your PC. (ip address: 192.168.1.70, subnet mask:255.255.255.0) Conect to the serial console, interrupt the autoboot process by pressing '4' when prompted. 3. Download & Boot the OpenWrt initramfs image. $ setenv ipaddr 192.168.1.1 $ setenv serverip 192.168.1.70 $ tftpboot 0x46000000 rtax52.bin $ bootm 0x46000000 4. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device using scp and install using sysupgrade. $ sysupgrade -n <path-to-sysupgrade.bin> --------------------------------------------------------------------------- Revert to stock firmware: 1: Download the rt-ax52 firmware from ASUS official website. Save the firmware to tftp server directory and rename to RT-AX52.trx 2: Connect the PC with TFTP server to the RT-AX52. Set a static ip on the ethernet interface of your PC. (ip address: 192.168.1.70, subnet mask:255.255.255.0) 3: Conect to the serial console, power on again, interrupt the autoboot process by pressing '4' when prompted. $: ubi remove linux $: ubi remove jffs2 $: ubi remove rootfs $: ubi remove rootfs_data $: ubi create linux 0x45fe000 $: reset Then the dut will reboot,interrupt the autoboot process by pressing '2' when prompted. 2: Load System code then write to Flash via TFTP. Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) $: enter y you will see the follow, type enter directly: Input device IP (192.168.1.1) ==: Input server IP (192.168.1.70) ==: Input Linux Kernel filename (RT-AX52.trx) ==: 4: wait for the device run up Based on support for ASUS RT-AX52 by liudongdongdong7397 and trx image generation by remittor Signed-off-by: Christoph Krapp <achterin@gmail.com>
* mediatek: add support for Routerich AX3000 v1Mikhail Zhilkin2025-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Routerich AX3000 v1 is a wireless WiFi 6 router. Specification ------------- - SoC : MediaTek MT7981BA dual-core ARM Cortex-A53 1.3 GHz - RAM : DDR3 512 MiB - Flash : SPI-NAND 128 MiB (Winbond) - WLAN : MediaTek MT7976CN dual-band WiFi 6 - 2.4 GHz : b/g/n/ax, MIMO 2x2 - 5 GHz : a/n/ac/ax, MIMO 2x2 - Ethernet : 10/100/1000 Mbps x3, LAN (MediaTek MT7531AE) 10/100/1000 Mbps x1, WAN (MT7981 internal PHY) - USB : 1x 3.0 with power control - UART : through-hole on PCB - [J500] GND, TX, RX, 3.3V (115200n8) - Buttons : Mesh, Reset - LEDs : 1x Power (Blue) 1x WiFi 2.4 GHz (Blue) 1x WiFi 5 GHz (Red) 1x Mesh (Blue) 3x LAN activity (Blue) 1x WAN activity (Blue) 1x WAN no-internet (Red) - Power : 12 VDC, 1.5 A Installation ------------ Flash OpenWrt 'sysupgrade.bin' image using stock firmware web-interface (without keeping settings). Return to stock --------------- Install stock firmware image (without keeping settings) using OpenWrt sysupgrade method. Recovery -------- Connect uart, use u-boot menu to flash stock firmware image or boot OpenWrt initramfs image. MAC addresses ------------- +---------+-------------------+-----------+ | | MAC | Algorithm | +---------+-------------------+-----------+ | WAN | 24:0f:5e:xx:xx:08 | label | | LAN | 24:0f:5e:xx:xx:09 | label+1 | | WLAN 2g | 24:0f:5e:xx:xx:0a | label+2 | | WLAN 5g | 24:0f:5e:xx:xx:0b | label+3 | +---------+-------------------+-----------+ The WLAN 2g MAC was found in 'Factory', 0x4 Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
* mediatek: filogic: fix mistaken executable bit on dts fileMikhail Zhilkin2025-04-25
| | | | | | | | This commit fixes mistaken executable bit on mt7981b-mercusys-mr80x-v3.dts file. Fixes: 7921e48d4357 ("mediatek: add support for Mercusys MR80X v3") Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
* lantiq: fix syntax error for fritz736xTianling Shen2025-04-25
| | | | | | | | | | Add missing semicolon to the end of the property. Remove whitespace while at it. Fixes: 5a3b9d88f158 ("lantiq: Improve support for LED's fritz736x") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/18594 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: fix ECC strength of SPI-NAND flash on GL-iNet GL-B3000INAGAKI Hiroshi2025-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix nand-ecc-strength property in the spi-nand node of GL-iNet GL-B3000 to 4, to solve the following ECC error on that spi-nand chip. [ 1.551618] ubi0: attaching mtd11 [ 1.552331] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry [ 1.554455] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry [ 1.565931] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry [ 1.576568] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read 64 bytes [ 1.587146] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.87 #0 [ 1.597153] Hardware name: GL.iNet GL-B3000 (DT) [ 1.602881] Call trace: [ 1.607739] dump_backtrace+0xa0/0xe0 [ 1.609910] show_stack+0x18/0x24 [ 1.613728] dump_stack_lvl+0x48/0x60 [ 1.617027] dump_stack+0x18/0x24 [ 1.620672] ubi_io_read+0x11c/0x32c [ 1.623972] ubi_io_read_ec_hdr+0x50/0x1f0 [ 1.627618] ubi_attach+0x35c/0x133c [ 1.631524] ubi_attach_mtd_dev+0x494/0xaf4 [ 1.635257] ubi_init_attach+0xac/0x2e4 [ 1.639163] do_one_initcall+0x6c/0x1fc [ 1.642983] kernel_init_freeable+0x204/0x2e4 [ 1.646803] kernel_init+0x28/0x1dc [ 1.651316] ret_from_fork+0x10/0x20 The GL-B3000 has a Winbond W25N01GW and the spare size (oobsize) of it is 64. So the maximum available ECC strength with the qpic-snand driver is 4 but not 8. The "nand-ecc-strength" property was not used before the commit fc3ff2af0c ("qualcommax: allow overriding ECC strength for qpic-snand") and calculated from the registered spare size in the Linux Kernel. As a result, we had no issues on the GL-B3000 with the wrong ECC strength value. Fixes: 3307fe8ee4 ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000") Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18595 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ramips: mt7620: Add support for the devolo WiFi Repeater ac (MT 2767, 2779)Hugo Monteiro2025-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specification: - MT7620A 580 MHz MIPS24KEc - 64MB RAM - 8MB SPI NOR - MediaTek MT7612E 5.0GHz 802.11a/n/ac - MediaTek MT7620 2.4GHz 802.11b/g/n - 5 LEDs (white) - 1 button - 1 Gbit port Realtek RTL8211E GbE Phy Serial Interface: - 3 Pins GND, RX, TX - Settings: 57600, 8N1 Based on support from edimax_ew-7476rpc/edimax_ew-747x and netgear_ex3700/netgear_ex3x00_ex61xx Notes: - ATM there is no known way to revert to stock firmware Flash instruction: The only known way to flash OpenWrt image is to use tftp in U-Boot, with the aid of a serial adapter for U-Boot console access: 1. Open the device and connect to the serial port. The device is very similar to Edimax 7476RPC. See https://openwrt.org/toh/edimax/ew-7476rpc. No VCC! 2. Configure PC with static IP 192.168.1.2/24 and tftp server and connect PC to device using an ethernet cable. 3. Power on the device and, on the serial console, as soon as U-Boot starts loading, press "2" to interrupt loading. 4. Enter device ip address 192.168.1.1, PC ip address 192.168.1.2 and the firmware filename placed on the TFTP server. 5. Device will download file from server, write it to flash and reboot. Signed-off-by: Hugo Monteiro <monteiro.hugo@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16956 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: Improve support for LED's fritz736xRobert Senderek2025-04-22
| | | | | | | | | | | | add support for fon / internet LED solves: https://github.com/openwrt/openwrt/issues/17787 This LED is marked Internet or Fon depend on version Tested on fritz7362sl Signed-off-by: Robert Senderek <robert.senderek@10g.pl> Link: https://github.com/openwrt/openwrt/pull/18038 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* qualcommax: add support for ELECOM WRC-X3000GS2INAGAKI Hiroshi2025-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ELECOM WRC-X3000GS2 is a 2.4/5 GHz band 11ax (Wi-Fi 6) router, based on IPQ5018. Specification: - SoC : Qualcomm IPQ5018 - RAM : DDR3 256 MiB (Zentel A3T2GF40CBF-HP) - Flash : SPI-NAND 128 MiB (Macronix MX35UF1G24AD-Z4I) - WLAN : 2.4/5 GHz 2T2R - 2.4 GHz : Qualcomm IPQ5018 (SoC) - 5 GHz : Qualcomm Atheros QCN6102 - Ethernet : 5x 10/100/1000 Mbps - wan (phy) : Qualcomm IPQ5018 (SoC) - lan (switch) : Qualcomm Atheros QCA8337 - LEDs/Keys (GPIO): 8x/3x - UART : through-hole on PCB, 4pins near the barcode - assignment : 3.3V, TX, RX, NC, GND from the barcode side - settings : 115200n8 - Power : 12 VDC, 1 A (Max. 11.5W) Flash instruction using initramfs-factory.bin image: 1. Boot WRC-X3000GS2 normally with router mode 2. Access to the WebUI ("http://192.168.2.1/") on the device and open the firmware update page ("ファームウェア更新") 3. Select the OpenWrt factory.bin image and click apply ("適用") button 4. Wait ~120 seconds to complete flashing Switching to the stock firmware: 1. Load the elecom.sh script . /lib/upgrade/elecom.sh 2. Check the current index of rootfs bootconfig_rw_index 0:bootconfig rootfs 3. Set the index to inverted value bootconfig_rw_index 0:bootconfig rootfs <value> bootconfig_rw_index 0:bootconfig1 rootfs <value> example: - step2 returned "0": bootconfig_rw_index 0:bootconfig rootfs 1 bootconfig_rw_index 0:bootconfig1 rootfs 1 - step2 returned "1": bootconfig_rw_index 0:bootconfig rootfs 0 bootconfig_rw_index 0:bootconfig1 rootfs 0 4. Reboot Partition Layout (Stock FW): 0x000000000000-0x000000080000 : "0:SBL1" 0x000000080000-0x000000100000 : "0:MIBIB" 0x000000100000-0x000000140000 : "0:BOOTCONFIG" 0x000000140000-0x000000180000 : "0:BOOTCONFIG1" 0x000000180000-0x000000280000 : "0:QSEE" 0x000000280000-0x000000380000 : "0:QSEE_1" 0x000000380000-0x0000003c0000 : "0:DEVCFG" 0x0000003c0000-0x000000400000 : "0:DEVCFG_1" 0x000000400000-0x000000440000 : "0:CDT" 0x000000440000-0x000000480000 : "0:CDT_1" 0x000000480000-0x000000500000 : "0:APPSBLENV" 0x000000500000-0x000000640000 : "0:APPSBL" 0x000000640000-0x000000780000 : "0:APPSBL_1" 0x000000780000-0x000000880000 : "0:ART" 0x000000880000-0x000000900000 : "0:TRAINING" 0x000000900000-0x000003c40000 : "rootfs" 0x000003c40000-0x000003fc0000 : "Config" 0x000003fc0000-0x000007300000 : "rootfs_1" 0x000007300000-0x000007680000 : "Config_2" 0x000007680000-0x000007b80000 : "Reserved" 0x000007b80000-0x000007c00000 : "FWHEADER" 0x000007c00000-0x000007c80000 : "Factory" Known Issues: - All Wi-Fi related peripherals are disabled. This device has only 256 MiB RAM and it's too few for ath11k. To prevent OOM when using LuCI or other softwares, disable Wi-Fi related peripherals in device tree at the moment. - This device has a Macronix MX35UF1G24AD SPI-NAND chip registered as oobsize=128 in Linux Kernel. But using BCH8 breaks I/O on the chip with the following errors, so this support uses BCH4 instead. root@OpenWrt:~# strings /dev/mtdblock10 [26427.133154] mtdblock: MTD device '0:appsblenv' is NAND, please consider using UBI block devices instead. [26427.134125] I/O error, dev mtdblock10, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 2 [26427.142240] I/O error, dev mtdblock10, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 2 [26427.151427] I/O error, dev mtdblock10, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 2 [26427.160440] I/O error, dev mtdblock10, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 [26427.169619] I/O error, dev mtdblock10, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 [26427.178083] Buffer I/O error on dev mtdblock10, logical block 0, async page read Notes: - This device has dual-boot feature and it's managed by the index in the 0:bootconfig and 0:bootconfig1 partitions. MAC Addresses: LAN : 38:97:A4:xx:xx:60 (0:APPSBLENV, "eth1addr"/"ethaddr" (text)) WAN : 38:97:A4:xx:xx:63 (0:APPSBLENV, "eth0addr" (text)) 2.4 GHz: 38:97:A4:xx:xx:61 (0:APPSBLENV, "wifi0" (text)) 5 GHz : 38:97:A4:xx:xx:62 (0:APPSBLENV, "wifi1" (text)) Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18543 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: allow overriding ECC strength for qpic-snandINAGAKI Hiroshi2025-04-22
| | | | | | | | | Make the ECC strength in the qpic-snand driver configurable via device tree to use the device-specific ECC strength value. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18543 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: move kernel version files to linux/generic directoryChristian Marangi2025-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To further improve cleanup and maintenance usage, move the kernel version files to target/linux/generic directory. This permits to self contain any change to the specific generic directory instead of having to bload the include directory of periodic changes. In kernel-version.mk we now use GENERIC_PLATFORM_DIR provided by target.mk. To make this work, we need to move the inclusion of kernel-version.mk in target.mk right after GENERIC_PLATFORM_DIR is defined. This also comes to permit downstream project to provide a custom generic directory and specify the kernel version complete of the hash and the minor version without having to affect other feeds. In such case both generic and the target directory are provided as feeds and OpenWrt reference these specific one instead of the generic one. For downstream it's still suggested and preferable to all match the shipped generic kernel minor version but this change permits to at least enforce good practice instead of having to bloat OpenWrt include file of all kind of downstream changes (making porting to OpenWrt mainline even more difficult) Link: https://github.com/openwrt/openwrt/pull/18537 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ath79: convert driver to .remove_newMieczyslaw Nalewaj2025-04-22
| | | | | | | | Convert driver to .remove_new in preparation for kernel 6.12 support. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18535 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bmips: convert driver to .remove_newMieczyslaw Nalewaj2025-04-22
| | | | | | | | Convert driver to .remove_new in preparation for kernel 6.12 support. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18535 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: convert driver to .remove_newMieczyslaw Nalewaj2025-04-22
| | | | | | | | Convert driver to .remove_new in preparation for kernel 6.12 support. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18535 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: convert driver to .remove_newMieczyslaw Nalewaj2025-04-22
| | | | | | | | Convert driver to .remove_new in preparation for kernel 6.12 support. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18535 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: 6.6: backport upstream v6.15 Realtek PHY patchesÁlvaro Fernández Rojas2025-04-22
| | | | | | | | | | | | bfc17c1658353 net: phy: realtek: disable PHY-mode EEE fabcfd6d10999 net: phy: realtek: add defines for shadowed c45 standard registers 8af2136e77989 net: phy: realtek: add helper RTL822X_VND2_C22_REG 02d3b306ac2f0 net: phy: realtek: switch from paged to MMD ops in rtl822x functions da681ed73fb98 net: phy: realtek: improve mmd register access for internal PHY's 0bea93fdbaf86 net: phy: realtek: use string choices helpers 51773846fab24 net: phy: realtek: make HWMON support a user-visible Kconfig symbol Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: 6.6: backport upstream v6.15 r8169 patchesÁlvaro Fernández Rojas2025-04-22
| | | | | | | | | | | | b48688ea3c9ac r8169: disable RTL8126 ZRX-DC timeout 3d9b8ac534126 r8169: enable RTL8168H/RTL8168EP/RTL8168FP ASPM support 473367a5ffe16 r8169: increase max jumbo packet size on RTL8125/RTL8126 853e80369cfce r8169: add PHY c45 ops for MDIO_MMD_VENDOR2 registers d30460f42675f r8169: add support for Intel Killer E5000 faac69a4ae5ab r8169: don't scan PHY addresses > 0 135c3c86a7cef r8169: make Kconfig option for LED support user-visible Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: backport pmdomain dummy release patchÁlvaro Fernández Rojas2025-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following warning trace on bcm27xx devices when bcm2835-power is deferred: [ 0.216800] ------------[ cut here ]------------ [ 0.216807] Device 'grafx' does not have a release() function, it is broken and must be fixed. See Documentation/core-api/kobject.rst. [ 0.216863] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:2516 device_release+0x80/0x90 [ 0.216887] Modules linked in: [ 0.216896] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.85 #0 [ 0.216905] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.216911] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.216919] pc : device_release+0x80/0x90 [ 0.216928] lr : device_release+0x80/0x90 [ 0.216936] sp : ffffffc080ccb6d0 [ 0.216940] x29: ffffffc080ccb6d0 x28: 0000000000000000 x27: ffffff8040d49810 [ 0.216953] x26: ffffff8040c904b8 x25: ffffff8040c904a0 x24: ffffffc0808a7f08 [ 0.216964] x23: ffffffc080a1a6d8 x22: 0000000000000000 x21: ffffffc080a1afe0 [ 0.216976] x20: 0000000000000000 x19: ffffff8040c900b8 x18: 000000000000009f [ 0.216987] x17: 206e656b6f726220 x16: 7369207469202c6e x15: ffffffc080b4ee88 [ 0.216998] x14: 00000000000001dd x13: 000000000000009f x12: 00000000ffffffea [ 0.217009] x11: 00000000ffffefff x10: ffffffc080ba6e88 x9 : ffffffc080b4ee30 [ 0.217020] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000057fa8 [ 0.217031] x5 : 0000000000000fff x4 : 0000000000000000 x3 : ffffffc080ccb4d0 [ 0.217042] x2 : ffffffc080b4edc8 x1 : ffffffc080b4edc8 x0 : 000000000000007a [ 0.217053] Call trace: [ 0.217058] device_release+0x80/0x90 [ 0.217067] kobject_put+0xac/0x100 [ 0.217078] put_device+0x14/0x24 [ 0.217086] genpd_remove+0x16c/0x244 [ 0.217093] pm_genpd_remove+0x2c/0x50 [ 0.217099] bcm2835_power_probe+0x1f8/0x2b8 [ 0.217107] platform_probe+0x68/0xc4 [ 0.217118] really_probe+0x148/0x2b0 [ 0.217125] __driver_probe_device+0x78/0x128 [ 0.217131] driver_probe_device+0x40/0xdc [ 0.217138] __device_attach_driver+0xb8/0xf8 [ 0.217145] bus_for_each_drv+0x70/0xb8 [ 0.217151] __device_attach+0xa0/0x184 [ 0.217158] device_initial_probe+0x14/0x20 [ 0.217165] bus_probe_device+0xac/0xb0 [ 0.217171] device_add+0x5a8/0x760 [ 0.217177] platform_device_add+0x184/0x240 [ 0.217184] mfd_add_device+0x3e8/0x4c0 [ 0.217195] devm_mfd_add_devices+0xa0/0x118 [ 0.217202] bcm2835_pm_probe+0x144/0x1d8 [ 0.217210] platform_probe+0x68/0xc4 [ 0.217217] really_probe+0x148/0x2b0 [ 0.217224] __driver_probe_device+0x78/0x128 [ 0.217230] driver_probe_device+0x40/0xdc [ 0.217237] __driver_attach+0x90/0x160 [ 0.217243] bus_for_each_dev+0x64/0xa4 [ 0.217249] driver_attach+0x24/0x30 [ 0.217256] bus_add_driver+0xe4/0x208 [ 0.217262] driver_register+0x5c/0x124 [ 0.217269] __platform_driver_register+0x28/0x34 [ 0.217276] bcm2835_pm_driver_init+0x1c/0x28 [ 0.217286] do_one_initcall+0x6c/0x1fc [ 0.217294] kernel_init_freeable+0x208/0x2e4 [ 0.217306] kernel_init+0x28/0x1e4 [ 0.217313] ret_from_fork+0x10/0x20 [ 0.217320] ---[ end trace 0000000000000000 ]--- This issue was introduced in v6.6.69 with the following backport: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=36a6e8aeae4a41767bb59f56b100c8cc9ffae2cb The upstream patch has been adapted to v6.6: https://github.com/torvalds/linux/commit/f64f610ec6ab59dd0391b03842cea3a4cd8ee34f More info: https://github.com/raspberrypi/linux/issues/6777 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Qualcommax: IPQ807x: Add support for TP-Link Deco X80-5Gjonathan brophy2025-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TP-link Deco X80-5G is a AX WIFI router with a single 1G (LAN) and 1 2.5G (WAN) port with a built in Quectel 5G modem. Specifications: Architecture ARMv8-A (aarch64 Cortex A53, 4 cores) Vendor Qualcomm Bootloader U-Boot (2016) System-On-Chip Qualcomm IPQ8074A (Networking Pro 1210 platform) CPU/Speed 2.2GHZ Flash-Chip ESMT F59D1G81MB-45TI 1G-bit NAND Flash MB 128MB (1Gbit) RAM-chip 2* ESMT M15T4G16256A-DEBG2G 2Gb DDR3L (32bit) RAM MB 512MB (4Gbit) WLan System-On-Chip (5g) Qualcomm QCN5054 WLan Front end modules (5g) 8* Qorvo QPF4588 WLAN (5G) A/N/AC/AX WLAN Antenna (int) 8* (4 shared with 2.5G) WLan System-On-Chip (2.4G) Qualcomm QCN5024 WLan Front end modules (2.4G) 4* Skyworks SKY85340-11 WLAN (2.4G) B/G/N/AX WLAN Antenna (int) 4* (shared with 5g) Eithernet-phy (1Gbit) Qualcomm (Atheros) AR8033-AL1A Ethernet (1Gbit) 1* Eithernet-phy (2.5Gbit) Qualcomm QCA8081 Ethernet (2.5Gbit) 1* Switch Embedded in the SOC? Serial 1.8v 8n1 (testpoints) Modem System-On-Chip Qualcomm 5G RG50xQ (Snapdragon X55 platform) 5G modem capability 5000Mbps down 900Mbps up 5G modem bands N1/N3/N5/N7/N8/N20/N28/N38/N40/N41/N77/N78/N79 4G modem capability 4.5G LTE-Advanced Pro (Cat20 down 2Gbps) (Cat18 up 200Mbps) 4G modem FDD bands B1/B3/B5/B7/B8/B18/B19/B20/B26/B28 4G modem TDD bands B34/B38/B39/B40/B41/B42/B43 Modem antenna (int) 8* (5G/4G use) Modem antenna (ext) 2* SMA connectors (5G/4G use) SIM type 1* Nano SIM Telephony 1* POTS RJ11 (see wiki for more info:) https://openwrt.org/inbox/toh/tp-link/x80-5g_v1 Notes: Installation Instructions: Between antennas 7 and 8 on the PCB with the RGB harness there are three test pads labelled TP1 TP2 and TP3 connections are as follows: |TP2|-- RX |TP1|-- TX |TP3|-- GND RX requires an external pullup to operate somewhere around 5 K ohm but your luck may vary the Uart is 1.8v Set a static IP and set up a tftpserver and terminal. power the router and quickly type the magic string “tpl” and press enter to break into u-boot in the shell set the environment variables to enable tftp booting setenv ipaddr (routerIP) setenv serverip (server IP) load you initramfs: tftpboot 0x44000000 (serverIP):openwrt-qualcommax-ipq807x-tplink_x80-5g-initramfs-uImage.itb boot your initramfs bootm upload your factory image to /tmp format and install the factory image: ubiformat /dev/mtd12 -y -f /tmp/openwrt-qualcommax-ipq807x-tplink_x80-5g-squashfs-factory.ubi Note as this device swaps root partitions upon update your boot partition may be set as mtd13 Update script to mount factory tplink partition's for MAC recovery and device data. Capture Labelmac from Factory_data partition. Patch LAN from Labelmac. Patch ART from Labelmac. Set GPIO to make modem operational from boot. GPIO fan tables work like the stock device with three fan maps high active idle with a top fan speed of 6800 RPM. High temp 70 deg speeds 6-8 Active temp 50 deg speeds 2-5 low temp 25 degree speed 0-1 Signed-off-by: jonathan brophy <professor_jonny@hotmail.com> Link: https://github.com/openwrt/openwrt/pull/16329 Signed-off-by: Robert Marko <robimarko@gmail.com>
* Qualcommax: IPQ807x: update preinit factory partition mount scriptjonathan brophy2025-04-22
| | | | | | | | Patch script used for mounting of factory data partitions to not assume devices names or use hardcoded identifiers. Signed-off-by: jonathan brophy <professor_jonny@hotmail.com> Link: https://github.com/openwrt/openwrt/pull/16329 Signed-off-by: Robert Marko <robimarko@gmail.com>
* rockchip: fix the SD card detection on NanoPi R6C/R6SAntonio Flores2025-04-22
| | | | | | | | | This patch backport a fix for the SD card detection on NanoPi R6c/R6S from upstream commit https://github.com/torvalds/linux/commit/95147bb42bc163866fc103c957820345fefa96cd Signed-off-by: Antonio Flores <antflores627@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18553 Signed-off-by: Robert Marko <robimarko@gmail.com>