Commit Graph

258 Commits

Author SHA1 Message Date
Linus Lüssing
0a150e97d4 openwrt: update tools to LEDE v17.01.6 to fix compile issues
This updates:

* m4
* bison
* e2fsprogs
* make_ext4fs
* mtd-utils
* findutils
* squashfs
* squashfs4
* grub2

to their version used in LEDE v17.01.6. This fixes various compile
errors appearing on Debian Sid.

A list of the patches picked from upstream:

m4:

$ git log --oneline f7e56763e1..HEAD tools/m4
6e78c5502c tools: m4: fix compilation with glibc 2.28
a91d8dd162 tools/m4: update 1.4.18
f19d47f848 tools: patch various gnu tools for macOS 10.13
720b99215d treewide: clean up download hashes

bison:

$ git log --oneline 877f2972d4..HEAD tools/bison
1e09cbf118 tools/bison: Update to 3.0.5
f19d47f848 tools: patch various gnu tools for macOS 10.13
720b99215d treewide: clean up download hashes
5062cff673 tools/bison: update to 3.0.4

e2fsprogs:

$ git log --oneline f7e56763e1..HEAD tools/e2fsprogs/
8f5c55f63e tools/e2fsprogs: update to 1.44.1
d35a7bf4b4 e2fsprogs: bump to 1.44.0
79ac69d9c9 tools/e2fsprogs: Update to 1.43.7
5d9114c9cb tools/e2fsprogs: Update to 1.43.6
7955fab22a tools/e2fsprogs: Update to 1.43.5
866e5b4956 tools/e2fsprogs: Update to 1.43.4
a964738a5c Revert "tools/e2fsprogs: fix building on a glibc 2.27 host"
58a95f0f8f tools/e2fsprogs: fix building on a glibc 2.27 host
720b99215d treewide: clean up download hashes
b8b807b1a9 tools/e2fsprogs: Update to 1.43.3
d635ef50c5 e2fsprogs: fix build problem with very old libmagic
819cf75c40 tools: e2fsprogs: bump to 1.43.1
2baf90a84e tools/e2fsprogs: remove outdated configure args
b7e946f33e tools/e2fsprogs: update to 1.42.13
52ea491bdf tools/e2fsprogs: add a darwin-compat patch

make-ext4fs:

$ git log --oneline 1170a3de76..HEAD tools/make-ext4fs/
c7c1cf5618 treewide: clean up and unify PKG_VERSION for git based downloads
720b99215d treewide: clean up download hashes
9edfe7dd13 source: Switch to xz for packages and tools where possible
95bad62f2a tools: make_ext4fs: switch to LEDE git mirror
98b960c218 tools: make_ext4fs: support creating empty filesystem images
9ec4ca525c tools: make-ext4fs: fix build regression on mac os x
49ad0c565a tools: fix make_ext4fs build with recent glibc
8af9119ff4 tools: make-ext4fs: explicitely request C collation for sorting
01fb448d56 tools/make-ext4fs: prefer static linking

$ git log --oneline 17ae95bb20..HEAD tools/mtd-utils
96dbf59e5a tools/mtd-utils: include sysmacros.h explicitly
018d80007e kernel: remove ubifs xz decompression support
c7c1cf5618 treewide: clean up and unify PKG_VERSION for git based downloads
720b99215d treewide: clean up download hashes
9edfe7dd13 source: Switch to xz for packages and tools where possible
e27c8bb156 update mtd-utils to 1.5.2

$ git log --oneline dd86bc73fb..HEAD tools/findutils
6449ed1553 tools: findutils: fix compilation with glibc 2.28
d2fd6412a6 tools/findutils: include sysmacros.h explicitly
720b99215d treewide: clean up download hashes
70a5c062f1 tools/findutils: Update to 4.6.0

$ git log --oneline f7e56763e1..HEAD tools/squashfs tools/squashfs4
1aedf2f149 tools/squashfs: use host cflags
8a48a53dcb tools/squashfs4: include sysmacros.h explicitly
8406e50df5 tools/squashfs: include sysmacros.h explicitly
720b99215d treewide: clean up download hashes
f97ad870e1 squashfs4: use upstream xz compression header format
d437c72c21 tools/squashfs4: refresh patches
34124de139 tools/squashfs: refresh patches
fd1c1b4918 tools/squashfs: add argument -fixed-time to set all timestamps

