Commit Graph

8334 Commits

Author SHA1 Message Date
Rafał Miłecki
1b08080de3 firmware-utils: bcm4908kernel: tool adding BCM4908 kernel header
BCM4908 CFE bootloader requires kernel to be prepended with a custom
header. This simple tool implements support for such headers.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-16 12:02:55 +08:00
Rafał Miłecki
526e44d187 bcm4908: backport brcmstb USB PHY driver changes
This includes BCM4908 support

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-15 12:05:49 +08:00
Etan Kissling
540e85bc6c nf-conntrack: allow querying conntrack info in nfqueue
This allows libnetfilter_queue to access connection tracking information
by requesting NFQA_CFG_F_CONNTRACK. Connection tracking information is
provided in the NFQA_CT attribute.
CONFIG_NETFILTER_NETLINK_GLUE_CT enables the interaction between
nf_queue and nf_conntrack_netlink. Without this option, trying to access
connection tracking information results in "Operation not supported".

Signed-off-by: Etan Kissling <etan_kissling@apple.com>
2021-01-14 12:09:13 +08:00
Andy Walsh
a6f7e99f87 kernel: drop unneeded kernel version dependency
The current master only supports kernel 5.4, and there is no reason
to remove KERNEL_IO_URING for future kernels.

Drop the unneeded dependency.

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
[improve commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-14 12:08:40 +08:00
Rafał Miłecki
0b77d2a821 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-14 12:06:43 +08:00
Rafał Miłecki
26b89f874f bcm4908: backport PMB (Power Management Bus) driver
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-14 12:06:21 +08:00
Rafał Miłecki
de3e2d9787 bcm4908: add simple PCIe reset controller support
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-13 12:27:03 +08:00
Rafał Miłecki
1e1542ec5c 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-13 12:26:35 +08:00
Rafał Miłecki
b0ce35abaa 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-13 12:26:09 +08:00
Nick Hainke
208c69a51b 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-13 12:25:36 +08:00
David Bauer
3284b39c30
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 21:01:06 +08:00
CN_SZTL
bf697e03ef
Merge Mainline 2021-01-11 20:58:17 +08:00
Thomas Nixon
06a274c76a
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-11 20:58:10 +08:00
xiaorouji
2376c863d6
luci-app-passwall: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:26:03 +08:00
CN_SZTL
548764d282
treewide: replace wrong PKG_ARCH with PKGARCH
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:19:27 +08:00
CN_SZTL
34a40287a7
sub-web: add examples from ACL4SSR and Subconverter
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 19:58:44 +08:00
CN_SZTL
8f592ca694
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:21 +08:00
CN_SZTL
c82870a6e6
sub-web: marked as a general package for all arch 2021-01-11 18:49:30 +08:00
CN_SZTL
51f30d134e
sub-web: add new package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 18:43:59 +08:00
CN_SZTL
b1107b633d
subconverter: fix init 2021-01-11 18:42:52 +08:00
CN_SZTL
6806d8ecea
[HOTFIX] Merge Mainline iptables fixes 2021-01-11 00:22:23 +08:00
CN_SZTL
fdde22fdad
iptables: drop upstream merged patch 2021-01-11 00:21:44 +08:00
CN_SZTL
11ba4ce07b
Merge Mainline 2021-01-10 21:36:13 +08:00
Beginner
4ae4b2691d
xray: Update to 1.2.1 2021-01-10 21:33:58 +08:00
CN_SZTL
090445fd61
verysync: Makefile cleanups 2021-01-10 21:32:12 +08:00
Florian Fainelli
07519a2e34
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-10 21:30:05 +08:00
Florian Fainelli
4f494164cb
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-10 21:29:59 +08:00
Hans Dedecker
f50f4d8cfa
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 21:29:47 +08:00
Curtis Deptuck
605012a18f
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-10 21:29:38 +08:00
CN_SZTL
33e4a1c124
Merge Mainline 2021-01-10 01:48:10 +08:00
CN_SZTL
b09ca4bd31
trojan-plus: Makefile cleanups 2021-01-10 01:46:12 +08:00
CN_SZTL
ab480debc9
trojan: Makefile cleanups 2021-01-10 01:41:26 +08:00
CN_SZTL
d7c56a425c
trojan-go: cleanup Makefile 2021-01-10 01:32:58 +08:00
CN_SZTL
a560911888
kernel: bump to 4.9.250, 4.14.214, 4.19.166
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-10 00:12:43 +08:00
CN_SZTL
093f5840b5
Merge Mainline 2021-01-09 23:43:09 +08:00
Mattraks
c8d5b8b7a0
luci-app-ssr-plus: bug fixes 2021-01-09 23:39:50 +08:00
CN_SZTL
bf5f966f29
subconverter: bump to latest git HEAD and Makefile cleanups 2021-01-09 23:35:47 +08:00
CN_SZTL
141af89d8f
rapidjson: bump to latest git HAD 2021-01-09 22:58:46 +08:00
CN_SZTL
ea67f1ccfa
jpcre2: Makefile cleanup 2021-01-09 22:50:12 +08:00
CN_SZTL
d1786b3219
rapidjson: Makefile cleanup 2021-01-09 22:43:37 +08:00
CN_SZTL
059a2c9e65
smartdns: backport upstream fixes 2021-01-09 21:33:55 +08:00
ericsnow911
1d4cca095a
ramips: fix LEDs status for XiaoMi R3P 2021-01-09 21:10:45 +08:00
CN_SZTL
c9405b4f32
luci-app-clash: remove outdated package 2021-01-09 21:03:26 +08:00
秦宇航
4a4fcd8411
verysync: update to v2.4.2 2021-01-09 20:46:44 +08:00
CN_SZTL
8f0a48a9a6
Merge Mainline 2021-01-09 17:09:00 +08:00
CN_SZTL
e9825ca5bd
rockchip: remove redundant usb-net dependencies 2021-01-09 17:07:45 +08:00
CN_SZTL
acca65e43e
Revert "r8152: drop package"
Fix dependencies for old kernel modules.
Fixes: f00092526d ("r8152: add package")

This reverts commit 6a0986fa4e.
2021-01-09 17:02:43 +08:00
CN_SZTL
5cc1d3df78
rockchip: improve support for NanoPi R4S
- enable sd ultra-high speeds
- format style

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

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-09 16:45:53 +08:00
Tomasz Maciej Nowak
64165c388f
ath79: airtight c-75: use second flash chip
The flash capacity is divided in two flash chips and currently only
first is used. Increase available space for OpenWrt by additional 16 MiB
using mtd-concat driver. Because U-Boot might not be able to load kernel
image spanned through two flash chips, the size of kernel is limited
to space available on first first chip.

Cc: Vladimir Georgievsky <vladimir.georgievsky@yahoo.com>
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
2021-01-09 16:39:29 +08:00
Martin Blumenstingl
abf73b0e66
ath79: add support for the Belkin F9K1115 v2 (AC1750 DB Wi-Fi)
This device has (almost?) identical hardware to the F9J1108 v2 but uses
a different firmware magic and model number.

Specifications:

SoC: QCA9558
CPU: 720 MHz
Flash: 16 MiB NOR
RAM: 128 MiB
WiFi 2.4 GHz: QCA9558-AT4A 3x3 MIMO 802.11b/g/n
WiFi 5 GHz: QCA9880-2R4E 3x3 MIMO 802.11a/n/ac
Ethernet: 4x LAN and 1x WAN (all 1Gbit/s ports)
USB: 1 x USB 2.0 (lower), 1 x USB 3.0 (upper)

MAC addresses based on OEM firmware:

Interface   Address   Location
---------   -------   --------
lan         *:5A      sometimes in 0x6
wan         *:5B      0x0
2.4Ghz      *:5A      0x1002
5Ghz        As per mini PCIe EEPROM

Flashing instructions:

The factory.bin can be flashed via the Belkin web UI or via the uboot
HTTP upgrade page (which is by default listening on 192.168.2.1). Once
the factory.bin has been written, sysupgrade.bin will work as usual.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2021-01-09 16:39:13 +08:00