52214 Commits

Author SHA1 Message Date
Marty Jones
d567a24200 uboot-rockchip: update to v2021.01
Update the U-Boot to version v2021.01.

Run-tested: FriendlyARM NanoPi R2S
            Radxa Rock Pi 4
            Pine64 RockPro64

Signed-off-by: Marty Jones <mj8263788@gmail.com>
[format commit message]
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-01-14 01:03:41 +01:00
David Bauer
04f4ea5916 iw: enable HE PHY information for iw-tiny
Currently PHY information obtained from "iw phy" lacks information about
a PHYs HE capabilities when using the by default installed iw-tiny.

As there are already 802.11ax supported devices, enabled printing this
information for the by-default installed iw variant.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-01-14 01:03:34 +01:00
Rafał Miłecki
7e4f055990 bcm4908: backport BCM4908 integrated switch initial support
Upstream driver supports bridging ports. There is no support for
crossbar setup or CPU port(s) yet.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-13 11:28:41 +01:00
Rafał Miłecki
56d64d8b5a bcm4908: backport PMB (Power Management Bus) driver
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-13 07:44:04 +01:00
CN_SZTL
0724e8699f
Revert "ramips: mt7621 OC 1000 MHz"
This hack is not stable and causes some devices against to boot,
users should make oc via their u-boot but not kernel hacks.

This reverts commit a3caa4520e5636a30573cb26be0f795542d76e23.

(cherry-pick from 31b9dfcb613bd94cf4e040318ae6d2485f183b1b)
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-13 12:39:21 +08:00
Rafał Miłecki
524b9aeb4c bcm4908: add simple PCIe reset controller support
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-12 23:27:29 +01:00
Rafał Miłecki
712258b772 bcm4908: backport upstream DTS patches
1. Netgear R8000P DTS file
2. NAND fix
3. PCIe reset block
4. Integrated switch
5. PMB block

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-12 23:07:10 +01:00
Rafał Miłecki
c578fdfc29 bcm4908: initial work on the Broadcom BCM4908 target
BCM4906, BCM4908 and BCM49408 are SoCs with 64 bit ARMv8 B53 CPUs.
Upstream Linux is slowly getting support for that SoCs family so it
makes sense to add target for it.

This prepares initial support for:

1. Asus GT-AC5300
BCM4908 based device (4 CPUs) with 1024 MiB RAM, NAND, 8 LAN ports.

2. Netgear R8000P
BCM4906 based device (2 CPUs) with 512 MiB RAM, NAND, 4 LAN ports.

Flashing info will come later as we learn how to generate proper images.

It isn't usable yet (it only produces a bootable kernel) so "source-only"
is used.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-12 21:10:51 +01:00
Nick Hainke
a1a7f3274e kernel: enable SRv6 support by enabling lwtunnel
Enable the ability to use segment routing based on IPv6. It allows the
packet to specify a path that the packet should take through the
network.

Lwtunnel allow an easy encapsulation of a package. You can just install
ip-full package and use it:

  ip -6 route add  2003::/64 dev eth0 encap seg6 mode encap \
    segs 2001::1,2002::2

An IPv6 package looks like this:
  [IPv6 HDR][IPv6 RH][IPv6 HDR][Data...]

Netifd support:
  https://git.openwrt.org/?p=project/netifd.git;
     a=commit;h=458b1a7e9473c150a40cae5d8be174f4bb03bd39

Increases imagesize by 24.125 KiB. Therefore, only enable for devices
with enough flash.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-01-11 11:09:05 -10:00
CN_SZTL
a5d575bef9
Merge Official Source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 21:00:20 +08:00
xiaorouji
9278a7282a
luci-app-passwall: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:27:03 +08:00
CN_SZTL
44020663f1
treewide: replace wrong PKG_ARCH with PKGARCH
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:22:21 +08:00
CN_SZTL
cb8035bc10
sub-web: add examples from ACL4SSR and Subconverter
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 19:59:50 +08:00
CN_SZTL
5b98de0531
sub-web: fix display issue when it is deployed at a sub-path
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 19:33:47 +08:00
CN_SZTL
66f939fadc
sub-web: marked as a general package for all arch 2021-01-11 18:50:21 +08:00
CN_SZTL
fb337168ee
sub-web: add new package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 18:44:22 +08:00
CN_SZTL
d1e94bf2da
subconverter: fix init 2021-01-11 18:44:21 +08:00
Thomas Nixon
c625c821d1 tools/ccache: find libzstd using rpath
Previously, ccache would end up using the system libzstd, which is not
supposed to be a build requirement.

Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
2021-01-10 21:40:23 -10:00
David Bauer
b1150de9e4 rockchip: add missing Kconfig symbols
When compiling with CONFIG_ALL_KMODS enabled, compilation might stall
due to unset rockchip-specific config symbols. Disable these to avoid
stalling this step.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-01-11 06:00:49 +01:00
Paul Spooren
5876ba6460 qemu: remove obsolete package
Instead of using an ancient qemu version in-tree the building machine
should just have qemu-utils installed.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-10 12:29:23 -10:00
Paul Spooren
ca289e322d build/image: warn if missing qemu-img for VDI/VMDK
Currently `qemu-img` is used to convert raw x86 images to VDI and VMDK
images, used for virtual machines.

Having `qemu-img` in tree requires us to maintain an ancient version of
`qemu-utils`, which recently required extra work to compile with newer
compiler version.

This commit prints a warning message in case `qemu-img` is missing.

