Commit Graph

63093 Commits

Author SHA1 Message Date
SqTER-PL
d7959c7600 Fix qdisc patch 24.10.1-nss 2025-04-14 18:22:43 +02:00
Lucas Asvio
2818aab4e4 feeds: change luci feed for VTH support on 2.4GHz 802.11n 2025-04-14 18:16:54 +02:00
Lucas Asvio
ad816a81c5 packages: qca-nss: Update Makefile for qca-nss-ecm 2025-04-14 18:16:54 +02:00
SqTER-PL
b4dc0ca608 package: qca-nss: Add basic crypto support... 2025-04-14 18:03:11 +02:00
SqTER-PL
3c3722cac3 mac80211: hide another noise in the log.
This change hides an unnecessary error that appears when qca-nss
acceleration is enabled.
```
[41893.868166] phy1-ap0: NSS TX failed with error:
NSS_TX_FAILURE_TOO_SHORT
[42192.779516] phy1-ap0: NSS TX failed with error:
NSS_TX_FAILURE_TOO_SHORT
```
2025-04-14 18:03:11 +02:00
SqTER-PL
a3a2f8aa1e package: qca-nss: Replace patch 'qca-nss-ecm-fix-a-memcpy-overflow-in-ecm_db' with 'Validate dst_len before-calling-IP-addr-copy'
This change fixes the following issue...
```
<0>[ 3372.560724]  fortify_panic from ecm_db_exit+0x384/0x388 [ecm]
<0>[ 3372.568927]  ecm_db_exit [ecm] from
ecm_db_ipv6_route_table_update_event+0x3c/0x5c [ecm]
<0>[ 3372.574608]  ecm_db_ipv6_route_table_update_event [ecm] from
atomic_notifier_call_chain+0x58/0x6c
<0>[ 3372.582769]  atomic_notifier_call_chain from
ip6_route_add+0xac/0xdc
<0>[ 3372.591533]  ip6_route_add from inet6_rtm_newroute+0xb0/0xc0
```
2025-04-14 18:03:11 +02:00
Lucas Asvio
c5d331b891 ipq806x_nss: Fix broken CFI patch... 2025-04-14 18:03:11 +02:00
Lucas Asvio
2e16c0fb4d ipq806x_nss: Updated PPPoE,PPTP,L2TP and GRE patches. 2025-04-14 18:03:11 +02:00
Lucas Asvio
4497267af4 package: qca-nss: Added support for qca-nss-drv-l2tpv2 2025-04-14 18:03:11 +02:00
Lucas Asvio
3706f6aa41 ipq806x_nss: Updated and refreshed patches.
Renamed patches to keep their original numbering from codelinaro.org.
Fixed minor bugs and added support for the qca-nss-drv-l2tpv2 module.
2025-04-14 18:03:11 +02:00
Lucas Asvio
d03ea922da package: qca-nss: disable unsupported drivers 2025-04-14 18:03:11 +02:00
Lucas Asvio
e19b5c2c74 ipq806x_nss: refresh nss patches 2025-04-14 18:03:11 +02:00
SqTER-PL
f59c027b97 Update and minor fixes for QCA-NSS drivers.
Currently working and tested modules:

nss-ifb
qca-nss-drv
qca-nss-drv-igs (new)
qca-nss-drv-pppoe
qca-nss-drv-qdisc
qca-nss-drv-tun6rd (new)
qca-nss-drv-tunipip6 (new)
qca-nss-gmac
qca-nss-ecm-standard
qca-mcs
2025-04-14 18:03:11 +02:00
SqTER-PL
e37560c73c Updated iptunnel patches. Switch to codelinaro.org source.
Minor fixes and patch sorting.
2025-04-14 18:03:11 +02:00
Lucas Asvio
d1c0f89551 mac80211: refresh patch to change MS2TIME to 5-50 ms 2025-04-14 18:03:11 +02:00
SqTER-PL
d53525a2e3 Updated and refreshed patches to add support for new devices. 2025-04-14 18:03:11 +02:00
Lucas Asvio
16ecf45682 feeds: add sqm script for ipq806x_nss builds 2025-04-14 18:03:07 +02:00
Lucas Asvio
8e03728d4e ipq806x: base-files: start cpufreq init sooner 2025-04-14 18:00:04 +02:00
Lucas Asvio
f4a8afeac7 ipq806x: base-file: restore min cpu frecuency 2025-04-14 18:00:04 +02:00
SqTER-PL
1113f6f470 Update qdisc patches to linux 6.x 2025-04-14 18:00:04 +02:00
SqTER-PL
423cfb9d36 Fix kmod-ipt-ipopt module compilation error
This change fixes the following issue
____________________________________________________

