Commit Graph

1927 Commits

Author SHA1 Message Date
coolsnowwolf
6b480374fd rockchip: fix opc-h68k tf boot fail on some cards 2022-12-15 00:53:32 +08:00
coolsnowwolf
4a5a6e637e silicon: fix kernel target 2022-12-14 18:35:35 +08:00
Hauke Mehrtens
7293fb0e42 kernel: Refresh kernel 5.10
Make the patches apply cleanly again.

Fixes: 8327e0fb72f0 ("kernel: backport the dev_set_threaded export to 5.10")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-12-14 12:15:23 +08:00
aakkll
a019519831 kernel: refresh linux 6.1 patches 2022-12-14 12:13:24 +08:00
AmadeusGhost
56de4ccd61 treewide: remove kernel 6.0 support 2022-12-14 12:10:38 +08:00
AmadeusGhost
2e543c861a sunxi: add kernel 5.10 support 2022-12-14 12:00:10 +08:00
coolsnowwolf
ede1c194f6 mac80211: backport ath11k in linux kernel 6.1 2022-12-14 05:04:31 +08:00
coolsnowwolf
9a103d038b rockchip: fix radxa e25 adc-keys power button support 2022-12-14 02:25:17 +08:00
coolsnowwolf
4212f116b4 mac80211: backports linux 6.1 support 2022-12-14 01:52:15 +08:00
AmadeusGhost
e6f5ad32af rockchip: add kernel 6.1 support 2022-12-14 00:10:54 +08:00
AmadeusGhost
b4bbdc1e99 rockchip: correct board name for radxa e25 2022-12-13 23:56:22 +08:00
coolsnowwolf
994a4c48e4 kernel: add linux 6.1 stable release support 2022-12-12 19:29:09 +08:00
AmadeusGhost
3cdf9dc3c3 Revert "kernel: export symbol dev_set_threaded"
This reverts commit ba1f8c931c.
Fixes: #10589, #10593, #10595
2022-12-12 15:09:28 +08:00
Weiping Yang
aa4ef903bd ipq40xx: fix usb driver not loaded for GL-A1300
This patch enables USB support for the GL.iNet GL-A1300
Repair the usb driver startup phase is not loaded

Signed-off-by: Weiping Yang <weiping.yang@gl-inet.com>
2022-12-11 15:28:35 +08:00
Felix Fietkau
177dddfaf2 kernel: backport the dev_set_threaded export to 5.10
Fixes mt76 build error

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-12-11 15:17:02 +08:00
Felix Fietkau
efafaab7df kernel: backport mtk_wed.h from 5.15 to 5.10
Fixes mt76 build error

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-12-11 15:16:04 +08:00
lovehackintosh
7979de9ed9
kernel: bump to 5.4.226, 5.10.158, 5.15.82 (#10573)
* kernel: bump 5.15 to 5.15.82

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

* kernel: add symbol in generic config for 5.10.157

Add CONFIG_INET_TABLE_PERTURB_ORDER=16 to generic config

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.158

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

* kernel: bump 5.4 to 5.4.226

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

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-12-09 18:18:58 +08:00
aakkll
419f7c78eb
kernel: bump 6.0 to 6.0.12 (#10567)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-12-09 01:23:41 +08:00
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