Commit Graph

6183 Commits

Author SHA1 Message Date
CN_SZTL
c2bc3f5e91
target/rockchip: backport more patches
Reference: jayanta525/openwrt-nanopi-r2s.
2020-07-25 17:31:57 +08:00
CN_SZTL
abc3581f44
Merge Mainline 2020-07-25 00:27:32 +08:00
CN_SZTL
ac369da215
ppp: revert change 2020-07-25 00:17:28 +08:00
CN_SZTL
876540ebc1
config/images: enable console by default 2020-07-25 00:06:47 +08:00
CN_SZTL
2d8346e206
luci-app-turboacc: fix indentation 2020-07-24 22:52:49 +08:00
CN_SZTL
91438db320
AdGuardHome: bump to v0.103.2 2020-07-24 22:06:53 +08:00
CN_SZTL
e0e9a24cc3
Merge Mainline 2020-07-24 20:54:40 +08:00
Rosen Penev
5acd2ba7c3
uboot-mediatek: remove swig requirement
Ever since this package was introduced, the SDK for mt7629 failed to
build as it started failing on this package.

Fixed by porting Hauke's similar patch for uboot-sunxi to uboot-mediatek.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-24 20:02:05 +08:00
Ted Hess
db1e590f6e
tools/mkimage: create .itb file with read-access for group,other not just owner.
This patch will fix the source of 403 errors on these files
from downloads.openwrt.org.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2020-07-24 20:01:12 +08:00
Hauke Mehrtens
a76f4760b1
build: Remove dependency of user space stack cookies from kernel
Currently the user space stack cookies work well also when the kernel
stack cookies are not activated. This is handled completely in user
space and does not need kernel support.

This dependency was probably needed some years ago when the libc did not
support stack cookies.

Reviewed-by: Ian Cooper <iancooper@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-24 20:00:50 +08:00
Hauke Mehrtens
6df36ec6d7
lantiq: Fix warning in SPI driver
This fixes a warning in the SPI driver at bootup. This warning is seen
in kernel 5.4 on lantiq deives.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-24 19:59:55 +08:00
Hauke Mehrtens
34afa5daf4
toolchain: binutils: Use version 2.34 by default
Switch to binutils version 2.34 for all CPUs by default. The ARC CPUs
do not need any special binutils version any more.

This increases the image size by 0.2% on MIPS (lantiq)

Tested on lantiq, ipq40xx

