Commit Graph

8114 Commits

Author SHA1 Message Date
Tianling Shen
e717229d7f
rtl88x2bu: fix build on kernel 4.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-27 16:58:57 +08:00
Tianling Shen
bd501b42e7
rtl8821cu: fix build on kernel 4.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-27 16:55:46 +08:00
Tianling Shen
d73dca503c
rtl8812au-ac: fix build on kernel 4.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-27 16:52:00 +08:00
Tianling Shen
afe6cd3254
rtl8192eu: fix build on kernel 4.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-27 16:44:01 +08:00
Tianling Shen
00cd325b19
rtl8189es: fix build on kernel 4.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-27 16:39:57 +08:00
Tianling Shen
ce30363cd9
rtl8188eu: fix build on kernel 4.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-27 16:33:15 +08:00
Petr Štetiar
f0522b7b59
treewide: use wpad-basic-openssl as default
In order to support SAE/WPA3-Personal in default images. Replace almost
all occurencies of wpad-basic and wpad-mini with wpad-basic-openssl for
consistency. Keep out ar71xx from the list as it won't be in the next
release and would only make backports harder.

Build-tested (build-bot settings):
ath79: generic, ramips: mt7620/mt76x8/rt305x, lantiq: xrx200/xway,
sunxi: a53

Signed-off-by: Petr Štetiar <ynezz@true.cz>
[rebase, extend commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit a14f5bb4bd)
[use openssl variant]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-26 19:34:39 +08:00
Tianling Shen
78ed4933c6
mac80211: brcm: fix build for kernel < 4.13
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-26 19:16:03 +08:00
Tianling Shen
b3fd8d4f03
util-linux: update to 2.37.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-26 17:26:47 +08:00
Tianling Shen
0d1dfcb555
Revert "util-linux: update to 2.38"
This breaks build on kernel 4.9

This reverts commit dd7e948e00.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-26 17:25:42 +08:00
Tianling Shen
206ad7b6a7
Revert "util-linux: use meson to build"
util-linux 2.37 doesn't support meson yet.

This reverts commit eab60d315f.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-26 17:24:32 +08:00
Oskari Rauta
70185ee7b5
util-linux: add lsns
lsns lists system namespaces

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit ef4bf8b403)
2022-05-26 17:24:15 +08:00
Stijn Tintel
42f500ac35
util-linux: package ipcs command
Add a package for util-linux' ipcs command, to show information about
System V inter-process communication facilities.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 2c929f8105)
2022-05-26 17:23:31 +08:00
Roman Azarenko
c1ba87f706
util-linux: add lslocks
This change adds the "lslocks" utility from util-linux.

Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu>
(cherry picked from commit 5bd926efa9)
2022-05-26 17:23:19 +08:00
Hauke Mehrtens
31c660335c
util-linux: Add taskset
This adds the taskset application from util Linux.
It is already built, but not packaged yet.

Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
(cherry picked from commit 6ae657e459)
2022-05-26 17:23:00 +08:00
Tiago Gaspar
d6f9dd7fa9
firewall: config: remove restictions on DHCPv6 allow rule
Remove restrictions on source and destination addresses, which aren't
specified on RFC8415, and for some reason in openwrt are configured
to allow both link-local and ULA addresses.
As cleared out in issue #5066 there are some ISPs that use Gloabal
Unicast addresses, so fix this rule to allow them.

Fixes: #5066

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
[rebase onto firewall3, clarify subject, bump PKG_RELEASE]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 65258f5d60)
2022-05-26 16:56:44 +08:00
ZiMing Mo
52388e379f
firewall3: fix locking issue
(cherry picked from commit c7a557861a)
2022-05-26 16:55:01 +08:00
Tianling Shen
18300e0e47
firewall4: remove
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-23 14:35:34 +08:00
Tianling Shen
015985f0c3
ucode: remove
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-23 14:34:49 +08:00
Tianling Shen
abd656dfc0
x86/geode: fix target file
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-21 17:44:46 +08:00
Felix Fietkau
c80c82d0a8
include/cmake.mk: add support for overriding the host install prefix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit a6a9f9be27)
2022-05-21 16:55:40 +08:00
Tianling Shen
7b1251c29c
config/Config-kernel.in: disable namespaces for small flash devices by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-17 16:36:15 +08:00
Tianling Shen
3d901b8924
config/Config-kernel.in: enable namespaces by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-17 16:34:48 +08:00
Tianling Shen
f068cecb0b
r8125: bump to 9.009.00
Switched to GitHub codeload.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 5c11bf7327)
2022-05-17 15:51:14 +08:00
Tianling Shen
82059c592b
ath10k-ct: fix select dependency
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-17 15:33:43 +08:00
Eneas U de Queiroz
b67326b9bf
wolfssl: bump to v5.3.0-stable
This is mostly a bug fix release, including two that were already
patched here:
- 300-fix-SSL_get_verify_result-regression.patch
- 400-wolfcrypt-src-port-devcrypto-devcrypto_aes.c-remove-.patch

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 73c1fe2890)
2022-05-17 15:25:36 +08:00
Eneas U de Queiroz
c1470478fb openssl: bump to 1.1.1o
This release comes with a security fix related to c_rehash.  OpenWrt
does not ship or use it, so it was not affected by the bug.

