openwrt/staging/jow.git
5 years agomac80211: Use @KERNEL alias instead of hardlink
Daniel Engberg [Fri, 5 Oct 2018 06:31:56 +0000 (08:31 +0200)]
mac80211: Use @KERNEL alias instead of hardlink

Use @KERNEL alias provided by toolchain instead of relying on a specific site.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from 6e6e7adc8cf70aa8d4f4efb13728960e992d016c)

5 years agobinutils: Use 2.31.1 by default
Daniel Engberg [Fri, 17 Aug 2018 21:40:29 +0000 (23:40 +0200)]
binutils: Use 2.31.1 by default

Set binutils 2.31.1 as default

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from fface27db82e7926c86a6b15746446f633d533f3)

5 years agotoolchain/binutils: Fix u-boot on some armhf platforms
Daniel Engberg [Sat, 6 Oct 2018 10:55:02 +0000 (12:55 +0200)]
toolchain/binutils: Fix u-boot on some armhf platforms

Backport commit 3d9c8f6b3f033a6092425b7344647fb51dbed5c6
Without this binutils doesn't properly link u-boot

Source:
https://sourceware.org/bugzilla/show_bug.cgi?id=23571

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from 754a08e8d918da17d429d40b54035cc600afb45a)

5 years agotools/cmake: Update to 3.12.3
Daniel Engberg [Sat, 6 Oct 2018 10:37:22 +0000 (12:37 +0200)]
tools/cmake: Update to 3.12.3

Update CMake to 3.12.3

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from f6159c1e37429b6505094cfd4b6c09f4634fea38)

5 years agotools/bison: Update to 3.1
Daniel Engberg [Sat, 6 Oct 2018 10:41:52 +0000 (12:41 +0200)]
tools/bison: Update to 3.1

Update bison to 3.1

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from 9efd0cb403f68bd728a40e069a7d04b623f469e6)

5 years agotoolchain/fortify-headers: Update to 1.0
Daniel Engberg [Sat, 6 Oct 2018 10:39:51 +0000 (12:39 +0200)]
toolchain/fortify-headers: Update to 1.0

Update fortify-headers to 1.0

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from 969d052e960c8d52425442c583003eac3f9f26f6)

5 years agotools/libressl: Update to 2.8.1
Daniel Engberg [Sat, 6 Oct 2018 10:44:04 +0000 (12:44 +0200)]
tools/libressl: Update to 2.8.1

Update libressl to 2.8.1

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from 6bdc6cdd044eea221efbdf0250313415526b3593)

5 years agotools/mtools: Update to 4.0.19
Daniel Engberg [Sat, 6 Oct 2018 10:47:46 +0000 (12:47 +0200)]
tools/mtools: Update to 4.0.19

Update mtools to 4.0.19

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from 7808ba86eafdae923464f6080f9a2076e8fbf87a)

5 years agomac80211: move marvell packaging code to marvell.mk
Felix Fietkau [Sat, 29 Sep 2018 18:13:55 +0000 (20:13 +0200)]
mac80211: move marvell packaging code to marvell.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 502bcd93fe3308e9dff39c5941606fc64807d46d)

5 years agomac80211: move intel packaging code to intel.mk
Felix Fietkau [Sat, 29 Sep 2018 18:10:23 +0000 (20:10 +0200)]
mac80211: move intel packaging code to intel.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 2804a7f13e119d337d84047ca2ac6577ab814406)

5 years agomac80211: move realtek packaging code to realtek.mk
Felix Fietkau [Sat, 29 Sep 2018 18:07:06 +0000 (20:07 +0200)]
mac80211: move realtek packaging code to realtek.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 1f14ac9a0c93353c14b4d48e0bda498728c53117)

5 years agomac80211: move broadcom packaging code to broadcom.mk
Felix Fietkau [Sat, 29 Sep 2018 18:02:28 +0000 (20:02 +0200)]
mac80211: move broadcom packaging code to broadcom.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 7f984dab1c5238f54751c6d42599606464c92cdc)

5 years agomac80211: move atheros/qca packaging code to ath.mk
Felix Fietkau [Sat, 29 Sep 2018 17:56:26 +0000 (19:56 +0200)]
mac80211: move atheros/qca packaging code to ath.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from bde8ddf1ade3231d59b156fbabb19a0e63ebf008)

5 years agomac80211: move rt2x00 packaging code to ralink.mk
Felix Fietkau [Sat, 29 Sep 2018 17:47:41 +0000 (19:47 +0200)]
mac80211: move rt2x00 packaging code to ralink.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from ece90fc9df74ab4ef2a3fbc10bcd955f0212619a)

5 years agomac80211: remove duplicated lines for building packages, use PKG_DRIVERS instead
Felix Fietkau [Sat, 29 Sep 2018 17:44:16 +0000 (19:44 +0200)]
mac80211: remove duplicated lines for building packages, use PKG_DRIVERS instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from fe6606c7ba82901fe081ca46d022efa3b9835ddc)

5 years agopackage/lldp: don't link against libbsd on !USE_GLIBC builds
Alexander Couzens [Tue, 4 Sep 2018 01:10:24 +0000 (03:10 +0200)]
package/lldp: don't link against libbsd on !USE_GLIBC builds

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
(backported from 6ef1c978ba7676516c49439a248564e9a1d8dfc2)

5 years agoar71xx: fix pci irq init on kernel 4.14
Koen Vandeputte [Thu, 4 Oct 2018 13:12:27 +0000 (15:12 +0200)]
ar71xx: fix pci irq init on kernel 4.14

The IRQ init structs are marked as __initconst which
means this memory can be free after init.