$ git log --oneline fcc6f801ca..HEAD package/boot/grub2/
2252731af4 grub2: rebase patches
6aae528cc3 grub2: Fix CVE-2015-8370
6e1e2e7b96 package/grub2: update to 2.02
10182cb2c6 grub2: update to 2.02~rc2
f0e8470aa9 grub2: update to 2.02~rc1
806d3cc2c3 packages: mark packages depending on a target as nonshared
65c8f2890c grub2: upgrade to 2.02-beta3 (3 years newer than previous)
77812cdfec grub2: disable 'check-macro-version' build rule in 'po' build
2b54fa4dff grub2: do not generate mkfonts at build time
b33845b2da grub2: add PKG_FIXUP:=autoreconf
720b99215d treewide: clean up download hashes
3c52cbfa53 Revert "grub2: add PKG_FIXUP:=autoreconf"
a0ea22ac43 grub2: add PKG_FIXUP:=autoreconf
f2752f4735 grub2: add missing SECTION variable and remove non breaking space
d140648622 grub2: move to Boot Loaders category
59e3a4714a grub2: switch back to installing to STAGING_DIR_HOST
9b01282515 grub2: disable stack-protector
25eddec9cb grub2: fix build against musl

$ git log --oneline 81a2f9d6f86
81a2f9d6f8 target/linux/x86/image: add explicit prefix to grub-mkimage command

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2019-04-20 06:04:16 +02:00
Matthias Schiffer
35c9f9aecc
ar71xx: sysupgrade: improve CPE/WBS 210/510 validation, add new metadata offset
Allow upgrades to current CPE210/510 images based on upcoming Gluon master.
2018-04-10 19:22:20 +02:00
Matthias Schiffer
26c55f2819
ar71xx: fix MAC addresses on TP-Link TL-WR1043ND v4 2017-09-11 20:09:11 +02:00
Matthias Schiffer
76753ede0d
automake: import upstream fix for perl 5.26 2017-07-31 00:11:24 +02:00
Matthias Schiffer
f5876ddaf4
prereq: backport changes to git detection to work with newer Git versions 2017-07-30 21:15:31 +02:00
Matthias Schiffer
58b839308a
Backport sysupgrade error handling fixes 2017-07-30 20:57:33 +02:00
Matthias Schiffer
d4a69c0004
Backport staged sysupgrade patches
The staged sysupgrade allows to properly unmount the rootfs before writing
the new partitions. This will fix upgrades losing configuration when
parition sizes change on x86 and similar image types.
2017-06-02 01:56:39 +02:00
Matthias Schiffer
4014e43911
build: cmake: fix backport to use correct prefix for host packages 2017-05-10 10:34:41 +02:00
Matthias Schiffer
14c2aff7c0
quilt: backport relocatablity fixes
Fixes (some of the) issues breaking build using long paths.
2017-05-10 00:39:49 +02:00
Tarnatos
3d4f348f38
ar71xx-generic: backport support for TP-Link TL-WR841ND v12 2017-05-10 00:11:36 +02:00
Matthias Schiffer
b6a22ce793
build: backport patches for build with OpenSSL 1.1 2017-05-10 00:11:21 +02:00
Jan Niehusmann
03fc7b8e97 kernel: udp: properly support MSG_PEEK with truncated buffers (#1097)
Add upstream patch to fix CVE-2016-10229
2017-04-15 22:35:56 +02:00
Jan-Philipp Litza
9a0aeb9b74 netifd: Fix triggering of interface update event
This fixes excessively frequent calls to some init scripts.
2017-03-10 00:23:13 +01:00
Matthias Schiffer
ad37e2b6b4
x86: backport more sysupgrade patches
Should fix sysupgrades on disks with 4k block size.
2017-03-02 15:33:45 +01:00
Matthias Schiffer
9994eebe3e
scripts/download.pl: Use CDN for kernel downloads
Fixes #1059
2017-03-02 12:43:40 +01:00
Matthias Schiffer
41fd50d20b
x86: generalize partition discovery for sysupgrade
Backport a few patches to allow sysupgrades on mmcblk and similar block
devices.
2017-02-18 19:20:24 +01:00
Sven Eckelmann
86b938553d
mac80211: Allow switching of the ath10k regulatory domain (#1001)
ath10k has to switch the regulatory domain when switching the default
country when ATH_USER_REGD is enabled. This is for example important when
switching from country US (FCC) to DE (ETSI). The ath implementation will
use ath_reg_dyn_country_user_allow to check if this is allowed.

Unfortunately, this function always seems to return false to
ath_reg_notifier_apply even when ATH_USER_REGD is enabled. But it must
actually always accept the requests from the user (when ATH_USER_REGD is
enabled) to correctly set the conformance test limits in the ath10k binary
blob.

Not doing it will sometimes allow too high transmit powers on edge channels
for correctly calibrated devices outside their default regulatory domain.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2017-01-09 23:02:51 +01:00
Matthias Schiffer
12fae2d1a2
ar71xx-generic: backport support for TP-LINK TL-WR1043ND v4
Fixes #961
2017-01-06 12:07:34 +01:00
Matthias Schiffer
fdb7303292
Refresh patches 2016-12-20 01:14:04 +01:00
David Lutz
de0595c0c4
ar71xx-generic: add Support for TP-LINK TL-WR940N v4 2016-12-19 15:10:09 +01:00
Matthias Schiffer
1e0bc1b4f3
ar71xx-generic: update support list for CPE210/510/...
Fixes #975
2016-12-12 13:50:18 +01:00
Matthias Schiffer
62f8a7e786
ar71xx: fix LEDs and sysupgrade support for TL-WA801ND v3, remove BROKEN 2016-12-06 19:02:59 +01:00
Sven Eckelmann
9ad10b59e2
openwrt: Remove extra soc check in ath79_gpio_output_select (#965)
The  assignment of the gpio_count and reg_base in ath79_gpio_output_select
takes care that only supported platforms can use ath79_gpio_output_select.
But the rebase of the patches after the last OpenWrt base update
accidentally added an extra check for the SoC which was missing support
soc_is_qca955x().

Boots on QCA955X devices which were using ath79_gpio_output_select stopped
with

    Kernel bug detected[#1]:
    [...]
    Call Trace:
    [<803e6174>] ath79_gpio_output_select+0x30/0xe8
    [<803ed590>] om5p_acv2_setup+0x24/0x200
    [<803e4dc0>] ath79_setup+0x28/0x38
    [<80069ac8>] do_one_initcall+0x148/0x1ec
    [<803e2cc4>] kernel_init_freeable+0x150/0x208
    [<80065218>] kernel_init+0x10/0x114
    [<80060878>] ret_from_kernel_thread+0x14/0x1c

Fixes: a22c1d5670 ("Update OpenWrt base")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2016-12-05 10:43:05 +01:00
Sven Eckelmann
d54c9c5fb7 kernel: add at803x workaround for sgmii mode (#950)
Some (possibly broken) bootloaders incorrectly initialize the at8033 phy.
This breaks auto-negotation on these SGMII devices. The mode has therefore
to be set back in to a valid configuration by Linux.

Fixes #911
2016-11-29 15:30:02 +01:00
Matthias Schiffer
9c0a0898ea
ar71xx, ramips: reduce CPU load and flickering on devices using rsslieds
Fixes #897
2016-11-16 01:55:49 +01:00
Matthias Schiffer
d43147a8e0
ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
Fixes the Ubiquiti UAP Outdoor+ HSR.
2016-11-15 19:30:18 +01:00
Andreas Ziegler
ec35c65d34
x86: add mmc drivers to generic and 64 subtargets 2016-11-14 22:40:07 +01:00
Andreas Ziegler
2592e98e82
x86-64: add pata drivers 2016-11-14 22:40:07 +01:00
Matthias Schiffer
85ddc089ef
ar71xx-generic: backport region code support for TP-Link TL-WR841ND v11 2016-11-11 03:46:45 +01:00
Matthias Schiffer
d472604a43
linux-firmware: switch back to git protocol from https for download
Using HTTPS breaks the download on Debian Wheezy. The switch was an
unintended side effect of the backport from LEDE.

Also, fix the commit message of the backport patch (mwlwifi is not updated
anymore since the last OpenWrt base upgrade).

Fixes #919
2016-11-10 03:31:57 +01:00
Matthias Schiffer
2ed35dae12
ar71xx: fix syntax error in /etc/uci-defaults/01_leds 2016-11-05 04:36:47 +01:00
Matthias Schiffer
1c3d97889a
Update OpenWrt base 2016-11-02 17:37:24 +01:00
Matthias Schiffer
e857bbc5a3
ar71xx-generic: set region code for TL-WA901ND v4 and remove BROKEN
Tested-by: Jannis Pinter <jannis@pinterjann.is>
2016-11-02 17:36:53 +01:00
Matthias Schiffer
8af15f243c
ath9k: remove intermediate queueing patch
The downgraded version of ath9k was reported to cause issues with Windows
clients before. Remove the problematic patch.
2016-11-02 17:36:49 +01:00
Matthias Schiffer
296f0f4cf7
Downgrade mac80211 to LEDE 6c2651566cce8f5b3a3d3b976439dee2bac5e07e
In addition, the temperature compensation support patch is reverted.

It seems that newer mac80211 version are less stable, so we downgrade it
for now.
2016-11-02 17:36:46 +01:00
Matthias Schiffer
1819883d77
kernel: add fix for CVE-2016-7117
This probably doesn't affect Gluon as nothing is using recvmmsg, but it's
still a good idea to get this fixed ASAP.
2016-11-02 17:36:39 +01:00
Matthias Schiffer
a22c1d5670
Update OpenWrt base 2016-11-02 17:36:03 +01:00
Matthias Schiffer
a54e7654cd
mac80211: backport ath9k stability fix 2016-09-30 18:15:26 +02:00
Matthias Schiffer
7153fa3615
ath10k-firmware: add ath10k-firmware-qca988x-11s 2016-09-09 03:01:17 +02:00
Matthias Schiffer
183c35401a
mac80211, hostapd, ...: update to LEDE 42f559ed70897a7b74dd3e6293b42e6d2e511eaa 2016-09-07 05:49:54 +02:00
Matthias Schiffer
639c12b8e2
ar71xx-generic: add support for new TP-Link region codes
Generate flashable images for the Archer C7 v2 with current stock firmware
again.

To set the region code, the GLUON_REGION variable must be set to "us" or
"eu" in site.mk or as a make argument.

Fixes #860
2016-08-28 21:03:56 +02:00
Matthias Schiffer
1c6256907b
ar71xx-generic: add support for TL-WA801ND v3 (untested)
Fixes #800
2016-08-23 00:26:51 +02:00
Matthias Schiffer
b00c1a30c3
dropbear: update to LEDE 277f85c21ae0ede4e15e66cbd801b9fb502531df
Includes a few security updates and enables Curve25519 support.

Fixes #223
2016-08-22 19:23:15 +02:00
Matthias Schiffer
61cde569ad
ar71xx: backport fixes for better CPE210/510 support (again)
This patchset enables the RX LNA for the CPE210/510, improving RX by about
20dB. The profiles for CPE210 and CPE510 is split into two images.

The problematic patch switching the CPE510 to the secondary ART is left
out.
2016-08-22 18:42:33 +02:00
Matthias Schiffer
98557891da
mac80211, hostapd, iw, ...: update to LEDE 27dffa0b0c53a1a817a9a37d1647c7e70672273f 2016-08-09 04:12:28 +02:00
Matthias Schiffer
284c61d98e
mac80211, hostapd, iw, ...: update to LEDE b2ddfbc1c7b935cf931b4c336969b65947270ce9 2016-07-29 21:43:45 +02:00
Matthias Schiffer
66a7542a01
netifd: update to latest version 2016-07-29 21:30:26 +02:00
Matthias Schiffer
3d3eb24a97
ar71xx-generic: backport a few D-Link DIR-505 A1/A2 patches
Fixes #658
2016-07-28 16:33:49 +02:00
Matthias Schiffer
e773f686c9
ar71xx-generic: fix BOARDNAME for UAP AC Lite
Caused by a broken backport.

Fixes #689
2016-07-27 05:37:23 +02:00
Matthias Schiffer
fd80c4ea4b
netifd: fix broken download URL 2016-07-27 05:36:21 +02:00