aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* generic: 6.1: backport support for generic spi-nor from SFDP dataChristian Marangi2024-04-21
| | | | | | | | | | | | | Backport patches for support of generic spi-nor from SFDP data for kernel 6.1. Kernel 5.15 have major rework of the info flags and it's not trustable to backport this amount of changes and expect correct function of it. All affected patches automatically refreshed using make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* toolchain/wrapper: fill and reference info.mk in staging_dir ext toolchainChristian Marangi2024-04-21
| | | | | | | | | | | | | | | | | | | | | | Currently when external toolchain is used, a info.mk is created (with to-be-filled values) but is never actually filled with real values and is never actually used in rules.mk. This info.mk is used down the code with special packages like libgcc to reference info like gcc version and package special library. To mimic what is done with internal toolchain, add the include in rules.mk for info.mk also for external library and in fix toolchain/wrapper to fill the staging_dir info.mk. The logic is to check if the external toolchain provide an info.mk and if it doesn't we at least fill the GCC_VERSION with the value set in the .config file. With this special library like libgcc correctly reference and have set the GCC_VERSION variable. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* lldpd: extended interface(s) parsing to handle patternsPaul Donald2024-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For interface type parameters, the man page documents patterns: ``` *,!eth*,!!eth1 uses all interfaces, except interfaces starting with "eth", but including "eth1". ``` * Renamed `_ifname` to `_l2dev`. * get the l2dev via network_get_physdev (and not l3dev) * Glob pattern `*` is also valid - use noglob for this The net result is that now interface 'names' including globs '*' and '!' inversions are included in the generated lldpd configs. Temporarily `set -o noglob` and then `set +o noglob` to disable & enable globbing respectively, because when we pass `*` as an interface choice, other file and pathnames get sucked in from where the init script runs, and the `*` never makes it to lldpd. Tested extensively on: 22.03.6, 23.05.3 Signed-off-by: Paul Donald <newtwen+github@gmail.com> [ squash with commit bumping release version ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* uclient: update to Git HEAD (2024-04-19)Felix Fietkau2024-04-19
| | | | | | e8780fa7792a uclient: fix http regression Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: move KERNEL_LOADADDR into subtargetsZoltan HERPAI2024-04-19
| | | | | | | As preparation for the arm926ej-s support which has a different load address, move the KERNEL_LOADADDR into the subtargets. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sunxi: move fpu feature flag into the subtargetsZoltan HERPAI2024-04-19
| | | | | | | As the upcoming arm926ej-s does not have an FPU, move this flag into the subtargets. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sifiveu: 6.6: set testing kernelZoltan HERPAI2024-04-19
| | | | | | | | Allow selecting 6.6 as testing kernel on sunxi. Runtime-tested: SiFive Unleashed Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sifiveu: 6.6: refresh patchesZoltan HERPAI2024-04-19
| | | | | | Refresh kernel patches. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel/sifiveu: Restore kernel files for v6.1Zoltan HERPAI2024-04-19
| | | | | | | | | | 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/sifiveu: Create kernel files for v6.6 (from v6.1)Zoltan HERPAI2024-04-19
| | | | | | | | This is an automatically generated commit. During a `git bisect` session, `git bisect --skip` is recommended. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: add kernel 6.6 as testingZoltan HERPAI2024-04-19
| | | | | | Add new LTS kernel support. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: adjust DTS path for 6.6Zoltan HERPAI2024-04-19
| | | | | | | 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>
* uclient: update to Git HEAD (2024-04-19)Felix Fietkau2024-04-19
| | | | | | 704c78111a92 uclient-http: use ustream_ssl without ustream_fd Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ustream-ssl: update to Git HEAD (2024-04-19)Felix Fietkau2024-04-19
| | | | | | 524a76e5af78 ustream-ssl: add support for using a fd instead of ustream as backing Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mediatek: backport PWM driversDaniel Golle2024-04-19
| | | | | | | * MT7981 and MT7988 backported to Linux 6.1 * MT7988 backported to Linux 6.6 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uboot-mvebu: update to version 2024.04Robert Marko2024-04-19
| | | | | | | | | Lets update to 2024.04 in order to drop all of the patches as they have been merged upstream. Tested on Methode eDPU. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
* uclient: update to Git HEAD (2024-04-18)Felix Fietkau2024-04-18
| | | | | | | c2bf660d88ec lib: add log_msg callback to get more detailed log messages 9adb4ca5219d uclient-fetch: add uclient / ustream-ssl log messages (enabled via -v) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ustream-ssl: update to Git HEAD (2024-04-18)Felix Fietkau2024-04-18
| | | | | | | f9a28a9ce864 ustream-ssl: poll connection on incomplete reads 3c49e70c4622 ustream-ssl: increase number of read buffers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ustream-ssl: update to Git HEAD (2024-04-18)Felix Fietkau2024-04-18
| | | | | | | | 60d8fbb5e669 mbedtls: handle session tickets for TLS 1.3 ac42af7981ae mbedtls: add ifdefs to fix legacy compatibility af7c3532ad49 mbedtls: another cosmetic ifdef fix Signed-off-by: Felix Fietkau <nbd@nbd.name>
* base-files: reduce IPv6 ULA prefix generation to a single callPaul Donald2024-04-18
| | | | | | | | | | | Reduce calls and pipes and read from urandom once directly with hexdump for the necessary 5 bytes of random data to build the 48 bit ULA Prefix. Fewer calls and forks; finish quicker; less memory used. Tested on: 23.05.3 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
* mac80211: ath11k: re-enable ipq807x coldboot calibrationRobert Marko2024-04-18
| | | | | | | | | It seems that move to kernel 6.6 somehow fixed the remoteproc restart so now it properly restarts and thus coldboot calibration works as well. ipq60xx still seems to be broken in a different way so keep it disabled. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qca-nss-dp: add patch fixing rmmod and insmodChristian Marangi2024-04-18
| | | | | | | | | | | Add patch fixing rmmod and insmod. Lots of flawed logic fixed that permits the module to correctly rmmod and insmod later. Just to quote some change, use phy_detach instead of phy_disconnect, fix exclusive reset_control that could only be used once, fix kernel panic on second edma_cleanup, stop traffic before module exit... Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qoriq: add kernel 6.1 supportStijn Tintel2024-04-18
| | | | | | | Add support for kernel 6.1 as testing kernel for qoriq. Refresh config using `make kernel_oldconfig`. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel/qoriq: Restore kernel files for v5.15Stijn Tintel2024-04-18
| | | | | | | | | | 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: Stijn Tintel <stijn@linux-ipv6.be>
* kernel/qoriq: Create kernel files for v6.1 (from v5.15)Stijn Tintel2024-04-18
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* qoriq: refresh kernel 5.15 configStijn Tintel2024-04-18
| | | | | | Done with `make kernel_oldconfig`. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ipq807x: add support for Zbtlink ZBT-Z800AXChukun Pan2024-04-17
| | | | | | | | | | | | | | | | | | | Hardware specifications: SoC: Qualcomm IPQ8072A RAM: 1GB of DDR4 600MHz Flash1: Winbond W25Q64DW 8MB Flash2: MX30UF2G28AD 256MB WiFi1: QCN5024 2.4GHz AX 4x4 WiFi2: QCN5054 5GHz AX 4x4 Ethernet: 5x 1G RJ45 port USB: 2x USB 3.0 (1x M.2) Button: Reset, WPS Flash instructions: Upload factory.bin in stock firmware's upgrade page, do not preserve settings. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* ipq-wifi: update to version 2024-04-16Chukun Pan2024-04-17
| | | | | | | | | | | Contains following updates: * ipq8074: add Spectrum SAX1V1K BDF * ipq8074: add Zbtlink ZBT-Z800AX BDF * ipq8074: update regdb in Spectrum SAX1V1K BDF * ipq6018: add Linksys MR7350 BDF Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* tools: zstd: update patch with upstream versionChristian Marangi2024-04-17
| | | | | | | | | Proposed fixup has been replaced and merged with an advanced version. install-pc-mt has been dropped and replaced for intall-pc MT=1 to generate a .pc file with multithread libs. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qmi: add sourcefilter option supportChen Minqiang2024-04-17
| | | | | | This make source based IPv6 routing option available for qmi Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* mbim: add sourcefilter option supportChen Minqiang2024-04-17
| | | | | | This make source based IPv6 routing option available for mbim Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* ncm: add sourcefilter option supportChen Minqiang2024-04-17
| | | | | | This make source based IPv6 routing option available for ncm Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* ipset: update to 7.21Chuanhong Guo2024-04-17
| | | | | | | | | release notes: 7.21: https://www.spinics.net/lists/netfilter-devel/msg85299.html 7.20: https://www.spinics.net/lists/netfilter-devel/msg85120.html 7.19: https://www.spinics.net/lists/netfilter-devel/msg82985.html Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ipset: include libgen.h for basenameChuanhong Guo2024-04-17
| | | | | | | musl dropped the GNU version of basename prototype from string.h in 1.2.5. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* sunxi: fix network bringup on Olinuxino Micro boardsZoltan HERPAI2024-04-17
| | | | | | | It's the A13-based Olinuxino Micro which has only wireless interfaces. The A20-based board is a fully-fledged one which has an ethernet interface. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: bump 5.15 to 5.15.155Hauke Mehrtens2024-04-16
| | | | | | | | Manual adapted the following patches: generic/hack-5.15/221-module_exports.patch octeontx/patches-5.15/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: mold: update to 2.30.0Robert Marko2024-04-16
| | | | | | | | | | Release Notes: https://github.com/rui314/mold/releases/tag/v2.3.3 https://github.com/rui314/mold/releases/tag/v2.4.0 https://github.com/rui314/mold/releases/tag/v2.4.1 https://github.com/rui314/mold/releases/tag/v2.30.0 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq40xx: whw03v2: enable additional 5 GHz channelsRodrigo Balerdi2024-04-16
| | | | | | | | This device supports channel ranges 36-64 and 100-165, just like others based on the same reference design, but its current DTS is unnecessarily restricting these ranges to 36-48 and 149-165. Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
* sunxi: update a13-olimex-som DTS pathZoltan HERPAI2024-04-16
| | | | | | | | In preparation for supporting kernel 6.6, where the DTS files are grouped into vendors - similarly to what arm64 has been doing all along -, update the SUNXI_DTS var of this board to prepend it with SUNXI_DTS_DIR. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* pistachio: remove 5.15 supportZoltan HERPAI2024-04-16
| | | | | | Now that 6.1 is default, remove 5.15 support. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* pistachio: default to kernel 6.1Zoltan HERPAI2024-04-16
| | | | | | | 6.1 has been present as testing for some time now, so switch the default to it. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: Add missing config optionHauke Mehrtens2024-04-15
| | | | | | | | | | Kernel 6.1.83 allows to select CONFIG_GPIO_VF610, deactivate it by default. This fixes compilation of the armsr/armv8 target. Fixes: 2ad898e091cb ("kernel: bump 6.1 to 6.1.83") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* Revert "elfutils: fix a missing typedef in the last update"Felix Fietkau2024-04-15
| | | | | | | This reverts commit a9e22ffa5028e303dc32d15f1ce5e1be4c20e125. After doing a clean rebuild, it turns out that this change is not necessary Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: libdeflate: backport fix for AVX-VNNIRobert Marko2024-04-15
| | | | | | | | | Trying to compile with new new enough GCC but older binutils that dont support AVX-VNNI will error out on the assembler, so backport an upstream fix for it. Fixes: 338b463e1e97 ("tools: libdeflate: update to 1.20") Signed-off-by: Robert Marko <robimarko@gmail.com>
* netifd: add missing error checks to packet steering scriptFelix Fietkau2024-04-15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* elfutils: fix a missing typedef in the last updateFelix Fietkau2024-04-15
| | | | | | Fixes perf Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/dwarves: add myself as PKG_MAINTAINERTony Ambardar2024-04-15
| | | | | | Missed setting this when first adding package. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* bridger: update to Git HEAD (2024-04-15)Felix Fietkau2024-04-15
| | | | | | | | 3159bbe0a2eb improve isolation when selecting a fixed output port c77a7a1ff74d nl: fix getting flow offload stats a08e51e679dd add support for disabling bridge-local flows via config Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: Add support for D-Link DIR-3040 A1Vince McKinsey2024-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the A1 hardware revision of the DIR-3040. It is an exact copy of the DIR-3060 save for some cosmetic changes to the housing. Even going so far as having the same FCC ID. Hardware specification: SoC: MediaTek MT7621AT Flash: Winbond W29N01HVSINA 128MB RAM: Micron MT41K128M16JT-125 256MB Ethernet: 5x 10/100/1000 Mbps WiFi1: MT7615DN 2.4GHz N 2x2:2 WiFi2: MT7615DN 5GHz AC 2x2:2 WiFi3: MT7615N 5GHz AC 4x4:4 Button: WPS, Reset Flash instructions: OpenWrt can be installed via D-Link Recovery GUI: NOTE: Seems to only work in Firefox on Windows. Tried with Chrome on Windows, Firefox in Linux, and Chromium in Linux. None of these other browsers worked. 1. Push and hold reset button (on the bottom of the device) until power led starts flashing (about 10 secs or so) while plugging in the power cable. 2. Give it ~30 seconds, to boot the recovery mode GUI 3. Connect your client computer to LAN1 of the device 4. Set your client IP address manually to 192.168.0.2 / 255.255.255.0. 5. Call the recovery page for the device at http://192.168.0.1/ 6. Use the provided emergency web GUI to upload and flash a new firmware to the device Thanks to @Lucky1openwrt and @iivailo for creating the DIR-3060 DTS file and related changes, so it was possible for me to adapt them to the DIR-3040, build images, test and fix minor issues. MAC Addresses: | use | address | example | | --- | --- | --- | | LAN | label | f4:*:61 | | WAN | label + 4 | f4:*:65 | | WI1/2g | label + 2 | f4:*:63 | | WI1/5g | label + 1 | f4:*:62 | | WI2/5g | label + 3 | f4:*:64 | The label MAC address was found in Factory, 0xe000 Checklist: ✓ nand ✓ ethernet ✓ button ✓ wifi2g ✓ wifi5g ✓ wifi5g ✓ mac ✓ led Signed-off-by: Vince McKinsey <vincemckinsey@gmail.com>
* tools: libdeflate: update to 1.20Robert Marko2024-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Improved CRC-32 performance on recent x86 CPUs by adding VPCLMULQDQ-accelerated implementations using 256-bit and 512-bit vectors. * Improved Adler-32 performance on recent x86 CPUs by adding VNNI-accelerated implementations using 256-bit and 512-bit vectors. * Improved CRC-32 and Adler-32 performance on short inputs. * Optimized the portable implementation of Adler-32. * Added some basic optimizations for RISC-V. * Dropped support for gcc versions older than v4.9 (released in 2014) and clang versions older than v3.9 (released in 2016). * Dropped support for CRC-32 acceleration on 32-bit ARM using the ARMv8 pmull or crc32 instructions. This code only worked on CPUs that also have a 64-bit mode, and it was already disabled on many compiler versions due to compiler limitations. CRC-32 acceleration remains fully supported on 64-bit ARM. Signed-off-by: Robert Marko <robimarko@gmail.com>