On this platform, the PCI IRQ init happens very late _after_ the
kernel already freed the memory allocated for these structs.

During IRQ allocation, the allocation function is passed
with invalid data at this point leading to following error:

[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    2.382828] Freeing unused kernel memory: 264K
[   34.414816] pci 0000:00:00.0: no irq found for pin 1

and

[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    2.125401] Freeing unused kernel memory: 284K
[    9.526479] pci 0000:00:00.0: no irq found for pin 1

After this patch:

[   14.960814] pci 0000:00:00.0: using irq 40 for pin 1

Commit 318e19ba6755 ("ar71xx: add v4.14 support") fixed this for the
default targets already present in the source by default but forgot
to remove the __initconst attribute for targets QCA953x and QCA956x
which are only added later through platform patches.

Fixes: 318e19ba6755 ("ar71xx: add v4.14 support")
Reported-by: Sven Schönhoff <sven.schoenhoff@gmail.com>
Reported-by: Dirk Brenken <dev@brenken.org>
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Dirk Brenken <dev@brenken.org>
(backported from 3b53d6fdbc241173b4264aa49142ba94d406a806)

5 years agosunxi: Turn on CONFIG_SUN4I_A10_CCU for A20
Florian Fainelli [Wed, 3 Oct 2018 03:40:26 +0000 (20:40 -0700)]
sunxi: Turn on CONFIG_SUN4I_A10_CCU for A20

CONFIG_SUN4I_A10_CCU controls both the A10 and the A20 enabling of the
CCU (LCCF) driver, this will be necessary once we move beyond kernel
4.14 because 4.15 has commit f18698e1c66338b902de386e4ad97b8b1b9d999d
("ARM: dts: sun7i: Convert to CCU") which requires this driver.

Fixes: ad2b3bf310f7 ("sunxi: Add support for kernel 4.14")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
(backported from 2cc821e7edeafecc57ed9f3be46af4c322d58560)

5 years agostrace: add option to enable libdw stack tracing
Stijn Tintel [Tue, 2 Oct 2018 16:55:11 +0000 (19:55 +0300)]
strace: add option to enable libdw stack tracing

Fixes build with CONFIG_libdw=y.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(backported from 7378ca79b9ecc30ddfbe6d965707f1e4f5ebf792)

5 years agouml: update to linux 4.14
Felix Fietkau [Sat, 29 Sep 2018 16:04:39 +0000 (18:04 +0200)]
uml: update to linux 4.14

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 6bf3a86ed632274b9f4078e7ef1aa14667405004)

5 years agox86: remove linux 4.9 support
Felix Fietkau [Sat, 29 Sep 2018 16:08:15 +0000 (18:08 +0200)]
x86: remove linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 911cacfc35e0861f2ad3f9e9420fbf5ca7d3160e)

5 years agoomap: remove linux 4.9 support
Felix Fietkau [Sat, 29 Sep 2018 16:07:56 +0000 (18:07 +0200)]
omap: remove linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 210531d8df56b5100633348d0944975ee242a7a1)

5 years agoocteon: remove linux 4.9 support
Felix Fietkau [Sat, 29 Sep 2018 16:07:33 +0000 (18:07 +0200)]
octeon: remove linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 6ce13b87eb80739a3b8c8e2aec791f0eb71c563d)

5 years agomalta: remove linux 4.9 support
Felix Fietkau [Sat, 29 Sep 2018 16:07:08 +0000 (18:07 +0200)]
malta: remove linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from b7dfc59e63292dce7bfc2d897c1bd47534ef69c2)

5 years agokirkwood: remove linux 4.9 support
Felix Fietkau [Sat, 29 Sep 2018 16:06:52 +0000 (18:06 +0200)]
kirkwood: remove linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from f445953d9f7950ba40af39d3c0b6ead233db8511)

5 years agobrcm47xx: remove linux 4.9 support
Felix Fietkau [Sat, 29 Sep 2018 16:06:08 +0000 (18:06 +0200)]
brcm47xx: remove linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from fd686dfca3ba7ce8badb65c64933db6ef76ff0b6)

5 years agoarmvirt: remove linux 4.9 support
Felix Fietkau [Sat, 29 Sep 2018 16:05:26 +0000 (18:05 +0200)]
armvirt: remove linux 4.9 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from b7dd438f66253cc49fa8b0b3434d5ef50fffbb7c)

5 years agohostapd: add acs feature indication
Enrique Giraldo [Tue, 18 Sep 2018 11:52:08 +0000 (13:52 +0200)]
hostapd: add acs feature indication

Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
(backported from 61454a0a8cd595059efa21357ee6ff4134697e61)

5 years agolayerscape: fix Ethernet/DPAA/FMAN on Traverse boards after DTS refresh
Mathew McBride [Wed, 26 Sep 2018 12:21:22 +0000 (12:21 +0000)]
layerscape: fix Ethernet/DPAA/FMAN on Traverse boards after DTS refresh

Patch 303 is required for Traverse LS1043 targets when using the NXP DPAA1 driver.
The recent refresh of 4.9 patches on layerscape changed how FMan/BMan memory regions
were defined and meant Ethernet stopped working on these boards.

(Note that these definitions are only required for NXP's Ethernet driver, the new
upstream driver in >=4.15 works using the DTS provided in files/)

Signed-off-by: Mathew McBride <matt@traverse.com.au>
(backported from 33f47c28c6e881936f1b8dbd200b4b5724738bd0)

5 years agobase-files: make it possible to specify switch led mode
Christian Lamparter [Fri, 21 Sep 2018 22:38:40 +0000 (00:38 +0200)]
base-files: make it possible to specify switch led mode

