Commit Graph

49683 Commits

Author SHA1 Message Date
CN_SZTL
4dded25eca
luci-app-turboacc: do not display hw nat option for non-mt7621 devices 2020-07-19 13:58:46 +08:00
CN_SZTL
a6bb091998
luci-app-jd-dailybonus: fix log display 2020-07-19 11:54:21 +08:00
CN_SZTL
3e0bc7d3ad
target/rockchip: allow higher frequency 2020-07-19 11:51:16 +08:00
CN_SZTL
1b1b4177a1
target/rockchip: enable thermal module 2020-07-19 11:51:10 +08:00
CN_SZTL
1b8e4e93c6
luci-app-jd-dailybonus: grant access to more files 2020-07-18 23:18:34 +08:00
CN_SZTL
f89b36a5f0
OpenClash: bump to v0.39.4-beta 2020-07-18 22:05:51 +08:00
CN_SZTL
7eebf41236
target: select luci-app-turboacc by default 2020-07-18 21:36:38 +08:00
CN_SZTL
9fab33305e
luci-app-turboacc: merge offload and sfe into one package 2020-07-18 21:32:24 +08:00
CN_SZTL
ced8e6dbe6
target/rockchip: improve r2s support 2020-07-18 14:24:19 +08:00
CN_SZTL
245bf9d326
target/ipq40xx: improve network performance 2020-07-18 14:05:28 +08:00
CN_SZTL
843a45ad8a
target/rockchip: add nanopi r2s support from blocktrron 2020-07-18 13:26:29 +08:00
CN_SZTL
9787d39543
Revert "ipq40xx: merge all ar40xx patches into one single patch"
This reverts commit 2557d2eb4c.
2020-07-18 12:40:44 +08:00
CN_SZTL
245c598341
Revert "ipq40xx: fix ethernet vlan double tagging"
This reverts commit 9da2b56760.
2020-07-18 12:36:54 +08:00
CN_SZTL
0a1e67e933
mtk-eip93: move to ctcgfw 2020-07-18 00:57:55 +08:00
CN_SZTL
08e0efdd64
autocore: drop luci ver display 2020-07-18 00:13:53 +08:00
CN_SZTL
3918d5f4b7
target/mt7621: fix typo 2020-07-17 23:39:25 +08:00
CN_SZTL
f8b85df797
target/mt7621: enable hw crypto 2020-07-17 23:34:21 +08:00
CN_SZTL
c49f548fbe
Merge Official Source 2020-07-17 23:05:37 +08:00
CN_SZTL
1ce460e102
trojan-plus: change source 2020-07-17 21:42:30 +08:00
CN_SZTL
923969e13c
trojan-plus: fix PKG_NAME 2020-07-17 20:30:08 +08:00
CN_SZTL
4ec0990bfc
luci-app-passwall: sync with upstream source 2020-07-17 20:23:04 +08:00
CN_SZTL
847731a290
trojan-go/trojan-plus: introduce package 2020-07-17 20:22:46 +08:00
CN_SZTL
950e58f6e2
luci-app-jd-dailybonus: sync with upstream source 2020-07-17 20:02:39 +08:00
SJZ
e651c10a46
Unblockmusic Cloud unlock Log output typo 2020-07-17 19:03:27 +08:00
Daniel Golle
bae4204e34 procd: bump to git HEAD
8d5208f jail: fix false return in case of nofail mount
 b41f76b procd: fix compile if procd-ujail is not selected
 86a5105 jail: fs: fix build on uClibc-ng
 bfce7d1 jail: fix some more mount options
 268126a jail: add support for maskedPaths and readonlyPaths

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-07-17 12:00:00 +01:00
Adrian Schmutzler
b78a266888 lantiq: move 01_led_migration script to subtargets
Split the /etc/uci-defaults/01_led_migration scripts into subtargets
as already done for most of the other base-files.

While this introduces a minor amount of code duplication, it still
is considered an improvement, as device-specific settings are kept
together in the subtargets' base-files and the script at hand can be
removed entirely for two of the subtargets not needing it.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-17 12:14:32 +02:00
Martin Schiller
6299c1760a ltq-*dsl-app: dsl_control: remove unneeded check for lantiq_dsl.sh
This file is always present because it is part of the ltq-dsl-base
package on which these packages depend.

