Commit Graph

5000 Commits

Author SHA1 Message Date
Nick Hainke
fa409c126a iproute2: update to 5.16.0
Import patch:
- 0001-lib-fix-ax25.h-include-for-musl.patch

Refreshed patches:
- 100-configure.patch
- 130-no_netem_tipc_dcb_man_vdpa.patch
- 140-keep_libmnl_optional.patch
- 145-keep_libelf_optional.patch
- 150-keep_libcap_optional.patch
- 170-ip_tiny.patch
- 190-fix-nls-rpath-link.patch
- 195-build_variant_ip_tc.patch
- 200-drop_libbsd_dependency.patch
- 300-selinux-configurable.patch

Size ip-full (mips_24kc):
- 176K	ip-full_5.16.0-1_mips_24kc.ipk
- 172K	ip-full_5.15.0-2_mips_24kc.ipk

Size ip-tiny (mips_24kc):
- 124K	ip-tiny_5.16.0-1_mips_24kc.ipk
- 124K	ip-tiny_5.15.0-2_mips_24kc.ipk

Changes:
ade99e20 v5.16.0
1225e307 testsuite: Fix tc/vlan.t test
4734fdb9 uapi: update to mptcp.h
c04e45d0 lib/bpf: fix verbose flag when using libbpf
73590d95 tc: flower: Fix buffer overflow on large labels
3f77bc62 uapi: update to if_ether.h
5f8bb902 ip/ipnexthop: fix unsigned overflow in parse_nh_group_type_res()
3184de37 lib/bpf_legacy: remove always-true check
79026c12 rdma: update uapi headers
fa58de9b vdpa: align uapi headers
be31c264 lnstat: fix buffer overflow in header output
0e949725 tc/m_vlan: fix print_vlan() conditional on TCA_VLAN_ACT_PUSH_ETH
9bd5ab0f mptcp: fix JSON output when dumping endpoints by id
a787d9ae man: tc-u32: Fix page to match new firstfrag behavior
af96c7b5 Fix some typos detected by Lintian in manpages
35c81b18 uapi: update vdpa.h
0c263d7c iplink_can: add new CAN FD bittiming parameters: Transmitter Delay Compensation (TDC)
0f7bb8d8 iplink_can: print brp and dbrp bittiming variables
67f3c7a5 iplink_can: use PRINT_ANY to factorize code and fix signedness
fd5e958c iplink_can: code refactoring of print_ctrlmode()
8316df6e iplink_can: fix configuration ranges in print_usage() and add unit
6e15d27a ip: add AMT support
9cae1de5 Import amt.h
258e350c Update kernel headers
047e9ae5 devlink: Fix cmd_dev_param_set() to check configuration mode
9e009e78 ip, neigh: Add NTF_EXT_MANAGED support
040e5252 ip, neigh: Add missing NTF_USE support
c76a3849 ip, neigh: Fix up spacing in netlink dump
76b30805 xfrm: enable to manage default policies
95cd2a62 iplink: enable to specify index when changing netns
cee0cf84 configure: add the --libdir option
0ee1950b configure: add the --prefix option
4b8bca5f configure: support --param=value style
99245d17 configure: simplify options parsing
c330d097 configure: fix parsing issue with more than one value per option
48c379bc configure: fix parsing issue on libbpf_dir option
1d819dcc configure: fix parsing issue on include_dir option
19ba785f rdma: Add optional-counters set/unset support
7d5cb70e rdma: Add stat "mode" support
d480cb71 rdma: Update uapi headers
e4ca6a49 Update kernel headers
a31e7b79 mptcp: cleanup include section.
41020eb0 Update documentation
8fb522cd Add support for IOAM encap modes
b840c620 ip: nexthop: keep cache netlink socket open
b9017435 devlink: print maximum number of snapshots if available
6448ed37 Update kernel headers
7ca868a7 ip: nexthop: add print_cache_nexthop which prints and manages the nh cache
5d5dc549 ip: route: print and cache detailed nexthop information when requested
cb3d18c2 ip: nexthop: add a helper which retrieves and prints cached nh entry
60a97030 ip: nexthop: add cache helpers
53d7c43b ip: nexthop: factor out ipnh_get_id rtnl talk into a helper
a2ca4312 ip: nexthop: factor out print_nexthop's nh entry printing
945c26db ip: nexthop: parse attributes into nh entry structure before printing
7ec1cee6 ip: nexthop: add nh entry structure
60a7515b ip: nexthop: split print_nh_res_group into parse and print parts
cfb0a872 ip: nexthop: add resilient group structure
371e889d ip: export print_rta_gateway version which outputs prepared gateway string
f7278996 ip: print_rta_if takes ifindex as device argument instead of attribute
e2cc9840 ROSE: Print decoded addresses rather than hex numbers.
26c5782f ROSE: Add rose_ntop implementation.
fd4c1c81 NETROM: Print decoded addresses rather than hex numbers.
c63b769a NETROM: Add netrom_ntop implementation.
399ae00a AX.25: Print decoded addresses rather than hex numbers.
3a92669b AX.25: Add ax25_ntop implementation.
ebbb7017 lib: bpf_legacy: add prog name, load time, uid and btf id in prog info dump
0431e1e7 ip: Support filter links/neighs with no master
12b3d6a2 man: ip-macsec: fix gcm-aes-256 formatting issue
ae895504 bridge: vlan: add support for mcast_router option
12fbe3e4 bridge: vlan: set vlan option attributes while parsing
db28c944 Update kernel headers
6d676ad9 ip: rewrite routel in python
1eaebad2 ip: remove routef script
adddf30c ip: remove ifcfg script
2c811088 ip: remove old rtpr script
72222cd4 bridge: vlan: add support for dumping router ports
7ad5505b bridge: vlan: add global mcast_querier option
061da2e2 bridge: vlan: add global mcast_startup_query_interval option
60dcd5c3 bridge: vlan: add global mcast_query_response_interval option
0e4cfa03 bridge: vlan: add global mcast_query_interval option
ebcee09c bridge: vlan: add global mcast_querier_interval option
3ae784f5 bridge: vlan: add global mcast_membership_interval option
2b6cc38d bridge: vlan: add global mcast_last_member_interval option
7cc7dbf4 bridge: vlan: add global mcast_startup_query_count option
3399c075 bridge: vlan: add global mcast_last_member_count option
a8d7212a bridge: vlan: add global mcast_mld_version option
29fada0f bridge: vlan: add global mcast_igmp_version option
1f608d59 bridge: vlan: add global mcast_snooping option
dee5eb05 bridge: vlan: add support to set global vlan options
ecf6d8b4 bridge: vlan: add support for vlan filtering when dumping options
720f8613 bridge: vlan: add support to show global vlan options
d3a961a9 bridge: vlan: skip unknown attributes when printing options
312e22fe bridge: vlan: factor out vlan option printing
d2eecb9d ip: bridge: add support for mcast_vlan_snooping
ebaa603b ip/bond: add lacp active support
8d6134b2 Update kernel headers
51d8fc70 ip/tunnel: always print all known attributes
71ba9c18 ipioam6: use print_nl instead of print_null
e7841194 tc/skbmod: Introduce SKBMOD_F_ECN option
78832863 IOAM man8
32f4969d New IOAM6 encap type for routes
29098125 Add, show, link, remove IOAM namespaces and schemas
e53f4cd5 Import ioam6 uapi headers
236696e5 Update kernel headers
cf866f0a ipneigh: add support to print brief output of neigh cache in tabular format

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-14 10:03:50 +08:00
Hauke Mehrtens
f586b91cb8 iproute2: Remove libxtables from some tc variants
This adds the new tc-bpf variant and removes libxtables dependency from
the tc-tiny variant. The tc-full variant stays like before and contains
everything.

