Commit Graph

5420 Commits

Author SHA1 Message Date
Christian Marangi
f7ccf2d477 generic: 5.15: move dtc drop interrupt check from pending to backport
Move dtc drop interrupto check from pending to backport as it got merged
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-10-26 22:26:36 +08:00
Christian Marangi
120330dea2 generic: 5.15: move MIPS cpuinfo patch from pending to backport
Move MIPS cpuinfo patch from pending to backport as it got merged
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-10-26 22:26:12 +08:00
ty
063f51c242
autosamba: fixes compatible with samba4 (#10315)
Fix: coolsnowwolf/lede#10314
2022-10-25 12:40:31 +08:00
AmadeusGhost
613e76c9e0 Revert "autocore: ethinfo: rewritten in lua"
This reverts commit 4f056f8ef3.
Fixes: #10180, #10251
2022-10-25 12:38:39 +08:00
AmadeusGhost
51dccebbdc autocore-arm: update config for filogic 2022-10-25 11:42:00 +08:00
AmadeusGhost
3c294bd503 treewide: remove support of kernel 5.19 2022-10-25 10:55:54 +08:00
Andre Heider
bdd016c403 mac80211: fix masking nested A-MSDU support for mesh
CONFIG_MAC80211_MESH isn't defined for this package, rendering the patch
useless. Match protecting the access of sta_info.mesh with the very same
define declaring it.

Fixes 45109f69a6 "mac80211: fix compile error when mesh is disabled"
Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-10-25 10:30:06 +08:00
Shiji Yang
ac359a8b64 ramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C
The blue WAN LED connected to GPIO37 is missing, so re-add it.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2022-10-25 10:29:02 +08:00
coolsnowwolf
92bdfb61ce Revert "Revert "toolchain: gcc: improve patch handling by introducing major version""
This reverts commit 779ed7d9a0.
2022-10-24 14:29:05 +08:00
Nick Hainke
c86da866ca ksmbd: update to 3.4.6
Release Announcement:
https://github.com/cifsd-team/ksmbd/releases/tag/3.4.6

Remove upstreamed:
- 10-fix-build-on-kernel-5.15.52-or-higher.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-24 11:40:22 +08:00
Nick Hainke
1778c590d5 linux-firmware: update to 20221012
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-24 11:36:34 +08:00
Daniel Golle
29413bac28 tools/mkimage: bring back removed patches
Patches for mtk_image supporting newer SoCs have been dropped in the
process of updating mkimage to U-Boot 2022.10. While it is true that
the patches have been merged upstream a while ago, they were not merged
in time to be part of the U-Boot 2022.10 release.
See also commit 537b423d9f ("uboot-mediatek: update to U-Boot 2022.10")
which explicitly mentions that.

Fixes: 6e245777bd ("tools/mkimage: update to 2022.10")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-24 11:35:41 +08:00
coolsnowwolf
79a5a327ae Revert "tools/upx: update to 3.96"
This reverts commit 4f0a5bdc7b.
2022-10-24 10:06:30 +08:00
aiamadeus
144c1fb2f3
Merge pull request #10310 from lovehackintosh/bump-tools 2022-10-23 22:28:06 +08:00
Liu Linhui
e95c5bc7f1 tools: sync with upstream
remove mm-macros because it's not needed

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-23 12:43:07 +08:00
Rosen Penev
038c141696 tools/cpio: sync with upstream
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-23 12:40:42 +08:00
Rosen Penev
15d88af106 tools: add Host/Uninstall where possible
This cleans staging_dir when calling tool/x/clean.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-10-23 12:39:00 +08:00
Linhui Liu
ff473e4495 tools/zstd: sync with upstream
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-23 12:33:29 +08:00
Nick Hainke
893b5022d9 tools/zlib: update to 1.2.13
Switch to "https github.com" for downloading source files.

Release Announcements:
https://github.com/madler/zlib/releases/tag/v1.2.13

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:32:40 +08:00
Linhui Liu
5c04a547c8 tools/zip: sync with upstream
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-23 12:31:14 +08:00
Nick Hainke
e83a16d318 tools/xz: update to 5.2.7
Update to latest version.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:30:01 +08:00
Liu Linhui
4f0a5bdc7b tools/upx: update to 3.96
Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-23 12:29:34 +08:00
Linhui Liu
6dbbf0b3b3 tools/squashfskit4: sync with upstream
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-23 12:28:48 +08:00
Rosen Penev
faa12f02c9 tools/sparse: update to 0.6.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-10-23 12:27:30 +08:00
Nick Hainke
c84f949a9f tools/mtools: update to 4.0.41
Release Notes:
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00011.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:26:39 +08:00
Linhui Liu
e813d7dc4e tools/mm-macros: remove
this is in the codebase because of libsigc++, which is not in the codebase anymore.
Neither in base nor in packages. It doesn't seem to be needed by
anything else either. GNOME packages have transitioned to using meson,
which does not use m4 files.

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-23 12:24:56 +08:00
Nick Hainke
e5ea551257 tools/mkimage: update to 2022.10
Remove upstreamed patches:
- 020-tools-mtk_image-split-gfh-header-verification-into-a.patch
- 021-tools-mtk_image-split-the-code-of-generating-NAND-he.patch
- 022-tools-mtk_image-add-support-for-nand-headers-used-by.patch

Refreshed manually:
- 030-allow-to-use-different-magic.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:20:38 +08:00
Linhui Liu
fe40a5e5bb tools/meson: sync with upstream
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-23 12:19:36 +08:00
Nick Hainke
0fe111a083 tools/genext2fs: update to 1.5.0
Update to latest version.

Remove patches:
- 100-c99_scanf.patch
- 200-autoconf.patch
- 300-blocksize-creator.patch
- 400-byteswap_fix.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:16:22 +08:00
Nick Hainke
2e5852e1c7 tools/expat: switch to tar.xz to save bandwidth
The tar.xz download is a bit smaller. Use this download to save traffic.

Suggested-by: hardfalcon
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:14:53 +08:00
Nick Hainke
d62f2337c9 tools/dwarves: update to 1.24
Release Notes:
https://lwn.net/Articles/905738/

Switch to https "fedorapeople.org"-mirror. Use $(AUTORELEASE).

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:07:38 +08:00
Linhui Liu
e2ff325ada tools/cmake: sync with upstream
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-23 12:06:27 +08:00
Nick Hainke
82c468d257 tools/bc: update to 1.07.1
Changes:
  Fixed ibase extension causing problems for read()
  Fixed parallel make problem.

Remove the "003-bc-fix-hang.patch" because the hang is fixed upstream.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:03:09 +08:00
Nick Hainke
7832ed2e86 tools/bash: update to 5.2
Release Notes:
https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00056.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-23 12:01:46 +08:00
coolsnowwolf
779ed7d9a0 Revert "toolchain: gcc: improve patch handling by introducing major version"
This reverts commit b51a15b3e8.
2022-10-22 23:34:09 +08:00
mk-qi
2a9196062b
iwlwifi: edit package/firmware/linux-firmware/intel.mk for support inter-ax201 (#10303) 2022-10-22 22:23:19 +08:00
lovehackintosh
e19b441cc0
libselinux: sync with upstream (#10300)
Fixes: #10294
2022-10-22 13:31:19 +00:00
lovehackintosh
4fef020048
kernel: bump 6.0 to 6.0.3 (#10299)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-22 13:29:51 +00:00
Albert Xu
6c4e5d7b47
scripts/download.pl: Make the download tool configurable (#10291)
* rules.mk: Move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk

Move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk as it's a better
place than exporting it in the global rules.mk makefile.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

* scripts/download.pl: Make the download tool configurable

Introduce a new option in the "Advanced configuration options" to
configure a custom download tool.

By declaring a string in "Use custom download tool" an user can force
what command to use to download package. With the string empty the
default tool used is curl, with wget as a fallback if not available.

download.pl supports 3 tools officially aria2c, curl and wget.
If one of the tool is used in this config, download.pl will use the
default args to make use of them.

If the provided string is different than aria2c, curl or wget, the command
is used as is and the download url will be appended at the end of such command.

While at it also tweak the tool selection logic and chose the tool only
once when the script is called and move aria2c specific variables in the
relevant section.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

* scripts/download.pl: Pass aria2 config in ENV only

The aria2c command tries to load config from
${XDG_CONFIG_HOME:-${HOME}/.config}/aria2/aria2.conf by default,
which may result unexpected behavior.

As a replacement, people can use environment variable ARIA2C_OPTIONS
to custom arguments passed to aria2c like curl and wget below.
Including --conf-path=/path/to/config.conf in ARIA2C_OPTIONS can
also set a custom config file path easily if needed.

Signed-off-by: Zhang Hua <zhanghuadedn@gmail.com>

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Zhang Hua <zhanghuadedn@gmail.com>
Co-authored-by: Christian Marangi <ansuelsmth@gmail.com>
Co-authored-by: Zhang Hua <zhanghuadedn@gmail.com>
2022-10-21 12:47:28 +08:00
Hugo Yuan
bc34ef9154
rockchip: Add Rongpin King3399 support (#10292) 2022-10-21 12:47:10 +08:00
KumaTea
b0d39f5588
kernel: mtd: add en25qx128a spi nor support 2022-10-21 01:35:17 +08:00
aiamadeus
6ed97d50b6
Merge pull request #10285 from lovehackintosh/sync 2022-10-21 01:28:28 +08:00
Petr Štetiar
9a3a81345b toolchain: musl: disable crypt size hack by default
Enable this option and thus re-include crypt() support for the SHA256,
SHA512 and Blowfish ciphers on all devices. According to commit
9365745f8e7b ("musl: add a hack to remove unused crypt() algorithms,
saves ~14k after lzma") it should add about ~14k to the resulting image,
which seems to be a reasonable size increase for consistent crypt()
support.

Decided to not remove this hack completely as it might be still useful
for people trying to fit custom images onto smaller devices and the
patch is rather simple so we can afford to keep it for now.

References: https://github.com/openwrt/openwrt/pull/1331
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-20 10:38:20 +08:00
Nick Hainke
b51a15b3e8 toolchain: gcc: improve patch handling by introducing major version
Every minor version bump of a major version will result in a huge patch
diff because of the moving of all the patches from version e.g. 11.2.0 to
11.3.0. This commit only use the major version for the patch folders to
differentiate between the different gcc versions. This will significantly
improve the reviewing of the smaller version bump patches and help to see
what really changed in a minor version bump.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-20 10:16:19 +08:00
Paul Spooren
1a60b45162 build: remove GCC9 support
gcc9 was never used within a release and the development branch is
already on version 10, no need to keep this in tree.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Acked-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Rui Salvaterra <rsalvaterra@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
2022-10-20 09:45:21 +08:00
Paul Spooren
5b43ebc046 build: remove GCC7 support
The development branch is now on version 10, we shouldn't drag to many
old versions and therefore drop at least 7.x.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Acked-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Rui Salvaterra <rsalvaterra@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
2022-10-20 09:25:06 +08:00
Felix Fietkau
4bb64420f8 toolchain/binutils: remove old versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-10-20 09:15:16 +08:00
lovehackintosh
3b4c47d068
download.pl: use more Chinese mirrors (#10281)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-19 21:57:49 +08:00
coolsnowwolf
b47dc84523 build: move Build/copy-file to image-commands.mk 2022-10-19 21:57:13 +08:00
coolsnowwolf
06fa03cb43 mt76: add MediaTek Filogic 630 (MT7916) support 2022-10-19 21:06:13 +08:00