47468 Commits

Author SHA1 Message Date
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
Adrian Schmutzler
ab9fd528ae ath79: fix indent for wrapped lines in image/nand.mk
This applies the common indent (one tab) for the wrapped lines of
domywifi_dw33d and glinet_gl-ar750s-nor-nand.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-03-07 20:27:16 +01: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
Daniel Golle
00b319e9be oxnas: restore accidentally modified patch for kernel 4.14
patches-4.14/340-oxnas-pcie.patch was adapted for kernel 5.4 by
accident. Revert that change to restore 4.14 builds.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-07 19:34:12 +01: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
Davide Fioravanti
dfb7a4ce5d ath79: add support for Sitecom WLR-8100
Sitecom WLR-8100 v1 002 (marketed as X8 AC1750) is a dual band wireless
router.

Specification:

- Qualcomm Atheros SoC QCA9558
- 128 MB of RAM (DDR2)
- 16 MB of FLASH (Macronix MX25L12845EMI-10G - SPI NOR)
- 5x 10/100/1000 Mbps Ethernet
- 3T3R 2.4 GHz (QCA9558 WMAC)
- 3T3R 5.8 Ghz (QCA9880-BR4A)
- 1x USB 3.0 (Etron EJ168A)
- 1x USB 2.0
- 9x LEDs
- 2x GPIO buttons

Everything working.
Installation and restore procedure tested

Installation
1. Connect to one of LAN (yellow) ethernet ports,
2. Open router configuration interface,
3. Go to Toolbox > Firmware,
4. Browse for OpenWrt factory image with dlf extension and hit Apply,
5. Wait few minutes, after the Power LED will stop blinking, the router
	is ready for configuration.

Restore OEM FW (Linux only)
1. Download OEM FW from website (tested with WLR-8100v1002-firmware-v27.dlf)
2. Compile the FW for this router and locate the "mksenaofw" tool
	in build_dir/host/firmware-utils/bin/ inside the OpenWrt buildroot
3. Execute "mksenaofw -d WLR-8100v1002-firmware-v27.dlf -o WLR-8100v1002-firmware-v27.dlf.out" where:
	WLR-8100v1002-firmware-v27.dlf is the path to the input file
		(use the downloaded file)
	WLR-8100v1002-firmware-v27.dlf.out is the path to the output file
		(you can use the filename you want)
4. Flash the new WLR-8100v1002-firmware-v27.dlf.out file. WARNING: Do not keep settings.

Additional notes.
The original firmware has the following button configuration:
- Press for 2s the 2.4GHz button: WPS for 2.4GHz
- Press for 2s the 5GHz button: WPS for 5GHz
- Press for 15s both 2.4GHz and 5GHz buttons: Reset
I am not able to replicate this behaviour, so I used the following configuration:
- Press the 2.4GHz button: RFKILL (disable/enable every wireless interfaces)
- Press the 5GHz button: Reset

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
2020-03-07 11:02:13 +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
Daniel Golle
5ea1b1ecd1 oxnas: add 5.4 as testing kernel version
Add 5.4 kernel version as a new testing kernel option.
Run-tested on Shuttle KD20, seems to work just as well as kernel 4.14.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-06 19:21:03 +01: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
AmadeusGhost
a592124692 Revert "kernel: rewrite run_parsers_by_type() to use add_mtd_partitions()"
This reverts commit 15a0701cdde8eeae2a54880b813cdb8cdc09a384.
2020-03-06 23:08:27 +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
Daniel Golle
ca6885456f ath79: re-add accidentally dropped patch to kernel 5.4
Patch 0061-tty-serial-ar933x-uart-rs485-gpio.patch wasn't included
when adding support for kernel 5.4. Re-add it and refresh patches.

Fixes: 53ab9865c2 ("ath79: add support for kernel 5.4")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-06 13:14:02 +01: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