The swconfig switch led driver has the ability to switch
between a "link, rx and/or tx" mode. However, this feature
was not implemented in uci, the led init script and
config_generate.

This patch adds a seventh parameter to the
ucidef_set_led_switch() function. The accepted values for
this parameter are: link, rx and tx.
Any permutations of these three values are supported, as
long as they are properly encased with quotes.
If the parameter is not specified it will default to "all"
(link rx tx).

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from 641dc50164d30d4962499e1974fafde9b337faaf)

5 years agoapm821xx: fix dtc compiler warnings for MX60(W) and MR24's dts files
Christian Lamparter [Fri, 21 Sep 2018 22:38:39 +0000 (00:38 +0200)]
apm821xx: fix dtc compiler warnings for MX60(W) and MR24's dts files

This patch fixes some of the dtc warnings:

MR24:
"reg" property in [...]mdio/phy@1 has invalid length (4 bytes)
Node [...]button@1 has a unit name, but no reg property
Relying on default #address-cells value for [...]phy@1
Relying on default #size-cells value for [...]phy@1

MX60(W):
Node [..]nand/all has a reg or ranges property, but no unit name
Node [..]button@1 has a unit name, but no reg property

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from c417aee9f146f26cd12642138bc0cedf5950a59a)

5 years agoapm821xx: remove wd, mybooklive-duo leftovers
Christian Lamparter [Fri, 21 Sep 2018 22:38:38 +0000 (00:38 +0200)]
apm821xx: remove wd, mybooklive-duo leftovers

The unification of the My Book Live Single and duo image in
commit 9b47aa93c76b ("apm821xx: unify My Book Live Single + Duo images")
made the wd,mybooklive-duo obsolete in most places and can
be removed.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from 2a926b1a0ad38d49198e0b272aa3283a618dd603)

5 years agotreewide: replace 'linux, stdout-path' with 'stdout-path'
Christian Lamparter [Fri, 21 Sep 2018 22:38:37 +0000 (00:38 +0200)]
treewide: replace 'linux, stdout-path' with 'stdout-path'

This follows a similar upstream patch by Rob Herring:

|commit 78e5dfea84dc15d69940831b3981b3014d17222e
|Author: Rob Herring <robh@kernel.org>
|Date:   Wed Feb 28 16:44:06 2018 -0600
|    powerpc: dts: replace 'linux,stdout-path' with 'stdout-path'
|
|    'linux,stdout-path' has been deprecated for some time in favor of
|    'stdout-path'. Now dtc will warn on occurrences of 'linux,stdout-path'.
|    Search and replace all the of occurrences with 'stdout-path'.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from 63a7cf67912a9fa7ad4790a13e88aad8c3fb3ba9)

5 years agosunxi: fix build without ext4 rootfs
Andre Heider [Mon, 24 Sep 2018 13:53:25 +0000 (15:53 +0200)]
sunxi: fix build without ext4 rootfs

The sdcard image generation uses CONFIG_TARGET_ROOTFS_PARTSIZE, which is
currently bound to TARGET_ROOTFS_EXT4FS on this target.

Since the rootfs is squashfs anyway, allow deselecting of the ext4fs
one.

Sort the target list alphabetically while here.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(backported from 7b76219e157ba3aafa7bcdcac2dd7fef9e9623d9)

5 years agosunxi: enable CONFIG_BPF_SYSCALL and CONFIG_EMBEDDED
Hauke Mehrtens [Sat, 29 Sep 2018 11:32:22 +0000 (13:32 +0200)]
sunxi: enable CONFIG_BPF_SYSCALL and CONFIG_EMBEDDED

This takes the options from the generic configuration

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 247ef4d98bab16a55b046b41e5974234b71e076d)

5 years agosamsung: Remove unneeded config options
Hauke Mehrtens [Sat, 29 Sep 2018 11:20:34 +0000 (13:20 +0200)]
samsung: Remove unneeded config options

The samsung target deactivates some options which are activated in the
generic kernel configuration. This looks unnecessary to me, so remove
this. This also fixes build problem found by build bot, for example the
kmod-fs-nfs-v3 was not building, because CONFIG_NETWORK_FILESYSTEMS was
deactivated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 0214166b317a650779a00557ec86129570552860)

5 years agosamsung: Add missing dependencies to kmod-of-mdio
Hauke Mehrtens [Sat, 29 Sep 2018 11:19:15 +0000 (13:19 +0200)]
samsung: Add missing dependencies to kmod-of-mdio

The samsung target builds of_mdio.ko as a module, add the needed
dependency to it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 3404c5978ad72f42074522c25cda1c1088255a39)

5 years agomac80211: fix management frame protection issue with mt76 (and possibly other drivers)
Felix Fietkau [Sat, 29 Sep 2018 14:05:12 +0000 (16:05 +0200)]
mac80211: fix management frame protection issue with mt76 (and possibly other drivers)

Software crypto wasn't working for management frames because the flag
indicating management frame crypto was missing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 93db9a65dad5ba1f98c2ff2fc1b716c9d3e9a725)

5 years agoutil-linux: add eject support
Rosy Song [Mon, 24 Sep 2018 02:48:12 +0000 (10:48 +0800)]
util-linux: add eject support

Signed-off-by: Rosy Song <rosysong@rosinson.com>
(backported from fcfb9e4ded51dbba4be33562b73c94f5fd8f1fdc)

5 years agoath10k-ct: fix bandwidth conversion bug
Hauke Mehrtens [Fri, 28 Sep 2018 21:03:32 +0000 (23:03 +0200)]
ath10k-ct: fix bandwidth conversion bug