There is a fix for a possible crash in ERR_load_strings() when
configured with no-err, which OpenWrt does by default.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-05-17 00:18:28 +08:00
Rosen Penev
eab60d315f util-linux: use meson to build
Compiles faster, is PIC by default, and does not have pkgconfig files
with wrong paths.

Add various fixes to it as it seems cross compilation was never tested.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-05-17 00:18:16 +08:00
Rosen Penev
dd7e948e00 util-linux: update to 2.38
Various fixes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-05-17 00:18:02 +08:00
Christian Lamparter
de12c57c88 linux-firmware: Update to version 20220509
git log --pretty=oneline --abbrev-commit 20220411..20220509 (sorted)

amdgpu:
480d6c2 amdgpu: update dcn_3_1_6_dmcub firmware
b4994be amdgpu: update gc_10_3_7_rlc firmware
61eb408 amdgpu: update psp_13_0_8 firmware
fcf9d8c amdgpu: update yellow carp DMCUB firmware

ath10k:
73743b8 ath10k: QCA4019 hw1.0: update board-2.bin
6ad0930 ath10k: QCA6174 hw3.0: update board-2.bin
729bd7f ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00288-QCARMSWPZ-1
9fce09f ath10k: QCA9888 hw2.0: update board-2.bin
b155d85 ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.9.0.2-00156
44b8aee ath10k: QCA9984 hw1.0: update board-2.bin
4ad3bd3 ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.9.0.2-00156
1962cba ath10k: QCA99X0 hw2.0: add board-2.bin

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-05-17 00:16:29 +08:00
Piotr Dymacz
c1a0582615 image: drop unused 'BuildKernel/MkFIT'
The 'MkFIT' recipe is no longer used across whole codebase.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-05-17 00:13:08 +08:00
Sungbo Eo
e333999ecf
build: image: improve zip build recipe
* clean before build
* specify executable path
* allow adding extra options for zip
* use basename of $@

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit 446da70669)
2022-05-16 14:51:16 +08:00
Sungbo Eo
5b5a34737c
build: image: use UTC for zip timestamp
Zip uses DOS timestamp for mtime which is stored in local time and hence
depends on the timezone of the build system. Force zip to use UTC timezone
to make image builds more reproducible.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit e42764cc5f)
2022-05-16 14:48:22 +08:00
Sungbo Eo
51c26f0c97
tools: zip: fetch SOURCE_DATE_EPOCH directly
Remove "--mtime" option introduced in commit 18c9faa032 ("tools: zip:
add option for reproducible archives") and instead fetch SOURCE_DATE_EPOCH
environment variable directly in the code.

Ref: https://sourceforge.net/p/infozip/patches/25/
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit 39d06472eb)
2022-05-16 14:47:06 +08:00
Josef Schlehofer
19d556319e
armvirt/64: change it to cortex-a53 instead of generic
Package architecture aarch64_generic [1] can be used just with three
devices. One is NanoPI R2S and then there are two development boards
from NXP. Let's change armvirt/64 to Cortex A53 (aarch64_cortex-a53)
[2]. It has wider support by multiple devices like NanoPI Neo Plus2/Core2,
ESPRESSObin, Pine64, and Raspberry Pi 2&3.

While looking at ARMvirt/32 it has set CPU_TYPE and CPU_SUBTYPE to be
arm_cortex-a15_neon-vfpv4 [3]. It has support to devices like
Linksys EA8500 v1, Linksys EA7500 v1, Netgear D7800, Netgear R7500 and so on.

Tested with:
qemu-system-aarch64 -m 1024 -smp 2 -cpu cortex-a57 -M virt -nographic \
-kernel openwrt-armvirt-64-Image-initramfs

Successfully compiled and booted.
Here goes the output:
root@OpenWrt:/# uname -a
Linux OpenWrt 5.4.82 #0 SMP Sun Dec 13 12:52:10 2020 aarch64 GNU/Linux
root@OpenWrt:/# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r15207-96fca0f807'
DISTRIB_TARGET='armvirt/64'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r15207-96fca0f807'
DISTRIB_TAINTS='no-all'

Also, change BOARDNAME to be the same as it is in armvirt/32.