Package kmod-ipt-ipopt is missing dependencies for the following libraries:
nf_conntrack.ko
make[2]: *** [modules/netfilter.mk:352: /home/asvio/02-R7800/02-main-nss/bin/targets/ipq806x/generic/packages/kmod-ipt-ipopt-6.6.79-r1.apk] Error 1
make[2]: Leaving directory '/home/asvio/02-R7800/02-main-nss/package/kernel/linux'
time: package/kernel/linux/compile#2.95#3.11#5.35
    ERROR: package/kernel/linux failed to build.
make[1]: *** [package/Makefile:189: package/kernel/linux/compile] Error 1
make[1]: Leaving directory '/home/asvio/02-R7800/02-main-nss'
make: *** [/home/asvio/02-R7800/02-main-nss/include/toplevel.mk:233: package/linux/compile] Error 2
2025-04-14 18:00:04 +02:00
SqTER-PL
eb1c46010a Update 990-051-qca-nss-drv-add-qdisc-support.patch
Patch update for linux 6.x version
2025-04-14 18:00:04 +02:00
Christian Marangi
2da8042304 iwinfo: add QAM-256 support patch
Add QAM-256 support patch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-14 18:00:04 +02:00
Christian Marangi
198676f9b0 ath10k-ct: add missing bit to enable 256-QAM support
An additional bit is needed to enable 256-QAM support. Feature that is
already supported in ath10k-ct driver.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-14 18:00:04 +02:00
Christian Marangi
b92f53c7a1 mac80211: permit vht_capab also for 2.4GHz 802.11n
Permit to configure vht_capab also for 2.4GHz 802.11n mode to support
non-standard QAM-256 on 802.11n.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-14 18:00:04 +02:00
Christian Marangi
6b0d7f7e13 mac80211: add support for QAM-256 in 2.4GHz 802.11n
Add support for QAM-256 in 2.4GHz 802.11n. This is non-standard and
comunicate vht capabilities in 2.4GHz 802.11n permittin, for supported
clients, to benefits for additional data rate.

Many driver supports this, for a start enable this for ath10k and
ath11k.
2025-04-14 18:00:04 +02:00
Lucas Asvio
0401f11c98 ipq806x: nss patches for k6.x
SqTER-PL <r.napierala@asta-net.pl>
2025-04-14 18:00:04 +02:00
Lucas Asvio
bbef472207 ath10k-ct: some tweaks for this ath10k driver
SqTER-PL <r.napierala@asta-net.pl>
2025-04-14 18:00:04 +02:00
Lucas Asvio
ac70c366ac package: add qca-nss support for k6.x
Before I can get to work a feed repository that work i have included
qca-nss source needed on this commit