This backports a patch from the upstream kernel which was also shipped
previously in mac80211.
This fixes the following warning:
WARNING: CPU: 0 PID: 2881 at backports-4.19-rc5-1/net/wireless/util.c:1146 cfg80211_calculate_bitrate+0x238/0x348 [cfg80211]
invalid rate bw=2, mcs=0, nss=1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from b47a9cd4ba699342f7a74bf104dd65f4ca59e7ed)

5 years agoath10k-ct: adds leds support
Ansuel Smith [Fri, 28 Sep 2018 00:24:58 +0000 (02:24 +0200)]
ath10k-ct: adds leds support

This rework and adds patch from ath10k source to make leds work also on candela source

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(backported from 39a96205474fa82e37d756399fde01d2964d3125)

5 years agolayerscape: armv7: activate USB support.
Hauke Mehrtens [Fri, 28 Sep 2018 19:42:09 +0000 (21:42 +0200)]
layerscape: armv7: activate USB support.

The feature flags say that this target supports USB so packages
depending on USB are being build, but actually the kernel configuration
misses USB support. It looks like this SoC supports USB, so activate it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 3f7f27892ee2072b0374555fc7cb2a4a4fce702b)

5 years agomac80211: fix ipw200 build with kernel < 4.10
Hauke Mehrtens [Fri, 28 Sep 2018 19:40:11 +0000 (21:40 +0200)]
mac80211: fix ipw200 build with kernel < 4.10

The __change_mtu() function is only compiled when
CPTCFG_IPW2200_PROMISCUOUS is set, more it to the general area.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 92a96dd66232953482478b317f857f9475d85e50)

5 years agolayerscape: kmod-ppfe: Fix kernel options
Hauke Mehrtens [Thu, 27 Sep 2018 20:44:25 +0000 (22:44 +0200)]
layerscape: kmod-ppfe: Fix kernel options

The CONFIG_FSL_PPFE and the CONFIG_FSL_PPFE_UTIL_DISABLED are boolean,
so they should be selected with an =y in OpenWrt, otherwise OpenWrt will
select them as =m. These options will make pfe.ko being build as a
module even if this is boolean.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from d8274451cb86021107b5efd99694857f869ae6a1)

5 years agokernel: Add missing config options for layerscape armv7 target
Hauke Mehrtens [Thu, 27 Sep 2018 20:46:49 +0000 (22:46 +0200)]
kernel: Add missing config options for layerscape armv7 target

This adds some configuration options which are selectable when the
layerscape armv7 target is compiled.
This was found by build bot.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 7cc2a6c6be4d3dbb3467f184844db282fc30e2e1)

5 years agokernel: Add missing config options for samsung target
Hauke Mehrtens [Thu, 27 Sep 2018 20:42:16 +0000 (22:42 +0200)]
kernel: Add missing config options for samsung target

This adds some configuration options which are selectable when the
samsung target is compiled.
This was found by build bot.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from a3c80e855c1ed0e6c7972585279c101a4523f0aa)

5 years agomac80211: fix selecting of ath10k -ct firmware
Hauke Mehrtens [Wed, 26 Sep 2018 19:30:59 +0000 (21:30 +0200)]
mac80211: fix selecting of ath10k -ct firmware

There is not firmware file with -ct-ct postfix, remove one -ct.

Fixes: 61b5b4971e7d ("mac80211: make ath10k-ct the default ath10k")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 3fa7e62cec16393d09a914e3c36a14df8353c608)

5 years agomac80211: Use backports-4.19-rc5-1.tar.xz
Hauke Mehrtens [Tue, 25 Sep 2018 20:35:17 +0000 (22:35 +0200)]
mac80211: Use backports-4.19-rc5-1.tar.xz

This is an official release with some minor changes compared to the
unofficial 4.19-rc4-1 we used before.
* added bcma and ssb again, which is removed in OpenWrt
* fix to build with kernel 4.19
* other minor fixes not relevant for Openwrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 2a64c7ea74f03466896626bd6cc70c8bdae6fd81)

5 years agoramips: fix power LED DTB for wt3020
Emil Muratov [Fri, 14 Sep 2018 09:12:32 +0000 (12:12 +0300)]
ramips: fix power LED DTB for wt3020

Since c134210 power LED is no longer lights after boot-up.
Reversing gpio polarity makes it work as it should be.

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
(backported from 8e6bc1a5beec6a9829ad77e0b8ace2ab106772ee)

5 years agoath10k-ct: update to version ath10k-4.16
Hauke Mehrtens [Sun, 23 Sep 2018 18:15:52 +0000 (20:15 +0200)]
ath10k-ct: update to version ath10k-4.16

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from c662299bf98b6214628168379edd642f1b942b98)

5 years agoiw: update nl80211.h
Hauke Mehrtens [Sun, 23 Sep 2018 17:28:48 +0000 (19:28 +0200)]
iw: update nl80211.h

Now this file matches the version in backports.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 02e7fa6f8ac11b379b931d9d2089f1be91274afb)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: fix compile warning in 986-rt2x00-add-TX-LOFT-calibration.patch
Hauke Mehrtens [Sun, 23 Sep 2018 17:10:22 +0000 (19:10 +0200)]
mac80211: fix compile warning in 986-rt2x00-add-TX-LOFT-calibration.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from 4fcbad1aa093413bbe404163e0bbe5b29f6c125a)

5 years agomac80211: Add patches which were added later
Hauke Mehrtens [Sun, 23 Sep 2018 16:48:09 +0000 (18:48 +0200)]
mac80211: Add patches which were added later

These patches were added after the new matches structure for the
mac80211 package was created. All the deleted patches are already
integrated in kernel 4.19-rc4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from ec684ce193be84b3c2a25f6a3cfcc91bf3d75bfd)

