Commit Graph

6459 Commits

Author SHA1 Message Date
CN_SZTL
fdfd3f7f4d
package: drop kernel 4.9 support 2020-08-12 03:38:44 +08:00
CN_SZTL
cd73b85ee0
target: drop kernel 4.9 support 2020-08-12 03:17:56 +08:00
CN_SZTL
0296565a92
orion: drop outdated target 2020-08-12 03:03:52 +08:00
CN_SZTL
4af6d0f5ea
ixp4xx: drop outdated target 2020-08-12 03:03:33 +08:00
CN_SZTL
365d4416ae
ar7: drop outdated target 2020-08-12 03:03:10 +08:00
CN_SZTL
9c00895f0a
ar71xx: switch to kernel 4.14 2020-08-12 03:00:47 +08:00
AmadeusGhost
d1b15673f7
rtl88x2bu: build with mac80211 2020-08-12 00:45:09 +08:00
AmadeusGhost
d1cdca9297
rtl8821cu: build with mac80211 2020-08-12 00:43:53 +08:00
CN_SZTL
b1da07102b
kernel: bump 5.4 to 5.4.58
Resolve conflicted:
- 950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch

Remove upstreamed:
- 0402-net-ethernet-mtk_eth_soc-Always-call-mtk_gmac0_rgmii.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-12 00:21:47 +08:00
CN_SZTL
e595ad050e
Merge Mainline 2020-08-12 00:18:55 +08:00
CN_SZTL
1465f17008
luci-app-ssr-plus: bump to 180-5 2020-08-12 00:07:59 +08:00
CN_SZTL
5267a2aed6
shortcut-fe: drop useless file 2020-08-11 23:28:54 +08:00
CN_SZTL
6a30e4c166
luci-app-turboacc: drop outdated command 2020-08-11 23:01:41 +08:00
CN_SZTL
c2c5bc8041
ipq40xx: revert changes of some patches
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-11 22:54:05 +08:00
CN_SZTL
bdc50d7088
kernel: bump 4.19 to 4.19.139
Resolve conflicted:
- 950-0259-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch

Refreshed all patches.

Compile-test-on: bcm27xx

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-11 22:33:49 +08:00
AmadeusGhost
7ad5013407 rtl8821cu: build with mac80211 2020-08-11 19:02:00 +08:00
AmadeusGhost
6d48688828 rtl88x2bu: build with mac80211 2020-08-11 19:01:10 +08:00
Tony Ambardar
86829afe28
malta: disable unnecessary built-in CDROM support
The CDROM is not needed for booting and can be included by selecting the
loadable module as a package instead.

This also avoids triggering a memory allocation failure during probing of
the CDROM due to lack of low 16MB DMA memory, as decribed in FS#3278:
https://bugs.openwrt.org/index.php?do=details&task_id=3278

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/3289
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-11 18:16:05 +08:00
Daniel Golle
ecb18e33cc
oxnas: reduce size of ATA DMA descriptor space
After years of trying to find the reason for random kernel crashes
while both CPU and SATA are under load it has been found.
Some odd commented-out #defines in kref's single-port driver [1] which
were copied from the vendor driver made me develop a theory:
The IO-mapped memory area for DMA descriptors apparetly got some holes
just before the alignment boundaries.
This feels like an off-by-one bug in the hardware or maybe those fields
are used internally by the SATA controller's firmware.
Whatever the cause is: they cannot be used and trying to use them
results in reading back unexpected stuff and ends up with oopsing
Unable to handle kernel paging request at virtual address d085c004

Work around the issue by reducing the area used for bmdma descriptors.
This reduces SATA performance (iops) quite a bit, but finally makes
things work reliably. Possibly one could optimize this much more by
really just skipping the holes in that memory area -- however, that
seems to be non-trivial with the driver and libata in it's current form
(suggestions are welcome).
The 'proper' way to have good SATA performance would be to make use of
the hardware RAID features (one can use the JBOD mode to access even
just a single disc transparently through the RAID controller integrated
in the SATA host instead of accessing the SATA ports 'raw' as we do
now).

[1]: https://github.com/kref/linux-oxnas/blob/master/drivers/ata/sata_oxnas.c#L25

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-11 18:15:51 +08:00
Hauke Mehrtens
8d141be934
kernel: Move CONFIG_IONIC to generic kernel config
It is deactivated everywhere, just set this in the generic config.

Acked-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 18:15:38 +08:00
Tony Ambardar
dd76623273
toolchain/binutils: fix broken build of binutils 2.34 on mips64
Commit 53470bdf32 ("toolchain/binutils: Add binutils 2.34") logs refreshed
patches, but also adds a typo causing failed builds on mipsel64 platforms,
including the malta subtarget. Update the patch to fix this.

This fixes the following build error:
make[7]: *** No rule to make target 'elf64ltsmip.o', needed by 'ld-new'.  Stop.

Fixes: FS#3276
Fixes: 53470bdf32 ("toolchain/binutils: Add binutils 2.34")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-08-11 18:15:17 +08:00
Hauke Mehrtens
fa8f3a78a4
malta: Refresh kernel configuration
This refreshes the kernel configuration on top of kernel 5.4.
It now builds without asking to select some kernel options on all 4
subtargets.
It still does not boot up, there is a different problem.

Tested-By: Yousong Zhou <yszhou4tech@gmail.com>
Acked-By: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 18:15:00 +08:00
Hauke Mehrtens
cea107f34d
bintuils: Pack libctf-nobfd.so in addition
readelf is linked against this library on MIPS64BE
This fixes a build problem on MIPS64BE.

In addition also explicitly activate it in the configure command.