[1] https://openwrt.org/docs/techref/instructionset/aarch64_generic
[2] https://openwrt.org/docs/techref/instructionset/aarch64_cortex-a53
[3] https://openwrt.org/docs/techref/instructionset/arm_cortex-a15_neon-vfpv4

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 222dc0ad91)
2022-05-15 13:50:17 +08:00
Tomasz Maciej Nowak
db99e1851d
tegra: correct cpu subtype
Tegra 2 processors have only 16 double-precision registers. The change
introduced by 8dcc108760 ("toolchain: ARM: Fix toolchain compilation
for gcc 8.x") switched accidentally the toolchain for tegra target to cpu
type with 32 double-precision registers. This stems from gcc defaults
which assume "vfpv3-d32" if only "vfpv3" as mfpu is specified. That
change resulted in unusable image, in which kernel will kill userspace as
soon as it causing "Illegal instruction".

Ref: https://forum.openwrt.org/t/gcc-was-broken-on-mvebu-armada-370-device-after-commit-on-2019-03-25/43272
Fixes: 8dcc108760 ("toolchain: ARM: Fix toolchain compilation for
gcc 8.x")
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
(cherry picked from commit 43d1d88510)
2022-05-14 14:53:22 +08:00
Tomasz Maciej Nowak
c812f84eaf
mvebu: cortexa9: correct cpu subtype
Armada 370  processors have only 16 double-precision registers. The
change introduced by 8dcc108760 ("toolchain: ARM: Fix toolchain
compilation for gcc 8.x") switched accidentally the toolchain for mvebu
cortexa9 subtarget to cpu type with 32 double-precision registers. This
stems from gcc defaults which assume "vfpv3-d32" if only "vfpv3" as mfpu
is specified. That change resulted in unusable image, in which kernel
will kill userspace as soon as it causing "Illegal instruction".

Ref: https://forum.openwrt.org/t/gcc-was-broken-on-mvebu-armada-370-device-after-commit-on-2019-03-25/43272
Fixes: 8dcc108760 ("toolchain: ARM: Fix toolchain compilation for
gcc 8.x")
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
(cherry picked from commit 2d61f8821c)
2022-05-14 14:52:20 +08:00
Tianling Shen
af2f2d70a2
ixp4xx: add missing Kconfig
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-14 14:14:23 +08:00
Tianling Shen
ae00ad5376
ixp4xx: add missing Kconfig
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-14 13:40:58 +08:00
Tianling Shen
3c396e2eef
kernel: sfp: fix build
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 21:05:31 +08:00
Tianling Shen
86bd28fc33
mpc85xx: p1020: add missing Kconfig
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 19:56:49 +08:00
Tianling Shen
fc96ffcc67
kernel/modules: sound: add Gateworks Avila SoC sound support for ipx4xx
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 19:53:04 +08:00
Tianling Shen
7db29197e0
kernel: generic: add missing Kconfig
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 19:45:38 +08:00
Hauke Mehrtens
6feb6d726a
ramips: Deactivate NETGEAR WNCE2001 by default
The root file system is getting too big for this device and this breaks
the ramips/rt305x build.

Do not build images for this board by default to fix this problem.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit f46a3c7b14)
2022-05-13 19:32:46 +08:00
Tianling Shen
be03a0e6aa
octeontx: add missing Kconfig
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 19:27:58 +08:00
Stijn Tintel
1c3e741e29
kernel: add missing symbol to kmod-qlcnic
When the kmod-qlcnic package is built on targets that have
CONFIG_PCI_IOV enabled, the CONFIG_QLCNIC_SRIOV symbol is exposed.
Enable this symbol in the kmod package to fix its build.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 3cb22b277a)
2022-05-13 19:07:01 +08:00
Hauke Mehrtens
788154eb44
kernel: qlcnic: add dependency to kmod-hwmon-core
QLCNIC_HWMON was activated when hwmon was set, but the dependency was
missing. This broke the build bot builds. Fix this by explicitly
activating HWMON support and adding a dependency.

Fixes: f88c64d28c ("kernel: netdev: add qlcnic")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 95b210e513)
2022-05-13 19:06:06 +08:00
Tianling Shen
88dd5b530b
armvirt: 64: add missing Kconfig
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 19:01:02 +08:00
Adrian Schmutzler
107c5d097c
ath25: disable devices with 4M flash
Devices with 4M flash are not built be default for 20.xx anymore.

Building them with buildbot settings does not work anymore anyway.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit ad22f6a8aa)
2022-05-13 18:23:02 +08:00
Tianling Shen
1e1772cc1e
rt3883: disable build for rt-n56u by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 1d1ba8d711)
2022-05-13 18:19:55 +08:00