9389775ceb47 rpc-sys: update packagelist call to handle apk abiversion tag ed0d01e4360b file: linkstat to get link stat info
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19211 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: fccd1dd)
base-files: handle packages alternatives when apk removes packages
On commit 3010ab8 ("base-files: add update_alternatives function") was implemented the function to handle ALTERNATIVES when using APK (OPKG handle it internally) but in commit bcc6415 ("base-files: add compatibility for APK and OPKG") was only called when adding a package, so call it also when removing packages.
While we are here, check for a more specific *.alternatives files instead of *.list, and remove redundant "filelist" variable definition.
Fixes: bcc6415 ("base-files: add compatibility for APK and OPKG") Fixes: https://github.com/openwrt/openwrt/issues/19090 Fixes: https://github.com/openwrt/openwrt/issues/16991 Reported-and-tested-by: Eric Fahlgren <ericfahlgren@gmail.com> Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19093 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 47b6b9d)
glibc 2.39 has removed libcrypt completely. solution: build libxcrypt with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19160 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: e3cf708)
Backport some additional upstream patches: - 6.13-arm64-dts-imx8mm-venice-gw73xx-remove-compatible-in-overlay-files.patch (this resolves some issues when using dt overlays on gw73xx-0x) - 6.16-PCI-imx6-Skip-link-up-workaround-for-newer-platforms.patch - pending-PCI-imx6-Remove-apps_reset-toggle-in-_core_reset-function (these resolve enumeration issues on imx8mm/imx8mp with a pcie switch)
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/19189 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 5c9460a)
Enable DT overlay support: - add dt-overlay to board features - add DEVICE_DTS_OVERLAYS - update the boot script to resize before applying each overlay
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/19189 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 6bb42dd)
As a workaround to an issue causing hang during PCI enumeration on imx8mp with a specific PCIe switch, disable PCI AER.
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/19189 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 2b0b353)
toolchain/wrapper: add missing qstrip to info.mk export
When using an external toolchain, the SetToolchainInfo function is missing a qstrip call on GCC_VERSION, which results in quotes making it to the toolchain info.mk file.
This leads to a failure to build the libgcc ipk package because the quotes make it to its version and filename. For some reason, it only fails on the first make invocation, but succeeds on subsequent ones on my setup.
Fix this issue by adding the qstrip, making it consistent with the internal toolchain approach.
Signed-off-by: Ondrej Cierny <o.cierny@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19192 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 1ce0eb5)
qualcommax: ipq60xx: WAX610 remove unmountable oem partitions on upgrade
When using TFTP install method on a fresh unit, wifi_fw and ubi_rootfs UBI volumes must be removed or will hang when mounting.
Signed-off-by: Erik Servili <serverror@serverror.com> Link: https://github.com/openwrt/openwrt/pull/19215 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 9df3d6b)
wifi-scripts: add support for RSN overide and use it for improved WPA3 compat
Override via RSNE is a relatively new feature, which can be used to enable WPA3 features in a way that is invisible to older clients. Use it by default to mask the GCMP-256 cipher from older clients, since there are compatibility issues with existing devices.
Signed-off-by: Felix Fietkau <nbd@nbd.name> (commit: b48925f)
This has been requested many times, so let's add this to speed up reviews. When a member of the "reviewers" group comments the magic word written below, that specific firmware is created and attached by a bot.
build <target>/<subtarget>/<profile>
Members of the "reviewers" group have no extra privileges, they can not commit to the repository nor perform any action outside the `build-on-comment` action.
Motivation is to speedup reviews and have a better source for sharing compiled firmware.
Signed-off-by: Paul Spooren <mail@aparcar.org> (commit: 8186e5e)
While this worked during testing, the repository of a organization requires extra permissions. Add write access to pull requests, like we do over at packages.git.
Signed-off-by: Paul Spooren <mail@aparcar.org> (commit: d3324aa)
scripts: make-index-json: rework for old Python versions
The current code uses functions and features only found in newer versions of Python, so rework to allow use on systems only supporting older Python. Tested on Python 3.8 (released Oct 2019), but should work on 3.7 also.
Suggested-by: Chen Minqiang <ptpt52@gmail.com> Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com> (commit: 0c7d564)
The IgniteNet SunSpot AC Wave2 comes with 2x QCA9994 ath10k chips connected to the IPQ8068 SoC via PCIe. Add board-2.bin for both radios on this board.
3ac4a64 qca9984: add BDFs for IgniteNet SS-W2-AC2600
Signed-off-by: Daniel Golle <daniel@makrotopia.org> (commit: d8303b4)
uboot-tools: envtools: ipq806x: ignore case of partition name
The qcomsmem MTD partition parser converts all partition names to lower case while the vendor solution uses upper case names, which often made their way into OpenWrt as labels in 'fixed-partitions' (probably due to contributors and reviewers being unaware of the qcomsmem parsers).
Use case-insensitive matching of the 'APPSBLENV' name to make ubootenv_mtdinfo() work in both cases.
Signed-off-by: Daniel Golle <daniel@makrotopia.org> (commit: 2ce1ca1)
qualcommbe: v6.12: update PCS patches to use .pcs_validate()
The original PCS driver did not use the .pcs_validate() in phylink_pcs_ops. The patches for 1000/2500base-x and 10g modes were taken from this old driver, and thus did not bother with .pcs_validate(). Thus, even though these modes are supported, phylink would not enable them.
To fix these, list these modes in .pcs_validate(). Also list them in ipq_pcs_clk_rate_get(). While the latter does not appear to change behavior, it does change the clock rates listed under /sys/kernel/debug/clk
Co-developed-by: Mantas Pucka <mantas@8devices.com> Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18435 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 8c14f33)
Add support for Maxlinear GPHY module. Also add support for kmod-polynomial, which is a dependency for this module.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18435 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 597fc65)
realtek: overwrite c22 polling unconditionally on RTL930x
During setup the mdio driver decides the polling mode of the 4 smi busses depending on the DTS phy settings. This works as follows:
- set polling to c45 if at least one phy is ethernet-phy-ieee802.3-c45 - set polling to c22 if all phys are ethernet-phy-ieee802.3-c22
On RTL930x it is not possible to switch to c22 if uboot has set c45 before. Fix this by overwriting the bitfield properly. While we are here:
- Sort variables according to kernel style (inverse christmas tree) - Initialize fields properly with = { 0 } - Use GENMASK() for better readability - Make use of RTMDIO_MAX_SMI_BUS
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/19161 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 6a1d7bf)
uboot-envtools: set nonshared flag correctly per-subpackage
Currently, uboot-envtools is being built for a (shared) instruction set (phase2 in buildbots) instead of target-specific (phase1 in builbots). So the package does not contain the uci-defaults file specific for each target_subtarget. (Only the fortunate target with coincidentally the same instruction set and target as the SDK chosen by the buildbot will have the uci-defaults file.)
This commit sets the nonshared flag correctly in the Makefile so that uboot-envtools is built for the target-specific (phase 1).
This is done by using the PKGFLAGS variable which is intended for per-binary flags (instead of PKG_FLAGS which has a global scope), as stated in some old commits 349e7b635e[1], 2d7eaf2e15[2], 064e7c8f00[3] and 2cb75cd8b9[4].
While at here, use PKG_URL, instead of URL, which is intended for global scope. As stated in commit e32edf712b[5].
Fixes: #19040 Fixes: 46e376c ("uboot-tools: migrate uboot-envtools to uboot-tools")
Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19180 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: dc80e69)