Source author: SqTER-PL <r.napierala@asta-net.pl>
2025-04-14 18:00:04 +02:00
Lucas Asvio
6442d1ed49 iproute2: add support for NSS on ipq806x platform
SqTER-PL <r.napierala@asta-net.pl>
2025-04-14 18:00:04 +02:00
Lucas Asvio
d1076ff18e hostapd: tweak for nss support
SqTER-PL <r.napierala@asta-net.pl>
2025-04-14 18:00:04 +02:00
Lucas Asvio
c8012a4819 mac80211: add support for NSS on ipq806x platform
SqTER-PL <r.napierala@asta-net.pl>
2025-04-14 18:00:04 +02:00
Lucas Asvio
0fe8b99944 ipq806x: restore swconfig device tweaks
SqTER-PL <r.napierala@asta-net.pl>
2025-04-14 18:00:04 +02:00
Lucas Asvio
7b5d4cd40a ipq806x: Revert DSA implementation 2025-04-14 18:00:04 +02:00
Hauke Mehrtens
d183d7bb78 OpenWrt v24.10.1: adjust config defaults
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-14 01:07:35 +02:00
Hannu Nyman
0425664679 ca-certificates: Update to 20241223
Update ca-certificates to version 20241223

  * Update Mozilla certificate authority bundle to version 2.70.
    The following certificate authorities were added (+):
    + Telekom Security TLS ECC Root 2020
    + Telekom Security TLS RSA Root 2023
    + FIRMAPROFESIONAL CA ROOT-A WEB
    + TWCA CYBER Root CA
    + SecureSign Root CA12
    + SecureSign Root CA14
    + SecureSign Root CA15
    The following certificate authorities were removed (-):
    - Security Communication Root CA (closes: #1063093)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/18468
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit c79572210f)
2025-04-13 18:38:32 +02:00
INAGAKI Hiroshi
c0ae5d2071 ath79: fix initramfs execution for NEC Aterm devices
Fix execution of initramfs image on NEC Aterm devices by increasing
available memory for lzma extraction of lzma-loader.

The size of initramfs image of v24.10.0 exceeds available memory
(LZMA_TEXT_START - LOADADDR) and loader data running at LZMA_TEXT_START
will be overwritten by extracted data. As a result, LZMA extraction will
be broken and stuck (or unexpectedly reset).
Fix that issue by setting higher LZMA_TEXT_START address to increase
available memory for LZMA extraction by lzma-loader.

log (v24.10.0):

boot> tftpd
tftpd start 192.168.0.1
boot> start tftp load openwrt-24.10.0-ath79-generic-ne
end tftp load length = 6569768
start memory load ...
memory load complete
  begin  : 0x80040000
  length : 6567044
  startup: 0x80040000

boot> boot
begin  : 0x80040000
length : 6567044
startup: 0x80040000
option: 0x0
NEC Aterm series (QCA9558)

Calibrating SGMII
SGMII cal value = 0xe

Configuring SGMII force mode
  SGMII_CONFIG : 0x000000a2
  MR_AN_CONTROL: 0x00008140
  MR_AN_CONTROL: 0x00000140

OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... [:<syntax:value>]');retu  <--- (stuck)
IPL:SOFT-RESET                    <--- (reset by WDT)
memory test ... ok
flinstall OK

boot version: 1.0.0
...

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18476
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 10a674d277)
2025-04-13 16:55:16 +02:00
Álvaro Fernández Rojas
b4af5bbcf7 package: add kmod-r8127 ethernet driver
r8127 is an out of tree driver provided by Realtek for RTL8127 devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 851ea69d8e)
2025-04-10 22:39:58 +02:00
Matthias Franck
eed88d4f10 busybox: use external libtirpc when using glibc
In recent glibc versions rpc functionality has been moved to a separate
library instead of glibc itself.
Depend on this library when rpc functionality is needed and glibc is
used.

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
Link: https://github.com/openwrt/openwrt/pull/17796
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 84e0900867)
2025-04-10 20:51:56 +02:00
Ming Kuang
3f00d6ba01 wifi-scripts: mac80211.sh: add EHT and HE160 support to iw_htmode
For WIFI7 devices (such as mt7925e), the dev width is currently
always "20 MHz (no HT)" in monitor mode.

Add EHT and HE160 support to iw_htmode to fix this issue.
Additionally, the following changes are made:
1. Set iw_htmode to 160MHz for VHT160. The reason for the current
   VHT160 setting is unclear and seems to have been in place for
   over a decade (ibss_htmode [1]). If anyone knows its impact,
   please inform me so I can restore it.
2. Modify MHZ to MHz. The original matching table in the current
   iw tool uses MHz. Although the match is case-insensitive,
   correcting this won't hurt.

[1]: 768d09be87