Acked-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-24 19:59:45 +08:00
CN_SZTL
29ac26b7ca
luci-app-ssr-plus: sync with upstream source 2020-07-24 19:56:57 +08:00
CN_SZTL
0db81c5a64
luci-app-passwall: sync with upstream source 2020-07-24 19:54:30 +08:00
CN_SZTL
9e60b57dec
OpenClash: sync with upstream source 2020-07-24 19:49:05 +08:00
CN_SZTL
4df558cc5a
target/rockchip: fix dependency 2020-07-24 03:51:17 +08:00
CN_SZTL
4aa6119e75
target/rockchip: add missing dependency 2020-07-24 03:24:00 +08:00
AmadeusGhost
f1a2f32050
luci-app-mtwifi: add wifi relay support (#5168)
* luci-app-mtwifi: add wifi relay support

Source code: Nossiac/mtk-openwrt-feeds
Based on commit 'wireless: wext: remove ndo_do_ioctl fallback'

* luci-app-mtwifi: fix ap-scan failed

* luci-app-mtwifi: show overview when relay is enabled
2020-07-23 22:49:50 +08:00
CN_SZTL
e941758ba2
Merge Mainline 2020-07-23 22:49:02 +08:00
David Bauer
f4321098b5
ramips: switch MT7620 subtarget to 5.4
MT7620 seems to work fine with kernel 5.4. Set the default kernel
version to 5.4 to bring this to a broader audience.

Tested on Archer C2 v1 / Archer C20i

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-23 22:48:49 +08:00
David Bauer
5302c79953
ath79: re-enable image generation for GL-AR750S
The bootloader only writes the first 2MB of the image to the NOR flash
when installing the NAND factory image. The bootloader is capable of
booting larger kernels as it boots from the memory mapped SPI flash.

Disable the NAND factory image. The NAND can be bootstrapped by writing
the NAND initramfs image using the NOR upgrade method in the bootloader
web-recovery and sysupgrading from there. The NOR variant is not
affected.

Also refactor the partition definitions in the DTS to make them less
annoying to read.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-23 22:48:07 +08:00
David Bauer
903f30b801
ramips: increase SPI frequency for MT7620 Archer
Increase the SPI frequency for the MT7620 based TP-Link Archer
series to 30MHz.

TP-Link uses different SPI flash chips for the same board
revision, so be conservative to not break boards with a
different chip. 30MHz should be well supported by all chips.

Tested on Archer C2 v1 (GD25Q64B) and Archer C20i (W25Q64FV).

Archer C20i (before)
====================
root@OpenWrt:~# time dd if=/dev/mtd1 of=/tmp/test.bin bs=64k
122+0 records in
122+0 records out
real	0m 15.30s
user	0m 0.00s
sys	0m 15.29s

Archer C20i (after)
===================
root@OpenWrt:~# time dd if=/dev/mtd1 of=/tmp/test.bin bs=64k
122+0 records in
122+0 records out
real	0m 5.99s
user	0m 0.00s
sys	0m 5.98s

Signed-off-by: David Bauer <mail@david-bauer.net>
Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-23 22:47:48 +08:00
Adrian Schmutzler
1c9cd3b359
arc770: use generic 02_sysinfo
Currently arc770 sets a board name from compatible for no apparent
reason. Just use the compatible directly instead.

This theoretically removes a board name "generic" when no compatible
was present, however, there is no case where this "generic" board
name was actually used.

This also fixes an issue where snps,axs101 would not have been
properly detected anyway, as its case was not set up syntactically
correct.

Fixes: 576621f1e3 ("linux: add support of Synopsys ARC770-based boards")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-23 22:47:18 +08:00
Adrian Schmutzler
5786f1efaa
archs38: use generic 02_sysinfo
Currently archs38 sets a board name from compatible for no apparent
reason. Just use the compatible directly instead.

This theoretically removes a board name "generic" when no compatible
was present, however, there is no case where this "generic" board
name was actually used.

This also fixes an issue where snps,axs103 would not have been
properly detected anyway, as its case was not set up syntactically
correct.

Fixes: 73015c4cb3 ("linux: add support of Synopsys ARCHS38-based boards")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-23 22:47:13 +08:00
Paul Spooren
cef6808d80
tools/flock: add PKG_{VERSION,RELEASE}
The stored source code of flock contains the version string of version
2.18, reflect that in the Makefile.

Motivation is the tracking of changes in the buildsystem, which requires
versioning of packages.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-07-23 22:45:21 +08:00
Paul Spooren
cfe8c10798
tools/sstrip: add PKG_{VERSION,RELEASE}
Comparing the in tree stored source file of sstrip suggests it's version
2.0[0], reflect that in the Makefile.

Motivation is the tracking of changes in the buildsystem, which requires
versioning of packages.

[0]: df4426a0f0 (diff-d3ba694d91432a068d5d3b36abf8cd0f)

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-07-23 22:45:02 +08:00
Paul Spooren
6430074631
tools/firmware-utils: add PKG_RELEASE
There is no versioning information in the firmware-utils code nor the
Makefile. Consider it as first release by adding PKG_RELEASE.

Motivation is the tracking of changes in the buildsystem, which requires
versioning of packages.

Also update copyright.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-07-23 22:44:43 +08:00
Paul Spooren
5242ffe822
tools/patch-image: add PKG_RELEASE
There is no versioning information in the patch-image code nor the
Makefile. Consider it as first release by adding PKG_RELEASE.

Motivation is the tracking of changes in the buildsystem, which requires
versioning of packages.

Also update copyright.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-07-23 22:44:24 +08:00
Adrian Schmutzler
bc64ff56c5
tools: drop PKG_VERSION for purely local packages
This applies to tools directory what has been done for package/ in
commit 9c170cb92f ("package: drop PKG_VERSION for purely local
packages"):

In the package guidelines, PKG_VERSION is supposed to be used as
"The upstream version number that we're downloading", while
PKG_RELEASE is referred to as "The version of this package Makefile".
Thus, the variables in a strict interpretation provide a clear
distinction between "their" (upstream) version in PKG_VERSION and
"our" (local OpenWrt trunk) version in PKG_RELEASE.

For local (OpenWrt-only) packages, this implies that those will only
need PKG_RELEASE defined, while PKG_VERSION does not apply following
a strict interpretation. While the majority of "our" packages actually
follow that scheme, there are also some that mix both variables or
have one of them defined but keep them at "1".

This is misleading and confusing, which can be observed by the fact
that there typically either one of the variables is never bumped or
the choice of the variable to increase depends on the person doing the
change.

Consequently, this patch aims at clarifying the situation by
consistently using only PKG_RELEASE for "our" packages. For tools/,
only three packages were affected. This fixes two of them, and
leaves the remaining wrt350nv2-builder untouched, as the code there
seems to have some versioning of its own that is treated as upstream
version in PKG_VERSION.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-23 22:44:05 +08:00
Kevin Darbyshire-Bryant
20ce78efa8
kmod-sched-cake-oot: fix PKG_MIRROR_HASH
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-07-23 22:42:34 +08:00
CN_SZTL
75f51faaab
Merge Mainline 2020-07-23 17:42:33 +08:00
CN_SZTL
cca14e259a
luci-app-clash: sync with upstream source 2020-07-23 17:36:33 +08:00
CN_SZTL
537dc8b487
luci-app-beardropper: add package 2020-07-23 17:33:32 +08:00
CN_SZTL
afbd16610a
luci-app-oled: sync with upstream source 2020-07-23 17:27:56 +08:00
CN_SZTL
15871ca98e
Merge Mainline 2020-07-23 17:25:14 +08:00
CN_SZTL
49a6a98fed
luci-app-adguardhome: simplify Makefile 2020-07-23 17:24:46 +08:00
CN_SZTL
dda2d05a59
AdGuardHome: support luci-app-adguardhome 2020-07-23 17:15:35 +08:00
CN_SZTL
e9cd265cba
msgpack-c: drop variant 2020-07-23 17:07:40 +08:00
CN_SZTL
0b8a71d166
Merge Mainline 2020-07-23 02:02:02 +08:00
CN_SZTL
20ef96075c
luci-app-passwal: sync with upstream source 2020-07-23 02:00:14 +08:00
CN_SZTL
104e4ea91e
OpenClash: sync with upstream source 2020-07-23 01:50:45 +08:00
CN_SZTL
5f347d3243
Merge Mainline 2020-07-23 01:20:42 +08:00
CN_SZTL
fe5e355670
firmware-utils: sync with upstream source 2020-07-23 01:14:02 +08:00
Rosen Penev
d8d36f3ddd
toolchain/gcc: eliminate uClibc atexit hack
This seems to be over 10 years old. It doesn't seem to be needed anymore.

Tested on malta with uClibc (selected BROKEN).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-23 01:11:21 +08:00
Hans Dedecker
ae0587cda3
glibc: fix memcpy and memmove for negative length [BZ #25620]
6f3459f985 Add NEWS entry for CVE-2020-6096 (bug 25620)
64246fccaf arm: CVE-2020-6096: Fix multiarch memcpy for negative length [BZ #25620]
9bbd2b6172 arm: CVE-2020-6096: fix memcpy and memmove for negative length [BZ #25620]

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-07-23 01:10:23 +08:00
CN_SZTL
1fe4e25cff
kmod-sched-cake-oot: fix depends 2020-07-23 00:55:21 +08:00
CN_SZTL
074b9da09f
Merge Mainline 2020-07-22 21:34:38 +08:00
CN_SZTL
8dd28634ff
subconverter: bump to latest git HEAD 2020-07-22 20:36:17 +08:00
CN_SZTL
aa3224a9de
tmate: bump to latest git HEAD 2020-07-22 20:32:12 +08:00
CN_SZTL
102ed1c668
Merge Mainline 2020-07-22 17:48:51 +08:00