Commit Graph

17180 Commits

Author SHA1 Message Date
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
CN_SZTL
95a04250f3
luci-app-passwall: sync with upstream source 2020-03-01 20:47:38 +08:00
AmadeusGhost
292edc2b03 ipq-wifi: add bdf for r619ac 2020-03-01 16:21:15 +08:00
CN_SZTL
756ba41b87
luci-app-cpulimit: delete useless function 2020-03-01 16:00:29 +08:00
CN_SZTL
d652ed3dc1
Merge Lean's source 2020-03-01 15:59:36 +08:00
CN_SZTL
454c3e5e9b
Merge Official Source 2020-03-01 01:51:57 +08:00
Christian Lamparter
632a7b2997 mvebu: fix build regression due to neon-asm ghash module
This patch fixes the regression caused by adding the NEON
variant of the ghash as the default ghash package package:

> ERROR: module '[...]/arch/arm/crypto/ghash-arm-ce.ko' is missing.
> modules/crypto.mk:286: recipe for target
>  '[...]/kmod-crypto-ghash_4.19.106-1_aarch64_cortex-a53.ipk' failed

This patch limits the scope to the ARM32/cortexa9 target of mvebu.

Fixes: 285df63efc ("kernel: build neon-asm version of ghash module")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-02-29 14:14:08 +01:00
CN_SZTL
6babbadc9d
UnblockNeteaseMusic-Go: bump to 0.1.6 2020-02-29 20:05:26 +08:00
CN_SZTL
8673811d55
Merge Official Source 2020-02-29 19:27:39 +08:00
CN_SZTL
34e2d6ee01
luci-app-vssr: sync with upstream source 2020-02-29 19:17:48 +08:00
CN_SZTL
4ff46118eb
luci-app-ssr-plus-Jo: sync with upstream source 2020-02-29 19:17:24 +08:00
CN_SZTL
8965477388
luci-app-passwall: sync with upstream source 2020-02-29 19:17:01 +08:00
CN_SZTL
4a5315f2ab
luci-app-clash: bump to 1.5.9d 2020-02-29 19:16:36 +08:00
CN_SZTL
9f0f8726f4
OpenClash: bump to v0.36.7-beta 2020-02-29 19:16:03 +08:00
CN_SZTL
aa229ecc01
Merge Lean's source 2020-02-29 17:51:19 +08:00
Álvaro Fernández Rojas
8f5d714a7f bcm27xx-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-29 08:24:57 +01:00
Eneas U de Queiroz
e889489bed kernel: build arm/neon-optimized sha1/512 modules
This builds the regular arm and arm-neon asm optmized modules for sha1
and sha512, for targets that set CONFIG_ARM_CRYPTO.

On ip40xx, the arm-asm version of sha1 improves performance by 5% over
the generic C implementation; sha1-neon is 25% faster than generic,
and sha512-neon, 259%.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-02-28 22:46:09 +01:00
Eneas U de Queiroz
285df63efc kernel: build neon-asm version of ghash module
This alone improves AES-GCM performance by up to 50% on ipq40xx.  This
is enabled for targets that support neon and set CONFIG_ARM_CRYPTO:
imx6, ipq40xx, and mvebu.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-02-28 22:46:09 +01:00
Steven Lin
a736d912e2 ipq40xx: add support for EnGenius EAP2200
SOC:    IPQ4019 / QCA Dakota
CPU:    Quad-Core ARMv7 Processor rev 5 (v7l) Cortex-A7
DRAM:   256 MiB
FLASH:  NOR 4 MiB + NAND 128 MiB
ETH:    Qualcomm Atheros QCA8072
WLAN1:  Qualcomm Atheros QCA4019 2.4GHz 802.11bgn 2:2x2
WLAN2:  Qualcomm Atheros QCA4019 5GHz 802.11a/n/ac 2:2x2
WLAN2:  Qualcomm Atheros QCA9888 5GHz 802.11a/n/ac 2:2x2
INPUT:  WPS Button
LEDS:   Power, LAN1, LAN2, WLAN 2.4GHz, WLAN 5GHz-1, WLAN 5GHz-2, OPMODE

1. Load Ramdisk via U-Boot

To set up the flash memory environment, do the following:
a. As a preliminary step, ensure that the board console port is connected to the PC using these RS232 parameters:
   * 115200bps
   * 8N1