This check would not have been necessary in the past, because the script
was part of the TARGET_LANTIQ on which these packages also depend.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2020-07-17 12:14:32 +02:00
Martin Schiller
4d8552c265 lantiq: move dsl related base-files into own package
It does not make sense to install this components on lantiq systems
where the dsl subsystem is not needed/used.

This also makes it possible to use the files also on other targets.
(hopefully ipq401x / FritzBox 7530 in the near future)

Signed-off-by: Martin Schiller <ms.3headeddevs@gmail.com>
2020-07-17 12:14:32 +02:00
Adrian Schmutzler
1de9cac2f9 ramips: move redundant console setup to mt7621 SoC DTSI
For mt7621, console is set up via DTS bootargs individually in
device DTS/DTSI files. However, 44 of 74 statements use the
following setting:

	chosen {
		bootargs = "console=ttyS0,57600";
	};

Therefore, don't repeat ourselves and move that definition to the SoC
DTSI file to serve as a default value.

This patch is cosmetic.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-17 12:14:32 +02:00
CN_SZTL
ce7f078fd1
luci-app-jd-dailybonus: fix patch 2020-07-17 17:44:29 +08:00
John Audia
b6443367d8 kernel: bump 5.4 to 5.4.52
update_kernel.sh refreshed all patches, no human interaction was needed

Build system: x86_64
Run-tested: Netgear R7800 (ipq806x)

Signed-off-by: John Audia <graysky@archlinux.us>
2020-07-17 11:00:33 +02:00
Salvatore Mesoraca
2a43ab4a18 ramips: add arl_table support for MT7530
Use switch.h API to expose MT7530's ARL table to
user space.

Signed-off-by: Salvatore Mesoraca <salvatore@samknows.com>
2020-07-17 11:00:33 +02:00
Rosen Penev
cc66580293 lzo: fix pkgconfig paths
The last commit to this package that added the pkgconfig file did not
fix the paths to point to the prefix.

This allows packages to find lzo properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 11:00:33 +02:00
Alberto Bursi
480003e9eb mvebu: add Kobol Helios 4 device
The Helios 4 is a NAS from Kobol
that is powered by an Armada 38x
MicroSOM from Solidrun, similarly
to Clearfog.

This device has:
-Armada 38x CPU
 (dual core ARMv7 1.6 Ghz)
-2 GB of ECC RAM
-Gigabit ethernet (Marvell)
-2x USB 3.0 ports
-4x Sata 3.0 ports
-i2c header (J9 |>GND|SDA|SCL|VCC)
-2x 3-pin fan headers with PWM
-micro-usb port is a TTL/UART to
 USB converter connected to TTL
-MicroSD card slot
-System, 4xSata and 1xUSB LEDs

NOT WORKING: fan control

Fan Control requires a kernel patch
that is available in the Armbian
project (the "default firmware"
of this device) and named
mvebu-gpio-remove-hardcoded
-timer-assignment
This patch isn't acceptable
by OpenWrt, it should be upstreamed.
I also have that patch in my own
local OpenWrt builds,
in case you want a more
clean and less confusing patch
for upstreaming.

To install, write the disk image
on a micro SD card with dd or
win32 disk imager, insert the
card in the slot.
Check that the dip switch battery
for boot selection is as follows
Switch 1 and 2 down/off, switches
3, 4, 5 up/on.

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
2020-07-17 11:00:33 +02:00
Alberto Bursi
f013cc4b26 uboot-mvebu: add uboot for helios 4
add u-boot for Helios 4 NAS

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
2020-07-17 11:00:33 +02:00
David Bauer
886f2043e4 rockchip: add NanoPi R2S support
Hardware
--------
RockChip RK3328 ARM64 (4 cores)
1GB DDR4 RAM
2x 1000 Base-T
3 LEDs (LAN / WAN / SYS)
1 Button (Reset)
Micro-SD slot
USB 2.0 Port

Installation
------------
Uncompress the OpenWrt sysupgrade and write it to a micro SD card using
dd.

MAC-address
-----------
The vendor code supports reading a MAC address from an EEPROM connected
via i2c0 of the SoC. The EEPROM (address 0x51) should contain the MAC
address in binary at offset 0xfa. However, my two units didn't come with
such an EEPROM soldered on. The EEPROM should be placed between the SoC
and the GPIO pins on the board. (U10)

