summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bcm53xx: update 600-net-disable-GRO-by-default.patch after recent GRO changeFelix Fietkau2024-04-262-6/+6
| | | | | | Fixes build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq40xx: drop 6.1 supportChristian Marangi2024-04-26129-32127/+0
| | | | | | Drop support for ipq40xx for kernel 6.1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: switch default to 6.6Christian Marangi2024-04-261-2/+1
| | | | | | Switch default kernel version for ipq40xx to 6.6. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: drop 6.1 supportChristian Marangi2024-04-2669-15965/+0
| | | | | | Drop support for ipq806x for kernel 6.1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: switch default to 6.6Christian Marangi2024-04-261-2/+1
| | | | | | Switch default kernel version for ipq806x to 6.6. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ath79: update 900-unaligned_access_hacks.patch after recent GRO changeFelix Fietkau2024-04-261-3/+12
| | | | | | Fixes build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: update the 6.6 DTS_DIR hackZoltan HERPAI2024-04-261-3/+1
| | | | | | Update and simplify the 6.1 vs. 6.6 DTS_DIR hack until 6.1 support is gone. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* netifd: add flow steering mode to the packet steering scriptFelix Fietkau2024-04-262-2/+16
| | | | | | | This allows directing processing of locally received packets to the CPUs of the tasks receiving them Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: add a packet steering mode matching the old scriptFelix Fietkau2024-04-261-2/+21
| | | | | | This spreads packet processing across all cores Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: improve GRO performanceFelix Fietkau2024-04-2612-318/+1133
| | | | | | | | For packets not belonging to a local socket, use fraglist GRO instead of regular GRO. This make segmenting packets very cheap and avoids the need for selectively disabling GRO Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport flow offload pppoe fixFelix Fietkau2024-04-269-6/+340
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/elfutils: refresh portability patch for macOSMichael Pratt2024-04-251-29/+5
| | | | | | | | | | | | | | | | Quilt refresh combined two sets of changes to the same file. The switch from using libgen.h to dirname.h because of function poisoning from gnulib's import of basename() was added as a new patch hunk instead of an edit to the original one. The original patch hunk was to fix build errors on an earlier version of elfutils before the "dirname" module was being imported to fix further build errors with the 0.191 version. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/elfutils: remove no-op copy of tdestroy()Michael Pratt2024-04-251-14/+0
| | | | | | | | | | | | A false tdestroy() function was added in order to make elfutils build on macOS again. A previous commit added declarations for a real version of tdestroy() into gnulib, which is already imported, as well as the preprocessor flags and the triggers for the Makefile.am conditional in order to include the source to be built. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/elfutils: use locally declared static reallocarray()Michael Pratt2024-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | On macOS, stdlib.h in the standard include paths does not provide reallocarray() while both elfutils and gnulib do, however they are declared differently, leading to an error: ./system.h:101:1: error: static declaration of 'reallocarray' follows non-static declaration reallocarray (void *ptr, size_t nmemb, size_t size) A normal "configure && make" build cycle results in both declarations being enabled as a result of both elfutils and gnulib having completely separate configure checks where gnulib uses an internal placeholder symbol HAVE_REALLOCARRAY, and elfutils uses a standard autoconf macro HAVE_DECL_REALLOCARRAY. Fix this by excluding the import of the reallocarray module which causes gnulib checks in the configure stage to not even consider whether to declare reallocarray later on, so the decision is only between the standard include stdlib.h and the elfutils header. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/elfutils: organize gnulib import build stageMichael Pratt2024-04-251-1/+19
| | | | | | | | | Organize the Makefile lines involved in gnulib importing and its workarounds. It improves readability and keeps git history organized. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/elfutils: override SUBDIRS variable of MakefileMichael Pratt2024-04-252-17/+20
| | | | | | | | | | | | | | | | | | Instead of editing the SUBDIRS variable with a patch, it can be overriden at the end of the command line when invoking Make. This tool has a series of recursive Makefiles in each subdirectory, therefore SUBDIRS is set to a pattern of Make functions so that the result is variable depending on the current subdirectory that Make is being invoked in. It's not necessary to have gnulib-cache.m4 in EXTRA_DIST since we don't need to re-import after packaging this in the SDK, so get rid of the entire patch hunk for ./Makefile.am Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/elfutils: update to 1.91Tony Ambardar2024-04-252-20/+65
| | | | | | | | | | | | | | | | | | | | | Release Notes: https://sourceware.org/pipermail/elfutils-devel/2024q1/006876.html Manually refresh: - 100-portability.patch Change: - replace libgen.h with gnulib "dirname" module for compilation errors: In file included from ./../libdw/libdwP.h:38, from eblobjnote.c:42: /usr/include/libgen.h:35:9: error: attempt to use poisoned "basename" 35 | #define basename __xpg_basename | ^ Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Co-Developed-by: Nick Hainke <vincent@systemli.org> Signed-off-by: Nick Hainke <vincent@systemli.org> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/coreutils: update to 9.5Michael Pratt2024-04-253-83/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Update to latest stable release. The following commits in gnulib caused a conflict in locally bootstrapped coreutils with stable gnulib: 8f4b4e52c991de2233b471f8e35a068866b31f01 2749234203959df8d72cd8638d4e00a9fff450db A module (strftime) was marked deprecated and replaced by another module (nstrftime) in the version of gnulib that coreutils was released with compared to the stable branch that we use for importing. Conflicts from the previous version of coreutils are now gone, so other imported headers are now good. Refresh patch: - 000-bootstrap.patch Remove upstreamed patch: - 001-bootstrap-sync.patch Link: https://lists.gnu.org/archive/html/coreutils/2024-03/msg00132.html Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/coreutils: update to 9.4Michael Pratt2024-04-253-13/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to latest stable release. Add configure option to disable support for the Year 2038 problem. (for now, as some versions of GCC do not yet support it) Syncing bootstrap script fails, backport an upstream patch which can be removed at next coreutils update. Several headers from the stable gnulib branch cause build failure because the changes in the imported versions are incompatible with the Makefile that gets generated for coreutils. This version of coreutils was released after being bootstrapped and autoreconf'ed with a significantly different version of gnulib compared to our local gnulib, so skip importing them (and restore the backup). While at it, organize restoring the originally shipped version of files into a Make foreach function. Refresh patch: - 000-bootstrap.patch New patch: - 001-bootstrap-sync.patch Link: https://lists.gnu.org/archive/html/coreutils/2023-08/msg00099.html Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/bison: hardcode path to m4 with STAGING_DIR_HOSTMichael Pratt2024-04-251-0/+43
| | | | | | | | | | | | | | | | | | Force bison to ignore the M4 environment variable and hardcode it to the locally built m4 during build operations using the relocatable path variable STAGING_DIR_HOST. This allows bison to continue to function while we are forcefully avoiding autoreconf and other autoconf and automake-like operations by giving a fake path to m4 with the M4 environment variable. The specific path can still be overridden independently from the environment within the line of invocation that runs bison by setting STAGING_DIR_HOST within the command, so document this in the help printout. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* gettext-full: update to 0.22.5Tony Ambardar2024-04-252-5/+5
| | | | | | | | | | | Release Announcement: https://savannah.gnu.org/news/?group_id=425 Refresh: - 200-libunistring-missing-link.patch Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/gnulib: make tdestroy() fully portableMichael Pratt2024-04-251-0/+193
| | | | | | | | | | | | | | | | | | | | | The tdestroy() function, which is a GNU extension to the standard C library, is defined in gnulib in tsearch.c but is missing it's corresponding declaration in search.in.h by being completely missing... This patch is large but upstreamable, including all of the macros and conditionals and configure checks that upstream GNU would expect for portable support, like using the @@ placeholder/substitution method to determine whether or not to have declarations based on whether or not tdestroy() is already declared within the standard headers of the default include paths. There were also some typedefs and aliases missing, along with the warnings and preprocessor exceptions that need to be added for consistency with the usage of the rest of the functions in the files. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/gnulib: add macros to skip reallocarray() functionsMichael Pratt2024-04-251-0/+115
| | | | | | | | | | | | | | | | For modules that depend on the reallocarray module, like ialloc, xalloc, and safe-alloc, it was not possible to skip importing the reallocarray module as they all contained at least one function that called reallocarray() and would cause build failure if the host system didn't declare it. This upstreamable patch adds macros that toggle whether to define functions that depend on reallocarray() based on whether the reallocarray module is being imported. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/gnulib: update to branch stable-202401Tony Ambardar2024-04-252-3/+3
| | | | | | | Patches refreshed automatically. Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/missing-macros: add symlinks to makeinfoMichael Pratt2024-04-251-1/+6
| | | | | | | | | | | | | | | | | | There are other wrapper scripts released with makeinfo like texi2pdf which are required by the build prerequisites of some tools, and have a similar purpose and usage. Let the makeinfo perl script handle all of these cases. It's worth mentioning that "texi2any" is the actual program and "makeinfo" is one of it's aliases. From upstream GNU: makeinfo: texi2any rm -f $@ -$(LN_S) texi2any $@ Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* host-build: fix stampfile name substitution per installed binariesMichael Pratt2024-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | A funny bug was discovered where if the buildroot's path has the name of the build target within it, it will also be substituted along with the stampfile's name for each program, causing an attempt to touch a file in a directory that doesn't exist. ... ... touch: cannot touch '/Volumes/touch/openwrt/staging_dir/host/stamp/.touch_installed': No such file or directory touch: cannot touch '/Volumes/ln/openwrt/staging_dir/host/stamp/.ln_installed': No such file or directory touch: cannot touch '/Volumes/chown/openwrt/staging_dir/host/stamp/.chown_installed': No such file or directory make[2]: *** [Makefile:50: /Volumes/coreutils/openwrt/staging_dir/host/stamp/.coreutils_installed] Error 1 ... ... Split up the path with $(dir) and $(notdir) before substitution to fix the syntax. Reported-by: Georgi Valkov <gvalkov@gmail.com> Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* uboot-envtools: add env settings for Edgerouter-XTim Lunn2024-04-251-1/+3
| | | | | | | | | | uboot-envtools is currently missing config for Edgerouter-X and its not immediately obvious what settings to manually apply. Provide default configuration for envtools on Edgerouter-X. Signed-off-by: Tim Lunn <tim@feathertop.org>
* sunxi: 6.6: set testing kernelZoltan HERPAI2024-04-251-0/+1
| | | | | | | | | | | Allow selecting 6.6 as testing kernel on sunxi. Runtime-tested: - Linksprite pcDuino (cortexa8) - Olimex A20 Micro (cortexa7) - Pine64 SoM (cortexa53) Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sunxi: 6.6: refresh patchesZoltan HERPAI2024-04-258-23/+23
| | | | | | Refresh kernel patches. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sunxi: update image Makefile to reflect updated DTS structure in 6.6Zoltan HERPAI2024-04-251-0/+4
| | | | | | | For the ARM arch on 6.6, DTS files are moved into their vendor directories, mimicking arm64. Reflect this in the image Makefile. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sunxi: 6.6: refresh kernel configsZoltan HERPAI2024-04-252-0/+4
| | | | | | Refresh kernel config. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sunxi: 6.6: remove upstreamed patchesZoltan HERPAI2024-04-257-888/+0
| | | | | | Remove patches that have been upstreamed. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel/sunxi: Restore kernel files for v6.1Zoltan HERPAI2024-04-2528-0/+2807
| | | | | | | | | | 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. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel/sunxi: Create kernel files for v6.6 (from v6.1)Zoltan HERPAI2024-04-2528-0/+0
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: drop 6.1 supportZoltan HERPAI2024-04-252-247/+0
| | | | | | | Now that 6.6 is the default, remove the 6.1 config and the hack that was required for the arm32 DTS dir change. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: switch default to 6.6Zoltan HERPAI2024-04-251-2/+1
| | | | | | Switch the default kernel to 6.6. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mpc85xx: fix address config for ws-ap3825iMartin Kennedy2024-04-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | In commit 6a8b83159389 ("mpc85xx: p1010: change wrapper address of simple image devices"), we adjusted the wrapper address in the recipe code for all mpc85xx simpleimage devices, including the Extreme Networks WS-AP3825i. However, we did not also adjust the KERNEL_LOADADDR and KERNEL_ENTRY config values for this board. This broke the simpleimage wrapper loader, causing GitHub issue #15237. Adjust those config values so we go back to pointing at the right address. We don't exactly need the memory, but it's also not exactly a punishment in this case. Run-tested on a ws-ap3825i. Fixes: commit 6a8b83159389 ("mpc85xx: p1010: change wrapper address of simple image devices") Tested-by: Martin Kennedy <hurricos@gmail.com> Signed-off-by: Martin Kennedy <hurricos@gmail.com>
* modules: Add kernel module for MV88E6xxx DSA switchLinus Walleij2024-04-241-0/+34
| | | | | | | | | | | | | | | | | | This adds a kernel module package for the Marvell MV88E6XXX DSA switch and a separate module package for the DSA tagger since it can in theory be used by multiple DSA switches. Enable both DSA and EDSA tags in the tagger. We can't just compile this in because just a few devices has this DSA, and it depends on e.g. the I2C and SFP to be loaded as modules first. We have no examples of DSA switches being packaged as modules before, all seem to be compiled in, but it actually works just fine to do this. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* wolfssl: Update to 5.7.0Hauke Mehrtens2024-04-242-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes multiple security problems: * [High] CVE-2024-0901 Potential denial of service and out of bounds read. Affects TLS 1.3 on the server side when accepting a connection from a malicious TLS 1.3 client. If using TLS 1.3 on the server side it is recommended to update the version of wolfSSL used. * [Med] CVE-2024-1545 Fault Injection vulnerability in RsaPrivateDecryption function that potentially allows an attacker that has access to the same system with a victims process to perform a Rowhammer fault injection. Thanks to Junkai Liang, Zhi Zhang, Xin Zhang, Qingni Shen for the report (Peking University, The University of Western Australia)." * [Med] Fault injection attack with EdDSA signature operations. This affects ed25519 sign operations where the system could be susceptible to Rowhammer attacks. Thanks to Junkai Liang, Zhi Zhang, Xin Zhang, Qingni Shen for the report (Peking University, The University of Western Australia). Size increased a little: wolfssl 5.6.6: 516880 bin/packages/mips_24kc/base/libwolfssl5.6.6.e624513f_5.6.6-stable-r1_mips_24kc.ipk wolfssl: 5.7.0: 519429 bin/packages/mips_24kc/base/libwolfssl5.7.0.e624513f_5.7.0-stable-r1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mbedtls: Update to 2.28.8Hauke Mehrtens2024-04-242-8/+8
| | | | | | | | | This contains a fix for: CVE-2024-28960: An issue was discovered in Mbed TLS 2.18.0 through 2.28.x before 2.28.8 and 3.x before 3.6.0, and Mbed Crypto. The PSA Crypto API mishandles shared memory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: sync cpufreq support with changed compatible stringDaniel Golle2024-04-242-12/+52
| | | | | | | | | The compatible string for the MediaTek MT7988 SoC ended up being 'mediatek,mt7988a' instead of 'mediatek,mt7988' in the now upstream dtsi. Adapt the cpufreq driver so support for frequency scaling is again usable. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1, 6.6: mt7530: import pending patchesDaniel Golle2024-04-2430-0/+3218
| | | | | | | | | | | | | | | | | | | | net: dsa: mt7530: explain exposing MDIO bus of MT7531AE better net: dsa: mt7530: do not pass port variable to mt7531_rgmii_setup() net: dsa: mt7530: use priv->ds->num_ports instead of MT7530_NUM_PORTS net: dsa: mt7530: get rid of mac_port_validate member of mt753x_info net: dsa: mt7530: refactor MT7530_PMEEECR_P() net: dsa: mt7530: get rid of function sanity check net: dsa: mt7530: define MAC speed capabilities per switch model net: dsa: mt7530: return mt7530_setup_mdio & mt7531_setup_common on error net: dsa: mt7530: move MT753X_MTRAP operations for MT7530 net: dsa: mt7530: refactor MT7530_HWTRAP and MT7530_MHWTRAP net: dsa: mt7530: refactor MT7530_MFC and MT7531_CFC, add MT7531_QRY_FFP net: dsa: mt7530: rename mt753x_bpdu_port_fw enum to mt753x_to_cpu_fw net: dsa: mt7530: rename p5_intf_sel and use only for MT7530 switch net: dsa: mt7530: refactor MT7530_PMCR_P() net: dsa: mt7530: disable EEE abilities on failure on MT7531 and MT7988 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1, 6.6: mt7530: import accepted patchesDaniel Golle2024-04-2414-0/+1781
| | | | | | | | | | | | | Import patches for the MT7530 DSA driver from net-next tree: cae425cb43fe net: dsa: allow DSA switch drivers to provide their own phylink mac ops dd0c9855b413 net: dsa: introduce dsa_phylink_to_port() 7c5e37d7ee78 net: dsa: mt7530: simplify core operations 868ff5f4944a net: dsa: mt7530-mdio: read PHY address of switch from device tree 2c606d138518 net: dsa: mt7530: fix port mirroring for MT7988 SoC switch d59cf049c837 net: dsa: mt7530: fix mirroring frames received on local port 62d6d91db98a net: dsa: mt7530: provide own phylink MAC operations Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: mt7530: move accepted patches to backport-6.{1,6}Daniel Golle2024-04-243-0/+0
| | | | | | | Move two accepted patches for the MT7530 DSA driver from pending-6.{1,6} to backport-6.{1,6}. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: correct address of MT753x switch ICDaniel Golle2024-04-248-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For all boards currently working with the mt7530 DSA driver we can be sure that the address of the switch on the MDIO bus is 31 -- simply because that address is hard-coded in the driver and the address from the Device Tree is being ignore. An upcoming patch will add support for MT753x ICs which are programmed to addresses different from 0x1f using bootstrap pins. As a result the address from the Device Tree will then be taken into account, which will break currently working boards which got the address set to anything else than 31. While at it also unify the syntax in Device Tree to always us a decimal value for the 'reg' property. * mt7622-buffalo-wsr-3200ax4s.dts Cosmetic change 'reg = <0x1f>' -> 'reg = <31>' * mt7622-dlink-eagle-pro-ai-ax3200-a1.dtsi Wrong address: 0 -> 31 * mt7622-elecom-wrc-x3200gst3.dts Wrong address: 0 -> 31 * mt7622-linksys-e8450.dtsi Wrong address: 0 -> 31 * mt7622-ruijie-rg-ew3200.dtsi Wrong address: 0 -> 31 * mt7622-xiaomi-redmi-router-ax6s.dts Wrong address: 0 -> 31 * mt7629-iptime-a6004mx.dts Wrong address: 2 -> 31 * mt7981b-zbtlink-zbt-z8102ax.dts Cosmetic change 'reg = <0x1f>' -> 'reg = <31>' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop targetNick Hainke2024-04-2475-11552/+0
| | | | | | | | | The Upstream Linux community has discontinued support for the target. Maintaining support for it downstream would require too much effort. Moreover, it seems that the supported hardware is no longer deemed worthy of it. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/zstd: enable position independent code compilationBryan Roessler2024-04-241-0/+2
| | | | | | | | | | | | | | Currently, trying to compile LLVM-BPF will fail with: [2225/3517] Linking CXX shared library lib/libLLVM-15.so FAILED: lib/libLLVM-15.so /usr/bin/ld: staging_dir/host/lib/libzstd.a(zstd_common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status So, to fix it enable PIC for the host ZSTD. Fixes: #15247 Signed-off-by: Bryan Roessler <bryanroessler@gmail.com>
* scripts: ubinize-image.sh: fix support for static volumeDaniel Golle2024-04-241-2/+2
| | | | | | | | | | | Apart from being misspelled ('dymamic' vs. 'dynamic') and a mismatch of the number of parameters, there is also simply no need to add the 'dynamic' volume type keyword as 6th parameter as that's the default anyway. Fix and simplify the ubinize-image.sh script to work as intended. Fixes: 6c17d71973 ("scripts: ubinize-image.sh: support static volumes, make size optional") Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7988a: sync dts compatible stringDaniel Golle2024-04-246-6/+6
| | | | | | | | | Use 'mediatek,mt7988a' instead of 'mediatek,mt7988' as compatible string to be in-sync with upstream and no longer break the cpufreq driver which was also kept in sync with upstream. Fixes: 56dd6b473b ("mediatek: sync cpufreq support with changed compatible string") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* bcm53xx: 6.6: fix ASM cache workaround linkingRobert Marko2024-04-231-0/+10
| | | | | | | | | | | | | | Kernel 6.6 checks for orphan sections and prints a warning about them, which in turn will make CI fails as we have Werror enabled there. Issue is that cache-v7-min.S produces .init.text section which is an orphan section since it is not being handled by the vmlinux.lds.S linker script. So, lets put the generated .init.text section under .text. Fixes: f0d8ce4f482c ("bcm53xx: add testing support for kernel 6.6") Signed-off-by: Robert Marko <robimarko@gmail.com>