Commit Graph

1909 Commits

Author SHA1 Message Date
lovehackintosh
5a8163e07b
sync with upstream (#10562)
* package: sync with upstream

Removed: package/libs/libselinux/bcm27xx-userland (Already in package/utils/bcm27xx-userland)

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

* uclibc++: remove

No package here depends on it. Furthermore, uClibc++ is a fairly buggy
C++ library and seems to be relatively inactive upstream.

It also lacks proper support for modern C++11 features.

The main benefit of it is size: 66.6 KB	vs 287.3 KB on mips24kc. Static
linking and LTO can help bring the size down of packages that need it.

Added warning message to uclibc++.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

* target: sync with upstream

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

* toolchain: gcc: Remove gcc 10.x support

This compiler is old and was never used by default in OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* ucode: update to latest Git HEAD

46d93c9 tests: fixup testcases
4c654df types: adjust double printing format
eac2add compiler: fix bytecode for logical assignments of properties
3903b18 fs: add `realpath()` function
8366102 math: add isnan() function
eef83d3 tests: relax sleep() test
394e901 lib: uc_json(): accept trailing whitespace when parsing strings
1867c8b uloop: terminate parent uloop in task child processes
d2cc003 uci: auto-load package in `ctx.foreach()` and `ctx.get_first()`
6c5ee53 compiler: ensure that arrow functions with block bodies return no value
fdc9b6a compiler: fix `??=`, `||=` and `&&=` logical assignment semantics
88dcca7 add cmake to install requires for debian

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* firewall4: update to latest Git HEAD

700a925 fw4: prevent null access when no ipsets are defined
6443ec7 config: drop input traffic by default
119ee1a ruleset: drop ctstate invalid traffic for masq-enabled zones

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ustream-ssl: update to Git version 2022-12-07

9217ab4 ustream-openssl: Disable renegotiation in TLSv1.2 and earlier
2ce1d48 ci: fix building with i.MX6 SDK
584f1f6 ustream-openssl: wolfSSL: provide detailed information in debug builds
aa8c48e cmake: add a possibility to set library version

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* tools/mpfr: import patch fixing macro bug

Co-authored-by: Nick Hainke <vincent@systemli.org>
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Co-authored-by: Rosen Penev <rosenp@gmail.com>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Jo-Philipp Wich <jo@mein.io>
Co-authored-by: Nick Hainke <vincent@systemli.org>
2022-12-08 14:20:57 +08:00
coolsnowwolf
40e8e1c3a9 Revert "ipq60xx: Add upstream patch for USB Support"
This reverts commit 13d0aa75dc.
2022-12-08 14:19:31 +08:00
coolsnowwolf
13d0aa75dc ipq60xx: Add upstream patch for USB Support 2022-12-08 02:12:24 +08:00
coolsnowwolf
4a372f56c2 x86: add support for iKoolCore R1 (eth1/2/3 for LAN, eth0 for WAN) 2022-12-08 01:26:02 +08:00
coolsnowwolf
91cf34988c Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-12-08 01:10:15 +08:00
coolsnowwolf
5bfb6e66ac x86: improve sysinfo handling of special values 2022-12-08 01:10:02 +08:00
Hauke Mehrtens
17e7a58be0 kernel: ca8210: Fix crash by zero initializing data
This fixes crashes at bootup on pistachio.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-12-08 00:03:13 +08:00
Daniel Golle
cd447c0218 mediatek: mt7623: build mt6577_auxadc driver into kernel
Set CONFIG_MT6577_AUXADC=y as otherwise reading temperature of the
thermal-zone doesn't work on MT7623 (it does work fine without this
driver on MT7622 and MT7986).