5 years agomac80211: update to version based on 4.19-rc4
Hauke Mehrtens [Sun, 23 Sep 2018 16:02:35 +0000 (18:02 +0200)]
mac80211: update to version based on 4.19-rc4

This updates mac80211 to backports based on kernel 4.19-rc4.

I plan to integrate all the patches which are in this tar into upstream
backports soon.

I used the backports generated from this code:
https://github.com/hauke/backports/commits/wip2

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from db90c243a0b9bd72fc691cd09e58a96ac2a452cf)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: make ath10k-ct the default ath10k
John Crispin [Wed, 5 Sep 2018 12:51:44 +0000 (14:51 +0200)]
mac80211: make ath10k-ct the default ath10k

We select ath10k-ct by default, but it is still possible to build
the upstream version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John Crispin <john@phrozen.org>
(backported from 61b5b4971e7d6aab6b0695997c3b5aaf73c53b5f)

5 years agomac80211: rt2x00: add experimental patches from Stanislaw Gruszka
Daniel Golle [Wed, 15 Aug 2018 14:02:18 +0000 (16:02 +0200)]
mac80211: rt2x00: add experimental patches from Stanislaw Gruszka

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(backported from de1c58a64bd66319e770d2587da07d8c9c90174a)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: rt2x00: remove obsolete patch
Daniel Golle [Wed, 15 Aug 2018 13:22:43 +0000 (15:22 +0200)]
mac80211: rt2x00: remove obsolete patch

According to Stanislaw Gruszka the patch
    600-23-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch
should be dropped.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(backported from c837c41a768ddd6f3d028fe480dd972b40389b2a)

5 years agomac80211: rt2x00: add TX LOFT calibration
Tomislav Požega [Thu, 11 Jan 2018 18:53:49 +0000 (19:53 +0100)]
mac80211: rt2x00: add TX LOFT calibration

Add TX LOFT calibration from mtk driver.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
(backported from d449233fd2b5efaa7ab086eda656fc7f962cf3b4)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: rt2x00: add RXIQ calibration
Tomislav Požega [Mon, 8 Jan 2018 12:43:56 +0000 (13:43 +0100)]
mac80211: rt2x00: add RXIQ calibration

Add RXIQ calibration found in mtk driver. With old openwrt builds this gets us ~8Mbps more of RX bandwidth (test with iPA/eLNA layout).
Please try if this makes any difference among various board/RF layouts.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
(backported from 5d1620f29c9180881ed1c0c7b79e476cc98fd7dd)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: rt2x00: add RXDCOC calibration
Tomislav Požega [Mon, 8 Jan 2018 12:43:37 +0000 (13:43 +0100)]
mac80211: rt2x00: add RXDCOC calibration

Add RXDCOC calibration code from mtk driver. Please try if this makes any difference among various board/RF layouts.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
(backported from e125b6abb2362cabacfc42b3343cdcc4b0453603)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: rt2x00: add r calibration
Tomislav Požega [Mon, 8 Jan 2018 12:42:58 +0000 (13:42 +0100)]
mac80211: rt2x00: add r calibration

Add r calibration code as found in mtk driver.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
(backported from 061541f207b0bad605cdd4d0e5aa23a9571b0770)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: rt2x00: add RF self TXDC calibration
Tomislav Požega [Mon, 8 Jan 2018 12:42:27 +0000 (13:42 +0100)]
mac80211: rt2x00: add RF self TXDC calibration

Add TX self calibration based on mtk driver.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
(backported from 66929e34146159aafa01fdef2626c5584ea86139)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomac80211: rt2x00: write registers required for reducing power consumption
Tomislav Požega [Wed, 23 Aug 2017 17:10:21 +0000 (19:10 +0200)]
mac80211: rt2x00: write registers required for reducing power consumption

Write registers required for reducing power consumption like the vendor
driver does when ADJUST_POWER_CONSUMPTION_SUPPORT is set.
This helps devices to sync at better TX/RX rates and improves overall
performance.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[daniel@makrotopia.org: edited commit message]
(backported from 6044682b83a08618a4d8f6791503e0cec5b9fbe5)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agolinux-firmware: set PKG_MIRROR_HASH
Daniel Golle [Thu, 16 Aug 2018 15:03:36 +0000 (17:03 +0200)]
linux-firmware: set PKG_MIRROR_HASH

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(backported from b88df4a7c8f260867f3213fc3baaa4b509d449bf)

5 years agolinux-firmware: add ath10k support
John Crispin [Fri, 3 Aug 2018 12:16:47 +0000 (14:16 +0200)]
linux-firmware: add ath10k support

Signed-off-by: John Crispin <john@phrozen.org>
(backported from 0a1faecdb5a7d5fa80a7c0ffe67e8a105c65233c)

5 years agoath10k-firmware: disable the package and use default linux-firmware package
John Crispin [Fri, 3 Aug 2018 11:59:40 +0000 (13:59 +0200)]
ath10k-firmware: disable the package and use default linux-firmware package

Signed-off-by: John Crispin <john@phrozen.org>
(backported from 9860cdda76797b0d9dc24795c39b307589589f4c)

5 years agomac80211: rebase ontop of v4.18.5
John Crispin [Thu, 2 Aug 2018 06:44:29 +0000 (08:44 +0200)]
mac80211: rebase ontop of v4.18.5

Signed-off-by: John Crispin <john@phrozen.org>
(backported from d9eefa7a7031543571d434693c7f984dfbdc990d)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agokernel: netfilter: add IPVS kernel module support
Mauro Mozzarelli [Mon, 2 Oct 2017 18:09:09 +0000 (19:09 +0100)]
kernel: netfilter: add IPVS kernel module support