b. Confirm that the PC is connected to the board using one of the Ethernet ports.
c. Set a static ip 192.168.99.8 for Ethernet that connects to board.
d. The PC must have a TFTP server launched and listening on the interface to which the board is connected.
e. At this stage power up the board and, after a few seconds, press 4 and then any key during the countdown.

U-BOOT> set serverip 192.168.99.9 && tftpboot 0x84000000 192.168.99.8:openwrt.itb && bootm

Signed-off-by: Steven Lin <steven.lin@senao.com>
[copied 4.19 dts to 5.4]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-02-28 22:29:10 +01:00
CN_SZTL
6493f0cf68
luci-app-passwall: sync with upstream source 2020-02-29 04:55:31 +08:00
CN_SZTL
992499a86f
OpenClash: sync with upstream source 2020-02-29 04:55:03 +08:00
CN_SZTL
13cb6b3933
luci-app-vssr: sync with upstream source 2020-02-29 04:54:33 +08:00
CN_SZTL
29d37f0bf1
luci-app-serverchan: bump to v1.41 2020-02-29 04:53:55 +08:00
CN_SZTL
12cbd6ccba
luci-app-smartdns: add support for "serve expired" 2020-02-29 04:44:22 +08:00
CN_SZTL
3190dd19ee
fullconenat: fix compile for kernel5.x 2020-02-29 04:00:21 +08:00
CN_SZTL
92e7c2f155
Merge Official Source 2020-02-29 03:28:25 +08:00
CN_SZTL
df66cdc756
oaf: do not support kernel5.4 2020-02-29 02:30:46 +08:00
Álvaro Fernández Rojas
49737c359c bcm27xx-userland: update to latest version
Remove upstream cmake fix.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-28 19:30:16 +01:00
CN_SZTL
b88c511a2a
r8125: do not support kernel5.4 2020-02-29 02:15:08 +08:00
CN_SZTL
24430b4ceb
Merge Official Source 2020-02-29 01:05:56 +08:00
CN_SZTL
49de3faaa6
Merge Lean's source 2020-02-29 01:05:41 +08:00
Hauke Mehrtens
34fcdcd7c2 kernel: Remove nvmem hack patch from 5.4
The nvmem framework is now used in net/ethernet/eth.c and the nvmem
sysfs is split into a separate Kconfig option. More work would be needed
to adapt this patch for the broader use. The current patch compiles fine
on ath79, but it breaks the x86 target.