This allows to use tc without libxtables.

The variants have the following sizes:
root@OpenWrt:/# ls -al /usr/libexec/tc-*
-rwxr-xr-x    1 root     root        282453 Mar  1 21:55 /usr/libexec/tc-bpf
-rwxr-xr-x    1 root     root        282533 Mar  1 21:55 /usr/libexec/tc-full
-rwxr-xr-x    1 root     root        266037 Mar  1 21:55 /usr/libexec/tc-tiny

They are linking the following shared libraries:
root@OpenWrt:/# ldd /usr/libexec/tc-tiny
        /lib/ld-musl-mips-sf.so.1 (0x77d6e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77d4a000)
        libc.so => /lib/ld-musl-mips-sf.so.1 (0x77d6e000)
root@OpenWrt:/# ldd /usr/libexec/tc-bpf
        /lib/ld-musl-mips-sf.so.1 (0x77da6000)
        libbpf.so.0 => /usr/lib/libbpf.so.0 (0x77d60000)
        libelf.so.1 => /usr/lib/libelf.so.1 (0x77d3e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77d1a000)
        libc.so => /lib/ld-musl-mips-sf.so.1 (0x77da6000)
        libz.so.1 => /usr/lib/libz.so.1 (0x77cf6000)
root@OpenWrt:/# ldd /usr/libexec/tc-full
        /lib/ld-musl-mips-sf.so.1 (0x77de8000)
        libbpf.so.0 => /usr/lib/libbpf.so.0 (0x77da2000)
        libelf.so.1 => /usr/lib/libelf.so.1 (0x77d80000)
        libxtables.so.12 => /usr/lib/libxtables.so.12 (0x77d66000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77d42000)
        libc.so => /lib/ld-musl-mips-sf.so.1 (0x77de8000)
        libz.so.1 => /usr/lib/libz.so.1 (0x77d1e000)

