Commit Graph

17180 Commits

Author SHA1 Message Date
AmadeusGhost
4520231127
UnblockNeteaseMusicGo: update to 0.1.9 2020-03-09 17:29:54 +08:00
CN_SZTL
ae96b968b1
Merge Official Source 2020-03-09 17:29:30 +08:00
Robert Marko
6256ca3232 ipq40xx: add support for 8devices Habanero DVK
This patch adds support for the 8devices Habanero development board.

Specs are:
CPU: QCA IPQ4019
RAM: DDR3L 512MB
Storage: 32MB SPI-NOR and optional Parallel SLC NAND(Some boards ship with it and some without)
WLAN1: 2.4 GHz built into IPQ4019 (802.11n) 2x2
WLAN2: 5 GHz built into IPO4019 (802.11ac Wawe-2) 2x2
Ethernet: 5x Gbit LAN (QCA 8075)
USB: 1x USB 2.0 and 1x USB 3.0 (Both built into IPQ4019)
MicroSD slot (Uses SD controller built into IPQ4019)
SDIO3.0/EMMC slot (Uses the same SD controller)
Mini PCI-E Gen 2.0 slot (Built into IPQ4019)
5x LEDs (4 GPIO controllable)
2x Pushbutton (1 is connected to GPIO, other to SoC reset)
LCD ZIF socket (Uses the LCD controller built into IPQ4019 which has no driver support)
1x UART 115200 rate on J18

2x breakout development headers
12V DC Jack for power
DIP switch for bootstrap configuration