nvmem is also compiled into the kernel for most of our targets for
example ath79 anyway, so patching the kernel to remove it is now harder
and not the case on multiple targets anyway. Instead of making this work
on kernel 5.4 just remove this hack patch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
f1ff9410f6 kernel: Remove chash.ko from kmod-drm-amdgpu
This module was added with kernel 4.15, but is was removed again with
kernel version 5.3. OpenWrt does not support specifying a kernel version
range so just break it with kernel 4.14 and only support recent kernel
versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
a847e0ddd2 kernel: Add snd-intel-nhlt.ko to kmod-sound-hda-intel
With kernel 5.4 kmod-sound-hda-intel also needs snd-intel-nhlt.ko, but
this kernel module is only build on x86, make the OpenWrt kmod depend on
TARGET_x86.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
59f2814c09 kernel: Make kmod-ixgbe depend on kmod-libphy
With kernel 5.4 kmod-ixgbe is depending on kmod-libphy, add this
missing dependency.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
c9ef72aa13 nat46: Fix compile with kernel 5.4
nf_reset() was renamed to nf_reset_ct() in upstream Linux commit
895b5c9f206e ("netfilter: drop bridge nf reset from nf_reset)"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Koen Vandeputte
cc34b55b77 kernel: Make kmod-rtc-pcf2123 depend on kmod-regmap-spi
In kernel 5.4 kmod-rtc-pcf2123 depends on kmod-regmap-spi, add this missing
dependency.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
19b1739bbe kernel: Make kmod-nft-core depend on kmod-nf-nat
In kernel 5.4 kmod-nf-core depends on kmod-nf-nat, add this missing
dependency.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
6350118cc3 kernel: Make kmod-fs-f2fs depend on kmod-nls-base
Since kernel 5.4 kmod-fs-f2fs is depending on kmod-nls-base.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
a09fbd1071 kernel: Add of_touchscreen.ko to kmod-input-touchscreen-ads7846
kmod-input-touchscreen-ads7846 depends on of_touchscreen.ko since
kernel 5.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
c4072dba76 kernel: Remove kmod-gigaset for kernel 5.4
gigaset was moved to staging in kernel 5.4, just deactivate it on
recent kernel versions instead of adapting it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
97a5706ea5 kernel: Add roles.ko to kmod-usb-chipidea
kmod-usb-chipidea depends on roles.ko since kernel 5.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
c86ede094c kernel: Make kmod-gpio-pca953x depend on kmod-regmap-i2c
In kernel 5.4 kmod-gpio-pca953x depends on kmod-regmap-i2c.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
30d31763f6 kernel: module v4l2-common.ko was removed
The content of v4l2-common.ko was merged into videodev.ko and it was
removed in kernel 5.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
aa39bbc2ca kernel: Adapt moved crodic.ko module
The module was moved in the kernel, adapt OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Hauke Mehrtens
c4437d4e08 kernel: Add crypto libraries to modules
In kernel 5.3 and 5.4 some crypto modules were split into two modules,
one implementing the crypto algorithm and the other integrating it
into the Linux crypto framework.

Adapt OpenWrt to support this split.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00
Koen Vandeputte
1556ed155a kernel: mode_beet mode_transport mode_tunnel xfram modules
This adds the new xfrm4_mode_beet, xfrm4_mode_transport,
xfrm4_mode_tunnel and their IPv6 versions on kernel 5.4. These modules
were newly added in kernel 5.2.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-02-28 17:50:46 +01:00
CN_SZTL
02441842ed
luci-app-passwall: sync with upstream source 2020-02-28 18:38:59 +08:00
CN_SZTL
d7c22e4c89
luci-app-vssr: sync with upstream source 2020-02-28 18:38:05 +08:00
CN_SZTL
e1023e90d8
luci-app-ssr-plus-Jo: sync with upstream source 2020-02-28 18:37:14 +08:00
CN_SZTL
d11bf3827c
luci-app-serverchan: sync with upstream source 2020-02-28 18:36:53 +08:00
CN_SZTL
cc3ae1ab90
luci-app-diskman: bump to v0.2.3 2020-02-28 18:36:25 +08:00
AmadeusGhost
6a2e4239ee
minieap: bump to 0.92.1
commit:
  1. misc: fix hex2char reverse
  2. config: fix no-auto-reauth wrong value
  3. rjv3_hashes: fix detect aarch64 arch error
2020-02-28 16:18:07 +08:00
Jo-Philipp Wich
955634b473 libubox: update to latest Git HEAD
7da6643 tests: blobmsg: add test case
75e300a blobmsg: fix wrong payload len passed from blobmsg_check_array

Fixes: FS#2833
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-27 22:03:18 +01:00
CN_SZTL
0d5dc93299
Merge Lean's source 2020-02-28 01:07:28 +08:00
CN_SZTL
cc9fbb2e03
luci-app-koolproxyR: sync with upstream source 2020-02-28 01:03:23 +08:00
CN_SZTL
743eab33f5
luci-app-openclash: sync with upstream source 2020-02-28 00:57:28 +08:00
CN_SZTL
4b55af17a4
luci-app-ssr-plus-Jo: sync with upstream source 2020-02-28 00:56:45 +08:00
CN_SZTL
9c8c7856b1
luci-app-vssr: sync with upstream source 2020-02-28 00:52:43 +08:00
CN_SZTL
bb0c2e12bb
luci-app-unblockneteasemusic-mini: bump to 1.2-6 2020-02-28 00:51:40 +08:00
CN_SZTL
3e99f68db5
Fix up commits 2020-02-28 00:28:49 +08:00
ElonH
e56b2327bd
i40e/i40evf: new driver package 2020-02-27 23:34:55 +08:00
ElonH
af2d30307e
r8125: new driver package 2020-02-27 22:36:15 +08:00
Xu Wang
2299808c68 base-files: add all buildinfo with INCLUDE_CONFIG
CONFIG_INCLUDE_CONFIG option is helpful for being able to rebuild the
exact same firmware as you see on a live OpenWRT instance, but it's
crucially missing feeds information, so we can't rebuild the exact same
package versions. This commit fixes this by adding the remaining feeds
(and version) buildinfo files to the image.

Signed-off-by: Xu Wang <xwang1498@gmx.com>
2020-02-27 12:14:09 +01:00
CN_SZTL
3d133e5cda
luci-app-vssr: sync with upstream source 2020-02-27 18:01:20 +08:00
CN_SZTL
8ad5c0a243
luci-app-passwall: sync with upstream source 2020-02-27 18:00:29 +08:00
CN_SZTL
4680c89c42
Merge Lean's source 2020-02-27 17:42:07 +08:00
Petr Štetiar
3aa63f524d
ppp: backport security fixes
8d45443bb5c9 pppd: Ignore received EAP messages when not doing EAP
8d7970b8f3db pppd: Fix bounds check in EAP code
858976b1fc31 radius: Prevent buffer overflow in rc_mksid()

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Fixes: CVE-2020-8597
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-27 17:42:07 +08:00
Jo-Philipp Wich
8b9f6def89
Revert "ppp: backport security fixes"
This reverts commit 215598fd03 since it
didn't contain a reference to the CVE it addresses. The next commit
will re-add the commit including a CVE reference in its commit message.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-27 17:42:06 +08:00
Roger Pueyo Centelles
a9e500f3be
rbextract: support devices with plain RLE caldata
Old MikroTik devices have the RLE-encoded radio calibration data
directly stored in the art (hard_config) partition, without LZO
compression nor any preceding ERD magic bytes. This commit adds
a fallback for these devices.

Tested on the ath79 target with a MikroTik SXT 5nD r2 (SXT Lite5),
only locally --not yet merged upstream--.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2020-02-27 17:42:06 +08:00
John Crispin
0400b6e8d9
mac80211: enhance wifi reload
If the reconf call fails force a full restart of the radio.

Signed-off-by: John Crispin <john@phrozen.org>
2020-02-27 17:42:05 +08:00
John Crispin
27d2b3ce19
hostapd: enhance wifi reload
Add a radio_config_id property. If the radio config changes return an error
upon receiving the reconf call.

Signed-off-by: John Crispin <john@phrozen.org>
2020-02-27 17:42:04 +08:00
Felix Fietkau
69e95e6cfd
mt76: update to the latest version
0a53dcda5203 mt76: mt7603: add upper limit for dynamic sensitivity minimum receive power
46e63c05f7d1 mt76: mt7603: enable dynamic sensitivity adjustment by default
81476f11b68c mt76: mt7615: fix antenna mask initialization in DBDC mode

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-02-27 17:42:04 +08:00
ElonH
f11daabfa0
luci-app-qos_gargoyle: normalize translation 2020-02-27 13:19:37 +08:00
ElonH
f19e2f3216
luci-app-qos_gargoyle: fix luci crash 2020-02-27 12:35:14 +08:00
ElonH
7b5c79387e
tcping-simple: type fix 2020-02-27 10:05:34 +08:00
ElonH
939cdafcf1
luci-app-qos_gargoyle: fix get_wan 2020-02-27 00:19:53 +08:00
Petr Štetiar
35890514bb ppp: backport security fixes
8d45443bb5c9 pppd: Ignore received EAP messages when not doing EAP
8d7970b8f3db pppd: Fix bounds check in EAP code
858976b1fc31 radius: Prevent buffer overflow in rc_mksid()

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Fixes: CVE-2020-8597
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-26 16:38:43 +01:00
Jo-Philipp Wich
817e775319 Revert "ppp: backport security fixes"
This reverts commit 215598fd03 since it
didn't contain a reference to the CVE it addresses. The next commit
will re-add the commit including a CVE reference in its commit message.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-26 16:37:27 +01:00
Roger Pueyo Centelles
c81b2e94c7 rbextract: support devices with plain RLE caldata
Old MikroTik devices have the RLE-encoded radio calibration data
directly stored in the art (hard_config) partition, without LZO
compression nor any preceding ERD magic bytes. This commit adds
a fallback for these devices.

Tested on the ath79 target with a MikroTik SXT 5nD r2 (SXT Lite5),
only locally --not yet merged upstream--.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2020-02-26 14:46:46 +01:00
CN_SZTL
4a919759ef
subconverter: bump to 0.4.1 2020-02-26 16:04:33 +08:00
CN_SZTL
17995460f2
OpenClash: sync with upstream source 2020-02-26 15:52:41 +08:00
CN_SZTL
070ab35840
luci-app-clash: bump to 1.5.8 2020-02-26 15:52:16 +08:00
CN_SZTL
c21a0f61d7
luci-app-vssr: sync with upstream source 2020-02-26 15:51:31 +08:00
ElonH
b7ee756ad4
fs-qntfs: add target dependence
refs: e6b0600ad8
2020-02-26 01:17:42 +08:00
John Crispin
a1dd773272 mac80211: enhance wifi reload
If the reconf call fails force a full restart of the radio.

Signed-off-by: John Crispin <john@phrozen.org>
2020-02-25 17:03:44 +01:00
John Crispin
d3b7838ebe hostapd: enhance wifi reload
Add a radio_config_id property. If the radio config changes return an error
upon receiving the reconf call.

Signed-off-by: John Crispin <john@phrozen.org>
2020-02-25 17:01:55 +01:00
CN_SZTL
1919abdea1
gargoyle-qos: add packages 2020-02-25 23:53:23 +08:00
CN_SZTL
a4cc047af5
kernel/iptables: add modules for qos-gargoyle 2020-02-25 23:08:47 +08:00
Felix Fietkau
e8fae62f64 mt76: update to the latest version
0a53dcda5203 mt76: mt7603: add upper limit for dynamic sensitivity minimum receive power
46e63c05f7d1 mt76: mt7603: enable dynamic sensitivity adjustment by default
81476f11b68c mt76: mt7615: fix antenna mask initialization in DBDC mode

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-02-25 13:36:29 +01:00
CN_SZTL
e02f31a775
kernel/iptables: fix IMQ support 2020-02-25 20:30:27 +08:00
CN_SZTL
ee2a035840
luci-app-passwall: sync with upstream source 2020-02-25 18:01:40 +08:00
CN_SZTL
e669edc5e0
luci-app-clash: bump to 1.5.8a 2020-02-25 18:01:00 +08:00
CN_SZTL
e029e5cfdd
Merge Official Source 2020-02-25 17:58:32 +08:00
CN_SZTL
6e5cb567f7
add DDNS aliyun TTL val (lede#3323) 2020-02-25 15:48:50 +08:00
CN_SZTL
8ce0ba08d5
dockerman: fix depends select 2020-02-25 13:51:48 +08:00
CN_SZTL
741d3c6e9b
Merge Lean's source 2020-02-25 13:49:00 +08:00
Piotr Dymacz
a422b171ac base-files: diag: restore default trigger for 'boot' LED
For devices without a dedicated 'diag' LED, we use sometimes one of
other LEDs for indicating at least 'boot', 'failsafe' and 'upgrade'
stages. In some cases, at the same time these LEDs have defined default
triggers in DTS using 'linux,default-trigger' property. Current 'diag'
setup removes the trigger and turns off 'boot' LED after bootup.

One of the examples of such device is TP-Link TL-WR841N v14 (ramips)
which uses 'wlan' LED with defined 'linux,default-trigger' for 'diag':

aliases {
        led-boot = &led_wlan;
        led-failsafe = &led_wlan;
        led-upgrade = &led_wlan;
};

[...]

led_wlan: wlan {
        label = "tl-wr841n-v14:green:wlan";
        gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
        linux,default-trigger = "phy0tpt";
};

This patch extends 'diag.sh' and 'leds.sh' scripts to make sure default
trigger defined in DTS is restored for 'diag' LED which isn't used for
indicating 'running' stage.

Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2020-02-24 23:27:50 +01:00
Piotr Dymacz
2d113f89d2 hostapd: start hostapd/wpa_supplicant for all wiphy devices
c888e17e06 ("hostapd: manage instances via procd instead of pidfile")
added procd support for managing hostapd and wpa_supplicant daemons
but at the same time limited wiphy names to 'phy*'.

This brings back initial behaviour (introduced in 60fb4c92b6 ("hostapd:
add ubus reload") and makes procd manage daemons for any wiphy device
found in '/sys/class/ieee80211'.

CC: Felix Fietkau <nbd@nbd.name>
CC: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2020-02-24 23:27:50 +01:00
Piotr Dymacz
82679ca0b9 umbim: move package to 'WWAN' submenu
'uqmi' was moved to 'WWAN' submenu in 9abdeee0b7.
Let's be consistent and do the same with 'umbim'.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2020-02-24 23:27:50 +01:00
Josef Schlehofer
8fe9daf775 mbedtls: use correct SPDX License Identifier and add License file
License "GPL-2.0+" is deprecated License Identifier according to
SPDX License list [1]. The correct one is GPL-2.0-or-later.
While at it, also add the License file.

[1] https://spdx.org/licenses/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-02-24 23:25:28 +01:00