Commit Graph

5671 Commits

Author SHA1 Message Date
CN_SZTL
8b01ddcc4a
v2ray-plugin: bump to 1.3.5 2020-08-07 17:40:13 +08:00
CN_SZTL
a31b6d0053
v2ray: bump to 4.27.0 2020-08-07 17:39:16 +08:00
CN_SZTL
ba16561d92
brook: bump to 20200801 2020-08-07 17:38:13 +08:00
CN_SZTL
872331baf9
luci-app-ssr-plus: bump to 180-3 2020-08-07 17:36:22 +08:00
SuLingGG
fc71592477
Fix baidupcs-web file name to fit i386 device 2020-08-07 17:33:06 +08:00
Rafał Miłecki
a6eeb0f101
uhttpd: update to the latest master
212f836 ubus: rename JSON-RPC format related functions
628341f ubus: use local "blob_buf" in uh_ubus_handle_request_object()
9d663e7 ubus: use BLOBMSG_TYPE_UNSPEC for "params" JSON attribute
77d345e ubus: drop unused "obj" arguments
8d9e1fc ubus: parse "call" method params only for relevant call

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2020-08-06 02:40:59 +08:00
CN_SZTL
b09fbfd0ea
LuCI: Mod20.08 2020-08-06 01:11:47 +08:00
CN_SZTL
a93ff940ea
luci-theme-argonv3: sync with upstream source 2020-08-06 00:16:30 +08:00
CN_SZTL
190fb056bb
filebrowser: fix env 2020-08-05 23:19:11 +08:00
CN_SZTL
38b5fe037a
filebrowser: adjust init 2020-08-05 23:15:17 +08:00
CN_SZTL
ef4ee640e9
filebrowser: call native compiler to pack binary 2020-08-05 23:08:09 +08:00
David Bauer
4a97f83839
base-files: disable LEDs if default state is undefined
Set the default state for LEDs to off. When a trigger is set, the
trigger will turn the LED automatically on.

Currently LEDs might stay on, e.g. when the LED trigger is set to a
netdev trigger and the interface is never activated or the 'none'
trigger is selected without setting the 'default' option to 0 and it's
set for the LED indicating the system running state.

Using off as a default value is also consistent with the documentation
in the OpenWrt wiki.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-08-05 21:04:51 +08:00
David Bauer
a9b2cc4804
scripts: download.pl: fix indentation
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-08-05 21:04:18 +08:00
CN_SZTL
ed4abdd44f
kernel: bump 4.19 to 4.19.137
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-05 20:27:48 +08:00
CN_SZTL
fbda318d72
kernel: bump 4.14 to 4.14.192
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-05 20:26:26 +08:00
Petr Štetiar
38191cfc56
scripts: remove checkpatch.sh
That file was added accidentally in v3 of the patch and I haven't
properly reviewed that patch before pushing it.

Fixes: 656b562aff ("scripts: Add Buildbot dump-target-info.pl script")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-08-04 23:56:33 +08:00
Paul Spooren
5021064aec
scripts: Add Buildbot dump-target-info.pl script
The script comes from buildbot.git[0] and is used to print available
targets and architectures, which are then build.

As the buildbot clones openwrt.git anyway, the script might as well live
here to be used for other cases as well, e.g. determining what
architectures are available when building Docker containers or show
developers an overview which architectures are used by which target.

It's called with either the parameter `architectures` or `targets`,
showing architectures followed by supported targets or targets, followed
by the supported architectures:

$ ./scripts/dump-target-info.pl architectures
aarch64_cortex-a53 bcm27xx/bcm2710 mediatek/mt7622 mvebu/cortexa53 sunxi/cortexa53
aarch64_cortex-a72 bcm27xx/bcm2711 mvebu/cortexa72
...

$ ./scripts/dump-target-info.pl targets
apm821xx/nand powerpc_464fp
apm821xx/sata powerpc_464fp
...

In the future the the script could be removed from the buildbot
repository and maintained only here.

Rename `dumpinfo.pl` to `dump-target-info.pl` to improve verbosity of
filename.