Generating rendom MAC addresses works around this issue. Otherwise, all
boards running the same image have identical MAC addresses.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-17 09:57:36 +02:00
David Bauer
7ff03eb0f2 rockchip: allow for multiple boot-scripts
Add support for select a bootscript depending on the device built. This
is necessary, as the FriendlyARM NanoPi R2S needs a different bootcmd in
order to produce output on the debug UART.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-17 09:41:20 +02:00
David Bauer
4dfbde3d05 base-files: add function for generating random MAC
This adds a function for generating a valid random MAC address (unset MC
bit / set locally administered bit).

It is necessary for devices which do not have a MAC address programmed
by the manufacturer.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-17 09:41:19 +02:00
David Bauer
efa0990392 uboot-rockchip: add NanoPi R2S support
Add support for the FriendlyARM NanoPi R2S.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-17 09:41:19 +02:00
David Bauer
ac3be7f897 uboot-rockchip: update to v2020.07
Update the U-Boot to version v2020.07. Also replace the Makefile rewrite
with a proper patch, explaining why this hack is needed.

Run-tested: FriendlyARM NanoPi R2S

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-17 09:41:19 +02:00
Lucian Cristian
8a85ead118 atf-rockchip: update to 2.3
also install the firmware for all the supported boards

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
[fix ATF blob path in uboot-rockchip]
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-17 09:41:19 +02:00
Hans Dedecker
546e140382 nat46: update to latest git HEAD
ac712ad nat46-netdev: Add support for removing a rule

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-07-16 22:18:34 +02:00
Mateus B. Cassiano
73e8f23579 ramips: add support for D-Link DIR-867/DIR-882 A1
This patch adds support for D-Link DIR-867 A1 and D-Link DIR-882 A1. Given
the similarity of these devices, this patch also introduces a common DTS
shared between DIR-867 A1, DIR-878 A1 and DIR-882 A1.

Specifications:
* Board: AP-MTKH7-0002
* SoC: MediaTek MT7621AT
* RAM: 128 MB (DDR3)
* Flash: 16 MB (SPI NOR)
* WiFi: MediaTek MT7615N (x2)
* Switch: 1 WAN, 4 LAN (Gigabit)
* Ports: 1 USB 2.0, 1 USB 3.0
* Buttons: Reset, WiFi Toggle, WPS
* LEDs: Power (green/orange), Internet (green/orange), WiFi 2.4G (green),
        WiFi 5G (green), USB 2.0 (green), USB 3.0 (green)

Notes:
* WiFi 2.4G and WiFi 5G LEDs are wired directly to the wireless chips
* DIR-867 wireless chips are limited to 3x3 streams at hardware level
* USB ports and related LEDs available only on DIR-882

Serial port:
* Parameters: 57600, 8N1
* Location: J1 header (close to the Reset, WiFi and WPS buttons)
* Pinout: 1 - VCC
          2 - RXD
          3 - TXD
          4 - GND

Installation:
* D-Link Recovery GUI: power down the router, press and hold the reset
  button, then re-plug it. Keep the reset button pressed until the power
  LED starts flashing orange, manually assign a static IP address under
  the 192.168.0.xxx subnet (e.g. 192.168.0.2) and go to http://192.168.0.1

* Some modern browsers may have problems flashing via the Recovery GUI,
  if that occurs consider uploading the firmware through cURL:

    curl -v -i -F "firmware=@file.bin" 192.168.0.1

Signed-off-by: Mateus B. Cassiano <mbc07@live.com>
[move DEVICE_VARIANT to individual definitions]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-16 18:40:20 +02:00
CN_SZTL
2ff234a3c7
luci-app-jd-dailybonus:/luci-app-kodexplorer/luci-app-nginx-pingos: add missing ACL file 2020-07-16 22:09:17 +08:00
CN_SZTL
04606797bc
OpenClash: sync with upstream source 2020-07-16 21:07:48 +08:00
CN_SZTL
5b07f16275
luci-app-clash: sync with upstream source 2020-07-16 21:04:20 +08:00
CN_SZTL
3501d8b61b
luci-app-ssr-plus: sync with upstream source 2020-07-16 21:00:03 +08:00
CN_SZTL
875dbc62e9
luci-app-jd-dailybonus: add package 2020-07-16 20:51:25 +08:00
CN_SZTL
4bcf971105
luci-theme-argon: sync with upstream source 2020-07-16 20:44:06 +08:00
CN_SZTL
fc39331fd8
Merge Official Source 2020-07-16 20:01:33 +08:00