Installation instructions:
Since boards ship with vendors fork of OpenWrt sysupgrade can be used.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2020-03-09 00:53:50 +01:00
CN_SZTL
3b8d4f56a3
luci-app-diskman: sync with upstream source 2020-03-09 04:01:05 +08:00
CN_SZTL
ac3ceb904d
OpenClash: sync with upstram source 2020-03-09 03:58:24 +08:00
CN_SZTL
cfdc7c5e11
luci-app-passwall: sync with upstream source 2020-03-09 03:57:58 +08:00
CN_SZTL
36fdf06219
Merge Official Source 2020-03-09 03:55:25 +08:00
LEAN-ESX
48b70f04d0
luci-app-ssr-plus: keep subscribe order 2020-03-09 03:25:25 +08:00
LEAN-ESX
db7e0bfc14
luci-app-cpufreq: drop untest target 2020-03-09 03:24:56 +08:00
LEAN-ESX
76069a47c3
luci-app-ssr-plus: change delete all nodes logic 2020-03-09 01:58:49 +08:00
William Chan
cc4fbf6447
luci-app-ssr-plus: optimize subscribe (#3665)
* luci-app-ssr-plus: optimize subscribe

1: Sort by airport.
2: Select node optimize.
3: Full update, delete md5 hashkey.

* luci-app-ssr-plus: select first server

* luci-app-ssr-plus: fix uci bug
2020-03-09 01:58:40 +08:00
CN_SZTL
6726b4eda1
luci-app-unblockmusic: correct the rule for cloud unblocking (#3666) 2020-03-09 01:42:54 +08:00
CN_SZTL
ccabeab3e5
ootoc: update 2020-03-09 01:21:22 +08:00
CN_SZTL
8f0fac8061
verysync: bump to v1.3.4 2020-03-09 00:35:17 +08:00
CN_SZTL
9799278c74
luci-app-unblockneteasemusic: bump to v2.8-3 2020-03-08 23:31:59 +08:00
Tim Harvey
1ff8054092 kernel: fix lib-xor for ARM64
use LINUX_KARCH in directory path to avoid failures in non-arm targets.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2020-03-08 15:10:55 +01:00
Michael Heimpold
9405fb079b uboot-mxs: bump to v2020.01
Also update the U-Boot BSP patch for I2SE Duckbill devices.

Run tested on I2SE Duckbill and Olimex OLinuXino Maxi boards.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-03-08 15:10:55 +01:00
Michael Heimpold
a468a45253 uboot-envtools: mxs: add support for olimex, imx23-olinuxino
Add ubootenv uci config for Olimex OLinuXino boards.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-03-08 15:10:55 +01:00
Petr Štetiar
a61c787f9f uboot-imx6: bump to 2020.01 and refresh patches
Update U-Boot to latest release, remove `100-wandboard-enable-fit.patch`
as FIT support was added in commit 5b8585825128 ("wandboard: Add FIT
image support").

Rework `110-mx6cuboxi-mmc-fallback.patch` into two patches as there was
new config option `CONFIG_SPL_FORCE_MMC_BOOT` added upstream which
should provide the same functionality as the previous patch hunk.

Moving Apalis towards generic distro_bootcmd.

Cc: Vladimir Vid <vladimir.vid@sartura.hr>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-08 15:10:55 +01:00
Petr Štetiar
d1c2b25212 gpio-button-hotplug: remove duplicate logging text
Removes one of the duplicate `gpio-keys` words found in the logs:

 gpio-keys gpio-keys: gpio-keysdoes not support key code:143

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-08 15:10:55 +01:00
Petr Štetiar
aae4d85647 kernel: add kernel module for Sensirion SPS30 PMS
Adds into 4.19 backported kernel module from 5.1 for Sensirion SPS30
particulate matter sensor, for kernel 5.4 backported dependency fix.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-08 15:10:55 +01:00
Petr Štetiar
ea1823a867 kernel: iio: split buffer modules into separate packages
Otherwise we would need to enable IIO_TRIGGERED_BUFFER symbol in all
kernels in order to be able to use any of the IIO modules which are
utilizing triggered buffer based data acquisition method.

Acked-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-08 15:10:55 +01:00
CN_SZTL
a7a2bdf603
luci-app-passwall: sync with upstream source 2020-03-08 20:37:58 +08:00
CN_SZTL
a1b1496fed
dnsmasq: fix typo 2020-03-08 20:33:27 +08:00
CN_SZTL
ee47429fbb
dnsmasq: update filter-aaaa patch 2020-03-08 20:24:44 +08:00
CN_SZTL
c8f8dc57ee
r8168: add package 2020-03-08 18:21:52 +08:00
CN_SZTL
6b3cec6df3
libtar: add package 2020-03-08 18:21:44 +08:00
LEAN-ESX
018ea78507
luci-app-cpufreq: unlocked for all target 2020-03-08 18:01:09 +08:00
CN_SZTL
ff1a7b25e2
luci-app-qbittorrent: fix typo 2020-03-08 16:45:10 +08:00
CN_SZTL
2ecf4216aa
luci-lib-docker: fix typo 2020-03-08 16:34:15 +08:00
CN_SZTL
a26f89e734
luci-app-filebrowser: improve button 2020-03-08 16:28:36 +08:00
CN_SZTL
43883be99c
luci-app-syncthing: fix typo 2020-03-08 16:27:23 +08:00
CN_SZTL
740cf28db5
luci-app-qbittorrent: improve button 2020-03-08 16:25:36 +08:00
CN_SZTL
7c31f81213
luci-app-ssr-plus: fix typo 2020-03-08 15:37:08 +08:00
CN_SZTL
105f3763b0
luci-app-passwall: sync with upstream source 2020-03-08 15:22:10 +08:00
CN_SZTL
146b56b822
luci-app-vssr: sync with upstream source 2020-03-08 15:21:39 +08:00
CN_SZTL
c766884e6a
frp: fix PKG_NAME 2020-03-08 14:32:01 +08:00
coolsnowwolf
2932be27c8
Update unblockmusic 2020-03-08 14:08:54 +08:00
CN_SZTL
3f6599be19
luci-app-unblockneteasemusic-go: keep ca.crt and server key after upgrade 2020-03-08 14:06:40 +08:00
CN_SZTL
859403f3cf
Merge Lean's source 2020-03-08 14:02:08 +08:00
CN_SZTL
16cbaf6cf0
Merge Official Source 2020-03-08 04:16:56 +08:00
CN_SZTL
3660e40b1f
luci-app-cpufreq: move to system 2020-03-08 04:04:24 +08:00
CN_SZTL
68388be887
Version: bump to mod20.03 2020-03-08 03:42:30 +08:00
CN_SZTL
954bc8325d
luci-app-ssocks: move to vpn 2020-03-08 03:23:01 +08:00
Sven Over
5b13ea8d28 mac80211: fix symbol dependency of rt2x00lib kernel module
On platforms that do not have CONFIG_MTD enabled, loading the
rt2x00lib kernel module fails because it depends on symbols from
the mtd module ("Unknown symbol get_mtd_device_nm").

This commit disables the code that can read the eeprom from mtd if
mtd is not enabled.

Signed-off-by: Sven Over <sp@cedenti.st>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-07 20:18:30 +01:00
CN_SZTL
ed11da16d4
verysync: bump to v1.3.3 2020-03-08 02:43:05 +08:00
CN_SZTL
5ab172228c
Merge Official Source 2020-03-08 01:27:54 +08:00
CN_SZTL
74d66999c7
you-get: bump to 0.4.1410 2020-03-08 01:24:34 +08:00
CN_SZTL
5855ccf313
luci-app-serverchan: sync with upstream source 2020-03-07 20:35:32 +08:00
CN_SZTL
2021ab3446
luci-app-vssr: sync with upstream source 2020-03-07 20:34:41 +08:00
CN_SZTL
7ce802083f
luci-app-ssr-plus-Jo: sync with upstream source 2020-03-07 20:33:46 +08:00
CN_SZTL
2776aa5928
luci-app-unblockneteasemusic-go: bump to 1.6 2020-03-07 20:32:59 +08:00
LEAN-ESX
13baa5ff7b
adbyby: add missing x64 depend 2020-03-07 20:27:37 +08:00
LEAN-ESX
c3f3eb8c4b
luci-app-adbyby-plus: fix global filter works with unlock music 2020-03-07 20:27:24 +08:00
Manuel Giganto
b2130b9ce8 ath79: add support for Devolo Magic 2 WIFI
This patch support Devolo Magic 2 WIFI, board devolo_dlan2-2400-ac.
This device is a plc wifi AC2400 router/extender with 2 Ethernet
ports, has a G.hn PLC and uses LCMP protocol from Home Grid Forum.

Hardware:
   SoC:         AR9344
   CPU:         560 MHz
   Flash:       16 MiB (W25Q128JVSIQ)
   RAM:         128 MiB DDR2
   Ethernet:    2xLAN 10/100/1000
   PLC:         88LX5152 (MaxLinear G.hn)
   PLC Flash:   W25Q32JVSSIQ
   PLC Uplink:  1Gbps MIMO
   PLC Link:    RGMII 1Gbps (WAN)
   WiFi:        Atheros AR9340 2.4GHz 802.11bgn
                Atheros AR9882-BR4A 5GHz 802.11ac
   Switch:      QCA8337, Port0:CPU, Port2:PLC, Port3:LAN1, Port4:LAN2
   Button:      3x Buttons (Reset, wifi and plc)
   LED:         3x Leds (wifi, plc white, plc red)
   GPIO Switch: 11-PLC Pairing (Active Low)
                13-PLC Enable
                21-WLAN power

MACs Details verified with the stock firmware:
   Radio1: 2.4 GHz &wmac     *:4c Art location: 0x1002
   Radio0: 5.0 GHz &pcie     *:4d Art location: 0x5006
   Ethernet        &ethernet *:4e = 2.4 GHz + 2
   PLC uplink      ---       *:4f = 2.4 GHz + 3
Label MAC address is from PLC uplink

OEM SSID: echo devolo-$(grep SerialNumber /dev/mtd1 | grep -o ...$)
OEM WiFi password: grep DlanSecurityID /dev/mtd1|tr -d -|cut -d'=' -f 2

Recommendations: Configure and link your PLC with OEM firmware
BEFORE you flash the device. PLC configuration/link should
remain in different memory and should work straight forward
after flashing.

Restrictions: PLC link detection to trigger plc red led is not
available. PLC G.hn chip is not compatible with open-plc-tools,
it uses LCMP protocol with AES-128 and requires different
software.

Notes: Pairing should be possible with gpio switch. Default
configuration will trigger wifi led with 2.4Ghz wifi traffic
and plc white led with wan traffic.

Flash instruction (TFTP):
 1. Set PC to fixed ip address 192.168.0.100
 2. Download the sysupgrade image and rename it to uploadfile
 3. Start a tftp server with the image file in its root directory
 4. Turn off the router
 5. Press and hold Reset button
 6. Turn on router with the reset button pressed and wait ~15 seconds
 7. Release the reset button and after a short time
    the firmware should be transferred from the tftp server
 8. Allow 1-2 minutes for the first boot.

Signed-off-by: Manuel Giganto <mgigantoregistros@gmail.com>
2020-03-07 11:02:13 +08:00
WeiDong Jia
643cab4f31 ath79: add support for DomyWifi DW33D
This commit ports the device from ar71xx to the ath79 target and
modifies the partition layout.
1. Firmware is installed to nand flash.
2. Modify the uboot-env parameter to boot from the nand flash.
3. The kernel size is extended to 5M.
4.nor flash retains the oem firmware.

oem partition layout
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00e30000 00010000 "rootfs"
mtd3: 00170000 00010000 "kernel"
mtd4: 00010000 00010000 "art"
mtd5: 00f90000 00010000 "firmware"
mtd6: 06000000 00020000 "rootfs_data"
mtd7: 02000000 00020000 "backup"

new partition layout
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00fa0000 00010000 "oem-firmware"
mtd3: 00010000 00010000 "art"
mtd4: 00500000 00020000 "kernel"
mtd5: 05b00000 00020000 "ubi"
mtd6: 02000000 00020000 "oem-backup"

MAC address overview:
All mac addresses are stored in the art partition.
eth0: 0x0
eth1: 0x6
ath9k: 0xc
ath10k: 0x12
No valid addresses in 0x1002 and 0x5006. All addresses match the OEM
firmware.

Install from oem firmware.
Enable ssh service:
Connect to the router web, click professional, click system-startup,
and add dropbear in the local startup input box. Click
system-administration, delete ssh-key, and replace your ssh pub key.
Restart the router.
1.Upload openwrt firmware to the device
scp openwrt-snapshot-r11365-df60a0852c-ath79-nand-domywifi_dw33d-\
squashfs-factory.bin root@192.168.10.1:/tmp
2.modify uboot-env.
ssh login to the device:
fw_setenv bootcmd 'nboot 0x8050000 0;bootm || bootm 0x9fe80000'
Run the fw_printenv command to check if the settings are correct.
3.Write openwrt firmware.
ssh login to the device:
mtd -r write /tmp/openwrt-snapshot-r11365-df60a0852c-ath79-nand-\
domywifi_dw33d-squashfs-factory.bin /dev/mtd6
The device will restart automatically and the openwrt firmware
installation is complete.

Restore oem firmware.just erase the kernel partition and the ubi
partition.
ssh login to the device:
mtd erase /dev/mtd4
mtd -r erase /dev/mtd5
Reboot the device

Signed-off-by: WeiDong Jia <jwdsccd@gmail.com>
[alter flash instruction in commit message]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-03-07 11:02:13 +08:00
CN_SZTL
60deaee533
Merge Lean's source 2020-03-07 00:49:22 +08:00
LEAN-ESX
c6b5d3bbe3
UnblockNeteaseMusicGo: bump version 2020-03-07 00:25:48 +08:00
Kevin Darbyshire-Bryant
0b84b89251 dnsmasq: bump to 2.81rc2 + 2 local
Bump to dnsmasq 2.81rc2.  In the process discovered several compiler
warnings one with a logical error.

2 relevant patches sent upstream, added as 2 local patches for OpenWrt

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-06 15:47:56 +00:00
CN_SZTL
8bfacdaaf0
k3wifi: add new driver 2020-03-06 23:14:54 +08:00
CN_SZTL
e0f2b657f5
luci-app-unblockneteasemusic: remove useless config 2020-03-06 20:37:54 +08:00
CN_SZTL
f50d3ec0a0
luci-app-unblockneteasemusic: bump to 2.8-2 2020-03-06 20:28:30 +08:00
CN_SZTL
e1a840a557
luci-app-unblockneteasemusic-go: fix fs 2020-03-06 20:26:35 +08:00
CN_SZTL
3be2daa0b3
luci-app-passwall: sync with upstream source 2020-03-06 20:24:06 +08:00
CN_SZTL
5d8ee03dfb
gotop: add package 2020-03-06 20:10:39 +08:00
CN_SZTL
b72addf637
Merge Official Source 2020-03-06 20:10:12 +08:00
CN_SZTL
008085f550
luci-app-233ddns: bump to v1.0-3 2020-03-06 18:20:57 +08:00
LEAN-ESX
33467e9ac7
luci-app-ssr-plus: add Trojan udp relay IPv6 support 2020-03-06 18:20:50 +08:00
LEAN-ESX
0afb486e0e
luci-app-ssr-plus: socks listens on IPv6 2020-03-06 18:20:40 +08:00
CN_SZTL
29eded6a6c
luci-app-unblockmusic: fix dependency 2020-03-06 17:10:54 +08:00
CN_SZTL
235cdfeaae
Merge Lean's source 2020-03-06 16:29:27 +08:00
LEAN-ESX
b890508f6f
luci-app-ssr-plus: let dns2socks as option 2020-03-06 15:09:34 +08:00
LEAN-ESX
336b5ee040
luci-app-unblockmusic: less error log 2020-03-06 15:06:55 +08:00
CN_SZTL
970734a40e
Merge Lean's source 2020-03-06 14:04:29 +08:00
CN_SZTL
6bd0b94b15
Merge Lean's source 2020-03-06 14:04:06 +08:00
DENG Qingfang
a017773a92 ncurses: update to 6.2
Update ncurses to 6.2

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-05 20:48:58 +01:00
CN_SZTL
3298b7c401
luci-app-openclash: fix bug 2020-03-06 00:09:41 +08:00
coolsnowwolf
ab78f30c2c
luci-app-vlmcsd: Fix misspellings (#3574) 2020-03-05 22:55:46 +08:00
CN_SZTL
7bde1687e2
smartdns: add twnic dns server 2020-03-05 22:55:26 +08:00
CN_SZTL
70495fe968
luci-app-unblockneteasemusic-go: add missing dependency 2020-03-05 22:54:59 +08:00
CN_SZTL
98b96b1452
Merge Lean's source 2020-03-05 21:56:58 +08:00
CN_SZTL
eb5b681772
smartdns: bump to latest git HEAD 2020-03-05 20:42:49 +08:00
LEAN-ESX
2af2a34fae
luci-app-ssr-plus: add socks5 missing po 2020-03-05 20:18:46 +08:00
LEAN-ESX
85e16ae47e
luci-app-ssr-plus: can enable socks5 access for wan (option) 2020-03-05 20:18:32 +08:00
CN_SZTL
c4d4f5ad98
luci-app-openclash: sync with upstream source 2020-03-05 19:06:11 +08:00
CN_SZTL
aed8c0e660
luci-app-vssr: sync with upstream source 2020-03-05 19:05:52 +08:00
CN_SZTL
f4ddbc00fe
luci-app-ssr-plus-Jo: sync with upstream source 2020-03-05 19:05:28 +08:00
CN_SZTL
4eafa63a28
luci-app-serverchan: sync with upstream source 2020-03-05 19:05:15 +08:00
CN_SZTL
f8594e6833
luci-app-passwall: sync with upstream source 2020-03-05 19:05:00 +08:00
CN_SZTL
bcba9c9a19
Merge Official Source 2020-03-05 19:01:21 +08:00
CN_SZTL
6f60d4f3b2
Merge Lean's source 2020-03-05 18:57:27 +08:00
Kevin Darbyshire-Bryant
3251ac8f2d dnsmasq: bump to v2.81rc1
1st release candidate for v2.81 after 18 months.

Refresh patches & remove all upstreamed leaving:

110-ipset-remove-old-kernel-support.patch

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-04 20:44:23 +00:00
LEAN-ESX
caf9d50f6b
luci-app-ssr-plus: change socks client auth method 2020-03-04 23:13:40 +08:00
CN_SZTL
fa1929fc80
luci-app-unblockneteasemusic-mini: bump to v1.2-7 2020-03-04 22:54:52 +08:00
CN_SZTL
bdea6162e4
luci-app-clash: bump to 1.6.0b 2020-03-04 20:44:55 +08:00
CN_SZTL
5e1bc1062c
luci-app-passwall: sync with upstream source 2020-03-04 20:42:32 +08:00
LEAN-ESX
067420f3ed
luci-app-ssr-plus: add monitor for dns2socks 2020-03-04 20:38:51 +08:00
CN_SZTL
1b951f7c02
luci-app-ssr-plus: fix typo 2020-03-04 18:48:15 +08:00
CN_SZTL
a48fb53da2
luci-app-smartdns: switch to JavaScript version 2020-03-04 18:45:42 +08:00
CN_SZTL
dcf46b5601
Merge Lean' source 2020-03-04 18:35:35 +08:00
CN_SZTL
e3628a37b0
luci-app-gost: add packages 2020-03-04 17:58:38 +08:00
CN_SZTL
e519ba00a2
Merge Lean's source 2020-03-04 15:02:21 +08:00
LEAN-ESX
88f8a3b85f
luci-app-ssr-plus: change default ad-filter and chn url 2020-03-04 14:04:21 +08:00
CN_SZTL
8782ce26c8
luci-app-vssr: sync with upstream source 2020-03-04 12:20:17 +08:00
CN_SZTL
1fb7b958aa
luci-app-ssr-plus-Jo: sync with upstream source 2020-03-04 12:19:58 +08:00
CN_SZTL
eb76dc2347
luci-app-passwall: sync with upstream source 2020-03-04 12:18:30 +08:00
CN_SZTL
766b7c3a60
luci-app-serverchan: sync with upstream source 2020-03-04 12:18:15 +08:00
CN_SZTL
a7d5817b8c
Merge Official Source 2020-03-04 11:38:14 +08:00
Xiaok
f9d70d32a2
npc: Improved compile duplicate download issues (#3521) 2020-03-04 10:14:52 +08:00
LEAN-ESX
5ef6caac0b
luci-app-ssr-plus: add support dnsmasq format ad-filter 2020-03-04 10:14:04 +08:00
Xiaok
4ed76dfbdf
luci-app-nps: Optimize translations for zh-cn (#3507)
* luci-app-nps: Adjust translations for zh-cn

* luci-app-nps: Improve log file path

* luci-app-nps: Bump release version to v4
2020-03-04 09:02:22 +08:00
LEAN-ESX
57cb8dac4e
luci-app-ssr-plus: add sock5 server username/password auth method 2020-03-04 09:01:30 +08:00
LEAN-ESX
8ffd44e023
luci-app-ssr-plus: enable unlock Netflix proxy DNS at the same server 2020-03-04 08:57:37 +08:00
Ansuel Smith
57432b9648 modules: fix dwc3-qcom wrong condition
Since now we support both kernel 4.19 and 5.2, change the
condition to remove driver when on kernel 4.14

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-03-03 23:38:23 +01:00
Alan Swanson
25cb5685c1 netifd: rename 20-smp-tune to 20-smp-packet-steering
Rename the script to be more obvious that this is for
packet steering only.

Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-03 22:43:09 +01:00
Alan Swanson
d3868f15f8 netifd: change RPS/XPS handling to all CPUs and disable by default
The current implementation is significantly lowering lantiq
performace [1][2] by using RPS with non-irq CPUs and XPS
with alternating CPUs.

The previous netifd implementation (by default but could be
configured) simply used all CPUs and this patch essentially
reverts to this behaviour.

The only document suggesting using non-interrupt CPUs is Red
Hat [3] where if the network interrupt rate is extremely high
excluding the CPU that handles network interrupts *may* also
improve performance.

The original packet steering patches [4] advise that optimal
settings for the CPU mask seems to depend on architectures
and cache hierarcy so one size does not fit all. It also
advises that the overhead in processing for a lightly loaded
server can cause performance degradation.

Ideally, proper IRQ balancing is a better option with
the irqbalance daemon or manually.

The kernel does not enable packet steering by default, so
also disable in OpenWRT by default. (Though mvebu with its
hardware scheduling issues [5] might want to enable packet
steering by default.)

Change undocumented "default_ps" parameter to clearer
"packet_steering" parameter. The old parameter was only ever
set in target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
and matched the default.

[1] https://forum.openwrt.org/t/18-06-4-speed-fix-for-bt-homehub-5a
[2] https://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=1105
[3] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/performance_tuning_guide/network-rps
[4] https://marc.info/?l=linux-netdev&m=125792239522685&w=2
[5] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=2e1f6f1682d3974d8ea52310e460f1bbe470390f

Fixes: #1852
Fixes: #2573

Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-03 22:43:08 +01:00
CN_SZTL
8dfcb1de35
OpenAppFilter: sync with upstream source 2020-03-03 15:33:23 +08:00
CN_SZTL
c925344519
luci-app-passwall: sync with upstream source 2020-03-03 15:32:14 +08:00
CN_SZTL
e9e934ec7c
luci-app-ssr-plus-Jo: sync with upstream source 2020-03-03 15:31:47 +08:00
CN_SZTL
cfa6d39d63
luci-app-vssr: sync with upstream source 2020-03-03 15:31:18 +08:00
CN_SZTL
52372e8c27
luci-app-serverchan: sync with upstream source 2020-03-03 15:30:43 +08:00
CN_SZTL
cff374bc8f
OpenClash: sync with upstream source 2020-03-03 15:30:20 +08:00
ElonH
9b98bbf961
luci-app-flowoffload: fix error in image production 2020-03-03 15:03:41 +08:00
CN_SZTL
39ec79d1a5
rtl88x2bu/rtl8821cu: add packages 2020-03-03 14:33:08 +08:00
CN_SZTL
d786db597d
luci-app-v2ray-server: fix v2ray server killed by ssr plus 2020-03-03 14:32:34 +08:00
CN_SZTL
20f984d376
package lienol: sync packages 2020-03-03 11:52:46 +08:00
CN_SZTL
a2cac47083
chinadns-ng: bump to 1.0-beta.16 2020-03-03 11:51:32 +08:00
CN_SZTL
4901ccf5c0
luci-app-ssr-plus:support socks5 node username/password auth method 2020-03-03 11:50:39 +08:00
ZhenYu
aad39a0cd8
dockerman: add wan mode option (#3486)
* dockerman: add wan mode option

* fix mistake

* impove notice
2020-03-03 11:27:21 +08:00
manyeechen
59106e0862
npc: bump version to v0.26.4 (#3492)
fix:
busybox与sysV环境下(openwrt)service库失效问题 #419
客户端使用http代理连接服务端问题
2020-03-03 11:27:11 +08:00
CN_SZTL
95a8510ab2
Merge Official Source 2020-03-03 11:09:24 +08:00
CN_SZTL
88f87fb20b
Merge Lean's source 2020-03-03 10:05:58 +08:00
CN_SZTL
684c89a934
smartdns: refresh DNS servers 2020-03-03 10:03:44 +08:00
Petr Štetiar
ee92838dd2 kernel: iio: fix st-accel dependencies properly
Add missing register map access SPI/I2C modules.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-02 14:48:53 +01:00
CN_SZTL
9882b97bf3
Merge Lean's source 2020-03-02 20:59:20 +08:00
CN_SZTL
e229035c61
Merge Official Source 2020-03-02 17:50:44 +08:00
CN_SZTL
83c41b4b62
luci-app-cpufreq: add cpufreq luci for ipq40xx by @coolsnowwolf 2020-03-02 16:31:41 +08:00
Petr Štetiar
4642c4864e kernel: iio: fix st-accel missing dependency
Fixes following build error on mpc85xx/p2020:

 Package kmod-iio-st_accel is missing dependencies for the following libraries:
  regmap-core.ko

Fixes: 2d8f4c4fbd ("kernel: iio: add st-accel driver modules")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-02 08:44:02 +01:00
LEAN-ESX
d95f51fb14
Update RTL8156 USB 3.0 2.5Gbps and backport for kernel 4.19 2020-03-02 13:23:02 +08:00
Tomasz Maciej Nowak
b322243d2f x86: add bootloader upgrade on sysupgrade
Currently bootloader always stays on the same version as when first
written to boot medium (not true if partition layout changed, which will
trigger sysupgrade process to write full disk image). That creates
inconveniences as it always stays with same features or/and bugs. Users
wishing to add support to additional modules or new version, would need
to write the whole image, potentially destroying previous system
configuration. To fix these, this commit adds additional routine to
sysupgrade which upgrades unconditionally the bootloader to the latest
state provided by OpenWrt.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2020-03-01 21:36:00 +01:00
Tim Harvey
1d8f21e3a0 kernel: iio: add fxos8700 driver support
Adds various kernel modules for Freescale FXOS8700 3-axis accelerometer.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
[added missing commit description]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
Tim Harvey
2d8f4c4fbd kernel: iio: add st-accel driver modules
Adds kernel modules for various STMicroelectronics accelerometers.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
[added missing commit description]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
Tim Harvey
b56e669af9 kernel: can: add MCP251x CAN controller module support
Adds kernel module for Microchip MCP251x SPI CAN controller.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
[added missing commit description]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
Tomasz Maciej Nowak
af878339ae uboot-mvebu: point to UBOOT_CONFIG when setting options
The BUILD_VARIANT might differ from UBOOT_CONFIG, so point to a file we
are actually changing. Being here let's call 'Build/Configure/U-Boot'
definition, instead of definig the same command. This'll be more future
proof, if U-Boot configuration procedure will change.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2020-03-01 21:36:00 +01:00
Jeffery To
12020f8a95 base-files: Add /etc/shinit for non-login shell init
Because /etc/profile (and ~/.profile) are read by login shells only,
aliases and functions defined there are not available to non-login
shells, e.g. when using screen or tmux.

If the ENV environment variable exists (exported by /etc/profile or
~/.profile) and references an existing file, then all interactive shells
(login or non-login) will read that file as well.

This sets the ENV environment variable in /etc/profile, pointing to
/etc/shinit.

This also adds /etc/shinit, which:

* Contains alias and function definitions originally in /etc/profile

* Sources /etc/mkshrc if the user is using mksh (also originally in
  /etc/profile), as /etc/mkshrc is meant for all interactive shells

* Sources ~/.mkshrc if the user is using mksh, to compensate for the
  fact that mksh will not read ~/.mkshrc if ENV is set

* Sources ~/.shinit if the user is not using mksh

This also removes the shebang from /etc/profile, as the file is sourced,
not executed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-01 21:35:59 +01:00
Petr Štetiar
2c3c83e40b ppp: activate PIE ASLR by default
This activates PIE ASLR support by default when the regular option is
selected.

Size increase on imx6:

 112681 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
 121879 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
 = 9198 diff

Acked-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:35:59 +01:00
Stijn Tintel
8ce359d6bb libpcap: activate PIE ASLR by default
This activates PIE ASLR support by default when the regular option is
selected. This is required to enable PIE ASLR support by default in ppp,
as it fails to build without it, on x86/64.

The .so file size stays identical.

Suggested-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-03-01 21:35:59 +01:00
CN_SZTL
b0115b00b7
kernel/5.4: add IMQ support 2020-03-01 20:59:57 +08:00
CN_SZTL
e35b881882
luci-app-vssr: bump to v1.16-r4 2020-03-01 20:48:50 +08:00
CN_SZTL
921b23f2a3
luci-app-ssr-plus-Jo: bump to v150-r5 2020-03-01 20:48:17 +08:00