Commit Graph

3055 Commits

Author SHA1 Message Date
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
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
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
Tianling Shen
8b24921ba0
igb-intel: fix typo error (#9751)
`CONFLICT` -> `CONFLICTS`.

Fixes: 471976c7d9 ("igb-intel: mark conflict with kmod-igb")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-14 00:16:15 +08:00
lean
7d04525dda igb-intel: using KERNEL_MAKE compile 2022-07-13 23:44:49 +08:00
Tianling Shen
471976c7d9
igb-intel: mark conflict with kmod-igb (#9750)
Fixes: #9742

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-13 23:37:03 +08:00
Tianling Shen
bd522ba3a1
uboot-rockchip: remove prebuilt of-platdata (#9747)
With this change you need have swig and libpython3-dev installed on
your host, which should be done already.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-13 23:30:37 +08:00
lean
53686de196 uboot-rockchip: add support for FriendlyElec NanoPi R4SE emmc boot 2022-07-12 22:46:00 +08:00
lean
faf4476659 kernel: Make QMI Helpers user selectable in 5.18 2022-07-12 18:54:05 +08:00
lean
5d92792d40 mt76: update to the latest version 2022-07-12 11:51:06 +08:00
lean
b6a99d33e1 uboot-rockchip: bump to v2022.07 RTM release 2022-07-12 11:09:47 +08:00
lean
c50a2c3261 uboot-rockchip: update with 2022.07-rc2 to support RK3566/RK3568 2022-07-11 16:42:10 +08:00
lean
954990d137 kmod-ata-ahci-platform: add rockchip RK3566/RK3568 sata support 2022-07-11 14:45:48 +08:00
AmadeusGhost
e4d5e7769b Revert "arm-trusted-firmware-rockchip-vendor: add RK3566/RK3568 support"
The rk356x SoC does not have Rockchip miniloader at all.
However, it has following features (hope you can enjoy):
 -- Support boot Android format image only
 -- Support gpt/misc compulsory verification
 -- Full-closed binary and uboot can't ntr it

This reverts commit 2c340abaf1.
2022-07-11 12:03:14 +08:00
lean
86ea102156 mac80211: add rtl8723bs for kernel 5.18 support for Ryan 2022-07-11 02:43:03 +08:00
Beginner
9e550e488a
wolfssl: WOLFSSL_HAS_WPAS requires WOLFSSL_HAS_DH (#9735)
Without this, WOLFSSL_HAS_DH can be disabled even if WOLFSSL_HAS_WPAS is
enabled, resulting in an "Anonymous suite requires DH" error when trying
to compile wolfssl.

Signed-off-by: Pascal Ernster <git@hardfalcon.net>
Reviewed-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Pascal Ernster <git@hardfalcon.net>
2022-07-11 00:56:13 +08:00
Beginner
4497dbb9b5
r8168: fix typo error (#9734)
Switched to use KERNEL_MAKE while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-11 00:46:35 +08:00
lean
ae8709dce7 igb-intel: add igb oot version from Intel to support 82575/82576/82580/I350/I354/I210/I211 2022-07-10 18:13:31 +08:00
lean
870bae6520 usb net: fix usb-net-asix in 5.18 2022-07-10 17:54:49 +08:00
lean
f350b11ff2 fs: fix ntfs3 in kernel 5.18 2022-07-10 17:51:38 +08:00
lean
14e109d0b9 mt76: bypass warnings being treated as errors 2022-07-09 19:37:51 +08:00
lean
c6734e6cdb mac80211: backport APIs to support kernel 5.18 2022-07-09 19:19:54 +08:00
lean
d638ccd10a kmod-fs-cifs: fix dependence in 5.18 2022-07-09 16:28:20 +08:00
lean
2c340abaf1 arm-trusted-firmware-rockchip-vendor: add RK3566/RK3568 support 2022-07-09 15:53:09 +08:00
lean
4a65613b43 kernel: fix tpm modules in kernel 5.18 2022-07-09 00:58:37 +08:00
lean
a6893cf1b8 shortcut-fe: disable sfe ecm autoload 2022-07-09 00:49:45 +08:00
lean
3490ed59c0 shortcut-fe: fix unload sfe ecm 2022-07-08 23:00:40 +08:00
lean
4865875187 r8168: add kernel 5.18 support 2022-07-08 20:28:09 +08:00
lean
71124f92a6 r8125: add kernel 5.18 support 2022-07-08 19:51:58 +08:00
lean
519e147e76 kernel: add linux 5.18 support for x86/x64 2022-07-08 19:21:32 +08:00
lean
63434c83c9 mac80211: improve ath10k encap/vht/thermal support 2022-07-08 14:45:00 +08:00
lean
00522a1d86 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-07-08 12:44:50 +08:00
lean
66d19a4e36 mac80211: bump to 5.15.33-1 2022-07-08 12:44:37 +08:00
Dustin Lundquist
d12eff3e86 openssl: bump to 1.1.1q
Changes between 1.1.1p and 1.1.1q [5 Jul 2022]

  *) AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised
     implementation would not encrypt the entirety of the data under some
     circumstances.  This could reveal sixteen bytes of data that was
     preexisting in the memory that wasn't written.  In the special case of
     "in place" encryption, sixteen bytes of the plaintext would be revealed.

     Since OpenSSL does not support OCB based cipher suites for TLS and DTLS,
     they are both unaffected.
     (CVE-2022-2097)
     [Alex Chernyakhovsky, David Benjamin, Alejandro Sedeño]

Signed-off-by: Dustin Lundquist <dustin@null-ptr.net>
2022-07-08 11:54:44 +08:00