Commit Graph

7245 Commits

Author SHA1 Message Date
Andre Heider
d83d32fa97 uboot-mvebu: don't default to enable a3700 builds
u-boot binaries for this SoC are only required for the atf package,
disable them per default so they don't get build unnecessarily.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-10-12 11:32:56 +08:00
Andre Heider
a846eb446c uboot-mvebu: don't add CONFIG_NET_RANDOM_ETHADDR to defconfig
All targets already enable it in their defconfig with the used
u-boot version.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-10-12 11:32:35 +08:00
Andre Heider
85a3fb3278 uboot-mvebu: update to v2020.10
Remove merged patches and update the emmc set.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-10-12 11:32:14 +08:00
Kabuli Chana
aa040d35a6 mvebu: Correct regulatory country of WRT3200ACM
correct oversight on setting regulatory country and mac address of wireless configuration
change method of retrieving mac address

The MAC address for eth0 is rad out of the devinfo partition in some
other initial configuration script already.

Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
2020-10-12 11:31:52 +08:00
Kabuli Chana
f14aa903b5 mvebu: add wrt3200acm to 03_wireless CC
correct device CC oversight

Set the initial wifi configuration like for the other similar Linksys
devices.

Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
2020-10-12 11:31:30 +08:00
Pali Rohár
e314c2b204 mvebu: armada-37xx: espressobin: Backport patch for ethernet switch aliases
Signed-off-by: Pali Rohár <pali@kernel.org>
2020-10-12 11:30:53 +08:00
Pali Rohár
40e46becf3 mvebu: armada-37xx: Backport PCI aardvark patches
This commit contains patches for PCI aardvark driver and relevant DTS
changes for Turris MOX and EspressoBin backported from mainline kernel.
It fixes support for old ATF, various wifi cards, mainly Compex WLE900VX.

Signed-off-by: Pali Rohár <pali@kernel.org>
2020-10-12 11:30:29 +08:00
Tony Ambardar
2fcd3dc35e scripts/qemustart: update malta to use MIPS64 R2 cpu
Explicitly set the QEMU cpu type and support the MIPS R2 ISA, for both
64-bit and 32-bit targets. The later previously supported MIPS R2 by
implicit default.

This is needed after commit 93608697f3 ("malta: update MIPS64 ISA to R2"),
otherwise booting malta images with scripts/qemustart will hang.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-10-12 11:30:00 +08:00
Tony Ambardar
b7a055dc29 malta: update MIPS64 ISA to R2
Usage of current R1 ISA is inconsistent with the MIPS32 subtarget, little
used and has limited utility for testing.

Many distros target a minimum R2 ISA. Debian MIPS 32-bit/64-bit ports all
use MIPS R2 ISA since Stretch, for example. Fedora's MIPS arch also targets
the R2 ISA for 32-bit/64-bit.

Widely used MIPS64 platforms like Octeon are based on the MIPS R2 ISA or
later, and benefit from having a compatible test platform in OpenWRT.

While Linux does support MIPS64 R1 targets, its usefulness for development
and testing is limited. As an example, the modern Linux eBPF JIT requires
a MIPS R2 ISA or later.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
[Refresh config and fix README]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-10-12 11:29:32 +08:00
Marek Behún
0cecde7af0 perf: pass CFLAGS correctly
For this package CFLAGS have to be passed via EXTRA_CFLAGS.
On arm this bug causes build to fail because no -fPIC is present in CFLAGS.

Signed-off-by: Marek Behún <kabel@blackhole.sk>
2020-10-12 11:27:04 +08:00
Marek Behún
7843d70ed9 perf: fix building with musl when NLS is enabled
This package fails with a strange error when building with musl when NLS
is enabled. The configuration thinks that libelf is not present, even
though DEPENDS contains +libelf, because when NLS is enabled, libelf.so
depends on libintl, and the correct LDFLAGS are missing for
libintl-full. This then causes the configuration script to check for
glibc, but this fails because we are using musl.

