Commit Graph

6252 Commits

Author SHA1 Message Date
Adrian Schmutzler
028d33e9cc
ath79: cosmetic fixes for partition node of D-Link DIR-825 B1
Make the node name match the reg property and remove the unused
DT label.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-31 20:27:10 +08:00
Luochongjun
3858cc8c9a
ath79: add support for gl-e750
The gl-e750 is a portable travel router that gives you safe access to
the internet while traveling.

Specifications:
- SoC: Qualcomm Atheros AR9531 (650MHz)
- RAM: 128 MB DDR2
- Flash: 16 MB SPI NOR (W25Q128FVSG) + 128 MB SPI NAND (GD5F1GQ4UFYIG)
- Ethernet: 10/100: 1xLAN
- Wireless: QCA9531 2.4GHz (bgn) + QCA9887 5GHz (ac)
- USB: 1x USB 2.0 port
- Switch: 1x switch
- Button: 1x reset button
- OLED Screen: 128*64 px

MAC addresses based on vendor firmware:
LAN *:a0 art 0x0
2.4GHz *:a1 art 0x1002
5GHz *:a2 art calculated from art 0x0 + 2

Flash firmware:
Since openwrt's kernel already exceeds 2MB, upgrading from the official
version of GL-inet (v3.100) using the sysupgrade command will break the
kernel image. Users who are using version 3.100 can only upgrade via
uboot. The official guidance for GL-inet is as follows:
https://docs.gl-inet.com/en/3/troubleshooting/debrick/

In the future, GL-inet will modify the firmware to support the sysupgrade
command, so users will be able to upgrade directly with the sysupgrade
command in future releases.

OLED screen control:
OLED controller is connected to QCA9531 through serial port, and can send
instructions to OLED controller directly through serial port.
Refer to the links below for a list of supported instructions:
https://github.com/gl-inet/GL-E750-MCU-instruction

Signed-off-by: Luochongjun <luochongjun@gl-inet.com>
[fix alphabetic sorting in 10-fix-wifi-mac, drop check-kernel-size]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-31 02:05:31 +08:00
CN_SZTL
d9cd663f1e
Merge Mainline 2020-07-30 00:47:11 +08:00
CN_SZTL
035851c019
luci-app-oled: sync with upstream source 2020-07-30 00:44:32 +08:00
CN_SZTL
2cf36a6b10
Merge Mainline 2020-07-29 23:32:52 +08:00
CN_SZTL
81226e5ca0
luci-app-cpufreq: drop incorrect translation 2020-07-29 23:29:06 +08:00
CN_SZTL
022bdec73c
luci-app-smartdns: drop err info 2020-07-29 23:20:20 +08:00
CN_SZTL
ec012f816a
kernel: bump 5.4 to 5.4.54
Resolve conflicted:
- 701-net-0231-enetc-Use-DT-protocol-information-to-set-up-the-port.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-29 18:04:27 +08:00
CN_SZTL
e37e44305b
mediatek: switch to kernel 5.4 and drop 4.14 2020-07-29 18:02:44 +08:00
CN_SZTL
41c575f63f
Merge Mainline 2020-07-29 18:00:36 +08:00
CN_SZTL
8dbddc2d9d
luci-app-turboacc: fix dependency of HWNAT 2020-07-29 17:59:22 +08:00
CN_SZTL
8beb28ab29
Merge Mainline 2020-07-29 17:46:34 +08:00
CN_SZTL
042c103f97
luci-app-nginx-pingos: sync with upstream source 2020-07-29 17:40:15 +08:00
CN_SZTL
ebb7559137
luci-app-passwall: sync with upstream source 2020-07-29 17:39:30 +08:00
CN_SZTL
40b4de8f44
kernel: bump 4.19 to 4.19.135
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-29 17:06:41 +08:00
CN_SZTL
4c39b45763
kernel: bump 4.14 to 4.14.190
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-29 16:38:17 +08:00
CN_SZTL
81346a806e
Revert "luci-app-adguardhome: drop outdated download link"
This reverts commit cd8fb0e9de.
2020-07-29 16:33:54 +08:00
CN_SZTL
284fa3a7b6
target/rockchip: sync with upstream source 2020-07-29 00:19:47 +08:00
Adrian Schmutzler
2a9caf409b
arc770: update kernel version to 5.4
Update config with make kernel_oldconfig and copy/refresh patch.

