aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* package: add fitblk util to release /dev/fit* devicesDaniel Golle2024-02-15
| | | | | | | | | Add minimalistic tool to allow releasing /dev/fit* devices which is needed on sysupgrade when using the fitblk driver. The package is hidden in menuconfig, it should only be selected by adding it to the default package selection of boards using it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add pending fitblk uImage.FIT sub-image block driverDaniel Golle2024-02-15
| | | | | | | | | Add 'fitblk' driver to replace the rejected/deprecated uImage.FIT partition parser. To use the new driver, add phandle /chosen/rootdisk and point it to the MTD partition, UBI volume or block device holding the uImage.FIT. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: import pending patches adding support for NVMEM on UBI and MMCDaniel Golle2024-02-15
| | | | | | | Similar to supporting nvmem-layouts on MTD devices, also allow referencing UBI and MMC devices in DT. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: allow skipping deprecated uImage.FIT partition parserDaniel Golle2024-02-15
| | | | | | | | | | | | In order to allow gradually migrating the boards currently using the uImage.FIT partition (deprecated/rejected) parser to the new fitblk driver, skip the partition parser code in case the new fitblk driver (which serves the same purpose) is used. As an indicator for the use of the new fitblk driver, check if the /chosen/rootdisk property is present in the Device Tree. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: move uImage.FIT partition parser to mediatek targetDaniel Golle2024-02-15
| | | | | | | | | | The partition parser approach has been rejected upstream, it will be replaced by a small block driver which is the solution suggestion by upstream maintainers. As the partition parser has only been used by the mediatek target, as a first step, move it there. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: 6.1: backport UBI device model improvementsDaniel Golle2024-02-15
| | | | | | | | Backport two commits from Linux 6.3 wiring up device node parents of ubi devices (pointing to their MTD parent) as well as ubiblock devices (poiting to their parent UBI volume). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* arm-trusted-firmware-mediatek: use UBI on new NAND targetsDaniel Golle2024-02-15
| | | | | | | | | | Make use of recently added UBI support in MediaTek's ARM TrustedFirmware-A on new MT7988 SoC. Load fip from static UBI volume instead of fixed offset on SPIM-NAND and SNFI. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* arm-trusted-firmware-mediatek: set HIDDEN=yDaniel Golle2024-02-15
| | | | | | | | Hide arm-trusted-firmware-mediatek packages from interactive config. Exposing them only causes confusion and needed variants are anyway selected as dependencies by uboot-mediatek packages. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ipq807x: add support for CMCC RM2-6Chukun Pan2024-02-15
| | | | | | | | | | | | | | | | | | Hardware specifications: SoC: Qualcomm IPQ8070A RAM: 512MB of DDR3 Flash: 256MB Micron NAND Ethernet: 2x 1G RJ45 port WiFi1: QCN5024 2x2 2.4GHz WiFi2: QCN5054 2x2 5GHz Fan: 1x GPIO controlled Button: Reset, WPS Flash instructions: Upload factory.bin in stock firmware's upgrade page. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: MX4200 convert qca807x PHY to new implementationPaweł Owoc2024-02-15
| | | | | | | Convert qca807x PHY to new implementation like for other devices. Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com>
* qca-ssdk: drop not used Malibu PHY patchRobert Marko2024-02-15
| | | | | | | Now that Malibu (QCA807x) PHY-s use an upstream driver we dont need support for defining address of the first PHY in the package so drop the patch. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: remove usage of malibu_first_phy_addrRobert Marko2024-02-15
| | | | | | | | Now that Malibu (QCA807x) PHY is using the upstream driver, we dont need support to define address of the first PHY in package, so remove the malibu_first_phy_addr DTS property. Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: 6.1: use upstreamed QCA807x fixupRobert Marko2024-02-15
| | | | | | | Now that QCA807x interface mode check was upstreamed, use the upstreamed version and mark it as such. Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools/expat: fix build error with ccacheKoen Vandeputte2024-02-15
| | | | | | | | Disable compilation of separate tests as it causes a build error when combined with ccache Fixes: 4a3f430d72 ("tools/expat: update to 2.6.0") Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: fix bidirectional hardware flow offloadFelix Fietkau2024-02-14
| | | | | | Fix a bug that was introduced upstream Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ugps: update to Git HEAD (2024-02-14)Petr Štetiar2024-02-14
| | | | | | 69561a074d6f ugps: add quality measurement parameters Signed-off-by: Petr Štetiar <ynezz@true.cz>
* wifi-scripts: create the wlan object in board_data if not presentFelix Fietkau2024-02-13
| | | | | | Fixes an error in wifi detection Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: drop kernel 5.15Andre Heider2024-02-13
| | | | | | One version is sufficient for this minor target. Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: switch to kernel 6.1Andre Heider2024-02-13
| | | | | | Lightly tested on boneblack, no fallout observed so far. Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: run kernel_oldconfig for 6.1Andre Heider2024-02-13
| | | | | | No manual changes done. Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: copy kernel config for 6.1Andre Heider2024-02-13
| | | | | | Unmodified copy to ease reviewing follow-up changes. Signed-off-by: Andre Heider <a.heider@gmail.com>
* ucode: update to Git HEAD (2024-02-13)Jo-Philipp Wich2024-02-13
| | | | | | | | | | | | | 7e5830edfb38 nl80211: fix datatype of NL80211_BAND_IFTYPE_ATTR_HE_CAP_{MAC,PHY} attrs 5c8fd34bac42 nl80211: fix parsing of NL80211_BAND_ATTR_VHT_MCS_SET attribute e8d4e4fe967d nl80211: fix decoding of NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET attribute 30a3f7ad0433 rtnl: store callback in listener registry only on success 9cbe8294909f rtnl: optimize reception of rtnl events 534417132e18 rtnl: increase event socket rx buffer size limit to 1 MiB 3f9811d2f7b7 compiler: close upvalues on loop control statements Fixes: https://github.com/jow-/ucode.git/issues/187 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* libxml2: update to 2.12.5Nick Hainke2024-02-13
| | | | | | | | Release Notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.5 Fixes: CVE-2024-25062 Signed-off-by: Nick Hainke <vincent@systemli.org>
* mediatek: filogic: fixup mt7988a DTS coding styleRafał Miłecki2024-02-13
| | | | | | Use coding style as described as preferred in upstream DTS Coding Style. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mediatek: filogic: reorder mt7988a DTS propertiesRafał Miłecki2024-02-13
| | | | | | | Use order described as preferred in DTS Coding Style. Mostly just move "compatible", "reg", "ranges" and "status" properties. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* binutils: update to 2.42Nick Hainke2024-02-12
| | | | | | | Refresh patch: - 001-replace-attribute_const.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* base-files: move uci_set_poe() to uci-defaults.shSander Vanheule2024-02-12
| | | | | | | | | PoE devices in the realtek target have the possibility to add PSE info to the board description via 02_network. Make this available for all targets, by moving the uci_set_poe() function to the globally available uci-default.sh script. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: move port filtering out of uci_set_poe()Sander Vanheule2024-02-12
| | | | | | | | | | | | uci_set_poe() now performs two duties: filtering the list of device ports to exclude non-PoE ports, and generating the PoE related device config. Extract the port filtering to an external function, which is made a bit more readable by the use of 'sort -V [-r] | uniq -u' to filter duplicate entries out of a (reverse) version sorted list. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: add support for chassis fan on ZyXEL XGS1250-12Tobias Schramm2024-02-12
| | | | | | | | | | The ZyXEL XGS1250-12 has a chassis fan. The fan is positioned perfectly to provide additional cooling to the Aquantia NBase-T phys. Testing has shown that the phys can reach temperatures upwards of 72 degrees Celsius quite easily at about 20 degrees Celsius ambient. Support the chassis fan to give the phys a bit of extra cooling. Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
* Revert "build: align SOURCE path for build system and SDK"Daniel Golle2024-02-12
| | | | | | | | | This reverts commit 131e41614dcfae1f995e55330ada6573ca244ba3. Sadly it makes menuconfig fail with tmp/.config-package.in:171: glob failed: No files found "feeds/base/utils/busybox/Config.in" make: *** [/usr/src/openwrt/include/toplevel.mk:136: menuconfig] Error 1 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* build: align SOURCE path for build system and SDKPaul Spooren2024-02-12
| | | | | | | | | | | | | | | 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>
* generic: 6.1: fixup QCA807x upstream PHYRobert Marko2024-02-12
| | | | | | | | | | | | | | | Currently, we are checking whether the PHY package mode matches the individual PHY interface modes at PHY package probe time, but at that time we only know the PHY package mode and not the individual PHY interface modes as of_get_phy_mode() that populates it will only get called once the netdev to which PHY-s are attached to is being probed and thus this check will always fail and return -EINVAL. So, lets move this check to .config_init_once as at that point individual PHY interface modes should be populated. Fixes: 16364e410039 ("generic: 6.1: backport QCA807x PHY patches") Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools/expat: update to 2.6.0Nick Hainke2024-02-12
| | | | | | | Changelog: https://github.com/libexpat/libexpat/blob/R_2_6_0/expat/Changes Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/ccache: update to 4.9.1Nick Hainke2024-02-12
| | | | | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_9_1 Manually refresh patch: - 100-honour-copts.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* ramips: mt76x8: drop AT803X phy driverShiji Yang2024-02-12
| | | | | | | | | This Qualcomm Gigabit phy driver was mistakenly added because MT76x8 does not support external phy, and it only supports max 100M full duplex speed. Fixes: cadf5171074f ("ralink: add support for mt7628") Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* qca-ssdk: drop deprecated Xiaomi LEDs quirk patchChristian Marangi2024-02-11
| | | | | | | Drop deprecated Xiaomi LEDs quirk patches as they are not needed anymore as LEDs are now supported by the upstream qca807x driver. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: apply special PHY LEDs configuration for Xiaomi AX9000Christian Marangi2024-02-11
| | | | | | | | | Xiaomi AX9000 apply a special PHY LEDs configuration where the unique green LED for each qca807x PHY port is turned on also on 1000Mbps link. Apply this special configuration to reflect original implementation. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: apply special PHY LEDs configuration for Xiaomi AX3600Christian Marangi2024-02-11
| | | | | | | | | | | | Xiaomi AX3600 apply a special PHY LEDs configuration where the unique green LED for each qca807x PHY port is turned on also on 1000Mbps link. Apply this special configuration to reflect original implementation. Also enable CONFIG_PHYLIB_LEDS to actually expose the PHY LEDs if defined in DT. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: convert qca807x PHY to PHY package implementationChristian Marangi2024-02-11
| | | | | | | | Convert every qca807x PHY definition in DT to new PHY package implementation to correctly support applying fixup for the correct PHY mode. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: set correct PHY mode for port 0-4Christian Marangi2024-02-11
| | | | | | | | | | | | Port 0-4 have the mode set to SGMII instead of PSGMII. Now that we use the upstream qca807x driver, this conflicts with the qca SSDK driver that expects the mode to be PSGMII as for not integrated driver, it does refer to the real PHY mode. Update the entry for port 0-4 to PSGMII to solve warning from qca SSDK in ipq8074-ess.dtsi. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qca-ssdk: add patch to support detection of PSGMII mode for PHYChristian Marangi2024-02-11
| | | | | | | | | | | If a PHY doesn't use the integrated driver, SSDK use poll the phydev to get the real PHY mode. qca807x use PSGMII as PHY mode and this specific mode is not detected in qca SSDK while used in the entire driver. Add support for it in the hsl_port_phydev_interface_mode_status_get function used to translate PHY mode to the internal SSDK value. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: enable qca807x PHY driverChristian Marangi2024-02-11
| | | | | | | | IPQ807x have integrated qca8074 PHY supported by the upstream qca807x driver. Enable it to use it instead of the downstream qca SSDK variant. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qca-ssdk: disable Malibu PHY in favor of upstream versionChristian Marangi2024-02-11
| | | | | | | | | | Disable Malibu PHY driver in Qca SSDK in favor of the upstream version. The same workaround are applied and the version upstream is just a drop in replacement and is well tested from the ipq40xx target. Also using the upstream version permits further support for LEDs. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: adapt to new Upstream QCA807x PHY driverChristian Marangi2024-02-11
| | | | | | | | Adapt patches to new Upstream QCA807x PHY driver. Rework the PHY patch to new PHY Package nodes. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: backport QCA807x PHY patchesChristian Marangi2024-02-11
| | | | | | | | | | | | Backport QCA807x PHY patches merged upstream that introduce the new concept of PHY package. Also add in generic config the new Kconfig CONFIG_QCA807X_PHY. All affected patch automatically refreshed with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: move LEDs netdev trigger patch from pending to backportChristian Marangi2024-02-11
| | | | | | | Move LEDs netdev trigger patch from pending to backport as it has been merged upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: backport Aquantia PHY endianess patchChristian Marangi2024-02-11
| | | | | | | | | Backport Aquantia PHY endianess patch. While the current implementation works ok for Little-Endian targets, backport patch to prevent any kind of malfunction if in the future we will have Big-Endian target with Aquantia PHYs. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: fix wrong PHY node definition for Buffalo WXR-5950AX12Christian Marangi2024-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit d737ae99cb36 ("qualcommax: Fix Buffalo WXR-5950AX12 Ethernet DTS") reverted the switch bmp to the original OEM definition and added the malibu_first_phy_addr property. Problem is that OEM bmp definition is wrong and actually doesn't make sense, probably caused by copy-paste of the QCOM reference DTS without actually setting real values. What actually fixed the regression was adding the malibu_first_phy_addr as without it the MALIBU PHY was actually not correctly configured and the Aquantia PHY were actually configured as MALIBU PHY. Fix all these wrong PHY definition. The BPM is reverted and the following fixes are applied: - Drop ESS_PORT1 as it's not actually attached in HW. - Move ESS_PORT5 AGAIN from lan to wan. This refer to the first Aquantia PHY that is labelled "wan" - Move ESS_PORT6 AGAIN from wan to lan. This refer to the second Aquantia PHY that is labelled "lan1". Also PHY tag in MDIO node are renumbered to start from 0 following the tagging standard used also in other dts and the not attached one (reg 0x18 and reg 0x1c) are correctly dropped. Definition for port@1 in phyinfo is dropped as it doesn't exist. dp nodes are updated to reference the new PHY tag numbering. Fixes: d737ae99cb36 ("qualcommax: Fix Buffalo WXR-5950AX12 Ethernet DTS") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: fix failsafe ethernet for NWA50AX ProDavid Bauer2024-02-11
| | | | | | | | | The NWA50AX Pro only has a eth0 interface for its only ethernet port. Use this port for preinit. Fixes non-working network in failsafe mode. Signed-off-by: David Bauer <mail@david-bauer.net>
* ramips: mtk_eth_soc: fix NULL pointer dereference for syncpShiji Yang2024-02-11
| | | | | | | | u64_stats_init() has been unable to handle NULL pointer since 6.1 kernel. This patch fixes kernel oops on mt76x8 and rt305x sub-target. Signed-off-by: Shiji Yang <yangshiji66@qq.com>