Commit Graph

3270 Commits

Author SHA1 Message Date
CN_SZTL
5317abee94
rockchip: nanopi-r4s: refresh latest patches accepted by upstream (#6583)
Link: https://lore.kernel.org/r/20210319051627.814-2-cnsztl@gmail.com
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 13:12:59 +08:00
wyapx
db581ad990
Remove expired source (#6575) 2021-03-21 23:00:23 +08:00
CN_SZTL
757e42d707
rockchip: add execute permission for network setup script (#6566)
Fixes: f4b1b358fe ("rockchip: sync latest codes from ImmortalWrt (#6522)")

Closes: #6534
Closes: #6548
Closes: #6563

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-03-20 01:13:40 +08:00
Saxon
ea79943fa1
remove outdated music source (#6565) 2021-03-19 12:55:48 +08:00
dwj0
4a3feac228
add n2n auto-nat (#6562)
2. 为n2n界面的路由表添加描述栏

Co-authored-by: dwj0 <dwj-ubuntu@example.com>
2021-03-19 11:48:32 +08:00
Beginner
01300087dc
v2ray-plugin: update v4.36.2 (#6560) 2021-03-19 11:47:32 +08:00
biliwala
40ace68f10
v2ray-plugin: update to 4.36.2 (#6558) 2021-03-19 11:47:16 +08:00
Beginner
88b460b870
UnblockNeteaseMusicGo: update v0.2.9 (#6561)
* UnblockNeteaseMusicGo: update v0.2.8

* UnblockNeteaseMusicGo: update v0.2.9
2021-03-19 11:46:31 +08:00
Beginner
741737b800
luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6554) 2021-03-18 10:52:43 +08:00
EnnawYang
0b4bdc43c2
luci-app-jd-dailybonus:“bug fix” from jerrykuku (#6547) 2021-03-16 15:18:30 +08:00
EnnawYang
4824ae9e85
luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6540) 2021-03-15 19:07:38 +08:00
Beginner
f681482829
v2ray-plugin: update to 4.36.0 (#6533) 2021-03-15 13:19:54 +08:00
CN_SZTL
779cf0f600
rockchip: leds: fix boardname for NanoPi R4S (#6535)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 13:19:39 +08:00
Beginner
54e90134e7
luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6537) 2021-03-15 13:19:30 +08:00
AmadeusGhost
f06ba13bd2
kernel: bump 5.4 to 5.4.105 (#6520) 2021-03-14 11:52:33 +08:00
Michael Qu
093f57f1af
uugamebooster: update to 2.7.8 (#6518) 2021-03-14 11:52:19 +08:00
CN_SZTL
f4b1b358fe
rockchip: sync latest codes from ImmortalWrt (#6522)
uboot:
 - immortalwrt/immortalwrt@7a042afdee uboot-rockchip: fix RockPro64 boot from eMMC
 - immortalwrt/immortalwrt@f450acefb0 uboot-rockchip: update to v2021.01
 - immortalwrt/immortalwrt@5cc1d3df78 rockchip: improve support for NanoPi R4S
 - immortalwrt/immortalwrt@83d3fb9634 uboot-rockchip: add NanoPi R4S support
 - immortalwrt/immortalwrt@3d86ffedd7 uboot-rockchip: update to v2020.10
 - immortalwrt/immortalwrt@fe5fa0c7ab Revert "uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards"

target:
 - immortalwrt/immortalwrt@f67522e532 rockchip: add support for Radxa Rock Pi 4
 - immortalwrt/immortalwrt@cd7fd0c77b rockchip: add NanoPi R4S support
 - immortalwrt/immortalwrt@02395293a2 rockchip: fix SUPPORTED_DEVICES for Radxa ROCK Pi 4
 - immortalwrt/immortalwrt@c7b200b8a2 rockchip: re-order patches
 - immortalwrt/immortalwrt@aee038e773 rockchip: refresh Kconfig
 - immortalwrt/immortalwrt@22061b2880 kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT
 - immortalwrt/immortalwrt@b1150de9e4 rockchip: add missing Kconfig symbols
 - immortalwrt/immortalwrt@ab28d07c3b treewide: fix spelling 'seperate' -> 'separate'
 - immortalwrt/immortalwrt@6401fca74d rockchip: use native mac address for NanoPi R4S

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 11:52:00 +08:00
CN_SZTL
feea766f1c
target/x86: fix PKG_NAME of r8152 driver (#6523)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 11:51:26 +08:00
coolsnowwolf
767dd1dc71
x86: usb kmod-r8152 for RTL 2.5Gbps USB netcard 2021-03-11 15:33:14 +08:00
AmadeusGhost
f99b002949
arm64: display model name in /proc/cpuinfo (#6510) 2021-03-11 15:28:03 +08:00
CN_SZTL
2607c6cf5c
r8152: introduce r8152/r8153 driver from vendor (#6511)
This is the vendor driver for r8152/r8153 series USB ethernet adapter, it may be
better than the driver from kernel mainline, or be worse. It's depending on your
use-case.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 15:27:27 +08:00
CN_SZTL
1b93a9705f
rockchip: nanopi-r4s: use vendor driver for PCIe ethernet adapter (#6512)
Vendor driver seems to be better than the one from kernel mainline.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 15:26:35 +08:00
CN_SZTL
80a7e79a7b
mbedtls: fix typo error (#6507)
Fixes: #6505

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-10 13:39:43 +08:00
Beginner
bd7cdbf39e
v2ray-plugin: update to 4.35.1 (#6494) 2021-03-09 23:14:05 +08:00
bobo liu
b1c6b17bf7
luci-app-frpc: add config field of user (#6496) 2021-03-09 23:13:48 +08:00
AmadeusGhost
6b5b7884a8
ath79: domywifi_dw33d: support startup from breed (#6490)
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2021-03-09 23:12:17 +08:00
CN_SZTL
ef449e470b
mbedtls: Implements AES and GCM with ARMv8 Crypto Extensions (#6491)
* mbedtls: update to 2.16.9

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* mbedtls: Implements AES and GCM with ARMv8 Crypto Extensions

A compact patch that provides AES and GCM implementations that utilize the
ARMv8 Crypto Extensions. The config flag is MBEDTLS_ARMV8CE_AES_C, which
is disabled by default as we don't do runtime checking for the feature.
The new implementation lives in armv8ce_aes.c.

Provides similar functionality to https://github.com/ARMmbed/mbedtls/pull/432
Thanks to Barry O'Rourke and others for that contribtion.

Tested on a Cortex A53 device and QEMU. On a midrange phone the real AES-GCM
throughput increases about 4x, while raw AES speed is up to 10x faster.

[updated Makefile to enable this function, adjusted commit message]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
Co-authored-by: QiuSimons <45143996+QiuSimons@users.noreply.github.com>
2021-03-09 23:11:41 +08:00
CN_SZTL
a38300a096
rockchip: fixes re-boot with UHS cards (#6482)
Some boards have SD card connectors where the power rail cannot be switched
off by the driver. If the card has not been power cycled, it may still be
using 1.8V signaling after a warm re-boot. Bootroms expecting 3.3V signaling
will fail to boot from a UHS card that continue to use 1.8V signaling.

Set initial signal voltage in mmc_power_off() to allow re-boot to function.

This fixes re-boot with UHS cards on Asus Tinker Board (Rockchip RK3288),
same issue have been seen on some Rockchip RK3399 boards.

Backport from https://lore.kernel.org/linux-rockchip/AM3PR03MB09664161A7FA2BD68B2800A7AC620@AM3PR03MB0966.eurprd03.prod.outlook.com/

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 10:09:35 +08:00
Beginner
d3d8d0860a
luci-app-jd-dailybonus: add cdn (#6483) 2021-03-07 10:08:58 +08:00
Beginner
51e0914577
feeds.conf.default: remove freifunk feed (#6484)
Synchronize official source code
2021-03-07 10:08:32 +08:00
Leung Yau Ming
8710feec93
Separate READMEs and minor improvements (#6472)
* docs(chinese): remove english version and format readme

* docs(english): add english readme
2021-03-06 00:29:04 +08:00
AmadeusGhost
7b6c29773a
v2ray-plugin: update to 4.35.0 (#6470) 2021-03-06 00:27:32 +08:00
Saxon
3dcb5a5c8a
ca-certicficates: Update to version 20210119 (#6456) 2021-03-03 23:09:55 +08:00
CN_SZTL
ec4de4d31c
r8125: bump to 9.005.01 (#6457)
Enabled RSS support for performance.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-03-03 23:09:37 +08:00
lean
26721a994c move xray-plugin 2021-03-01 11:08:52 +08:00
Beginner
4b8c8b486e
kernel: bump 5.4 to 5.4.101 (#6445) 2021-02-28 22:57:49 +08:00
AmadeusGhost
87d9ed8cb7
bcm27xx: rpi4: update wifi script (#6440) 2021-02-26 17:38:37 +08:00
quintus
cc06227463
Create 990-not-defined-errors-on-gcc10.patch (#6433)
This patch fixes the following error when we compile with GCC 10.
‘’
‘’openwrt/staging_dir/toolchain-aarch64_generic_gcc-10.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/10.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: ss_local-http.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/http.h:32: multiple definition of `http_protocol'; ss_local-local.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/http.h:32: first defined here

openwrt/staging_dir/toolchain-aarch64_generic_gcc-10.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/10.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: ss_local-tls.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/tls.h:31: multiple definition of `tls_protocol'; ss_local-local.o:openwrt/build_dir/target-aarch64_generic_musl/shadowsocksr-libev/shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/src/tls.h:31: first defined here‘’
‘’
2021-02-25 15:45:34 +08:00
AmadeusGhost
29cba8c5c1
bcm27xx: sync upstream source code (#6435) 2021-02-25 15:44:46 +08:00
AmadeusGhost
a8f9582ec9
kernel: bump 5.4 to 5.4.100 (#6420) 2021-02-24 19:27:20 +08:00
Beginner
bdb5fa60ef
File organization (#6356) 2021-02-23 12:01:11 +08:00
Beginner
a5169dbd05
luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6416) 2021-02-23 11:55:03 +08:00
Veoco
ef97f2a247
Revert "luci-app-ipsec-vpnd: add strongswan-mod-kernel-libipsec" (#6331) 2021-02-21 12:35:50 +08:00
Beginner
1160ce1e00
Add xray-plugin from Tianling Shen (#6407) 2021-02-21 12:30:47 +08:00
CN_SZTL
b484f2eeb3
Revert "Add broken-flash-reset flag to Youku YK-L1" (#6408)
This reverts commit 90bd81e099.

The commit 90bd81e099 is a duplicate of b132179c89.

Fixes: #6388
Fixes: #6406

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 12:30:04 +08:00
Chuck
e17961f67e
optimize the performance of obtaining CPU temperature (#6398)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command:

temp="$(awk "BEGIN{printf (\"%.1f\n\",$(cat /sys/class/thermal/thermal_zone0/temp)/1000) }")°C"

```
real    0m 9.20s
user    0m 3.29s
sys     0m 6.24s
```

new command:

temp="$(awk '{ printf("%.1f °C", $0 / 1000) }' /sys/class/thermal/thermal_zone0/temp)"

```
real    0m 5.57s
user    0m 1.78s
sys     0m 3.97s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:27:55 +08:00
Chuck
aaba169f2f
optimize the performance of obtaining CPU usage (#6399)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command

cpu_usage=$(expr 100 - $(cat /tmp/top_tmp | grep 'CPU:' | awk -F '%' '{print$4}' | awk -F ' ' '{print$2}'))

```
real    0m 14.25s
user    0m 7.96s
sys     0m 20.33s
```

new command

cpu_usage=$(cat /tmp/top_tmp | awk '/^CPU/ { printf("%d%%", 100 - $8) }')

```
real    0m 6.91s
user    0m 4.29s
sys     0m 6.06s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:26:19 +08:00
AmadeusGhost
7436d6866f
openssl: bump to 1.1.1j (#6410)
This fixes 4 security vulnerabilities/bugs:

- CVE-2021-2839 - SSLv2 vulnerability. Openssl 1.1.1 does not support
  SSLv2, but the affected functions still exist. Considered just a bug.

- CVE-2021-2840 - calls EVP_CipherUpdate, EVP_EncryptUpdate and
  EVP_DecryptUpdate may overflow the output length argument in some
  cases where the input length is close to the maximum permissable
  length for an integer on the platform. In such cases the return value
  from the function call will be 1 (indicating success), but the output
  length value will be negative.

- CVE-2021-2841 - The X509_issuer_and_serial_hash() function attempts to
  create a unique hash value based on the issuer and serial number data
  contained within an X509 certificate. However it was failing to
  correctly handle any errors that may occur while parsing the issuer
  field (which might occur if the issuer field is maliciously
  constructed). This may subsequently result in a NULL pointer deref and
  a crash leading to a potential denial of service attack.

- Fixed SRP_Calc_client_key so that it runs in constant time. This could
  be exploited in a side channel attack to recover the password.

The 3 CVEs above are currently awaiting analysis.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-02-21 12:25:02 +08:00
AmadeusGhost
73fdfdf6aa
v2ray-plugin: fix build with goproxy (#6391) 2021-02-17 23:47:14 +08:00
whc2001
90bd81e099
Add broken-flash-reset flag to Youku YK-L1 (#6372)
Add broken-flash-reset flag to Youku YK-L1 so soft reboot would work on the original 32MB flash.
2021-02-16 23:02:21 +08:00