Signed-off-by: Ming Kuang <ming@imkuang.com>
Link: https://github.com/openwrt/openwrt/pull/18319
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 86eb1c0b5a)
2025-04-10 20:51:56 +02:00
Shiji Yang
31c3ab3b45 ipq40xx: dts: fix "qcom,coexist-support" property type
Convert the property variable type of "qcom,coexist-support" from
u32 to u8 to match the definition in the dt-bindings document.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18393
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 3526dbabdc)
2025-04-10 20:51:56 +02:00
Shiji Yang
ced823497a ath10k-ct: remove "qcom,coexist-support" property type hack
The ath10k dt-binding property "qcom,coexist-support" was
explicitly defined as type uint8 since upstream commit
ed09c61eb19d ("dt-bindings: net: Convert ath10k to YAML").
Therefore, this hack patch no longer makes sense.

Link: ed09c61eb1
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18393
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit da13174aa1)
2025-04-10 20:51:18 +02:00
Shiji Yang
30c1c6d7c3 ath10k-ct: silence some harmless noisy logs
Users feel anxious about some ath10k driver logs. After further
investigation, in fact these logs are harmless. Only developers
need to care about them in order to optimize some parameters.
Let's just silence them to reduce these similar user reports.

Closes: https://github.com/openwrt/openwrt/issues/13148
Closes: https://github.com/openwrt/openwrt/issues/14422
Closes: https://github.com/openwrt/openwrt/issues/15959
Closes: https://github.com/openwrt/openwrt/issues/15997
Closes: https://github.com/openwrt/openwrt/issues/16896
Closes: https://github.com/openwrt/openwrt/issues/18046
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18368
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 88234a03bc)
[Apply to ath10k-ct 6.10]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-10 20:50:56 +02:00
Mieczyslaw Nalewaj
7145b85295 kernel: modules: ixgbe,ixgbevf,i40e: remove unused settings and depends
Remove settings and depends that are not used anywhere.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: #18291
(cherry picked from commit b6ff3d9afa)
Link: https://github.com/openwrt/openwrt/pull/18431
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-10 20:32:40 +02:00
Fil Dunsky
d47f6a365f mediatek: filogic: add support for Huasifei WH3000
**Huasifei WH3000 eMMC / Fudy MT3000**
Portable Wi-Fi 6 travel router based on MediaTek MT7981A SoC.
MT7981B+MT7976CN+RTL8221B Dual Core 1.3GHZ

**Specifications**
SoC: Filogic 820 MT7981A (1.3GHz)
RAM: DDR4 1GB
Flash: eMMC 8GB
WiFi: 2.4GHz and 5GHz with 3 antennas
Ethernet:
1x WAN (10/100/1000M)
1x LAN (10/100/1000/2500M)
USB: 1x USB 3.0 port
Two buttons: power/reset and mode (BTN_0)
LEDS: blue, red, blue+red=pink
UART: 3.3V, TX, RX, GND / 115200 8N1

**Installation via U-Boot rescue**
1. Set static IP 192.168.1.2 on your computer and default route as 192.168.1.1
2. Connect to the WAN port and hold the reset button while booting the device.
3. Wait for the LED to blink 5 times, and release the reset button.
4. Open U-boot web page on your browser at http://192.168.1.1
5. Select the OpenWRT sysupgrade image, upload it, and start the upgrade.
6. Wait for the router to flash the new firmware.
7. Wait for the router to reboot itself.

