aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ramips: clean up useless dts partition labelsShiji Yang2024-02-21
| | | | | | | | | | The previous NVMEM eeprom conversions[1][2] left a lot of partition labels that were no longer used. They can be removed now. [1] https://github.com/openwrt/openwrt/pull/13584 [2] https://github.com/openwrt/openwrt/pull/13587 Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* rockchip: add Radxa CM3 IO board supportMarius Durbaca2024-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- RockChip RK3566 ARM64 (4 cores) - up to 8GB LPDDR4X - 1x HDMI, - 2x MIPI DSI - 2x MIPI CSI2 - 1x eDP - 1x PCIe card - 2x SATA - 2x USB 2.0 Host - 1x USB 3.0 - 1x USB 2.0 OTG - 10/100/1000 Base-T - microSD slot - 40-pin GPIO expansion header - 12V DC Radxa CM3 needs to mount on top of this IO board in order to create complete Radxa CM3 IO board platform. Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Reviewed-by: Tianling Shen <cnsztl@immortalwrt.org> Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
* uboot-rockchip: add Radxa CM3 IO board supportMarius Durbaca2024-02-21
| | | | | | | Add support for the Radxa CM3 IO board. Reviewed-by: Tianling Shen <cnsztl@immortalwrt.org> Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
* rkbin: add rk3566 atf/tpl blobsMarius Durbaca2024-02-21
| | | | | | | Currently there are no atf/tpl blobs for rk3566 SoCs so this commit adds the prebuilt firmware from the vendor. Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
* mac80211: add AQL support for broadcast/multicast packetsFelix Fietkau2024-02-21
| | | | | | Should improve performance/reliability with lots of mcast packets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to 6.6.15Robert Marko2024-02-21
| | | | | | | Update backports to the latest 6.6 point release. Signed-off-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* generic: replace simple AQR hack patch with upstream versionChristian Marangi2024-02-21
| | | | | | | | | Simple AQR hack patch has been merged upstream, hence we can drop it from hack directory and move it to backport. The patch for 5.15 are correctly reworked to align to outdated API. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* build: don't drop 'user' flag when using the ImageBuilderDaniel Golle2024-02-20
| | | | | | | | | | | | | | | | | | Commit be9023ed43 ("build: fix opkg flags in rootfs") introduced a call to 'awk' which removes the 'user' flag from all installed packages in the opkg status file. While is is somehow desireable when building images directly within the buildroot, when using the ImageBuilder dropping the 'user' flag means loosing information about a package being deliberately selected or just implicitely pulled as a dependency. And that then break tools like 'auc' which request only packages having the 'user' flag from the asu server, resulting in broken images being delivered to users. Restore the original behavior in case of an image being created using the ImageBuilder. Fixes: be9023ed43 ("build: fix opkg flags in rootfs") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* build: add explicit --no-show-signature for gitOto Šťáva2024-02-20
| | | | | | | | | | | | | When `log.showSignature` is set, it causes the `SOURCE_DATE_EPOCH` to include a textual signature description on OpenPGP-signed commits, because Git prints the description into stdout. This then causes some scripts to fail because they cannot parse the date from the variable. Adding an explicit `--no-show-signature` prevents the signatures from being displayed even when one has Git configured to show them by default, fixing the scripts. Signed-off-by: Oto Šťáva <oto.stava@gmail.com>
* mediatek: filogic: fix mt7981 DT nodenamesRafał Miłecki2024-02-20
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mediatek: filogic: improve mt7981 DT coding styleRafał Miłecki2024-02-20
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mediatek: filogic: reorder mt7981 DT propertiesRafał Miłecki2024-02-20
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mediatek: filogic: reorder mt7981 DT SoC reg-based nodesRafał Miłecki2024-02-20
| | | | | | | Follow upstream Linux kernel guidelines: https://www.kernel.org/doc/html/next/devicetree/bindings/dts-coding-style.html#order-of-nodes Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mediatek: filogic: reorder mt7981 DT name-based nodesRafał Miłecki2024-02-20
| | | | | | | Follow upstream Linux kernel guidelines: https://www.kernel.org/doc/html/next/devicetree/bindings/dts-coding-style.html#order-of-nodes Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* generic: 6.1: add missing symbol for EN8811H PHY driverRobert Marko2024-02-19
| | | | | | | Disable Airoha EN8811H PHY driver by default to avoid individual targets having to disable it. Signed-off-by: Robert Marko <robimarko@gmail.com>
* rockchip: add NanoPi R4S Enterprise Edition buildTianling Shen2024-02-19
| | | | | | | | | | | FriendlyElec renamed the NanoPi R4S board with EEPROM (mac address) to "enterprise" edition, and it was added as a "new" board in upstream kernel. This patch switched to use that upstreamed dts and removed local EEPROM patch. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* ath79: update WA/XC devices UBNT_VERSION to 8.7.4Martin Garbe2024-02-19
| | | | | | | | | | Ubiquiti WA devices with newer hw version (sold 2023) require UBNT_VERSION to be at least 8.7.4, otherwise the image is rejected. For consistency, also increase version number for XC devices. Signed-off-by: Martin Garbe <monomartin@opennet-initiative.de>
* rockchip: add NanoPi R2C Plus supportTianling Shen2024-02-19
| | | | | | | | | | | | The NanoPi R2C Plus is a small variant of NanoPi R2C with a on-board eMMC flash (8G) included. Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* uboot-rockchip: add NanoPi R2C Plus supportTianling Shen2024-02-19
| | | | | | Add support for the FriendlyARM NanoPi R2C Plus. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* qualcommax: backport more changes for ipq6018 and ipq8074Chukun Pan2024-02-19
| | | | | | | | - Mark patches as upstream - Backport more upstream changes - Handle conflicts and refresh patches Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* base-files: sysupgrade: include uci-defaults script disabling servicesRafał Miłecki2024-02-19
| | | | | | | | | | | | | | Disabled services should be kept disabled after sysupgrade. This can be easily handled using a proper uci-defaults script. Extend sysupgrade to check for disabled services, generate uci-defaults script disabling them and include it in backup. Cc: Christian Marangi <ansuelsmth@gmail.com> Cc: Jo-Philipp Wich <jo@mein.io> Cc: Jonas Gorski <jonas.gorski@gmail.com> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Jo-Philipp Wich <jo@mein.io>
* base-files: sysupgrade: always setup overlay when creating backupRafał Miłecki2024-02-19
| | | | | | | | | | | | | | | | | | | | Setting overlay while creating backup allows including extra files in archive without actually writing them to flash. Right now this feature is limited to /etc/backup/ directory and is used only for including installed_packages.txt. Extend this solution to make it more generic: 1. Always mount overlay while creating backup 2. Overlay whole / to don't limit it to /etc/backup/ This allows including any additional files in backups and adding more sysupgrade features. Cc: Luiz Angelo Daros de Luca <luizluca@gmail.com> Cc: Christian Marangi <ansuelsmth@gmail.com> Cc: Jo-Philipp Wich <jo@mein.io> Cc: Jonas Gorski <jonas.gorski@gmail.com> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: sysupgrade: always cleanup after backupsLuiz Angelo Daros de Luca2024-02-19
| | | | | | | | | | When tar was failing, it was exiting immediately. Some files and the tmpfs mount (-k) would remain breaking the next backup attempt. Also remove redundant $? from exit builtin call as exit already returns the last command exit code when called. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* base-files: sysupgrade: do not hide tar errorsLuiz Angelo Daros de Luca2024-02-19
| | | | | | | | | | | | | | | tar stderr was probably discarded only to remove this message: tar: removing leading '/' from member names However, together with that, any other error would also be discarded. It is easier to fix that allowing the error message to be printed. In sysupgrade, the backup file list only uses absolute paths. That way, the solution is to remove the leading '/' from all files (sed) and chdir to / (option -C /) Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* mediatek: filogic: move mt7981 on-SoC blocks to "soc" node in DTRafał Miłecki2024-02-19
| | | | | | | It's a standard way of grouping on-SoC hardware blocks and this matches upstream DTS. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mediatek: filogic: fix nvmem cell names of the GL.iNet MT-2500Daniel Golle2024-02-19
| | | | | | | Fix style of nvmem cell names in the device tree of the GL.iNet MT-2500. Fixes: 49ed52b862 ("mediatek: filogic: convert GL.iNet MT-2500 to use NVMEM-on-MMC)" Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* linux-firmware: intel: add BE200 wifi firmwareJanusz Dziedzic2024-02-18
| | | | | | | Add option to install Intel BE200 firmware required by iwlwifi driver and Wifi7 hardware. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
* imx: remove 5.15 supportKoen Vandeputte2024-02-18
| | | | | | Drop all 5.15 files as 6.1 is the default now Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* imx: switch to kernel 6.1Koen Vandeputte2024-02-18
| | | | | | | I have this kernel running for weeks some on a lot of boards in multiple scenarios Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: bump 6.1 to 6.1.78John Audia2024-02-18
| | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.78 Manually rebased: bcm27xx/patches-6.1/950-0865-usb-dwc3-Set-DMA-and-coherent-masks-early.patch bcm27xx/patches-6.1/950-0124-Add-support-for-all-the-downstream-rpi-sound-card-dr.patch All other patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, logic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, logic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* mvebu: drop kernel 5.15 config and patchesStefan Kalscheuer2024-02-18
| | | | | | With default now being at 6.1 we can remove all 5.15 components. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* mvebu: switch to kernel 6.1Stefan Kalscheuer2024-02-18
| | | | | | After a few months of testing it's time to move to 6.1 by default. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* ca-certificates: update to version 20240203Seo Suchan2024-02-18
| | | | | | Update Mozilla certificate authority bundle to version 2.64 Signed-off-by: Seo Suchan <tjtncks@gmail.com>
* realtek: fix Netgear GS110TPP OEM installBjørn Mork2024-02-18
| | | | | | | | | | | | | | | | | | | | Recent OEM firmware versions test the version number embedded in the uimage "name" header field. The exact restricton is unknown, but "7.0.8.4" seems to be the lowest number accepted on a GS110TPPv1 which already has that version or higher. A "9.9.9.9" version is accepted as valid by the GS110TPPv1 OEM firmware, and considered both unique enough to identify an OpenWrt image and moderately future proof against OEM version bumps. This change is also boot tested on a GS108Tv3 with "BOOT Loader Version 1.0.0.2 (2018-08-31 17:05:26 UTC)" to verify that it doesn't break boot on older hardware. Link: https://forum.openwrt.org/t/72510/58 Signed-off-by: Bjørn Mork <bjorn@mork.no>
* mediatek: filogic: convert GL.iNet MT-2500 to use NVMEM-on-MMCDaniel Golle2024-02-18
| | | | | | | Use nvmem-layout in device tree instead of extracting MAC addresses in userspace. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7981: remove inaccurate compatible stringsDaniel Golle2024-02-18
| | | | | | | Remove more inaccurate compatible strings from various clock controllers of the MT7981 SoC. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7981: prevent system freezes on bootDaniel Golle2024-02-18
| | | | | | | | Import patch to make sure SGM_REG_SEL clock is always enabled as it seems that more registers than just SGMIISYS0 and SGMIISYS1 are depending on that clock being enabled. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: convert GL.iNet MT-6000 to NVMEM-on-MMCDaniel Golle2024-02-18
| | | | | | | Now that we can reference MMC partitions in device tree, use that to get rid of Wi-Fi EEPROM and MAC address setup in userspace. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: nvmem: correctly assign fwnode to MMC block deviceDaniel Golle2024-02-18
| | | | | | | | | | Use device_set_node to make sure OF node gets assigned on block devices to be used as NVMEM providers. While block partitions were already working fine as NVMEM providers, bare block devices such as mmcblk0boot1 will not work without this change. Fixes: fc153aa8d9 ("kernel: import pending patches adding support for NVMEM on UBI and MMC") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qualcommax: ipq807x: wax630: correct UNIPHY2 MAC modeRobert Marko2024-02-17
| | | | | | | | UNIPHY2 on the WAX630 is connected to a QCA8081 PHY which is only 2.5G and it does not support using USXGMII at all but rather only SGMII or SGMII+. Tested-by: Kristian Skramstad <kristian+github@83.no> Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: dts: mt7981: fix ethsys clock compatibleDaniel Golle2024-02-17
| | | | | | | | | | Remove inaccurate compatible string 'mediatek,mt7986-ethsys' which results in the wrong clock driver probing on MT7981 with Linux 6.1 and ends up freezing the system once WED is used. Fixes: da970d63fb ("mediatek: switch to Linux version 6.1") Reported-by: Chen Minqiang <ptpt52@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: replace built-in Aquantia driver with moduleRafał Miłecki2024-02-17
| | | | | | | | | | | | | Some Aquantia PHYs (e.g. AQR113C) require firmware to be uploaded by host system. With built-in drivers this doesn't work in OpenWrt / embeddded as filesystem isn't available during PHY probe. That results in delays like: [ 1.588068] Aquantia AQR113C mdio-bus:00: Falling back to sysfs fallback for: Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld [ 64.526387] Aquantia AQR113C mdio-bus:00: failed to find FW file Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld (-110) Switch to module to postpone PHY probe to init state. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* qualcommax: ipq807x: correct PHY mode for AQRRobert Marko2024-02-17
| | | | | | | | | | | | | | Interfaces that have AQR-s attached to them are using USXGMII and not just the default SGMII. This was fine until SSDK added some sanity checking and now on Qnap 301W it would fail with: [ 24.740197] nss-dp 3a001800.dp5 10g-1 (uninitialized): failed to connect to phy device [ 24.740264] nss-dp: probe of 3a001800.dp5 failed with error -14 Since this is not Qnap 301W specific lets fix it subtarget wide by declaring the correct PHY mode for 10G AQR-s. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: 301w: correct PHY mode for AQRRobert Marko2024-02-17
| | | | | | | | | | | | | Interfaces that have AQR-s attached to them are using USXGMII and not just the default SGMII. This was fine until SSDK added some sanity checking and now on Qnap 301W it would fail with: [ 24.740197] nss-dp 3a001800.dp5 10g-1 (uninitialized): failed to connect to phy device [ 24.740264] nss-dp: probe of 3a001800.dp5 failed with error -14 So, lets fix 10G AQR ports by declaring the correct PHY mode. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: mt7622: skip build also for Xiaomi AX6SDaniel Golle2024-02-17
| | | | | | | Also here build fails due to increased kernel size. Fixes: da970d63fb ("mediatek: switch to Linux version 6.1") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* build: align SOURCE path for build system and SDKPaul Spooren2024-02-17
| | | | | | | | | | | | | | | Building a package in the build system or the SDK results in different values for the `SOURCE` property, it's either `packages/<package name>` or `feeds/base/<package name>`. The reason is that the SDK handles `openwrt.git` as an external feed called while the build system contains the *base* packages directly. Since packages created with either method are (ideally) the same (bit for bit), align the content of SOURCE. To do so this commit creates a symlink from `feeds/base` to `$(TOPDIR)/package` and adopts the SOURCE when building from inside the build system. Signed-off-by: Paul Spooren <mail@aparcar.org>
* wifi-scripts: fix FILS AKM selection with EAP-192Eneas U de Queiroz2024-02-17
| | | | | | Fix netifd hostapd.sh selection of FILS-SHA384 algorithm with eap-192. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* mediatek: mt7622: skip build for MT7622 rfb1 (UBI)Daniel Golle2024-02-17
| | | | | | | | | | Due to increased kernel size the build currently fails if including the MT7622 rfb1 (UBI). Skip it for now until there is a better solution (such as replacing the bootloader and changing the flash layout). Fixes: da970d63fb ("mediatek: switch to Linux version 6.1") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: bpi-r3-mini: include kmod-phy-airoha-en8811hDaniel Golle2024-02-17
| | | | | | | | Include the needed Ethernet PHY driver module for the BananaPi R3 mini. Fixes: b03d3644cf ("mediatek: filogic: add BananaPi BPi-R3 mini") Reported-by: BPI forum user nezar_taima Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lua5.3: backport CVE fixRosen Penev2024-02-17
| | | | | | Also refreshed some patches Signed-off-by: Rosen Penev <rosenp@gmail.com>