Commit Graph

4084 Commits

Author SHA1 Message Date
aakkll
5afa82e64f
toolchain/binutils: sync upstream (#8661)
* toolchain/binutils: switch to version 2.36.1 by default

Runtime-tested on:
* ath79
* bcm27xx/bcm2708
* bcm27xx/bcm2709
* bcm27xx/bcm2711
* mvebu/cortexa53
* octeon
* realtek
* x86/64

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

* toolchain/binutils: switch to version 2.37 by default

Compile tests:
* all

Runtime tests:
* ipq806x/generic
* lantiq/mt7621
* lantiq/xrx200
* x86/64

Signed-off-by: Paul Spooren <mail@aparcar.org>
Tested-by: Paul Spooren <mail@aparcar.org>
Tested-by: Rosen Penev <rosenp@gmail.com>
Tested-by: Andre Heider <a.heider@gmail.com>
Tested-by: Ansuel Smith <ansuelsmth@gmail.com>
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>

* toolchain/binutils: v2.37 Close the file descriptor if there is no archive fd

This fixes the following build error:
/home/build/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/sergey/openwrt2/build_dir/target-aarch64_cortex-a53_musl/node-v14.18.2/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status

It's a bad error handling related to -EMFILE (too many open files). nodejs is probably just very close to open file limit.

https://sourceware.org/bugzilla/show_bug.cgi?id=28138
https://github.com/nodejs/node/issues/39452

https://github.com/openwrt/packages/issues/17496
https://github.com/openwrt/packages/issues/16729
https://github.com/openwrt/packages/issues/17164

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
[Take full patch from 2.37 branch and refresh]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Paul Spooren <mail@aparcar.org>
Co-authored-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-01-10 16:57:37 +08:00
aakkll
4e2155b05d
binutils: sync upstream (#8660)
* binutils: Update to version 2.37

This matches the version used in the toolchain.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* binutils: fix compiling with arch-based distros

Arch Linux users have encountered problems with packages that have a dependency on binutils. This error happens when libtool is doing:
  libtool: relink: ...
So change PKG_FIXUP to "patch-libtool".

Fixes error in the form of:
  libtool: install: error: relink `libctf.la' with the above command
           before installing it

Upstream Bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=28545

OpenWrt Bug:
https://bugs.openwrt.org/index.php?do=details&task_id=4149

Acked-by: John Audia <graysky@archlinux.us>
Signed-off-by: Nick Hainke <vincent@systemli.org>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Nick Hainke <vincent@systemli.org>
2022-01-10 16:57:24 +08:00
aakkll
c01c9b96b1
utils/mdadm: fix build on hosts without /run dir (#8651)
CHECK_RUN_DIR=0 must be a part of MAKE_FLAGS, not MAKE_VARS, otherwise
it is not possible to compile mdadm on host without /run dir.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>

Co-authored-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-10 16:56:47 +08:00
Li2nOnline
58467b6c6e
luci-app-kodexplorer: sync to my upstream (#8657) 2022-01-10 16:56:30 +08:00
zhouF96
60e2759031
Apply BCM578xx sfp2.5g patch to test 5.15 kernel (#8615)
* kernel: add module for  bcm574xx 575xx serials

kernel: add module for bnxt_en Linux driver for the 
Broadcom NetXtreme-C/NetXtreme-E 
BCM573xx, BCM574xx, BCM575xx, NetXtreme-S BCM5880x
(up to 200 Gbps) Ethernet Network Controllers and Broadcom Nitro
BCM58700 4-port 1/2.5/10 Gbps Ethernet Network Controller.

* reapply bcm578xx sfp 2.5g patch
2022-01-08 15:00:46 +08:00
小甲哥
67da0a5372
n2n: remove unsupported -s param (#8644) 2022-01-08 11:10:12 +08:00
AmadeusGhost
8aba1a4072 x86: 5.15: refresh kernel patches 2022-01-08 11:06:56 +08:00
Marty Jones
99a33ec8d8 linux-firmware: add new package r8152-firmware
Linux upstream commit 9370f2d05a
add load firmware file through request_firmware,this affect the
nanopi r2s and some USB adapters in kernel 5.10 with this error:
'r8152 4-1:1.0: unable to load firmware patch rtl_nic/rtl8153b-2.fw'
This patch split the USB NIC firmware files from r8169 firmware,
and adds r8152-firmware to r8152 driver.
Add kmod-usb-net-cdc-ncm to support RTL8156A and RTL8156B 2.5G ethernet
adapters supported since v5.13-rc1.
195aae321c

Signed-off-by: Marty Jones <mj8263788@gmail.com>
2022-01-08 11:01:16 +08:00
Glenn Strauss
2bfce1389a mbedtls: enable session tickets
session tickets are a feature of TLSv1.2 and require less memory
and overhead on the server than does managing a session cache

Building mbedtls with support for session tickets will allow the
feature to be used with lighttpd-1.4.56 and later.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2022-01-08 11:00:18 +08:00
AmadeusGhost
3cfb23d0c8 ntfs3-oot: fixes patches push by mistake
Fixes: d000d8c ("ntfs3-oot: compact with upstream kernel")
2022-01-07 11:21:27 +08:00
AmadeusGhost
75193fa45c kernel : 5.10: backport NFSv4_2 SSC helper commit
This allows kmod-fs-nfs-ssc to compile on both 5.10 and 5.15 kernel.
2022-01-07 11:18:11 +08:00
AmadeusGhost
3c1b417e8f Revert "kmod-fs-nfs: adjust depends again"
This reverts commit d9316c5814.
2022-01-07 11:16:06 +08:00
AmadeusGhost
44c6f8502f Revert "fw3: add a hack to revert register tables implementation in 5.15"
This reverts commit e105008c7d.
Fixes: #8617
2022-01-06 16:31:04 +08:00
AmadeusGhost
da49909910 ntfs3-mount: fixes mounting issues
Fixes: #8612
2022-01-06 16:28:05 +08:00
AmadeusGhost
d000d8cb9a ntntfs3-oot: compact with upstream kernel 2022-01-06 16:24:31 +08:00
AmadeusGhost
d9316c5814 kmod-fs-nfs: adjust depends again
Fixes: #8621
2022-01-06 16:21:30 +08:00
Piotr Dymacz
762ed37e19 uboot-imx: set BUILD_SUBTARGET to 'cortexa9'
All currently supported devices belong to the imx/cortexa9 subtarget.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 10:00:25 +08:00
Piotr Dymacz
b4ee2613e0 uboot-envtools: move imx to imx_cortexa9
Subtarget-specific files under 'uboot-envtools' package are supported
since 6f3a05ebb0 ("uboot-envtools: support uci-default config also per
subtargets").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:59:59 +08:00
Piotr Dymacz
c9451f29f3 uboot-imx6: rename to 'uboot-imx'
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:59:13 +08:00
Piotr Dymacz
7135adeb6b uboot-envtools: rename 'imx6' to 'imx'
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:58:31 +08:00
Piotr Dymacz
df2e050cc4 kobs-ng: update dependencies after 'imx6' -> 'imx' rename
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:58:02 +08:00
Piotr Dymacz
f1a9b91fd4 kernel: update dependencies after 'imx6' -> 'imx' rename
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:57:20 +08:00
lean
ee9e153105 mtk_eth_soc: add missing ipv6 flow offload support for 5.10 2022-01-05 19:25:24 +08:00
lean
40222caccd target: imx6 rename to imx 2022-01-05 19:08:23 +08:00
Hauke Mehrtens
a859ab9ac0 sunxi: Use rtl8723bu-firmware instead of rtl8723bs-firmware
The firmware for the rtl8723bs chip is now included in the
rtl8723bu-firmware package.

Fixes: 397dfe4a97e6 ("linux-firmware: Update to version 20121216")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-05 11:24:26 +08:00
AmadeusGhost
d35b0161d0 kmod-fs-nfs-common: fix build on 5.15
Fixes: #8599
2022-01-05 11:21:48 +08:00
AmadeusGhost
c6edc4c192 kmod-fs-ntfs3: update dependence
Fixes: #8600, #8601, #8605
2022-01-05 10:29:30 +08:00
lean
dced95e705 x86: add brand display for R86S etc. 2022-01-04 23:52:49 +08:00
AmadeusGhost
9ba612191d kmod-switch-bcm53xx: fixes build on kernel 5.15
Fixes: #8583, #8586
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2022-01-04 16:54:20 +08:00
AmadeusGhost
af9ddeb7c9 kmod-usb-net-asix: fix build on kernel 5.15
Fixes: #8584
2022-01-04 16:49:20 +08:00
AmadeusGhost
cf8d67a3e3 automount: fix ntfs-mount on kernel 5.15 2022-01-04 16:45:45 +08:00
AmadeusGhost
e841c2c2cd ntfs3-mount: re-enabled on kernel 5.15 2022-01-04 16:43:47 +08:00
lean
1bf58b7e18 automount: revert to antfs-mount for 5.4/5.10 2022-01-03 15:15:11 +08:00
Beginner
f85cd5c8c7
kernel: bump 5.10 to 5.10.89 (#8589)
Deleted (upstreamed):
bcm27xx/patches-5.10/950-0186-pinctrl-bcm2835-Change-init-order-for-gpio-hogs.patch [1]
sunxi/patches-5.10/103-arm64-dts-allwinner-orangepi-zero-plus-fix-PHY-mo.patch [2]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.89&id=ba696b470839d70c6b8290c1f798bac7fb2a584c
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.89&id=93a957bbf46ceb224b959de61fe85cfc6f71b6c7

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-03 13:06:25 +08:00
Beginner
9d4eae4a8e
ipt2socks microsocks: cleanup makefile (#8578)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-03 12:50:04 +08:00
Beginner
53227ee36a
tools/cmake: update to version 3.22.1 (#8579)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-03 12:49:09 +08:00
Beginner
24b49256a4
pdns-alt: refresh patches (#8587)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-01-03 12:48:45 +08:00
lean
86b2e8ab49 kernel 5.15: fix AQR PHY ID patch 2022-01-02 21:50:32 +08:00
lean
e105008c7d fw3: add a hack to revert register tables implementation by torvalds in 5.15 2022-01-02 21:39:26 +08:00
lean
e38193fbab x86: make 32bit available in 5.15 2022-01-02 21:26:15 +08:00
Beginner
6c07b5cd72
openssl: bump to 1.1.1m (#8573)
This is a bugfix release.  Changelog:

  *) Avoid loading of a dynamic engine twice.
  *) Fixed building on Debian with kfreebsd kernels
  *) Prioritise DANE TLSA issuer certs over peer certs
  *) Fixed random API for MacOS prior to 10.12

Patches were refreshed.

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

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-01-02 17:23:58 +08:00
lean
c17e5fb4fd ipq807x: add missing symbol for QNAP 301w 2022-01-02 17:20:38 +08:00
lean
cc7063de8c ipq807x: add QNAP 301w (AX WIFI router with 4 1G and 2 10G ports) support 2022-01-02 12:24:33 +08:00
lean
5e4693f2ac k3screenctrl: fix PHICOMM K3 screen display off 2022-01-02 12:07:07 +08:00
lean
7b75725731 ntfs3-oot: disable on 5.15 2022-01-01 13:34:47 +08:00
lean
012d1ef0ef automount: add kmod-ntfs3 for 5.15 support 2022-01-01 13:31:28 +08:00
lean
772c5d2c8b kmod: add highspeed ntfs3 fs driver for 5.15 2022-01-01 13:29:20 +08:00
lean
23d753e060 wireguard: add support for 5.15 2022-01-01 13:13:48 +08:00
Beginner
ae4bace648
pdnsd-alt: fix kernel 5.15 build error (#8557)
Co-authored-by: SiYao Mo <msylgj@vip.qq.com>
2022-01-01 10:43:56 +08:00
lean
74b38ca2bf automount: replace antfs with ntfs3-oot 2021-12-31 16:05:40 +08:00