Commit Graph

6970 Commits

Author SHA1 Message Date
David Bauer
bb6caeda30
rockchip: refresh NanoPi R2S patches with upstream feedback 2020-09-13 16:43:32 +08:00
Zhong Jianxin
11a064d5c9
ath79: add support for Mercury MW4530R v1
Mercury MW4530R is a TP-Link TL-WDR4310 clone.

Specification:

* SOC: Atheros AR9344 (560 MHz)
* RAM: 128 MiB
* Flash: 8192 KiB
* Ethernet: 5 x 10/100/1000 (4 x LAN, 1 x WAN) (AR8327)
* Wireless:
  - 2.4 GHz b/g/n (internal)
  - 5 GHz a/n (AR9580)
* USB: yes, 1 x USB 2.0

Installation:

Flash factory image via OEM web interface.

Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
2020-09-13 11:02:29 +08:00
CN_SZTL
7ccd66cdea
Merge Mainline 2020-09-12 23:35:51 +08:00
CN_SZTL
876258d192
kernel: bump 5.4 to 5.4.65
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:34:20 +08:00
CN_SZTL
1ecb19072b
kernel: bump 4.19 to 4.19.145
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:08:12 +08:00
CN_SZTL
8588e8694a
kernel: bump 4.14 to 4.14.198
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:07:39 +08:00
CN_SZTL
fca5caac75
luci-app-ssocks: fix kill process 2020-09-12 22:34:54 +08:00
CN_SZTL
b7478d105a
luci-app-ssocks: fix path to binary 2020-09-12 20:38:58 +08:00
Teaffanie
6ff530c83c
luci-app-passwall: sync with upstream source (#202) 2020-09-12 19:25:08 +08:00
CN_SZTL
b2a586b53d
Merge Mainline 2020-09-12 19:20:52 +08:00
CN_SZTL
3f4b8ab3d7
luci-app-ssocks: move to services 2020-09-12 19:18:51 +08:00
CN_SZTL
7bd43a44e6
luci-app-argon-config: depend on theme package 2020-09-12 19:11:11 +08:00
CN_SZTL
55f6b07956
luci-app-argon-config: tidy up Makefile 2020-09-12 19:06:19 +08:00
Buhtige
7e2d892441
luci-app-argon-config: add package (#198) 2020-09-12 19:02:00 +08:00
CN_SZTL
fdcf353bdb
kernel: bump 4.9 to 4.9.236
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 18:48:56 +08:00
CN_SZTL
d4f8b14e53
UnblockNeteaseMusic-Go: bump to 0.2.6 2020-09-12 18:11:17 +08:00
CN_SZTL
590ef6f3b0
luci-app-openclash: sync with upstream source 2020-09-12 18:05:53 +08:00
John Audia
aa7a0c85cc
kernel: bump 5.4 to 5.4.64
Remove upstreamed patches:
 generic-backport
  701-v5.5-net-core-use-listified-Rx-for-GRO_NORMAL-in-napi_gro.patch

Manually merged:
 mediatek/patches-5.4
  0603-net-dsa-mt7530-Extend-device-data-ready-for-adding-a.patch

All other modifications made by update_kernel.sh

Build-tested: ipq806x, lantiq/xrx200, mvebu, x86/64
Run-tested: ipq806x (R7800), mvebu (mamba, rango),
  lantiq/xrx200 (Easybox 904 xDSL), x86/64

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[add community build/run tests to commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-12 18:00:59 +08:00
CN_SZTL
4d1a9d49b7
syncthing: bump to 1.9.0 2020-09-12 17:57:42 +08:00
Teaffanie
82527995c0
luci-app-passwall: bump to 3.9-57 (#201) 2020-09-12 17:34:00 +08:00
AmadeusGhost
c4ad5d73a1 uboot-envtools: sync upstream source code 2020-09-12 15:05:03 +08:00
AmadeusGhost
a061a24d75 ramips: sync official source code 2020-09-12 15:01:12 +08:00
Chen Minqiang
bbed7ed187 ramips: add mt7620-nand driver for NAND flash
This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-09-12 11:58:02 +08:00
AmadeusGhost
233d1d5bb3 target/5.4: move common patches into generic 2020-09-12 11:50:15 +08:00
Adrian Schmutzler
ca171c7cc4 kernel: use proper upstream inclusion version for patch
The patch is only included in kernel 5.5.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-12 11:35:50 +08:00
CN_SZTL
d5f25ea111
naiveproxy: bump to 85.0.4183.83-3 2020-09-12 00:55:31 +08:00
CN_SZTL
d5b5d474b8
Merge Mainline 2020-09-12 00:39:22 +08:00
好想告诉你
57dade6539
smartdns: update to Release 33 2020-09-12 00:33:29 +08:00
CN_SZTL
c56ede6779
Merge pull #198 2020-09-11 23:56:20 +08:00
CN_SZTL
bf817b6f2b
ssocks: fix gcc10 compilation
Co-authored-by: Lienol <lawlienol@gmail.com>
2020-09-11 23:22:53 +08:00
Teaffanie
16eba04fa0 luci-theme-argon: bump to v1.7.0 2020-09-11 20:15:48 +08:00
Teaffanie
119e6f2a89 luci-app-vssr: sync with upstream source 2020-09-11 20:13:49 +08:00
Teaffanie
2411859afe luci-app-openclash: bump to v0.40.2-beta 2020-09-11 20:11:49 +08:00
Teaffanie
dbc1580069 v2ray-plugin: bump to 1.4.3 2020-09-11 20:06:39 +08:00
Teaffanie
c2c1018972 trojan-plus: bump to 10.0.3 2020-09-11 19:15:45 +08:00
Teaffanie
ebae3bb033 trojan-go: bump to 0.8.2 2020-09-11 19:15:45 +08:00
CN_SZTL
c75f41d557
Merge Mainline 2020-09-11 18:08:47 +08:00
AmadeusGhost
f803886385 target: move interchangeable patches to generic 2020-09-11 17:39:39 +08:00
AmadeusGhost
b9f6a569f4 luci-app-cifs: correct title 2020-09-11 17:27:51 +08:00
zhusir
a89a11772e update V2ray version to 4.28.0 2020-09-11 17:24:27 +08:00
DoveKi
b551a0006b Update Xiaomi R4 get lan_mac 2020-09-11 17:20:54 +08:00
Chen Minqiang
cd49540742 kernel: Make kmod-sfp depend on kmod-libphy
With kernel 5.4 kmod-sfp is depending on kmod-libphy, add this
missing dependency.

This also make phylink tristate so that kmod build work

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-09-11 17:20:32 +08:00
Sergey Ryazanov
e64338c8d1 ath25: fix preinit Ethernet port configuration
vconfig is no more installed by default to a firmware image. So, replace
vconfig calls for VLAN subinterface configuration by coresponding
ip-link commands.

Also drop few useless comments from the preinit hook script, while we
are at it.

I have no chance to test this fix since I have no board with a subject
switch IC, but this is still better then call an utility that is
unavailable in the firmware for years.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
[use documented syntax for ip link add]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 17:18:17 +08:00
Bob Cai
eb1615b322 kernel: improve the description of fs-nfs-v4
TITLE is "NFS4 filesystem client support" (Line 428)
but the description is "Kernel module for NFS v4 support" (Line 438).

Use "Kernel module for NFS v4 client support" on line 438.

Signed-off-by: Bob Cai <1119283622@qq.com>
[commit title/message facelift]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 17:16:30 +08:00
Jo-Philipp Wich
3fabc2875d scripts: bundle-libraries.sh: retain preloaded libraries
Since the introduction of fakeroot support, wrapped SDK executables might
be invoked from a shell that has libfakeroot.so preloaded.

Since we're using preloading as well in order to mangle argv[0] when
invoking the shipped ELF interpreter directly, we must take care of
preloading the already preloaded libraries as well, to avoid invoked
programs losing their fakeroot capabilities.

Extend the bundle-libraries.sh script to take any existing $LD_PRELOAD
into account when invoking the target ELF executable with a preloaded
runas.so library.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-09-11 17:16:02 +08:00
Adrian Schmutzler
70b20031ff kernel: add recently introduced CONFIG_MTD_SPLIT_ELF_FW
The config symbol was introduced in drivers, but not added to
generic kernel config files. This will halt build asking for the
value.

Fix it by adding the value (setting it to disabled).

Fixes: 3f7047db7a ("kernel: mtdsplit: support ELF loader splitting")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-10 17:32:22 +08:00
Sander Vanheule
75f21773f3 firmware-utils/tplink-safeloader: add compat level
TP-Link has introduced a compatibility level to prevent certain
downgrades. This information is stored in the soft-version partition,
changing the data length from 0xc to 0x10.

To remain compatible with existing devices and not produce different
images, the image builder doesn't store a compatibility level if it is
zero.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-09-10 17:30:01 +08:00
Sander Vanheule
e201f383d6 firmware-utils/tplink-safeloader: soft-version magic is data length
The soft-version partition actually contains a header and trailing data:
* header: {data length, [zero]}
* data: {version, bcd encoded date, revision}

The data length is currently treated as a magic number, but should
contain the length of the partition data.

This header is also present the following partitions (non-exhaustive):
* string-based soft-version
* support-list

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-09-10 17:28:38 +08:00
Sander Vanheule
fa649f5a62 ath79: enable elf mtd splitter
Enabled the ELF firmware partition splitter 4.19 and 5.4 in preparation
for the TP-Link EAP245v3 device support.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-09-10 17:28:10 +08:00
Sander Vanheule
00ee1498ac kernel: mtdsplit: support ELF loader splitting
To parse the ELF kernel loader, a small ELF parser is used that can
handle both ELF32 or ELF64 class loaders. The splitter assumes that the
kernel is always located before the rootfs, whether it is embedded in
the loader or not. If the kernel is located after the rootfs on the
firmware partition, then the rootfs splitter will include it in the
dynamically created rootfs_data partition and the kernel will be
corrupted.

The kernel image is preferably embedded inside the ELF loader, so the
end of the loader equals the end of the kernel partition. This is due to
the way mtd_find_rootfs_from searches for the the rootfs:
- if the kernel image is embedded in the loader, the appended rootfs may
  follow the loader immediately, within the same erase block.
- if the kernel image is not embedded in the loader, but placed at some
  offset behind the loader (OKLI-style loader), the rootfs must be
  aligned to an erase-block after the loader and kernel image.

In case section header table is empty, determine the elf loader size by
finding the end of the last segment, as defined by the program header
table.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-09-10 17:27:30 +08:00