As a next step the in-tree version of `qemu-img` can be removed.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-10 12:28:14 -10:00
Daniel Golle
cbd67dbdcd mac80211: use hostapd PID returned from config_add
Use PID returned from config_add instead of querying procd when adding
configuration to hostapd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-10 19:18:29 +00:00
Daniel Golle
2d305ff13a hostapd: return PID on config_add call
To simplify the way netifd acquires the PIDs of wpa_supplicant and
hostapd let the config_add method of both of them return the PID of the
called process. Use the returned PID instead of querying procd when
adding wpa_supplicant configuration.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-10 19:15:51 +00:00
CN_SZTL
ffc8f3e8a4
iptables: drop upstream merged patch 2021-01-11 00:22:11 +08:00
Beginner
7f0e0fdb4a
xray: Update to 1.2.1 2021-01-10 21:34:25 +08:00
CN_SZTL
8b63aebeec
verysync: Makefile cleanups 2021-01-10 21:32:34 +08:00
CN_SZTL
3c0f586555
Merge Official Source 2021-01-10 21:28:25 +08:00
Hans Dedecker
425e392466 glibc: update to latest 2.32 commit (BZ #24973)
0d9793e82a Fix buffer overrun in EUC-KR conversion module (bz #24973)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-01-10 13:14:19 +01:00
Florian Fainelli
0f8fd1d0bf kernel-defaults: Manage the enabling/disabling of ZSTD
Linux 5.9 introduces support for ZSTD ramdisk and initrd compression,
make sure we enable/disable the relevant options when building an
initramfs enabled kernel.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2021-01-09 14:49:48 -08:00
Florian Fainelli
09760cbb3b kernel-defaults: Delete external source tree user_headers
When we use an external kernel tree which may not have been fully
cleaned, there may be user_headers left which do not match the target
architecture, leading to build failures for packages that do an explicit
inclusion of user_headers (such as iproute2 or iptables). Make sure we
delete them while preparing the directory.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2021-01-09 14:49:48 -08:00
CN_SZTL
2d567d75fd
trojan-plus: Makefile cleanups 2021-01-10 01:46:52 +08:00
CN_SZTL
2a3cef8a90
trojan: Makefile cleanups 2021-01-10 01:46:51 +08:00
CN_SZTL
2c065c2419
trojan-go: cleanup Makefile 2021-01-10 01:33:21 +08:00
Mattraks
7c07b801b9
luci-app-ssr-plus: bug fixes 2021-01-09 23:41:14 +08:00
CN_SZTL
b1683afe9a
subconverter: bump to latest git HEAD and Makefile cleanups 2021-01-09 23:36:32 +08:00
CN_SZTL
079975eb05
rapidjson: bump to latest git HEAD 2021-01-09 22:59:29 +08:00
CN_SZTL
87eb3c4b11
jpcre2: Makefile cleanup 2021-01-09 22:50:42 +08:00
CN_SZTL
2392d2bb6f
rapidjson: Makefile cleanup 2021-01-09 22:50:42 +08:00
CN_SZTL
11fc77c078
luci-app-clash: remove outdated package 2021-01-09 21:03:52 +08:00
秦宇航
a91d752621
verysync: update to v2.4.2 2021-01-09 20:47:25 +08:00
Curtis Deptuck
2e590a6364 iptables: update to 1.8.6
Update iptables to 1.8.6

ChangeLog:
https://netfilter.org/projects/iptables/files/changes-iptables-1.8.6.txt

Refresh patch:
101-remove-check-already.patch

Signed-off-by: Curtis Deptuck <curtdept@me.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [refresh patches]
2021-01-09 10:24:04 +01:00
Tianling Shen
fbe88f5790
rockchip: use vendor driver for NanoPi R4S
However, mainline driver doesn't work very well on RTL8111
devices, so let's move to vendor driver for better performance.

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-01-09 16:56:45 +08:00
CN_SZTL
1d99824efc
rockchip: improve support for NanoPi R4S
- enable sd ultra-high speeds
- format style

Fixes: cd7fd0c77bb0f727e009512571ce2508231b9ad3 ("rockchip: add NanoPi R4S support")

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-09 16:46:14 +08:00
CN_SZTL
95653a65dc
Merge Official Source 2021-01-09 16:17:52 +08:00
AmadeusGhost
f8f19646d8
minieap: improve output log format 2021-01-09 11:41:40 +08:00
AmadeusGhost
af35a5e0ae
njitclient: switch to git source 2021-01-09 11:41:39 +08:00
AmadeusGhost
991475e663
scutclient: update to latest git HEAD 2021-01-09 11:40:48 +08:00
AmadeusGhost
e888b7d6af
ngrokc: update to 1.54 2021-01-09 11:40:18 +08:00
AmadeusGhost
1fe54094f2
rtl8192du: fix build on arm64 platform 2021-01-09 11:35:32 +08:00
John Audia
4ebec0b3e2 kernel: bump 5.4 to 5.4.87
All modification by update_kernel.sh.

Build system: x86_64
Build-tested: ipq806x/R7800, bcm27xx/bcm2711
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Compile-tested [*]: ath79/{generic,tiny}, ipq40xx, octeon,
                    ramips/mt7621, realtek, x86/64.
Run-tested [*]:     ramips/mt7621 (DIR-878 A1, R6800, RT-AC57U),
                    octeon (EdgeRouter Lite).

Signed-off-by: John Audia <graysky@archlinux.us>
Tested-by: Stijn Segers <foss@volatilesystems.org> [*]
2021-01-08 21:09:17 +01:00