[0]: https://git.openwrt.org/?p=buildbot.git;a=blob;f=scripts/dumpinfo.pl;h=aa97f8d60379076a41b968402e9337cea824ece5;hb=HEAD

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-04 23:54:03 +08:00
CN_SZTL
416623fb8f
luci-app-softethervpn: link real config to tmp 2020-08-04 23:42:57 +08:00
CN_SZTL
2faa1ea007
luci-app-passwall: sync with upstream source 2020-08-04 22:30:46 +08:00
CN_SZTL
6d7e9e5468
luci-app-jd-dailybonus: bump to 0.8.3 2020-08-04 22:28:46 +08:00
好想告诉你
693e0d43be
smartdns: bump to latest git HEAD 2020-08-04 20:54:37 +08:00
CN_SZTL
ff1a9824cd
luci-app-zerotier: restart service when network changed 2020-08-04 02:40:35 +08:00
CN_SZTL
0e85056365
luci-app-zerotier: [2/2] drop network config when stop
Ref: #174.
2020-08-04 01:42:11 +08:00
CN_SZTL
1b07f455aa
luci-app-zerotier: [1/2] support muilt network id
Ref #174.
2020-08-04 01:04:30 +08:00
CN_SZTL
ece18c5a85
mode 20.08 2020-08-03 22:42:16 +08:00
Adrian Schmutzler
8aff25ad16
ramips: fix/tidy up 4M tplink-v2-image flash layouts
For the TP-Link 4M devices with tplink-v2-image recipe
(mktplinkfw2.c), there are two different flash layouts based
on the size of the (u)boot partition:

device         uboot    OEM firmware  OpenWrt (incl. config)
tl-wr840n-v5   0x20000  0x3c0000      0x3d0000
tl-wr841n-v14  0x10000  0x3d0000      0x3e0000

In both cases, the 0x10000 config partition is used for the firmware
partition as well due to the limited space available and since it's
recreated by the OEM firmware anyway.

However, the TFTP flashing process will only copy data up to the
size of the initial (OEM) firmware size. Therefore, while we can
use the bigger partition to have additional erase blocks on the
device, we have to limit the image sizes to the TFTP limits.

So far, only one layout definition has been set up in mktplinkfw2.c
for 4M mediatek devices. This adds a second one and assigns them
to the devices so the image sizes are correctly restrained.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 21:00:46 +08:00
Adrian Schmutzler
c23b5f36da
toolchain/binutils: remove versions 2.29.1 and 2.31.1
We currently support four versions of binutils in parallel. Let's
just keep the latest two and drop the older ones before the next
one comes around.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 20:59:53 +08:00
Adrian Schmutzler
84abe12c39
package: replace remaining occurrences of ifconfig with ip
ifconfig is effectively deprecated for quite some time now. Let's
replace the remaining occurrences for packages by the
corresponding ip commands now.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 20:59:32 +08:00
Adrian Schmutzler
070b0bff93
target: replace remaining occurrences of ifconfig with ip
ifconfig is effectively deprecated for quite some time now. Let's
replace the remaining occurrences for our target setup by the
corresponding ip commands now.

Note that this does not touch ar71xx, as it will be dropped anyway,
and changing it would only make backports harder.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 20:58:21 +08:00
Adrian Schmutzler
1cfd1c5acb
build: image: return sizes if check-size fails
Instead of just printing a warning that an image is too big, also
print both actual size and limit in the string:

WARNING: Image file somename.bin is too big: 2096101 > 1048576

Since the kernel size is checked via the same function (if
KERNEL_SIZE is specified), this will also apply to the kernel
image size check.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 20:55:10 +08:00
Adrian Schmutzler
555e752eb5
ath79: restore support for boot console with arbitrary baud rates
The Arduino Yun uses a baud rate of 250000 by default. The serial is
going over the Atmel ATmega and is used to connect to this chip.
Without this patch Linux wants to switch the console to 9600 Baud.

With this patch Linux will use the configured baud rate and not a
default one specified in uart_register_driver().