IPVS (IP Virtual Server) implements transport-layer load balancing inside
the Linux kernel, so called Layer-4 switching. IPVS running on a host acts
as a load balancer at the front of a cluster of real servers, it can direct
requests for TCP/UDP based services to the real servers, and makes services
of the real servers to appear as a virtual service on a single IP address.

This change adds the following kmod packages
- kmod-nf-ipvs
- kmod-nf-ipvs-ftp
- kmod-nf-ipvs-sip

Signed-off-by: Mauro Mozzarelli <mauro@ezplanet.org>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(backported from 9f105ce8c8ec66c1fbb808fb04afb361513950ee)

5 years agobusybox: fix dependency for IPV6
Rosy Song [Sat, 22 Sep 2018 13:15:40 +0000 (21:15 +0800)]
busybox: fix dependency for IPV6

Signed-off-by: Rosy Song <rosysong@rosinson.com>
(backported from 9f0cb135dd4078f4df89978abb0f96326133da2c)

5 years agolayerscape: build ls-dpl package with linux dtc tool
Yangbo Lu [Thu, 6 Sep 2018 05:30:32 +0000 (13:30 +0800)]
layerscape: build ls-dpl package with linux dtc tool

Building ls-dpl package requires the dtc tool. This patch
is to support using linux dtc tool for ls-dpl package.
This avoids compile issue when host system doesn't have
the dtc tool.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 87d7a596eca7809a7845d507fd32d0e52230f11e)

5 years agolayerscape: fix get_device_file() function of restool
Yangbo Lu [Wed, 1 Aug 2018 02:41:11 +0000 (10:41 +0800)]
layerscape: fix get_device_file() function of restool

The restool failed to work with current gcc-7.3.0-musl.
This patch is to add a restool fix-up patch to fix
multiple problems encountered in the get_device_file()
function:
 - The deprecated atoi() function is replaced by strtoul
 - An invalid memory access was being performed by using
 memory from dir->d_name even after closedir(). This is
 fixed by a strdup() on the device filename.
 - Also, error prints now print any relevant error code.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from db30adc9312bd0c42830af60ddf2ca398494c265)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agolayerscape: update README for SD card boot and new devices
Yangbo Lu [Mon, 23 Jul 2018 08:48:48 +0000 (16:48 +0800)]
layerscape: update README for SD card boot and new devices

This patch is to update the README since SD card boot support
and LS1012AFRWY/LS1021ATWR were introduced.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 0f44c7c8d190924c22420638f87cca0ea148d587)

5 years agolayerscape: add ls1012afrwy support and drop ls1012afrdm
Yangbo Lu [Wed, 18 Jul 2018 08:56:07 +0000 (16:56 +0800)]
layerscape: add ls1012afrwy support and drop ls1012afrdm

ls1012afrdm was no longer supported in NXP Layerscape SDK.
Instead a new board ls1012afrwy was introduced in LSDK.
This patch is to drop ls1012afrdm and add ls1012afrwy support.
Since only 2MB NOR flash could be used, we just put u-boot
and firmware on NOR flash, and put kernel/dtb/rootfs on SD
card.

The Layerscape FRWY-LS1012A board is an ultra-low-cost
development platform for LS1012A Series Communication
Processors built on Arm Cortex-A53. This tool refines the
FRDM-LS1012A with more features for a better hands-on experience
for IoT, edge computing, and various advanced embedded
applications. Features include easy access to processor I/O,
low-power operation, micro SD card storage, an M2 connector, a
small form factor, and expansion board options via mikroBUS Click
Module. The MicroBUS Module provides easy expansion via hundreds
of powerful modules supporting sensors, actuators, memories,
and displays.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 7016dd48f164364e1ee7b9d86169375691f7be0d)

5 years agolayerscape: add SD card boot support
Yangbo Lu [Wed, 18 Jul 2018 06:14:40 +0000 (14:14 +0800)]
layerscape: add SD card boot support

NOR/QSPI Flash on Layerscape board only has limited 64MB memory size.
Since some boards (ls1043ardb/ls1046ardb/ls1088ardb/ls1021atwr)
could support SD card boot, we added SD boot support for them to put
all things on SD card to meet large memory requirement.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from eb684205e5e6958ad71cf4a179fa776f6507f7e3)

5 years agolayerscape: add armv7 subtarget and ls1021atwr board support
Yangbo Lu [Tue, 10 Jul 2018 03:58:59 +0000 (11:58 +0800)]
layerscape: add armv7 subtarget and ls1021atwr board support

The NXP TWR-LS1021A module is a development system based
on the QorIQ LS1021A processor.
- This feature-rich, high-performance processor module can
  be used standalone or as part of an assembled Tower System
  development platform.
- Incorporating dual Arm Cortex-A7 cores running up to 1 GHz,
  the TWR-LS1021A delivers an outstanding level of performance.
- The TWR-LS1021A offers HDMI, SATA3 and USB3 connectors as
  well as a complete Linux software developer's package.
- The module provides a comprehensive level of security that
  includes support for secure boot, Trust Architecture and
  tamper detection in both standby and active power modes,
  safeguarding the device from manufacture to deployment.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from f0ec7bd27d206ea0eb9587e178ce0d7ddc006bce)

5 years agolayerscape: split image makefile per subtarget
Yangbo Lu [Wed, 15 Aug 2018 08:41:41 +0000 (16:41 +0800)]
layerscape: split image makefile per subtarget

This patch is to split image makefile per subtarget.
The ARMv7 subtarget will be added in the future.
It will be not convinient if only one makefile is used
for several subtargets management and future development.
This patch also dropped 32-bit Traverse LS1043-S since
Traverse only intended to support 64-bit and the 32-bit
compile now had an issue.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 0d95eb2cce62102a849e8c9552c30dfee3fe6189)