Signed-off-by: Marek Behún <kabel@blackhole.sk>
2020-10-12 11:26:32 +08:00
CN_SZTL
1412c99a3b
Merge Mainline 2020-10-10 23:26:37 +08:00
LGA1150
8ccd2aa81f
Revert "ramips: mt7621: disable CPU port flow control"
This reverts commit c06af7c5c3.
2020-10-10 18:13:19 +08:00
nobody
6ec9c9e2ac frp: version bump to v0.34.1 2020-10-10 17:35:18 +08:00
John Audia
78b0fe3d2e kernel: bump 5.4 to 5.4.70
All modifications made by update_kernel.sh

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

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
2020-10-10 17:32:17 +08:00
Daniel Golle
4171325e19 kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic
Similar to how it was already done for other filesystems' *_FS_XATTR
kernel config symbols, also move CONFIG_F2FS_FS_XATTR=y and
CONFIG_F2FS_STAT_FS=y to target/linux/generic.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-10 17:29:57 +08:00
Daniel Golle
842d56214e seclic: depends on libsepol
Add missing dependency for target build of seclic which requires
libsepol (just like the host build requires libsepol/host).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-10 17:29:30 +08:00
Adrian Schmutzler
e03e68ab9b ath79: drop redundant gpios on i2c
Since "sda-gpios" and "scl-gpios" are only available since kernel 4.19,
a few devices have redundantly defined "gpios" to also support older
kernels. Since we have nothing older than 4.19 now, we can remove
the redundant definitions.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-10 17:28:55 +08:00
Adrian Schmutzler
030e783c05 oxnas: fix qc_prep return in sata driver after kernel 5.4.69
This fixes a regression after a kernel change in 5.4.69 [1] that
led to build failure on oxnas/ox820:

  drivers/ata/sata_oxnas.c:2238:13: error: initialization of
  'enum ata_completion_errors (*)(struct ata_queued_cmd *)'
  from incompatible pointer type
  'void (*)(struct ata_queued_cmd *)' [-Werror=incompatible-pointer-types]
    .qc_prep = sata_oxnas_qc_prep,
               ^~~~~~~~~~~~~~~~~~
  drivers/ata/sata_oxnas.c:2238:13: note:
  (near initialization for 'sata_oxnas_ops.qc_prep')

Our local driver is changed the same way as prototyped in the
kernel patch, i.e. return type is changed and AC_ERR_OK return
value is added.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e11c83520cd04b813cd1748ee2a8f2c620e5f7e3

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-10 17:28:24 +08:00
Beginner
388d29532c
v2ray-plugin : update v1.6.0 2020-10-09 18:11:03 +08:00
Beginner
a6730e0f60
v2ray : update v4.31.0 2020-10-09 18:10:55 +08:00
Adrian Schmutzler
32c8fa9ec1 ipq40xx: use upstream DTS files for IPQ4019/AP-DK04.1
Upstream provides DTS(I) files for IPQ4019/AP-DK04.1, but we overwrite
them with local versions so far.

Remove the local files and use patches to be closer to upstream.
We already do the same for IPQ40xx/AP-DK01.1-C1.

Technically, this changes the compatible from "qcom,ipq4019" to
"qcom,ipq4019-dk04.1-c1", but it has never been implemented correctly
beforehand anyway.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-09 11:35:34 +08:00
Daniel Golle
9f75eb9e31 config: add option for dssp selinux policy
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-09 11:31:26 +08:00
Dominick Grift
c5e38974bf selinux-policy: adds new package
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2020-10-09 11:31:08 +08:00
Dominick Grift
7c471b5462 secilc: adds new package
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2020-10-09 11:30:34 +08:00
Paul Spooren
19da4ab536 kernel: clean up XATTR config symbols
Extended attributes are required for overlayfs and have hence been long
ago enabled for jffs2, but should be enabled unconditionally for all
other filesystems which may potentially serve as overlayfs' upper
directory. Previously it was inconsistently added in multiple targets.
Add symbols to generic kernel config and remove all *_XATTR symbols
from target configs.

Signed-off-by: Paul Spooren <mail@aparcar.org>
[keep things as they are for squashfs, improve commit message]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-09 11:29:55 +08:00
Sven Roederer
c6c66f6f5b build, imagebuilder: Do not require compilers
The buildroot and SDK both require the compilers (gcc, g++) to be
installed on the host system, however the ImageBuilder uses precompiled
binaries.

This patch changes the prerequirements checks to skip the checking for
the compilers if running as ImageBuilder. A similar change has been
made for libncurses-dev in 4a1a58a3e2.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Acked-by: Paul Spooren <mail@aparcar.org>
2020-10-09 11:29:12 +08:00
Roman Kuzmitskii
bdccea7dfd
ath79: rename ubnt,acb-isp to ubnt,aircube-isp
Use the full model name for this device to make it easier to
recognize for the users and in order to make it consistent with
the other devices.