**Installation via sysupgrade**
Just flash sysupgrade file via [LuCI upgrade page](http://192.168.1.1/cgi-bin/luci/admin/system/flash) without saving the settings.

**Installation via SSH**
Upload the file to the router `/tmp` directory, `ssh root@192.168.1.1` and issue a command:
```
sysupgrade -n /tmp/openwrt-mediatek-filogic-huasifei_wh3000-emmc-squashfs-sysupgrade.bin
```

**Factory MAC**
You can find your Factory MAC which is mentioned on the box at `/dev/mmcblck0p2` partition `factory` starting from `0x4`
```
dd if=/dev/mmcblk0p2 bs=1 skip=4 count=6 | hexdump -C
```

**Enlarging a partition**
Though device has 8GB eMMC, it uses only 2GB `/dev/mmcblck0p6` as `rootfs` for `/rom` and `/overlay` leaving `/dev/mmcblck0p7` as empty unused space.
```
sgdisk -p /dev/mmcblk0
```
```
Disk /dev/mmcblk0: 15269888 sectors, 7.3 GiB
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 2BD17853-102B-4500-AA1A-8A21D4D7984D
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 14942174
Partitions will be aligned on 1024-sector boundaries
Total free space is 11197 sectors (5.5 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            8192            9215   512.0 KiB   8300  u-boot-env
   2            9216           13311   2.0 MiB     8300  factory
   3           13312           21503   4.0 MiB     8300  fip
   4           21504           29695   4.0 MiB     8300  config
   5           29696           62463   16.0 MiB    8300  kernel
   6           62464         4256767   2.0 GiB     8300  rootfs
   7         4257792        14940159   5.1 GiB     8300
```

You can fix that by loading into `initramfs-kernel`, deleting empty `mmcblck0p7` partition and resizing `mmcblck0p6`
```
sysupgrade -F /tmp/openwrt-initramfs-kernel.bin
```
Install and run cfdisk
```
opkg update && opkg install cfdisk
cfdisk /dev/mmcblck0
```
- Select `mmcblck0p7` -> Delete
- Select `mmcblck0p6` -> Resize -> Write -> yes -> Quit

You will not see any difference in `cat /proc/partitions` after that but just flash a `sysupgrade` and you'll get the whole 7.3GB space for the `/overlay`.

Co-developed-by: hecatae <horus.ra@gmail.com>
Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18220
(cherry picked from commit 99ea96c297)
Link: https://github.com/openwrt/openwrt/pull/18434
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-10 20:29:37 +02:00
Mikhail Zhilkin
8e8cafcd0e mediatek: add support for netis NX31
This PR adds support for netis NX31 router.

Specification
-------------
- SoC       : MediaTek MT7981BA dual-core ARM Cortex-A53 1.3 GHz
- RAM       : 256 MiB DDR3
- Flash     : SPI-NAND 128 MiB (ESMT)
- WLAN      : MediaTek MT7976CN dual-band WiFi 6
  - 2.4 GHz : b/g/n/ax, MIMO 2x2
  - 5 GHz   : a/n/ac/ax, MIMO 2x2
- Ethernet  : 10/100/1000 Mbps x3 (LAN, MediaTek MT7531AE)
              10/100/1000 Mbps x1 (WAN, SoC internal phy)
- USB       : No
- Buttons   : Mesh, Reset
- LEDs      : 1x Power (blue), unmanaged
              1x Status (blue), gpio-controlled
              1x WiFi 2.4 GHz (blue), gpio-controlled
              1x WiFi 5 GHz (blue), gpio-controlled
              3x LAN activity (blue), switch-controlled
              1x WAN activity (blue), gpio-controlled
- Power     : 12 VDC, 1 A

Installation
------------
1. Connect to the router using ssh (user: admin, pass: web interface
   password)
2. Make mtd backup:
   cat /dev/mtd0 | gzip -1 -c > /tmp/mtd0_spi0.0.bin.gz
   cat /dev/mtd1 | gzip -1 -c > /tmp/mtd1_BL2.bin.gz
   cat /dev/mtd2 | gzip -1 -c > /tmp/mtd2_u-boot-env.bin.gz
   cat /dev/mtd3 | gzip -1 -c > /tmp/mtd3_Factory.bin.gz
   cat /dev/mtd4 | gzip -1 -c > /tmp/mtd4_FIP.bin.gz
   cat /dev/mtd5 | gzip -1 -c > /tmp/mtd5_ubi.bin.gz
3. Download mtd backup from the /tmp dir of the router to your PC using
   scp protocol
4. Upload OpenWrt 'bl31-uboot.fip', 'preloader.bin' images to the /tmp
   dir of the router using scp protocol
5. Write FIP and BL2 (replace bootloader):
   mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-bl31-uboot.fip FIP
   mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-preloader.bin BL2
6. Place OpenWrt
   'openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb' image on
   the tftp server (IP: 192.168.1.254)
7. Erase 'ubi' partition and reboot the router:
   mtd erase ubi
   reboot
8. U-Boot automatically boot OpenWrt recovery image from tftp server to
   the RAM
9. Upload OpenWrt 'sysupgrade.itb' image to the /tmp dir of the router
   (IP: 192.168.1.1) using scp protocol
10. Connect to the router using ssh and run:
    sysupgrade -n openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb

Return to stock
---------------
1. Unpack stock BL2 and FIP partitions backup
2. Upload stock BL2 and FIP partitions backup to the /tmp dir of the
   router using scp protocol
3. Connect to the router using ssh and run:
   apk update && apk add kmod-mtd-rw
   insmod mtd-rw i_want_a_brick=1
   mtd unlock BL2
   mtd unlock FIP
4. Restore backup:
   mtd write /tmp/mtd4_FIP.bin FIP
   mtd write /tmp/mtd1_BL2.bin BL2
5. Erase ubi and reboot:
   mtd erase ubi
   reboot
6. Power off the router
7. Press Reset button and power on the router. Release the button after
   ~10 sec
8. Navigate to U-Boot recovery web server (http://192.168.1.1/) and
   upload the OEM firmware

Recovery
--------
1. Place OpenWrt
   'openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb' image on
   the tftp server (IP: 192.168.1.254)
2. Press “Reset” button and power on the router. After ~10 sec release
   the button.
3. Use OpenWrt initramfs system for recovery

MAC addresses
-------------
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| LAN     | dc:xx:xx:d1:xx:18 | label     |
| WAN     | dc:xx:xx:d1:xx:1a | label+2   |
| WLAN 2g | de:xx:xx:11:xx:19 |           |
| WLAN 5g | de:xx:xx:71:xx:19 |           |
+---------+-------------------+-----------+
The LAN MAC was found in 'Factory', 0x1fef20
The WAN MAC was found in 'Factory', 0x1fef26
The WLAN 2g/5g MAC prototype was found in 'Factory', 0x4

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18324
(cherry picked from commit d8002cb627)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18438
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-10 20:18:23 +02:00
Mieczyslaw Nalewaj
b16a42159b kernel: bump 6.6 to 6.6.86
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.86

Removed upstreamed:
        generic/pending-6.6/155-usbnet-restore-usb%d-name-exception-for-local-mac-addresses.patch[1]

1. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.86&id=2beb999f73b48f3cb04d7cb9c4b5400d59f80f89

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18443
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit f7c0331c50)
Link: https://github.com/openwrt/openwrt/pull/18451
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-10 20:14:56 +02:00
Álvaro Fernández Rojas
2b1847c781 bcm27xx: pull 6.6 patches from RPi repo
Adds latest 6.6 patches from the Raspberry Pi repository.

These patches were generated from:
https://github.com/raspberrypi/linux/commits/rpi-6.6.y/
With the following command:
git format-patch -N v6.6.85..HEAD
(HEAD -> bba53a117a4a5c29da892962332ff1605990e17a)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 4618d09587)
2025-04-10 13:43:36 +02:00
Matthias Schiffer
a51b1a98e0 build: bpf: fix LLVM tool paths with host toolchain
Do not assume that the various tools like llc can be found under the
same path as clang; instead, look them up through BPF_PATH (while still
preferring ones found next to clang).

This fixes build in common setups with ccache, where clang resolves to a
path like /usr/lib/ccache/bin/clang, but no other tools can be found at
that location.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Link: https://github.com/openwrt/openwrt/pull/18422
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 89f1d56a7e)
2025-04-09 18:30:49 +02:00
Matthias Schiffer
dc7933e77f build: bpf: drop clang-11 lookup
CLANG_MIN_VER is 12, so there is no point in looking for clang-11.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Link: https://github.com/openwrt/openwrt/pull/18422
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 45f0eb106b)
2025-04-09 18:30:48 +02:00