5 years agolayerscape: define ls-append function
Yangbo Lu [Mon, 9 Jul 2018 10:38:10 +0000 (18:38 +0800)]
layerscape: define ls-append function

This patch is to define a ls-append function for
each device to reuse it for image appending.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 82dd7f7da2b977eca0050ea7500a830252ea1abe)

5 years agolayerscape: update linux 4.9 patches to LSDK-18.06
Yangbo Lu [Wed, 15 Aug 2018 08:08:53 +0000 (16:08 +0800)]
layerscape: update linux 4.9 patches to LSDK-18.06

This patch is to update linux 4.9 patches to LSDK-18.06
release and to adjust config-4.9 accordingly.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from a83eae385ab72c895e9af898a6fc392f05fe9728)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agolayerscape: add u-boot environment support for OpenWrt boot
Yangbo Lu [Tue, 17 Jul 2018 09:42:47 +0000 (17:42 +0800)]
layerscape: add u-boot environment support for OpenWrt boot

This patch is to implement u-boot environment txt files
to support OpenWrt boot for all layerscape devices.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from ad1dbc0ca304686a7f826528e674620791f34584)

5 years agolayerscape: update u-boot to LSDK-18.06
Yangbo Lu [Wed, 4 Jul 2018 04:20:41 +0000 (12:20 +0800)]
layerscape: update u-boot to LSDK-18.06

The u-boot source code had been migrated to codeaurora
for LSDK-18.06 release and the future release. This
patch is to update u-boot to LSDK-18.06 for both
uboot-layerscape and uboot-layerscape-armv8_32b packages.
Besides, this patch also introduced some other changes.
- Reworked uboot-layerscape makefile to make it more
  readable.
- Define package in uboot-layerscape-armv8_32b for each board.
- Fixed u-boot package selection in target image makefile.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from dcf57c766acc5224e05f62cf5fae2d965abace59)

5 years agolayerscape: drop uboot-layerscape patches
Yangbo Lu [Mon, 16 Jul 2018 08:59:48 +0000 (16:59 +0800)]
layerscape: drop uboot-layerscape patches

Dropped uboot-layerscape patches which were environemnt patches.
We will make u-boot environment binaries with a txt file for all
devices.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from e83faa3d7d5cd8fe8753e86bd25e04fd61b70490)

5 years agolayerscape: update restool to LSDK-18.06
Yangbo Lu [Tue, 3 Jul 2018 06:17:08 +0000 (14:17 +0800)]
layerscape: update restool to LSDK-18.06

The restool source code had been migrated to codeaurora
for LSDK-18.06 release and the future release. This patch
is to update restool to LSDK-18.06 release.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 5c325c2b63937992fba32888ebcd2fd912f29864)

5 years agolayerscape: update ls-ppa to LSDK-18.06
Yangbo Lu [Tue, 3 Jul 2018 06:58:01 +0000 (14:58 +0800)]
layerscape: update ls-ppa to LSDK-18.06

This patch is to update ls-ppa to LSDK-18.06 release
and to rework ls-ppa makefile to make it more readable.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 32bb763e4526b44e219fb3ffcba6d76fc650a1cf)

5 years agolayerscape: update ls-rcw to LSDK-18.06
Yangbo Lu [Tue, 3 Jul 2018 03:07:06 +0000 (11:07 +0800)]
layerscape: update ls-rcw to LSDK-18.06

The rcw source code had been migrated to codeaurora
for LSDK-18.06 release and the future release. The
source code had also involved ls1012ardb/ls1012afrdm/
ls1088ardb/ls2088ardb rcw, so we updated ls-rcw to
LSDK-18.06, reworked the makefile and dropped ls-rcw-bin
package in this patch. Also reworked ls-rcw patch to
adapt to the latest source code.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 89c4ed57b768449d58bb0830e98c9b99ea466feb)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agolayerscape: update ppfe-firmware to LSDK-18.06
Yangbo Lu [Mon, 2 Jul 2018 08:33:35 +0000 (16:33 +0800)]
layerscape: update ppfe-firmware to LSDK-18.06

This patch is to update ppfe-firmware to LSDK-18.06 release.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 984cf8d89dc40b1a1ed994d2e550e783240599dd)

5 years agolayerscape: update ls-mc to LSDK-18.06
Yangbo Lu [Mon, 2 Jul 2018 06:58:30 +0000 (14:58 +0800)]
layerscape: update ls-mc to LSDK-18.06

This patch is to update ls-mc to LSDK-18.06 release.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from c19f5206866f73acb3dc4dfdf1af33e9b9556733)

5 years agolayerscape: update ls-dpl to LSDK-18.06
Yangbo Lu [Mon, 2 Jul 2018 03:12:17 +0000 (11:12 +0800)]
layerscape: update ls-dpl to LSDK-18.06

The dpl-examples source code had been migrated to
codeaurora for LSDK-18.06 release and the future
release. This patch is to update this package to
LSDK-18.06.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from e4fee592eae88ba9e985cd64a44b60d00b74da98)

5 years agolayerscape: update fman-ucode to LSDK-18.06
Yangbo Lu [Fri, 29 Jun 2018 08:20:32 +0000 (16:20 +0800)]
layerscape: update fman-ucode to LSDK-18.06

Actually there was no change for fman-ucode in LSDK-18.06
just tagged with LSDK-18.06. This patch is to rework the
fman-ucode makefile to make it more readable, and to use
lsdk-1806 as the PKG_VERSION.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(backported from 56853409c4f6ba038aea8d12f7702b44ef866e0f)