Fixes: f2ae4e2f8c ("mediatek: clean up platform kernel modules")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-07 23:28:03 +08:00
lovehackintosh
7468945d5b
kernel: bump 5.10 to 5.10.157 (#10561)
Manually rebased:
	backport-5.10/610-v5.13-32-net-ethernet-mtk_eth_soc-add-support-for-initializin.patch
	hack-5.10/645-netfilter-connmark-introduce-set-dscpmark.patch[1]

All other patches automatically rebased

1. Rebase by Kevin 'ldir' Darbyshire-Bryant<ldir@darbyshire-bryant.me.uk>

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-12-06 18:01:43 +08:00
lovehackintosh
944341aaf2
kernel: bump 6.0 to 6.0.11 (#10556)
Manually rebased:
	hack-6.0/645-netfilter-connmark-introduce-set-dscpmark.patch[1]

All other patches automatically rebased

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-12-06 15:02:11 +08:00
lovehackintosh
a653ef540f
kernel: bump 5.15 to 5.15.81 (#10554)
* kernel: bump 5.15 to 5.15.81

Manually rebased:
	backport-5.15/715-v6.0-net-ethernet-mtk_eth_soc-add-the-capability-to-run-m.patch
	hack-5.15/645-netfilter-connmark-introduce-set-dscpmark.patch[1]

All other patches automatically rebased

Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-12-06 15:01:21 +08:00
coolsnowwolf
193db6f186 network: add brcm fullcone support from ASUS Merlin kernel 4.19 2022-12-06 00:26:03 +08:00
Aleksander Jan Bajkowski
6c544582dd mediatek: mt7623: disable swconfig
The mt7623 subtarget supports 2 devices:
 * Bananapi BPi-R2 (added in 1f068588efddf0175e954ffc07ec8478bddd52c7, 7762c07c88980cff85ec20c12f18cd172260e9d9),
 * UniElec U7623-02 (added in 4def81f30f2e89eeecc6ec06e3091f1dd6b3c3d9).

Both devices support DSA from the beginning, thus
swconfig can be safely disabled.

In the past, the subtarget mt7623 also supported
the mt7623 reference board. This board originally
supported swconfig, and was later converted to DSA
(64175ffb7911f5fcd3907df09fdb9bfab53ee641) and then dropped (1ab81bf02d750c9a2a447dbf4fdb323921f291d7).

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-12-04 23:55:11 +08:00
Aleksander Jan Bajkowski
72e2de9e64 mediatek: mt7623: refresh config
This was done by executing these command:
$ time make kernel_oldconfig CONFIG_TARGET=subtarget

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-12-04 23:54:44 +08:00
Senis John
7654ca0114 ramips: add support for HiWiFi HC5611
CPU: MediaTek MT7628AN @ 575 MHz
Flash: 16 MB
RAM: 128 MB
Ethernet: 10/100Mbps x 1
Wlan: 300 Mbps
USB: USB 2.0 x 1
LED: red/green x 1
Button: reset x 1

1. Open https://www.hiwifi.wtf/, Get Cloud token and unlock ssh
2. Upload the openwrt firmware to the router via SCP
3. Login the router via SSH
4. Run `mtd -r write path_to_firmware.bin firmware`

I have tested on my device.
- The LED will display RED on power-on, After system start completed, trun GREEN
- Reset button working now. Long press after 5s will reset factory. Short press less 1s will reboot the device
- USB can working under official u-boot

Signed-off-by: Senis John <thank243@gmail.com>
2022-12-04 23:48:43 +08:00
Kien Truong
e2578b7d82 rockchip: enable watchdog driver
Enable Synopsys DesignWare watchdog driver for rockchip device

Tested on NanoPi R2S

Signed-off-by: Kien Truong <duckientruong@gmail.com>
2022-12-04 23:47:29 +08:00
AmadeusGhost
5fc98f62c4 rockchip: backport yt8531s driver from net-next
Fixes: #10497
2022-12-03 18:39:04 +08:00
coolsnowwolf
0e72b739ca ramips: HATLab GateBoard-One using gen_image_generic.sh to gen image 2022-12-02 22:09:35 +08:00
AmadeusGhost
c1d76d3b25 rockchip: opc-h68k: add sata support 2022-12-02 21:16:35 +08:00
AmadeusGhost
ae96f27ccb ramips: fixes kernel 5.4 mt76 build error
Fixes: #10537
2022-12-02 21:09:47 +08:00
AmadeusGhost
2173f1c0ea mt76: fixes kernel 5.4 build error
Fixes: #10524
2022-11-30 17:40:29 +08:00
AmadeusGhost
ecf4e9e890 rockchip: backport Amlogic S905 emmc fixes
Fixes: #10471
2022-11-30 16:59:20 +08:00
coolsnowwolf
a9671e8543 rockchip: 5.15: backport yt8521 driver from upstream kernel v6.2 2022-11-30 15:23:53 +08:00
coolsnowwolf
7d63a39b97 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-11-28 13:13:52 +08:00
LGA1150
6bc640d84d ramips: add JD-Cloud router support 2022-11-27 12:01:29 +08:00
AmadeusGhost
85220a12d3 Revert "mediatek: add LED support for Xiaomi Redmi Router AX6000"
This reverts commit 6fb280ac46.
2022-11-27 11:58:39 +08:00
coolsnowwolf
b1e4d3d413 kernel: add WED rx support for mediatek on mt76 with MT7986 and MT7915 2022-11-27 01:49:13 +08:00
lovehackintosh
21bab22afa
kernel: bump 5.15 to 5.15.80 (#10506)
Manually rebase:
   pending-5.15/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
   ath79/patches-5.15/910-unaligned_access_hacks.patch

All other patches automatically rebased

Co-authored-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-11-26 23:39:10 +08:00
lovehackintosh
07df792ae7
kernel: bump 6.0 to 6.0.10 (#10505)
Manually rebase:
   pending-6.0/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch

All other patches automatically rebased

Co-authored-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-11-26 22:41:11 +08:00
lovehackintosh
e787ad1a4b
kernel: bump 5.10 to 5.10.156 (#10498)
Manually rebased: ath79/patches-5.10/910-unaligned_access_hacks.patch

All other patches automatically rebased.

Co-authored-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-11-26 18:07:27 +08:00
Linhui Liu
0b241584b5 kernel: bump 5.4 to 5.4.225
All patches automatically rebased.

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-11-26 18:06:25 +08:00
coolsnowwolf
4d5470d13b Revert "x86: fix Bintel's ZHITAI Ti Plus 5000 fw bug"
This reverts commit 857a955f1e.
2022-11-25 15:18:41 +08:00
sdf8057
1156d23750
ipq807x: disable br-nf after qca-nss-ecm start (#10488)
qca-nss-ecm启动之后会开启网桥ipv4/ipv6的包过滤导致NAT loopback不可用。再次关闭网桥包过滤,以解决NAT loopback不可用的问题。
2022-11-25 03:00:18 +08:00
coolsnowwolf
e9e7e64a1f Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-11-25 02:59:56 +08:00
coolsnowwolf
857a955f1e x86: fix Bintel's ZHITAI Ti Plus 5000 fw bug 2022-11-25 02:59:14 +08:00
AmadeusGhost
1f9c2a3e1f rockchip: 5.15: add missing kernel config 2022-11-24 20:05:56 +08:00
Christian Marangi
2c83210409 generic: 5.15: add missing PAGE_POOL_STATS config
Add new PAGE_POOL_STATS config backported for the mtk offload patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-11-24 20:02:06 +08:00
Rafał Miłecki
667b8a7613 kernel: add CONFIG_NVMEM_U_BOOT_ENV symbol to configs
This fixes:
  U-Boot environment variables support (NVMEM_U_BOOT_ENV) [N/m/y/?] (NEW)

Fixes: 34cf310435044 ("kernel: backport U-Boot environment data NVMEM driver")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-11-24 20:01:21 +08:00
coolsnowwolf
d1bed1ba23 ipq60xx: add 360_v6 ath11k wifi BDF 2022-11-23 22:21:27 +08:00
coolsnowwolf
8d2bd3273c
x86: add kmod-tg3 by default 2022-11-23 17:20:15 +08:00
Aleksander Jan Bajkowski
e5bf907be5 kernel: backport tso for asix driver
Performance comparison (iperf3, mtu 1500):
Before: 53.9 Mbps
After: 87.9 Mbps

The tests were performed on a BT Home Hub 5A router.
The iperf3 server was running on the router, the client
on the host.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-11-20 20:24:27 +08:00
Pawel Dembicki
334012492f kernel: add missing symbol in generic config
Found during work on qoriq target.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[improve commit message, remove from target configs]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-11-20 20:22:30 +08:00
coolsnowwolf
6fb280ac46 mediatek: add LED support for Xiaomi Redmi Router AX6000 2022-11-18 19:51:59 +08:00
coolsnowwolf
a01f34b7be mediatek: fix mt7981 clk clock support 2022-11-18 03:36:57 +08:00
coolsnowwolf
cce06e82a4 mediatek: add filogic 820 (MT7981) subtarget support 2022-11-18 03:03:21 +08:00
lovehackintosh
c052e55f49
kernel: bump 5.15 to 5.15.79 (#10441)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-17 23:56:17 +08:00
lovehackintosh
9543671fe5
kernel: bump 5.10 to 5.10.155 (#10443)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-17 23:56:01 +08:00
coolsnowwolf
d3a96f1bd5 ipq60xx: sync patches from upstream 2022-11-17 18:23:03 +08:00
coolsnowwolf
5080fb656a ipq6000: add usb3 DT description 2022-11-17 16:38:23 +08:00
aakkll
805cff4080
kernel: bump 6.0 to 6.0.9 (#10429) 2022-11-17 11:35:41 +08:00