Commit Graph

4750 Commits

Author SHA1 Message Date
lovehackintosh
70bf186a84
ramips: 5.4: fixes nand patches (#9848)
Fixes: #9847
2022-07-28 10:05:40 +08:00
lovehackintosh
7ad9516bf1
kernel: bump 5.10 to 5.10.133 (#9845) 2022-07-27 23:51:57 +08:00
lovehackintosh
d677e6a664
ramips: move mt7621_nand driver to files and sync with upstream (#9844) 2022-07-27 23:51:19 +08:00
AmadeusGhost
3211a973de rockchip: drop most ugly hack code
Delete these ugly hack code until someone who
make money with this don't be so perfunctory.
2022-07-25 10:57:31 +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
Martin Blumenstingl
2dff07154d generic: 5.15: Disable more config symbols
These came up while trying to build the lantiq target with Linux 5.15.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2022-07-25 10:09:27 +08:00
Andre Heider
42df44c830 tools/libressl: bump to v3.5.3
This includes API additions required for u-boot v2022.07 and Python 3.10.

https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.1-relnotes.txt
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.2-relnotes.txt
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.3-relnotes.txt

Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-07-25 10:08:39 +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
aakkll
d43bee457c
kernel: bump 5.18 to 5.18.14 (#9823)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-23 23:40:03 +08:00
aakkll
4ad9acd2f0
kernel: bump 5.15 to 5.15.57 (#9824)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-23 23:39:52 +08:00
aakkll
8852b7bb51
kernel: bump 5.15 to 5.15.56 (#9816)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-22 18:13:08 +08:00
aakkll
bb63dd2d5b
kernel: bump 5.18 to 5.18.13 (#9818)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-22 18:12:53 +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
lean
ebfa1b93b7 generic: fix swconfig_leds.c in 5.18 2022-07-21 15:10:56 +08:00
lovehackintosh
340fe78011
kernel: bump 5.10 to 5.10.131 (#9807) 2022-07-21 10:00:21 +08:00
José Hwong
9053b90d40
kernel: backport upstream mtk_eth_soc patches (#9809)
* kernel: move mtk flow offload patches to backport-5.15

They were accepted upstream

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* kernel: backport upstream mtk_eth_soc patches

Includes MT7986 ethernet support

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2022-07-21 09:45:51 +08:00
Rafał Miłecki
f1b8180c5a kernel: switch back 5.15 to fw_devlink=permissive
Kernel switching to fw_devlink=on as default broke probing some devices.
Revert it until we get a proper fix.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-07-20 17:47:48 +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
Felix Fietkau
14f31f2a2b kernel: backport mtk wlan flow offloading fix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-07-20 17:41:06 +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
c5f12bf7aa rockchip: add crypto-hw-rockchip drivers for RK3328/RK3399 2022-07-18 13:27:05 +08:00
lean
4348784a58 rockchip: switch to kernel 5.18 2022-07-18 11:37:26 +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
Beginner
8bb65fc710
n2n: dynamic link to libcap (#9779)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-18 00:12:24 +08:00
zhusir
ce12ca653e
Update fast-classifier.c (#9777)
Fix #9767
2022-07-17 17:03:35 +08:00
Christian Lamparter
79b5e1dd51 module/firmware: remove intersil PRISM54 support
the legacy driver was dropped in linux 5.14-rc3:
commit d249ff28b1d8 ("intersil: remove obsolete prism54 wireless driver")

Quoting Lukas Bulwahn:
"p54 replaces prism54 so users should be unaffected."

Reported-by: Marius Dinu <m95d+git@psihoexpert.ro>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-17 00:17:41 +08:00
Christian Lamparter
3adfa2ab8d utils/spidev_test: side-step build-system woes
The spidev_test is build in phase2 even though it should be disabled.
My best guess is that we hit the same issue that I had with nu801.
The build-system thinks it's a tool that is necessary for
building the kernel.

In this case, the same fix (adding a dependency on the presence of
the module) could work in this case as well?

Fixes: bdaaf66e28bd ("utils/spidev_test: build package directly from Linux")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-17 00:17:02 +08:00
Christian Lamparter
2d293367e9 linux-firmware: Update to version 20220610
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-17 00:16:16 +08:00
Christian Lamparter
1e3364ba5d firmware: intel-microcode: update to 20220510
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-17 00:15:36 +08:00
骷髅头
b506b2ae67
rockchip: fix rk3399 pppoe error in kernel 5.18 2022-07-16 17:28:21 +08:00
aakkll
9626ed9a75
kernel: bump 5.18 to 5.18.12 (#9763)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-16 17:26:45 +08:00
aakkll
47cdfb8b61
kernel: bump 5.15 to 5.15.55 (#9764)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-16 17:26:33 +08:00
Leonardo Mörlein
7dd7a8f966 automake: always use correct path for aclocal.real
Before this commit, it was assumed that aclocal.real is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. The command failed with:

    /home/.../openwrt/staging_dir/host/bin/aclocal: line 2: aclocal.real: command not found
    autoreconf: /home/.../openwrt/staging_dir/host/bin/aclocal failed with exit status: 127

After the commit, the package is built sucessfully.

Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
2022-07-15 10:05:30 +08:00
Christian Marangi
7ab29b6797 generic: fix warning orphan section from module exports in aarch64
kernel linux now have 2 different export.h include, one from
linux/export.h and one from asm-generic/export.h

While most of our target user linux/export.h, aarch64 based target use
asm-generic/export.h that is not patched with the changes of
221-module_exports.

Patch also this additional header to fix multiple

aarch64-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/arm64/kernel/head.o' being placed in section `__ksymtab_strings'

warning during kernel compilation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-07-15 10:04:32 +08:00
Florian Eckert
799f57e650 target/linux/pending-5.15: rename patches
The consecutive number 483 is assigned twice.
This change fixes this.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-07-15 10:02:50 +08:00
Felix Fietkau
999b221cbe tools/coreutils: enable ginstall utility
For some reason, current coreutils version installed on x86 macOS via homebrew
have a bug, where at least the cc1 binary from gcc gets corrupted during install
to the staging dir.
Using the install utility from tools/coreutils fixes this

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-07-15 10:01:30 +08:00
Felix Fietkau
d78e81a1cb tools/coreutils: build chown
On ARM macOS, injecting extra shared libraries does not work for system
binaries. This causes fakeroot to fail for chown calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-07-15 10:00:39 +08:00
Piotr Dymacz
466b3cd2be generic: 5.15: add missing symbols
These were found during work on new device support under the
imx/cortexa7 target.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-07-15 09:57:06 +08:00
骷髅头
43e6cd5592
Update rk3328-nanopi-r2c.dts (#9756) 2022-07-14 21:46:49 +08:00
lean
f876224408 crypto.mk : add backport config 2022-07-14 15:47:10 +08:00
lean
9ae4851e10 autocore: fix arm eth port seq 2022-07-14 15:08:46 +08:00
lean
6293b61db6 netfilter.mk : backport kernel config 2022-07-14 15:04:47 +08:00
lean
e66a94a8d8 rockchip: refresh Kconfig 2022-07-14 00:41:52 +08:00