Fixes: 60f595daab ("binutils: update to version 2.34")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 18:14:34 +08:00
Álvaro Fernández Rojas
23179f24e1
bcm63xx: switch to upstream CFE detection patch
This patch has been merged in linux 5.9.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-08-11 18:13:21 +08:00
Christoph Krapp
53f3c8819f
ar71xx: fix ZyXEL NBG6616 wifi switch
The device uses a rf-kill switch instead of a button. Furthermore the
GPIO is active high.

Signed-off-by: Christoph Krapp <achterin@googlemail.com>
(cherry picked from commit 0af656e978)
2020-08-11 18:06:32 +08:00
Hauke Mehrtens
a7be45c86a
mac80211: Update to 4.19.137-1
b43 and b43legacy now support ieee80211w, hardware crypto will be
deactivated in such cases.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 18:05:19 +08:00
Hauke Mehrtens
d2669e0b38
mac80211: Update to version 5.4.36-1
This updates the mac80211 backport to the latest minor version.

The removed patch was a backport from the upstream kernel which is now
integrated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 17:49:41 +08:00
AmadeusGhost
1c4f782c55 ipq40xx: simplified source code
Refresh all patches about driver.

Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2020-08-10 22:29:04 +08:00
CN_SZTL
8f79928762
sunxi: nanopi-r1: set device packages 2020-08-10 22:11:17 +08:00
AmadeusGhost
b8874d9057 ramips: improve ramoops support 2020-08-10 22:09:18 +08:00
AmadeusGhost
e5603c8218 fix git merge 2020-08-10 21:39:36 +08:00
AmadeusGhost
481e226f95 Merge Mainline 2020-08-10 21:25:06 +08:00
Thomas Petazzoni
38ff2c7543 procd: add SELinux support
This commit adds a patch to procd to support loading the SELinux
policy early at boot time, and adjusts the procd package to use this
SELinux support when libselinux is enabled.

The procd patch has been submitted separately [1]: obviously the
intent is to have it merged in the procd Git repository rather than
have it in OpenWrt itself.

[1] http://lists.infradead.org/pipermail/openwrt-devel/2019-November/025791.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[rebase, add commit message]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
[split commit into openwrt.git and procd.git]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-10 21:17:26 +08:00
Daniel Golle
fdd2beaf7c kernel: modules: add package kmod-iosched-bfq
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-10 21:15:10 +08:00
Thomas Petazzoni
be9155455e tools: add fakeroot
SELinux support requires setting the appropriate SELinux security context
to files and directories, which needs to happen at build time in order
to support read-only root filesystem scenarios. In order to create these
security contexts, we will have to run some SELinux-specific tools on
the host machine, but that requires root access. This adds support for
fakeroot, which the build process will use to run the SELinux security
context creation and the image creation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Apply to current master, and adjust commit message

Thomas' original work is available at
http://lists.infradead.org/pipermail/openwrt-devel/2019-November/025976.html.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
[add rules.mk FAKEROOT variable]
Signed-off-by: Paul Spooren <mail@aparcar.org>
[update, fix macos build]
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-08-10 21:14:32 +08:00
Piotr Stefaniak
58b8441627 tools/cmake: fix typo in parallel make patch
The variable in the case argument was mistyped, so the case always
checked against an empty string and never matched.

Fix the variable name. Add a PKG_RELEASE to Makefile so we can bump it.

Fixes: d6de31310c ("cmake: restore parallel build support for bootstrap")

Signed-off-by: Piotr Stefaniak <pstef@freebsd.org>
[add commit message, add PKG_RELEASE, fix commit title, add Fixes:]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-10 21:10:59 +08:00
Hauke Mehrtens
1495a90ae3
mac80211: Update to version 4.19.120
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-10 20:07:59 +08:00
CN_SZTL
36fde38f7a
luci-app-ssr-plus: sync with upstream source 2020-08-10 19:57:59 +08:00
AmadeusGhost
d7226b8757 Revert "rtl8192du: fix build with mac80211-5.8"
This branch isn't needed this, and it will broken the compilation.
2020-08-10 19:32:16 +08:00
CN_SZTL
6c0d09acf3
rtl8192du: enable autoload 2020-08-10 19:06:54 +08:00
CN_SZTL
a3489c166b
rtl8821cu/rtl88x2bu: build against openwrt mac80211 2020-08-10 17:58:21 +08:00
CN_SZTL
73b0e0710e
rtl8192du: drop useless option SUBDIRS"" 2020-08-10 16:58:42 +08:00
CN_SZTL
7afc1ddf8a
OpenClash: sync with upstream source 2020-08-10 16:52:26 +08:00
CN_SZTL
314e3e9a26
Merge Mainline 2020-08-10 16:39:54 +08:00
CN_SZTL
c40b73e880
luci-app-passwall: bump to 3.9-33 2020-08-10 16:36:26 +08:00
CN_SZTL
e06e035b09
luci-app-oled: sync with upstream source 2020-08-10 16:34:00 +08:00
CN_SZTL
b652899bf3
Merge Mainline 2020-08-10 00:06:16 +08:00
AmadeusGhost
a2c53ada81
Revert 'rtl88x2bu/8821cu: linux 5.8 build support 2020-08-10 00:00:36 +08:00
AmadeusGhost
4ac2271b15
rtl8821cu: linux 5.8 build support
ref: tomaspinho/rtl8821ce/pull/149
2020-08-10 00:00:30 +08:00
AmadeusGhost
d59af4c805
rtl88x2bu: linux 5.8 build support
ref: cilynx/rtl88x2bu/pull/58
2020-08-09 23:59:46 +08:00