5 years agozynq: kernel: select FPGA-related configs
Luis Araneda [Wed, 12 Sep 2018 05:48:10 +0000 (02:48 -0300)]
zynq: kernel: select FPGA-related configs

These configs are necessary to program the FPGA fabric

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
(backported from b959f361bed07ae68eb7640919d9de58d6c22c47)

5 years agosunxi: build image/uboot for the NanoPi NEO2
Jasper Scholte [Wed, 19 Sep 2018 20:31:26 +0000 (22:31 +0200)]
sunxi: build image/uboot for the NanoPi NEO2

The NanoPi NEO2 is a small Allwinner H5 based board available with
different DRAM configurations.
This board is very similar to the NanoPi NEO PLUS2

Signed-off-by: Jasper Scholte <NightNL@outlook.com>
(backported from a689307c970e37c247c6452ba3963be8b109eb4f)

5 years agokernel: add Si7020 relative humidity/temperature sensor driver
Hartmut Knaack [Mon, 10 Sep 2018 23:33:37 +0000 (01:33 +0200)]
kernel: add Si7020 relative humidity/temperature sensor driver

Add support for the Silicon Labs Si7020 family of relative humidity and
temperature sensors using the I2C bus.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
(backported from d3a492c72f15ecf8debe56a3ee35eb213c9d9bcc)

5 years agokernel: add TSL4531 ambient light sensor driver
Hartmut Knaack [Mon, 10 Sep 2018 23:33:36 +0000 (01:33 +0200)]
kernel: add TSL4531 ambient light sensor driver

Add support for the TAOS TSL4531x family of ambient light sensors using
the I2C bus.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
(backported from 265dcb05ea4e4ca7fd780f496f20b17327598338)

5 years agombedtls: update to 2.13.0
Magnus Kroken [Sat, 15 Sep 2018 22:44:43 +0000 (00:44 +0200)]
mbedtls: update to 2.13.0

* Fixed a security issue in the X.509 module which could lead to a buffer overread during certificate extensions parsing.
* Several bugfixes.
* Improvements for better support for DTLS on low-bandwidth, high latency networks with high packet loss.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
(backported from 7849f74117ce83e4cfcd1448a22cc05dbf9b3486)

5 years agoath9k: add back support for using tx99 with active monitor interfaces
Felix Fietkau [Sat, 22 Sep 2018 13:34:40 +0000 (15:34 +0200)]
ath9k: add back support for using tx99 with active monitor interfaces

Fixes controlling bitrate

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from a32a70f4f20ff84dd037c7533759f81b1c1ea7ea)

5 years agoelfutils: bump to 0.174
Luiz Angelo Daros de Luca [Tue, 18 Sep 2018 04:07:57 +0000 (01:07 -0300)]
elfutils: bump to 0.174

- Simplified musl patch with error.h concentrated into system.h

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(backported from 38a88ade14e935f979dc17b2181f538653d137c5)

5 years agotoolchain/musl: update to version 1.1.20
Christian Lamparter [Tue, 4 Sep 2018 21:27:00 +0000 (23:27 +0200)]
toolchain/musl: update to version 1.1.20

This release introduces the ability to replace/interpose the allocator
(malloc) subject to certain restrictions, adds an experimental m68k
port, and makes notable improvements to stdio (application-provided
buffers), getaddrinfo (AI_ADDRCONFIG, support for IPv4-only kernel
configurations), the dynamic linker (safety against dlopen of
libraries using initial-exec TLS model, reclaiming unused memory on
FDPIC archs, better dladdr results), and handling of default thread
stack size (pthread_setattr_default_np now works more reliably).

Many bugs have been fixed, including potentially dangerous regressions
in iconv (only for new conversions to legacy encodings) and visibly
incorrect behavior in printf on non-x86 archs (%a format with
precision specifier), in getopt_long_only when short options are a
prefix for a long option, in complex arc-trig/hyperbolic functions, in
strftime and mktime (timezone-specific issues), and numerous
less-obvious places.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[altered commit msg a bit keeping it tight]
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(backported from 1801e60390706abc0ffe6376c5d9441ca10253c6)

5 years agomdadm: Install /etc/config file as 600
Rosen Penev [Wed, 19 Sep 2018 01:32:15 +0000 (18:32 -0700)]
mdadm: Install /etc/config file as 600

/etc/config/mdadm is only used by the init script which is ran as root.
There is no need for it to be readable by anything else.

Added PKG_CPE_ID for proper CVE tracking.

Small reorganization for consistency between Makefiles.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from 5efd080e20f83556c0e3acb4d9c56673ec577d27)

5 years agofstools: Install mount.hotplug and 10-fstab.defaults as 600
Rosen Penev [Wed, 19 Sep 2018 01:32:20 +0000 (18:32 -0700)]
fstools: Install mount.hotplug and 10-fstab.defaults as 600

Both of these are used by programs that run as root and nothing else.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from 4ad87744fa83e2f75fd4f6e9a46f106aaf7ee2dc)

5 years agousbmode: Update modeswitch data to 20170806
Rosen Penev [Wed, 19 Sep 2018 01:32:19 +0000 (18:32 -0700)]
usbmode: Update modeswitch data to 20170806

Changed hotplug file to 600 as it is only read by procd, which runs as
root.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from 873801a671bb9aa0a063ad9d01c0913b2e35886c)

5 years agotrelay: Install hotplug and config files as 600
Rosen Penev [Wed, 19 Sep 2018 01:32:18 +0000 (18:32 -0700)]
trelay: Install hotplug and config files as 600

The hotplug file is ran by procd, which runs as root. The config file is
used by the init script, which also runs as root.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from 39d8b2cf7925911a5e5340cd86eb63bb0729a4f9)