While at it, fix sorting in 03_gpio_switches.

Signed-off-by: Roman Kuzmitskii <damex.pp@icloud.com>
[commit message facelift]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-07 17:22:27 +08:00
LGA1150
9b48f42718
Revert "ramips: enable packet steering by default on mt7621"
This reverts commit dfd62e575c.
2020-10-07 17:15:24 +08:00
AmadeusGhost
3fdc484aba
ramips: XiaoYu-C5: reuse ralink-eth driver 2020-10-07 17:15:04 +08:00
Chen Minqiang
82cc584e7a
ramips: net/mediatek disable eee
This disable eee for mt7530 ports, it causes the link down/up
issue, which happens when connecting to 100Mbit switch

Fixes: FS#1449

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-07 17:12:53 +08:00
Chen Minqiang
8f1f2afc00
ramips: net/mediatek fix logical error
fe_empty_txd() should return `tx_ring_size - 1` on ring empty, and
return 0 on ring full.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-07 17:12:41 +08:00
Chen Minqiang
5d932412b0
Revert "ramips: disable PORT 5 MAC RX/TX flow control by default"
The TX/RX flow control is not the cause of the TX timeouts issue

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-07 17:12:15 +08:00
CN_SZTL
0b20d90fe4
kcptun: bump to 20201004 2020-10-07 17:09:13 +08:00
CN_SZTL
364c0b8a8f
OpenClash: sync with upstream source 2020-10-07 03:10:51 +08:00
CN_SZTL
23d7257629
luci-app-passwall: bump to 3.9-68 2020-10-07 03:09:56 +08:00
CN_SZTL
3988c2ef29
x86: apply MMC config to kernel 4.9 2020-10-07 03:06:34 +08:00
EdiTurn
700879b06e
openwrt-udp2raw: bump to 20200818.0 2020-10-07 03:02:38 +08:00
Jeff Collins
3407d03c12
rtl8812au-ac: add package 2020-10-06 03:47:04 +08:00
Jeff Collins
e966db7fee
x86: Fix when booting from internal MMC. 2020-10-06 00:03:14 +08:00
LGA1150
c06af7c5c3
ramips: mt7621: disable CPU port flow control 2020-10-05 23:43:59 +08:00
CN_SZTL
91aea1d7eb
Merge Mainline 2020-10-05 23:39:18 +08:00
LGA1150
e6bc858494
cryptodev-linux: bump to 1.11 2020-10-05 23:37:17 +08:00
CN_SZTL
62b99928a4
dns2socks: specify specific commit instead of HEAD 2020-10-05 18:58:33 +08:00
CN_SZTL
031ba4dd0c
LuCI: Mod20.10 2020-10-05 18:55:14 +08:00
CN_SZTL
99daf06382
autocore-arm: refresh index in every 5 sec 2020-10-05 18:54:53 +08:00
DENG Qingfang
f63a3f88e6
toolchain/binutils: update to 2.35.1
Update binutils 2.35 to 2.35.1

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-10-05 14:25:49 +08:00
Jo-Philipp Wich
e9069ae78d
uhttpd: update to latest Git HEAD
14a3cb4 ubus: fix legacy empty reply format
0f38b03 client: fix spurious keepalive connection timeouts
88ba2fa client: really close connection on timeout
c186212 ubus: support GET method with CORS requests

Fixes: FS#3369
Fixes: https://github.com/openwrt/luci/issues/4467
Fixes: https://github.com/openwrt/luci/issues/4470
Fixes: https://github.com/openwrt/luci/issues/4479
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-10-05 14:25:29 +08:00
Jo-Philipp Wich
07bfe0117b
netfilter: ship nft_chain_nat on 5.1+ kernels
The former nft_chain_nat_ipv4 and nft_chain_nat_ipv6 modules have been merged
into a common nft_chain_nat module starting with Linux 5.1.

Ensure that this common module is shipped along with kmod-nft-nat on recent
kernels.

While we're at it, also apply version constraints to other nft modules that
have been merged into the core with newer kernels.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2815#comment8016
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-10-05 14:19:01 +08:00
David Bauer
6f3e8ab72e
rockchip: fix NanoPi R2S GMAC clock name
This commit fixes the name for the GMAC clock to gmac_clkin, as this is
the name of the clock provided by the rk3328-clk driver.

Without this commit, the GMAC will not work in TX direction.

Suggested-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-10-05 13:32:55 +08:00