This is based on a patch from Tiago Gaspar.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-14 10:03:50 +08:00
coolsnowwolf
5ca4955cff kernel: remove linux 5.18 support 2022-08-13 09:48:21 +00:00
coolsnowwolf
e1a16f2718 rockchip: add dummy dts for build 2022-08-13 09:43:30 +00:00
coolsnowwolf
ae6810abe1 mac80211: fix brcm patch 5.15 support 2022-08-13 08:58:04 +00:00
coolsnowwolf
21b5bb211e x86: revert kmod-igb-intel to kmod-igb 2022-08-13 08:35:47 +00:00
lean
2672ddeec5 rtl8821cu: fix _rtw_memcpy for kernel 5.19 2022-08-13 10:45:02 +08:00
benihi
48585ff50b
rtl8821cu: update to 2022-04-09 (#9929)
* rtl8821cu: update to 2022-04-09

* rtl8821cu: patches: Buildfix for Linux 5.18

Co-authored-by: Butterfly <gokhanlnx@gmail.com>
2022-08-13 10:16:33 +08:00
coolsnowwolf
084bf632ae mac80211: fix 5.18/5.19 brcm patch 2022-08-12 13:24:13 +00:00
coolsnowwolf
e9a10023af rockchip: adjust default DMA coherent_pool to 2MiB 2022-08-12 11:09:56 +00:00
coolsnowwolf
07c6d87fb0 rockchip: move dts to files folder 2022-08-12 10:52:13 +00:00
coolsnowwolf
601c972128 rockchip: reorder r66s/p2 eth ports 2022-08-12 02:38:46 +00:00
coolsnowwolf
0b6bc3b05b rockchip: add smp tune for fastrhino r66s 2022-08-12 02:33:42 +00:00
John Audia
6a5774c12a kernel: bump 5.10 to 5.10.136
All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-12 10:09:41 +08:00
John Audia
6b6f1111fa kernel: bump 5.15 to 5.15.60
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-12 10:08:39 +08:00
benihi
b17921cb77
ipq807x: add default packages about nss (#9920)
Add qca-nss-drv-bridge-mgr-64 and kmod-qca-nss-drv-vlan-mgr-64.
2022-08-12 09:06:39 +08:00
coolsnowwolf
1cde7fcb20 arm-trusted-firmware-rockchip-vendor: rk3568 atf revert to v1.28 2022-08-11 15:26:18 +00:00
coolsnowwolf
59586a8354 rockchip: add kmod-ata-ahci-platform for Firefly Station P2 2022-08-11 15:08:59 +00:00
coolsnowwolf
43a63dec23 kernel: bump 5.19 to 5.19.1 2022-08-11 14:58:09 +00:00
coolsnowwolf
3c1fb2f6a8 rockchip: disable UHS modes for R66S 2022-08-11 14:50:55 +00:00
coolsnowwolf
ac7310fe3c rockchip: fix NanoPi R4S soft-reboot on some SD card 2022-08-11 14:42:32 +00:00
coolsnowwolf
ac0d4f4edc rockchip: set initial signal voltage on power off 2022-08-11 14:37:45 +00:00
Hugo Yuan
83c2394ea1
mac80211: fix compile error (#9917) 2022-08-11 19:31:22 +08:00
huangjf
3264f70ca0 rockchip: station-p2: reorder eth 2022-08-11 06:33:54 +00:00
huangjf
797a067e82 rockchip: add support for firefly station-p2 board 2022-08-11 06:33:26 +00:00
huangjf
6e97cb9f95 mac80211: broadcom: set default y to sdio for rockchip soc 2022-08-11 06:33:03 +00:00
huangjf
941cf93ab5 mac80211: broadcom: add kmod-mac80211 supported 2022-08-11 06:32:25 +00:00
coolsnowwolf
af1f124ef6 mac80211: fix set wifi macaddr to zero 2022-08-11 01:01:23 +00:00
coolsnowwolf
fb9d9f6dd9 linux-firmware: add ap6275s sdio firmware for rockchip target 2022-08-11 00:56:36 +00:00
coolsnowwolf
f66ea169c0 mac80211: brcm: backport APIs to support kernel 5.18+ 2022-08-11 00:54:46 +00:00
coolsnowwolf
f6c1512c10 target: add Amlogic S805 and S9xxx SoCs init support 2022-08-11 00:35:58 +00:00
coolsnowwolf
114bd4f332 uboot-rockchip: add fastrhino r66s support 2022-08-10 09:40:11 +00:00
breakings
ab90f4fe97
kernel: mdio-devres: fix of-mdio dependency (#9912)
armvirt/64 when compiled with ALL_KMODS=y reports following:

 Package kmod-mdio-devres is missing dependencies for the following libraries:
 of_mdio.ko

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-08-10 15:33:08 +08:00
breakings
0edc2efdb0
kernel: modules: fix kmod-mdio-devres dependency for 5.15 (#9911)
Fix:
Package kmod-mdio-devres is missing dependencies for the following libraries:
 of_mdio.ko
Package kmod-of-mdio is missing dependencies for the following libraries:
 fwnode_mdio.ko

Co-authored-by: breakings <breakingstop@gmail.com>
2022-08-10 13:32:15 +08:00
breakings
17fea87fec
armvirt: copy config files from 5.10 (#9910)
* armvirt: copy config files from 5.10

Copy config files from 5.10.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

* armvirt: refresh 5.15 config

This was done by executing these commands:
$ make kernel_oldconfig CONFIG_TARGET=subtarget
$ make kernel_oldconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

* armvirt: move common symbols from subtarget to target config

These new symbols are common for all subtargets and
can be moved into target config.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

Co-authored-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-10 13:01:30 +08:00
breakings
bb83b78e9e
armvirt: refresh 5.10 config (#9908)
This was done by executing these commands:
$ make kernel_oldconfig CONFIG_TARGET=subtarget
$ make kernel_oldconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

Co-authored-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-10 13:01:12 +08:00
breakings
7d8ea657c6
armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support (#9907)
This Kernel option allows to run OpenWrt witin a `firecracker` micro VM.

Firecracker is a KVM-based tool for superfast booting VMs on x86_64 and
aarch64. It makes rootfs available to the guest as a virtio-mmio device
and passes its address via the kernel cmdline. A kernel without
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES will not recognize the rootfs
virtio-mmio device.

Suggested-by: Packet Please <pktpls@systemli.org>
Signed-off-by: Paul Spooren <mail@aparcar.org>

Co-authored-by: Paul Spooren <mail@aparcar.org>
2022-08-10 13:00:47 +08:00
breakings
6d08efd7fa
armvirt: switch to Kernel 5.10 (#9906)
* armvirt: switch to Kernel 5.10

Armvirt is a development and testing platform and should therefore use
the latest OpenWrt Kernel by default.

Tested via qemu.

Acked-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Yousong Zhou <yszhou4tech@gmail.com>

Signed-off-by: Paul Spooren <mail@aparcar.org>

* armvirt: add 5.15 as testing kernel

Add 5.15 as testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

Co-authored-by: Paul Spooren <mail@aparcar.org>
Co-authored-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-10 13:00:22 +08:00
coolsnowwolf
34c8edcddc rockchip: switch kernel version to 5.19 2022-08-10 04:21:00 +00:00
coolsnowwolf
595bf71b39 rockchip: add FastRhino R66S support in kernel 5.19 2022-08-10 04:19:14 +00:00
Petr Štetiar
27befb47d9 zlib: backport null dereference fix
The curl developers found test case that crashed in their testing when
using zlib patched against CVE-2022-37434, same patch we've backported
in commit 7df6795d4c25 ("zlib: backport fix for heap-based buffer
over-read (CVE-2022-37434)"). So we need to backport following patch in
order to fix issue introduced in that previous CVE-2022-37434 fix.

References: https://github.com/curl/curl/issues/9271
Fixes: 7df6795d4c25 ("zlib: backport fix for heap-based buffer over-read (CVE-2022-37434)")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-08-10 11:06:52 +08:00
Reto Schneider
1463a9598f ramips: mt7628: fix memory controller reset bit
According to MediaTek MT7688 Datasheet v1.4, as well as the MT7628
counterpart, the memory controller reset bit (MC_RST) is 10, not 20.
Reset bit 20 is used for for UART 2 (UART2_RST).

Please note: Due to the lack of hardware, I was not able to test this
change.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2022-08-10 11:05:05 +08:00
Jiaxun Yang
665970a97d ramips: mt7530: Implement set_port_link
set_port_link is required by swconfig to setup link mode.
Here we implemented set_port_link by touching MII PHY registers.
For autoneg enabled case, we set advertise registers to let
autoneg reach the target mode and then retrigger autoneg. For
non autoneg case, we set BMCR register to force PHY enter
desired mode.

This patch have been tested on both MT7620 and MT7621.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2022-08-09 11:21:28 +08:00
Koen Vandeputte
9d7fe3f316 kernel: add missing 5.15 symbols
Found while testing various platforms

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2022-08-09 11:20:42 +08:00
cuiyf5516
09eb2e90cd
uboot-rockchip: refresh rk3328 rkbin verdor atf (#9903) 2022-08-08 23:51:35 +08:00
coolsnowwolf
f1b4ddefd4 target: add silicon mk place holder 2022-08-08 10:16:13 +00:00
coolsnowwolf
8dbff7b4f8 uboot-rockchip: add rk3568 board support 2022-08-08 09:25:58 +00:00
coolsnowwolf
13b92d9b2b arm-trusted-firmware-rockchip-vendor: add rk3568/rk3588 rkbin verdor atf 2022-08-08 06:18:05 +00:00
coolsnowwolf
d05a98ba99 arm-trusted-firmware-rockchip-vendor: bump to v2022-08-01 2022-08-08 03:38:29 +00:00
coolsnowwolf
40548d8a95 phy: update RK3568 rockchip-snps-pcie3 fw when init 2022-08-08 02:53:04 +00:00