Add CONFIG_WATCHDOG_CORE=y to fix the following error as done for
several targets already:

 Package kmod-hwmon-sch5627 is missing dependencies for the following
 libraries:
 watchdog.ko

Directly switch to kernel 5.4.

This patch is compile-tested only. However, the target is essentially
pure upstream with a single patch, and it has been reported that
kernel 5.4 has been run on this target successfully already.

Note that in my local tests building with all packages/kmods failed
since openvswitch selects libunwind, which doesn't build for arc with
the following error:

checking if we should build libunwind-ptrace... yes
checking if we should build libunwind-setjmp... yes
checking for build architecture... x86_64
checking for host architecture... arc
checking for target architecture... arc
checking for target operating system... linux-gnu
checking for ELF helper width... configure: error: Unknown ELF target: arc
make[3]: *** [Makefile:65: /data/openwrt/build_dir/target-arc_arc700_uClibc/
   libunwind-1.3.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1

Deselecting all kmod-openvswitch* packages will have the build run through.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-28 20:49:14 +08:00
CN_SZTL
61eae149de
Merge Mainline 2020-07-28 16:09:13 +08:00
CN_SZTL
f8ecec1d76
luci-app-oled: sync with upstream source 2020-07-28 16:07:42 +08:00
CN_SZTL
51ab997a54
luci-theme-argonv3: sync with upstream source 2020-07-28 16:04:46 +08:00
acooler15
aef2479c63
add check and format 'security' parameter in function scan_app , and function connect_ap add bssid option
* check and format security

* apcli add bssid option

* updat PKG_RELEASE to 16
2020-07-28 15:21:35 +08:00
CN_SZTL
1cf3fa37d5
rockchip: distribute net interrupts
This adds a hotplug script for distributing interrupts of eth0 and eth1
across different cores. Otherwise the forwarding performance between
eth0 and eth1 is severely affected.

The existing SMP distribution mechanic in OpenWrt can't be used here, as
the actual device IRQ has to be moved to dedicated cores. In case of
eth1, this is in fact the USB3 controller.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-28 15:13:02 +08:00
CN_SZTL
d9460dc42a
Merge Mainline 2020-07-28 03:51:20 +08:00
David Bauer
3cf47cb176
arm64: dts: rockchip: Add txpbl node for RK3399/RK3328
Some rockchip SoCs like the RK3399 and RK3328 exhibit an issue
where tx checksumming does not work with packets larger than 1498.

The default Programmable Buffer Length for TX in these GMAC's is
not suitable for MTUs higher than 1498. The workaround is to disable
TX offloading with 'ethtool -K eth0 tx off rx off' causing performance
impacts as it disables hardware checksumming.

This patch sets snps,txpbl to 0x4 which is a safe number tested ok for
the most popular MTU value of 1500.

For reference, see https://lkml.org/lkml/2019/4/1/1382.

Signed-off-by: Carlos de Paula <me@carlosedp.com>
Link: https://lore.kernel.org/r/20200218221040.10955-1-me@carlosedp.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-28 03:46:45 +08:00
David Bauer
a8cc53b33b
fixup! rockchip: add NanoPi R2S support 2020-07-28 03:11:23 +08:00
CN_SZTL
b285e6f5ac
autocore-arm: add ipq40xx support 2020-07-28 03:09:23 +08:00
ElonH
2f5b5b270c
SDK: multi-cores compress SDK 2020-07-27 23:24:57 +08:00
CN_SZTL
2ccc95ff19
Merge Mainline 2020-07-27 22:24:04 +08:00
CN_SZTL
b90b1a0f43
luci-theme-argonv3: sync with upstream source 2020-07-27 22:23:25 +08:00
CN_SZTL
70ab7e1e61
uhttpd: drop OEM info 2020-07-27 22:03:58 +08:00
CN_SZTL
f7411dbc7c
target/rockchip: refresh kernel configs 2020-07-27 21:39:57 +08:00
David Bauer
7573ee64c8
target/rockchip: sync with recently changes from upstream 2020-07-27 20:07:32 +08:00
Adrian Schmutzler
d48423592b
lantiq: fix cosmetic issues with partition offsets and sizes
This fixes a few cosmetic issues with partition offset and size
that are inconsistent probably due to copy/pasting.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-27 19:48:19 +08:00
Adrian Schmutzler
78c74b6d2b
imx6: use device-tree compatible for board name
In imx6, we currently use the model from DTS to derive a board name
manually in /lib/imx6.sh.

However, if we have individual DTS files anyway, we can exploit
generic 02_sysinfo and use the compatible as board name directly.

While at it, remove the wildcards from /lib/upgrade/platform.sh as
these might make code shorter, but are quite unpleasant when grepping
for a specific device.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-27 19:48:10 +08:00
Adrian Schmutzler
68277e7846
layerscape: harmonize device strings
OpenWrt lately has harmonized device (definition) names to the
pattern vendor_model to improve overall consistency, also with
other values like the DTS compatible.

This patch applies that scheme to the layerscape target.

Since this (intentionally) creates a bigger overlap between DTS names,
compatible, and device definition name, it also moves DEVICE_DTS and
SUPPORTED_DEVICES definitions to the Device/Default blocks.

Apart from that, it also modifies several packages to use consistent
naming in order to keep the $(1) file references working.

While at it, remove one layer of complexity for the setup in
tfa-layerscape package.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-27 19:47:59 +08:00
David Woodhouse
2ecc92d67b
target/mediatek: sync with upstream source 2020-07-27 19:47:01 +08:00
Bjoern Dobe
2322bf98c2
ath79: mikrotik: use base mac on lan for RBwAPG-5HacT2HnD
The Mikrotik RBwAPG-5HacT2HnD has only a single ethernet interface
(lan), and the vendor uses the base (label) MAC address for it.

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
[commit title/message improvement]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-27 19:43:36 +08:00
Adrian Schmutzler
a7be0052ce
mediatek: remove condition in Device/Default
The current condition with part of the variables set dependent on
the subtarget in Device/Default isn't really nice to read and also
defeats the purpose of having a default node.

This removes the special settings for mt7623 and moves them to the
individual devices, which is not much of a problem as there are
actually just two of them and they partly use different settings
anyway.

While at it, slightly adjust the order of variables and wrap some
long lines.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-27 19:43:09 +08:00
Adrian Schmutzler
09f08ef8d6
oxnas: use vendor_model scheme for ox810se
Most newer targets have been converted to consistently use
vendor_model scheme for device definitions/image names, ox820 is
using it as well, so let's just convert ox810se for consistency.

While at it, use generic setup for DEVICE_DTS and add SUPPORTED_DEVICES.
The latter have been introduced for ox820 already in
cf7896117b ("oxnas: enable image metadata by setting SUPPORTED_DEVICES")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-27 19:42:47 +08:00
CN_SZTL
96658e0cfd
Merge Mainline 2020-07-27 19:41:46 +08:00
Yousong Zhou
7e1bb30fe9
firewall: bump to version 2020-07-05
Changes since last source version

  e9b90df zones: apply tcp mss clamping also on ingress path
  050816a redirects: fix segmentation fault
  f62a52b treewide: replace unsafe string functions
  23cc543 improve reload logic
  9d7f49d redurects: add support to define multiple zones for dnat reflection rules
  f87d0b0 firewall3: defaults: fix uci flow_offloading option
  fe9602c rules: fix typo
  7cc2a84 defaults: robustify flow table detection.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-27 19:41:19 +08:00
Daniel Golle
57bb41d5bf
procd: jail: fix build on glibc and uclibc
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-07-27 19:39:38 +08:00
Daniel Golle
0787fed452
procd: update to git HEAD
48777de rcS: cast format string to int64_t
 a4df90f jail: fix wrong format for 32-bit
 c482c5d jail: add support for referencing existing namespaces

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-07-27 19:39:19 +08:00
CN_SZTL
628d31dbe1
Merge Mainline 2020-07-27 19:36:31 +08:00
CN_SZTL
cd8fb0e9de
luci-app-adguardhome: drop outdated download link 2020-07-27 19:28:40 +08:00
CN_SZTL
83025ebe25
UnblockNeteaseMusic-Go: bump to 0.2.4 2020-07-27 19:25:05 +08:00
CN_SZTL
90bc88f901
luci-app-passwall: sync with upstream source 2020-07-27 19:23:12 +08:00
CN_SZTL
ed76ec8a1c
brook: bump to 20200701 2020-07-27 19:22:01 +08:00