Commit Graph

3094 Commits

Author SHA1 Message Date
coolsnowwolf
ae6810abe1 mac80211: fix brcm patch 5.15 support 2022-08-13 08:58:04 +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
1cde7fcb20 arm-trusted-firmware-rockchip-vendor: rk3568 atf revert to v1.28 2022-08-11 15:26:18 +00:00
Hugo Yuan
83c2394ea1
mac80211: fix compile error (#9917) 2022-08-11 19:31:22 +08: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
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
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
cuiyf5516
09eb2e90cd
uboot-rockchip: refresh rk3328 rkbin verdor atf (#9903) 2022-08-08 23:51:35 +08: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
Petr Štetiar
0efde5c7f7 zlib: backport fix for heap-based buffer over-read (CVE-2022-37434)
zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow
in inflate in inflate.c via a large gzip header extra field. NOTE: only
applications that call inflateGetHeader are affected. Some common
applications bundle the affected zlib source code but may be unable to
call inflateGetHeader.

Fixes: CVE-2022-37434
References: https://github.com/ivd38/zlib_overflow
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-08-08 10:28:17 +08:00
coolsnowwolf
1ed3597b92 x86: add suuport for Intel gen 11/12/13th GPU GVT-g capability 2022-08-06 16:46:59 +00:00
coolsnowwolf
bda5611e48
ntfs3-mount : add support kernel 5.19 2022-08-05 11:18:08 +08:00
coolsnowwolf
3f09969e86 kernel: refresh RTL 5.19 patch 2022-08-04 19:47:00 +00:00
coolsnowwolf
729dcd5bca linux-atm: add kernel 5.19 support 2022-08-04 19:13:26 +00:00
coolsnowwolf
ba6dc2427f r8168: add kernel 5.19 support 2022-08-04 17:53:43 +00:00
coolsnowwolf
07adaa5beb r8152: add kernel 5.19 support 2022-08-04 17:49:52 +00:00
coolsnowwolf
84f9ec62e2 r8125: add kernel 5.19 support 2022-08-04 17:30:38 +00:00
lean
db9659b5db Version update to R22.8.2 2022-08-04 19:36:06 +08:00
Nick Hainke
690ee8c181 libcap: update to 2.65
Changes:
a47d86d Up the release version to 2.65
fc99e56 Include more signatures in pgp.keys.asc.
52288cc Close out this comment in the go/Makefile
eb0f1df Prevent 'capsh --user=xxx --' from generating a bash error.
9a95791 Improve documentation for cap_get_pid and cap_reset_ambient.
21d08b0 Fix syntax error in DEBUG protected setcap.c code.
9425048 More useful captree usage string and man page.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-04 10:16:44 +08:00
Nick Hainke
fab893c9d6 libcap: update to 2.64
Changes:
38cfa2e Up the release version to 2.64
7617af6 Avoid a deadlock in forked psx thread exit.
fc029cb Include LIBCAP_{MAJOR,MINOR} #define's in sys/capability.h
ceaa591 Clarify how the cap_get_pid() argument is interpreted.
15cacf2 Fix prctl return code/errno handling in libcap.
aae9374 Be explicit about CGO_ENABLED=1 for compare-cap build.
66a8a14 psx: free allocated memory at exit.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-04 10:16:15 +08:00
Mark Mentovai
985365da45 libmnl: fix build when bash is not located at /bin/bash
This fixes the libmnl build on macOS, which ships with an outdated bash
at /bin/bash. During the OpenWrt build, a modern host bash is built and
made available at staging_dir/host/bin/bash, which is present before
/bin/bash in the build's PATH.

This is similar to 8f7ce3aa6dda, presently appearing at
package/kernel/mac80211/patches/build/001-fix_build.patch.

Signed-off-by: Mark Mentovai <mark@mentovai.com>
2022-08-03 10:33:16 +08:00
Stalker
975e0f70ca
Fix modules in kernel 5.19 (#9883)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2022-08-02 13:38:52 +08:00
John Audia
bb2079b959 wolfssl: fix math library build
Apply upstream patch[1] to fix breakage around math libraries.
This can likely be removed when 5.5.0-stable is tagged and released.

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

1. https://github.com/wolfSSL/wolfssl/pull/5390

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-02 10:01:15 +08:00
Eneas U de Queiroz
90e8e6fac8 wolfssl: bump to 5.4.0
This version fixes two vulnerabilities:
-CVE-2022-34293[high]: Potential for DTLS DoS attack
-[medium]: Ciphertext side channel attack on ECC and DH operations.

The patch fixing x86 aesni build has been merged upstream.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-08-02 10:00:57 +08:00
Daniel Golle
8457bf1691 kernel: add kmod-nvme package
Add driver for NVM Express block devices, ie. PCIe connected SSDs.

Targets which allow booting from NVMe (x86, maybe some mvebu boards come
to mind) should have it built-in, so rootfs can be mounted from there.
For targets without NVMe support in bootloader or BIOS/firmware it's
sufficient to provide the kernel module package.

On targets having the NVMe driver built-in the resulting kmod package
is an empty dummy. In any case, depending on or installing kmod-nvme
results in driver support being available (either because it was already
built-in or because the relevant kernel modules are added and loaded).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-01 09:55:20 +08:00
Jo-Philipp Wich
f690041682 wolfssl: make shared again
Disable the usage of target specific CPU crypto instructions by default
to allow the package being shared again. Since WolfSSL does not offer
a stable ABI or a long term support version suitable for OpenWrt release
timeframes, we're forced to frequently update it which is greatly
complicated by the package being nonshared.

People who want or need CPU crypto instruction support can enable it in
menuconfig while building custom images for the few platforms that support
them.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-08-01 09:54:36 +08:00
Hauke Mehrtens
c7ce44ab41 wolfssl: Do not activate HW acceleration on armvirt by default
The armvirt target is also used to run OpenWrt in lxc on other targets
like a Raspberry Pi. If we set WOLFSSL_HAS_CPU_CRYPTO by default the
wolfssl binray is only working when the CPU supports the hardware crypto
extension.

Some targets like the Raspberry Pi do not support the ARM CPU crypto
extension, compile wolfssl without it by default. It is still possible
to activate it in custom builds.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-25 10:10:05 +08:00
骷髅头
eb3ebc4fc0
rockchip:add doornet2 lpddr4 4gb (#9817)
* 添加DN2 LPDDR4 4GB

* 添加DN2 LPDDR4 4GB

* rockchip: Complement missing configuration for other kernels

Co-authored-by: hejiawencc <hjw0415@outlook.com>
2022-07-24 15:43:55 +08:00
lean
7af074fd1d Revert "uboot-rockchip:doornet2 detaches from evb rk (#9812)"
This reverts commit cdad02d028.
2022-07-21 16:58:40 +08:00
骷髅头
cdad02d028
uboot-rockchip:doornet2 detaches from evb rk (#9812)
* add CONFIG_TARGET_DOORNET2_RK3399=y

* uboot-rockchip:doornet2 out of evb rk patch

* uboot-rockchip:cancel doornet2 to use rkbin

* Update armv8.mk

* rockchip:add  kernel5.15 rk3399-nanopi-r4se.dts

* rockchip:add kernel 5.18 rk3399-nanopi-r4se
2022-07-21 16:12:52 +08:00
Catalin Toda
64d53bd4b6 kernel: netconsole: add network console logging support
Accessing the console on many devices is difficult.
netconsole eases debugging on devices that crash
after the network is up.

Reference to the netconsole documentation in upstream Linux:
<https://www.kernel.org/doc/html/latest/networking/netconsole.html>
|
|netconsole=[+][src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr]
|
| where
|  +            if present, enable extended console support
|  src-port     source for UDP packets (defaults to 6665)
|  src-ip       source IP to use (interface address)
|  dev          network interface (eth0)
|  tgt-port     port for logging agent (6666)
|  tgt-ip       IP address for logging agent
|  tgt-macaddr  ethernet MAC address for logging agent (broadcast)

OpenWrt specific notes:

OpenWrt's device userspace scripts are attaching the network
interface (i.e. eth0) to a (virtual) bridge (br-lan) device.
This will cause netconsole to report:
|network logging stopped on interface eth0 as it is joining a master device
(and unfortunately the traffic/logs to stop at this point)

As a workaround, the netconsole module can be manually loaded
again after the bridge has been setup with:

 insmod netconsole netconsole=@/br-lan,@192.168.1.x/MA:C...

One way of catching errors before the handoff, try to
append the /etc/modules.conf file with the following extra line:
 options netconsole netconsole=@/eth0,@192.168.1.x/MA:C...

and install the kmod-netconsole (=y) into the base image.

Signed-off-by: Catalin Toda <catalinii@yahoo.com>
(Added commit message from PR, added links to documentation)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-20 17:45:24 +08:00
Christian Lamparter
9f1069a59d sdk: add spidev-test to the bundle of userspace sources
moves and extends the current facilities, which have been
added some time ago for the the usbip utility, to support
more utilites that are shipped with the Linux kernel tree
to the SDK.

this allows to drop all the hand-waving and code for
failed previous attempts to mitigate the SDK build failures.

Fixes: bdaaf66e28bd ("utils/spidev_test: build package directly from Linux")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-20 17:42:22 +08:00
Rosen Penev
51f606ec99 mbedtls: build with PIC
Fixes compilation with GCC12 and dependent packages for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-20 17:38:06 +08:00
lean
6d79ece4c2 modules: fix 5.18 vxlan support 2022-07-19 14:51:16 +08:00
lean
41a400d5f8 Revert "wolfssl: bump to 5.4.0 (#9795)"
This reverts commit 1399c99229.
2022-07-19 12:57:50 +08:00
Beginner
1399c99229
wolfssl: bump to 5.4.0 (#9795)
This version fixes two vulnerabilities:
-CVE-2022-34293[high]: Potential for DTLS DoS attack
-[medium]: Ciphertext side channel attack on ECC and DH operations.

The patch fixing x86 aesni build has been merged upstream.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-07-19 01:28:42 +08:00
lean
2347b04b60 luci-app-qbittorrent-simple: add luci for qbittorrent simple UI 2022-07-18 14:04:35 +08:00
lean
4f98c23f5e r8125: remove uneeded 5.18 support patch 2022-07-18 11:19:05 +08:00
lean
2082f4604a r8125: bump to 9.009.02 2022-07-18 11:09:45 +08:00