summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ipq806x: Correct OnHub sysupgrade config logicBrian Norris2023-09-121-1/+1
| | | | | | | | | | There's a typo in here: board_name is a function, not a variable. This issue was pointed out on the OpenWrt forum. Closes: #13409 Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
* mac80211: fix mesh id corruption on 32 bit systemsFelix Fietkau2023-09-121-0/+62
| | | | | | increase size of ifmsh->mbss_changed Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add support for mtk eip93 crypto engineAviana Cruz2023-09-124-1/+3314
| | | | | | | | | Mediatek EIP93 Crypto engine is a crypto accelerator which is available in the Mediatek MT7621 SoC. Signed-off-by: Aviana Cruz <gwencroft@proton.me> Co-authored-by: Richard van Schagen <vschagen@icloud.com> Co-authored-by: Chukun Pan <amadeus@jmu.edu.cn>
* base-files: sysupgrade: Add 2 sec sleep into process KILL loopHannu Nyman2023-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 2 seconds sleep after each forcibly killed/tried-to-kill process in the final process termination loop in sysupgrade stage2. This is needed especially for qualcommax/ipq807x, where ath11k wireless driver may have a long 10-20 seconds delay after termination before actually getting killed. This often breaks sysupgrade. The current KILL loop in kill_remaining does all 10 kill attempts consecutively without any delay, as evidenced here in a failing sysupgrade. It does not allow any time for the process to finalize its internal termination. Sat Sep 2 19:05:56 EEST 2023 upgrade: Sending TERM to remaining processes ... Sat Sep 2 19:05:56 EEST 2023 upgrade: Sending signal TERM to hostapd (2122) Sat Sep 2 19:05:56 EEST 2023 upgrade: Sending signal TERM to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending KILL to remaining processes ... Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2122) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Sending signal KILL to hostapd (2138) Sat Sep 2 19:06:00 EEST 2023 upgrade: Failed to kill all processes. sysupgrade aborted with return code: 256 The change in this commit adds a 2 seconds delay after each kill attempt in order to allow some processes to more gracefully handle their internal termination. The result is like this: Sun Sep 3 11:15:10 EEST 2023 upgrade: Sending TERM to remaining processes ... Sun Sep 3 11:15:10 EEST 2023 upgrade: Sending signal TERM to hostapd (2309) Sun Sep 3 11:15:10 EEST 2023 upgrade: Sending signal TERM to hostapd (2324) Sun Sep 3 11:15:14 EEST 2023 upgrade: Sending KILL to remaining processes ... Sun Sep 3 11:15:14 EEST 2023 upgrade: Sending signal KILL to hostapd (2309) [ 699.827521] br-lan: port 7(hn5wpa2r) entered disabled state [ 699.908673] device hn5wpa2r left promiscuous mode [ 699.908721] br-lan: port 7(hn5wpa2r) entered disabled state [ 701.038029] br-lan: port 6(hn5wpa3) entered disabled state Sun Sep 3 11:15:16 EEST 2023 upgrade: Sending signal KILL to hostapd (2324) [ 702.058256] br-lan: port 5(hn2wlan) entered disabled state [ 709.250063] stage2 (8237): drop_caches: 3 Sun Sep 3 11:15:25 EEST 2023 upgrade: Switching to ramdisk... The delay introduced here only kicks in if there is some process that does not get terminated by the first TERM call. Then there is at least one 2 sec wait after the first KILL loop round. This commit is related to discussion in PRs #12235 and #12632 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Reviewed-by: Robert Marko <robimarko@gmail.com>
* hostapd: fix bringing up AP in AP+mesh configurationsFelix Fietkau2023-09-121-0/+10
| | | | | | Pass the correct frequency + secondary channel offset to hostapd Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: clear ucode interface/bss resource pointersFelix Fietkau2023-09-121-2/+8
| | | | | | Avoids potential use-after-free bugs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix applying gratuitous ARP settings with bridge-vlanFelix Fietkau2023-09-121-6/+79
| | | | | | The arp_accept setting needs to be applied to the snoop_iface Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add missing dependency for iwlwifiFelix Fietkau2023-09-121-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: geode: fix hwrng register accessesJonas Gorski2023-09-111-0/+47
| | | | | | | | | | | | | | | | | | | When the membase and pci_dev pointer were moved to a new struct in priv, the actual membase users were left untouched, and they started reading out arbitrary memory behind the struct instead of registers. This unfortunately turned the RNG into a constant number generator, depending on the content of what was at that offset. To fix this, update geode_rng_data_{read,present}() to also get the membase via amd_geode_priv, and properly read from the right addresses again. Closes #13417. Reported-by: Timur I. Davletshin <timur.davletshin@gmail.com> Tested-by: Timur I. Davletshin <timur.davletshin@gmail.com> Suggested-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mac80211: fix build regressions on linux 6.1Felix Fietkau2023-09-112-0/+51
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport two fixes for MediaTek Ethernet driverDaniel Golle2023-09-1115-24/+178
| | | | | | | | Fix PSE port assignment for 3rd GMAC on MT7988 and make sure dma_addr is always initialized to prevent potentially accessing uninitialized stack memory in the error path. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mac80211: update to version 6.5Felix Fietkau2023-09-11154-15217/+302
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-envtools: ramips: add support for ALFA Network AX1800RMPiotr Dymacz2023-09-111-4/+5
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ramips: add support for ALFA Network AX1800RMPiotr Dymacz2023-09-114-28/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ALFA Network AX1800RM (FCC ID: 2AB877621) is a dual-band Wi-Fi 6 (AX1800) router, based on MediaTek MT7621A + MT79x5D platform. Specifications: - SOC: MT7621A (880 MHz) - DRAM: DDR3 256 MiB (Nanya NT5CC128M16JR-EK) - Flash: 16 MiB SPI NOR (EN25QH128A-104HIP) - Ethernet: 4x 10/100/1000 Mbps (SOC's built-in switch) - Wi-Fi: 2x2:2 2.4/5 GHz (MT7905DAN + MT7975DN) (MT7905DAN doesn't support background DFS scan/BT) - LED: 6x green, 1x green/red - Buttons: 2x (reset, WPS) - Antenna: 4x external, non-detachable omnidirectional - UART: 1x 4-pin (2.54 mm pitch, J4, not populated) - Power: 12 V DC/1 A (DC jack) MAC addresses: LAN: 00:c0:ca:xx:xx:4e (factory 0x4, +2) WAN: 00:c0:ca:xx:xx:4f (factory 0x4, +3) 2.4 GHz: 00:c0:ca:xx:xx:4c (factory 0x4, device's label) 5 GHz: 00:c0:ca:xx:xx:4c (factory 0xa) Flash instructions for web-based U-Boot recovery: 1. Power the device with WPS button pressed and wait around 10 seconds. 2. Setup static IP 192.168.1.2/24 on your PC. 3. Go to 192.168.1.1 in browser and upload 'recovery' image. The device runs LEDE 17.01 (kernel 4.4.x) based firmware with 'failsafe' mode available which allows alternative upgrade method: 1. Run device in 'failsafe' mode and change password for default user. 2. SSH to the device, transfer 'sysupgrade' image and perform upgrade in forced mode, without preserving settings: 'sysupgrade -n -F ...'. Other notes: If you own early version of this device, the vendor firmware might refuse OpenWrt image because of missing custom header. In that case, ask vendor's customer support for stock firmware without custom header support/requirement. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* arm-trusted-firmware-mediatek: fix hang on reboot on MT7622Daniel Golle2023-09-102-1/+29
| | | | | | | | | With recent updates of TF-A the previously already fixed bug slipped back into the source tree. Again, reorder bl2 init for MT7622 and initialize WDT only after DRAM init has completed to avoid the notorious hang. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uboot-mediatek: sync mtk-snand driver with SDKDaniel Golle2023-09-101-6/+26
| | | | | | | | Sync SPI-NAND/ECC controller driver for MT7622, MT7981, MT7986 and MT7988: * Platform data for MT7981 was actually missing and is now added. * Add support for Winbond W25N01KV 1Gbit chip. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Revert "ath79: use kernel 6.1 as default"David Bauer2023-09-091-1/+1
| | | | | | | | This reverts commit c94383de018c561355c5e239524fbefca4aee3aa. THis commit was not meant to be pushed to main yet. Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: bump 6.1 to 6.1.52John Audia2023-09-093-5/+5
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.52 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
* mvebu: cortexa72: enable USB PHYTomasz Maciej Nowak2023-09-082-0/+2
| | | | | | | | | Since kernel 5.13 this is needed to enable USB ports on all devices in subtarget. Previously TF-A and COMPHY driver might have set up this PHY, but not anymore. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Tested-by: Robert Marko <robimarko@gmail.com>
* mvebu: refresh 6.1 configsTomasz Maciej Nowak2023-09-084-10/+42
| | | | | | | This should be a part of kernel major bump. Fortunately it didn't stall compilation, so no fixes tag. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* mediatek: add support for Cetron CT3003Patricia Lee2023-09-085-0/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Hardware specification:** - SoC: MediaTek MT7981B 2x A53 - Flash: ESMT F50L1G41LB 128MB - RAM: Nanya NT5CC128M16JR-EK 256MB - Ethernet: 4 x 10/100/1000 Mbps - Switch: MediaTek MT7531AE - WiFi: MediaTek MT7976C - Button: Reset, Mesh - Power: DC 12V 1A - UART: 3.3v, 115200n8 | Layout: | | :-------- | | <Antenna> | | VCC | | GND | | Tx | | Rx | **Flash instructions:** 1. Rename `openwrt-mediatek-filogic-cetron_ct3003-squashfs-factory.bin` to `factory.bin`. 2. Upload the `factory.bin` using the device's Web interface. 3. Click the upgrade button and wait for the process to finish. 4. Access the OpenWrt interface using the same password. 5. Use the 'Restore' function to reset the firmware to its initial state. **Notes:** If you plan to recovery the stock firmware in the future, it's advisable to connect the device via the serial port and enter failsafe mode to back up all the MTD partitions before proceeding the steps above. Signed-off-by: Patricia Lee <patricialee320@gmail.com>
* kernel: bump 5.15 to 5.15.131John Audia2023-09-085-7/+7
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.131 All patches automatically rebased. Build system: x86_64 Build-tested: ramips/tplink_archer-a6-v3 Run-tested: ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* ath79: use kernel 6.1 as defaultDavid Bauer2023-09-081-1/+1
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* ath79: enable variable sector size erasure for generic subtargetShiji Yang2023-09-081-0/+1
| | | | | | | Make use of minor sector size (4k) erasure on supported flash chips to improve spi read/write performance. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: backport gpio immutable irq_chip supportShiji Yang2023-09-081-0/+60
| | | | | | | This patch converts the driver to immutable irq-chip, which can silence some gpio warnings. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: ignore the abused interrupt-map on PCIe nodeShiji Yang2023-09-081-0/+33
| | | | | | | | | | | | | | | | | ath79 PCIe interrupt controller has stopped working correctly. This is because the DT exposing a non-sensical interrupt-map property, and their drivers relying on the kernel ignoring this property[1]. This patch fixes the PCIe init error: ath9k 0000:00:00.0: of_irq_parse_pci: failed with rc=-14 Notice: This is just a workaround, not a fix. PCIe driver and related dts node need to be rewritten. [1] https://lore.kernel.org/all/20211201114102.13446-1-maz@kernel.org/ Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: fix ethernet driver build errors on kernel 6.1Shiji Yang2023-09-082-5/+22
| | | | | | | Some net APIs have changed on the new kernel. Update them to fix compile errors. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: refresh patches and configs to introduce kernel 6.1 supportShiji Yang2023-09-0818-288/+95
| | | | | | | | | | | | | | | | | | | All kernel configs are refreshed by 'make kernel_oldconfig CONFIG_TARGET=target' and 'make kernel_oldconfig CONFIG_TARGET=subtarget'. upstreamed patches: 010-v5.17-spi-ar934x-fix-transfer-and-word-delays.patch 011-v5.17-spi-ar934x-fix-transfer-size.patch 020-v5.18-spi-ath79-Implement-the-spi_mem-interface.patch 030-v5.18-ath79-add-support-for-booting-QCN550x.patch build and run tested on: ath79/generic/ar7241 ath79/generic/qca9563 ath79/nand/ar9344 Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: copy patches and kernel config from 5.15 to 6.1Shiji Yang2023-09-0836-0/+3928
| | | | | | This is preparation for kernel 6.1 support. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: rename and sort patches by OpenWrt naming rulesShiji Yang2023-09-0835-7/+7
| | | | | | | | | | The patches in the ath79 target have not been sorted for a long time and they are very chaotic now. This patch sorts them again according to the OpenWrt naming rules[1], so that we can better manage them. [1] https://openwrt.org/docs/guide-developer/toolchain/use-patches-with-buildsystem#naming_patches Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: add missing symbols by refreshing kernel configsShiji Yang2023-09-085-10/+24
| | | | | | | | | Some symbols are outdated or missing due to daily kernel bumps. It's better to re-add them. All configs are automatically refreshed by 'make kernel_oldconfig CONFIG_TARGET=taget' and 'make kernel_oldconfig CONFIG_TARGET=subtarget' Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* kernel: switch back to fw_devlink=permissiveRafał Miłecki2023-09-052-0/+60
| | | | | | | | | | | | | | | This reverts commit 5356462ce54734afd32fce83ad118c58cfeb2a55. Kernel switching to fw_devlink=on as default broke probing some devices. Revert it until we get a proper fix. It seemed that mtd OF_POPULATED hack resolved probing issues but apparently not all of them. We got reports about reading MAC using NVMEM not working and USB controllers not working. Ref: #10232 Fixes: #13412 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mediatek: fix the name of buswidth to bus-widthChen Minqiang2023-09-0524-50/+50
| | | | | | | | | | | Fix the issue of dts buswidth cannot be applied properly with spi driver. Fix the name of buswidth to bus-width in dts in order to fit the format in linux spi kernel[1] so that spi-tx-bus-width & spi-rx-bus-width can be parsed properly. [1] Documentation/devicetree/bindings/spi/spi-controller.yaml Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* rockchip: add support for Radxa ROCK Pi EJayantajit Gogoi2023-09-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for Radxa ROCK Pi E, rockchip rk3328 board. Specification: - CPU: Rockchip RK3328 64-bit Quad-core - RAM: DDR3 256MB ~ 2GB - Network: 1 x 10/100/1000M Ethernet 1 x 10/100M Ethernet - Storage: 1 x MicroSD Slot 1 x eMMC Module Slot - USB Host/OTG: 1 x USB3.0 Type A HOST 1 x USB2.0 HOST (40-pin pin-header) - Wireless RTL8723DU/RTL8821CU - Debug Serial: 1500000 baud at UART2 ( 40-pin pin-header) - Power Supply: Type-C 5V Optionally PoE Installation: - Write image to SD Card or EMMC with dd - Boot ROCK Pi E from the SD Card Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
* uboot-rockchip: add suport for Radxa ROCK Pi EJayantajit Gogoi2023-09-054-1/+276
| | | | | | | | | | | | | | | | | | | | | | | | | Add uboot support for Radxa ROCK Pi E, rockchip rk3328 board. Add pre-built files to fix swig dependencies. Specification: - CPU: Rockchip RK3328 64-bit Quad-core - RAM: DDR3 256MB ~ 2GB - Network: 1 x 10/100/1000M Ethernet 1 x 10/100M Ethernet - USB Host: 1 x USB3.0 Type A HOST 1 x USB2.0 OTG (40-pin pin-header) - Wireless: RTL8723DU/RTL8821CU - Power Supply: Type-C 5V Installation: - Write image to SD Card or EMMC with dd - Boot ROCK Pi E from the SD Card Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
* kernel: backport support for renaming netdevs while upFelix Fietkau2023-09-049-46/+318
| | | | | | Will be used in upcoming hostapd changes Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq40xx: compress kernel for Magic 2 WiFi nextThomas Bong2023-09-031-2/+1
| | | | | | | | | The bootcmd limits the kernel to 4 MiB which is exceeded when using Device/FitImage. Device/FitzImage reduces the size to around 3 MiB. Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Thomas Bong <thomas.bong@devolo.de>
* ipq40xx: convert devolo Magic 2 WiFi next to DSAThomas Bong2023-09-033-1/+27
| | | | | | | | | | Renamed the interfaces to match the other devices. Name the interface connected to the builtin G.hn chip 'ghn'. This might toggle at runtime while the G.hn chip is in the bootloader. Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Thomas Bong <thomas.bong@devolo.de>
* tools/cmake: update to 3.27.4Hannu Nyman2023-09-031-2/+2
| | | | | | | Update cmake to 3.27.4 No patch refresh needed. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* wireless-regdb: update to 2023.09.01Yuu Toriyama2023-09-031-2/+2
| | | | | | | | | | | Changes: 9dc0800 wireless-regdb: Update regulatory rules for Philippines (PH) 111ba89 wireless-regdb: Update regulatory rules for Egypt (EG) from March 2022 guidelines ae1421f wireless-regdb: Update regulatory info for Türkiye (TR) 20e5b73 wireless-regdb: Update regulatory rules for Australia (AU) for June 2023 991b1ef wireless-regdb: update regulatory database based on preceding changes Signed-off-by: Yuu Toriyama <PascalCoffeeLake@gmail.com>
* mvebu: add reset delays of PHYs for Fortinet FortiGate 50EINAGAKI Hiroshi2023-09-031-0/+4
| | | | | | | | | | Add reset-(de)assert-us to ethernet PHYs on Fortinet FortiGate 50E to solve instability after HW resetting of PHYs. (ex.: restarting "network" service, etc...) Fixes: #13391 Fixes: 102dc5a62506 ("mvebu: add support for Fortinet FortiGate 50E") Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* kernel: bump 6.1 to 6.1.51John Audia2023-09-031-2/+2
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.51 No patches needed a rebased. Update to checksum only. Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 5.15 to 5.15.130John Audia2023-09-031-2/+2
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.130 No patches needed a rebased. Update to checksum only. Build system: x86_64 Build-tested: ramips/tplink_archer-a6-v3 Run-tested: ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* hostapd: allow adding initial AP without breaking STA interface connectionFelix Fietkau2023-09-034-33/+112
| | | | | | | | | | When switching from a STA-only configuration to AP+STA on the same phy, the STA was previously restarted in order to notify hostapd of the new frequency, which might not match the AP configuration. Fix the STA restart by querying the operating frequency from within hostapd when bringing up the AP. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix config change detection on boolean valuesFelix Fietkau2023-09-031-1/+1
| | | | | | Check for null instead of truish value Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix parsing HT secondary channel offsetFelix Fietkau2023-09-021-3/+4
| | | | | | It returned the wrong value when using HT40- Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: reset center_seg0_idx for 2.4 GHzFelix Fietkau2023-09-022-3/+11
| | | | | | Fixes 40 MHz channel bandwidth on 2.4 GHz AP+STA Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: use proper helper functions for setting seg0/seg1 idx and chwidthFelix Fietkau2023-09-021-29/+6
| | | | | | Simplifies code and removes #ifdef statements Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mediatek: fix sysupgrade error for WR30UHank Moretti2023-09-011-1/+0
| | | | | | | | | The NMBM-Enabled layout did not use fit image, it just need default process. So it was been removed in platform.sh. It will fix sysupgrade error for xiaomi,mi-router-wr30u-112m-nmbm. Signed-off-by: Hank Moretti <mchank9999@gmail.com>
* scripts/download.pl: remove stale GNOME download sitesHannu Nyman2023-09-011-6/+2
| | | | | | | | | Remove stale sites from @GNOME alias: * remove 2 sites that have stale 3 years old content * remove 2 sites that have dropped GNOME * convert 2 sites from FTP to HTTP Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>