This has been added for ath79 4.19 and 5.4 in master as part of
fc59b2f79b50 ("ath79: add support for Arduino Yun"), this backports
it separately to 4.14.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 20:41:02 +08:00
CN_SZTL
eff1e37db0
luci-app-turboacc: fix logic error 2020-08-03 20:17:21 +08:00
CN_SZTL
b2b54d9e04
amule: remove upstreamd patch 2020-08-03 03:22:14 +08:00
CN_SZTL
b47082ecd8
libcryptopp: simplify Makefile 2020-08-03 02:55:44 +08:00
CN_SZTL
9a2736bf17
libcryptopp: bump to 8.2.0 2020-08-03 02:36:05 +08:00
CN_SZTL
f11e5f7b56
amule: refresh patches 2020-08-03 02:30:44 +08:00
CN_SZTL
1a40c0cb02
qBittorrent: bump to 4.2.5.13 2020-08-03 02:14:01 +08:00
CN_SZTL
ee399ad3ba
amule: bump to latest git HEAD 2020-08-03 02:08:21 +08:00
CN_SZTL
3bd2ec289e
automount: switch exfat to high performance version 2020-08-03 01:54:22 +08:00
CN_SZTL
fce99c706d
target/generic: add missing symbol in kernel 4.9 2020-08-03 01:53:13 +08:00
CN_SZTL
8dd61288a4
amule: backport upstream patches 2020-08-03 01:25:34 +08:00
CN_SZTL
ccf007d41f
luci-app-passwall: sync with upstream source 2020-08-03 00:53:12 +08:00
CN_SZTL
ad8c278f1e
luci-app-adguardhome: fix ver display 2020-08-03 00:49:11 +08:00
CN_SZTL
9506f4b197
luci-app-ssr-plus: sync with upstream source 2020-08-03 00:47:52 +08:00
Sungbo Eo
88785ccaad
ar71xx: restore support for boot console with arbitrary baud rates
Commit 1bfbf2de6d ("ar71xx: serial: core: add support for boot console
with arbitrary baud rates") added support for arbitrary baud rates which
enabled 250000 baud rate for Yun. But the patch was not ported to kernel
4.9, and since then the kernel set its baud rate to 9600. This commit ports
the patch to kernel 4.14, thereby restoring the serial console of Yun.

Cc: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-08-03 00:43:06 +08:00
Sungbo Eo
73056522d3
ar71xx: enable ethernet LED of Arduino Yun
Commit 05d73a2a73 enabled GPIO on ethernet LED, but proper LED setup was
not added then. This commit fixes it by reverting the change on the LED.

Fixes: 05d73a2a73 ("ar71xx: Arduino Yun board 'WLAN RST' button support")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-08-03 00:39:49 +08:00
Sungbo Eo
fc0c6c9c1f
ar71xx: fix sysupgrade for Arduino Yun
Commit bb46b635df changed its partition scheme, but sysupgrade image
validation still uses the old format. This commit fixes it so that
force flag is not needed for sysupgrade.

Fixes: bb46b635df ("ar71xx: move Arduino Yun to generic building code")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-08-03 00:39:15 +08:00
Adrian Schmutzler
d9dd4ef806
build: image: drop unused check-kernel-size recipe
The recipe check-kernel-size is not used in the entire tree. Instead,
we already check the size of the kernel image in Device/Build/kernel
in image.mk via check-size function if KERNEL_SIZE is defined.

Therefore, drop the function. Using it would be redundant anyway.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 00:38:33 +08:00
Adrian Schmutzler
c9f4e3c652
scripts/checkpatch.pl: fix README.md file name after rename
checkpatch.pl uses a list of files to detect the root OpenWrt
directory. This includes README, which has been renamed to
README.md in the previous commit.

Update the file name in checkpatch.pl to prevent errors like the
following when running the script:

   Must be run from the top-level dir. of a OpenWrt tree

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 00:38:13 +08:00
Rui Salvaterra
9bd4d1b093
wireguard-tools: allow compiling with MIPS16 instructions
The wg utility compiles and runs without issues in MIPS16 mode, despite setting
PKG_USE_MIPS16:=0 in the makefile. Let's remove this, allowing for a substantial
size reduction of the wg executable. Since wg is a just a configuration utility,
it shouldn't be performance-critical, as the crypto heavy-lifting is done on the
kernel side.

wg sizes for both modes:

MIPS32: 64309 bytes
MIPS16: 42501 bytes

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-08-03 00:34:54 +08:00