librecmc/librecmc.git
7 years agoodhcp6c: take over maintainership
Hans Dedecker [Thu, 12 Jan 2017 11:10:18 +0000 (12:10 +0100)]
odhcp6c: take over maintainership

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>
7 years agoodhcpd: take over maintainership
Hans Dedecker [Thu, 12 Jan 2017 11:06:11 +0000 (12:06 +0100)]
odhcpd: take over maintainership

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>
7 years agoRevert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'"
Hans Dedecker [Thu, 12 Jan 2017 09:17:48 +0000 (10:17 +0100)]
Revert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'"

This causes problem when a FQDN is configured in /etc/config/system. The
domain name will appear twice in reverse DNS.

Next to that, there seems to be a bug in dnsmasq. From the manual page:

--interface-name=<name>,<interface>[/4|/6]
Return  a  DNS  record  associating  the  name  with  the primary address
on the given interface. This flag specifies an A or AAAA record for the
given name in the same way as an /etc/hosts line, except that the address
is not constant, but taken from the given interface. The interface may be
followed by "/4" or "/6" to specify  that  only  IPv4  or  IPv6 addresses
of the interface should be used. If the interface is down, not configured
or non-existent, an empty record is returned. The matching PTR record is
also created, mapping the interface address to the name. More than one name
may be associated with an interface address by repeating the flag; in that
case the first instance is used for  the  reverse address-to-name mapping.

It does not just create an A/AAAA record for the primary address, it creates
one for all addresses. And what is worse, it seems to actually resolve to the
non-primary address first. This is quite annoying when you use floating IP
addresses (e.g. VRRP), because when the floating IP is on the other device,
SSH failes due to incorrect entry in the known hosts file.

I know that this is not a common setup, but it would be nice if there was an
option to restore the previous behaviour, rather than just forcing this new
feature on everybody.

Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agomap: delete map-t device when tearing down map interface
Hans Dedecker [Thu, 12 Jan 2017 08:53:32 +0000 (09:53 +0100)]
map: delete map-t device when tearing down map interface

Delete the map-t device when tearing down the map-t interface; as such
there's no conflict when the map-t interface comes up again when trying
to add the map-t device as the map-t device was still present
(Can not add: device 'map-wan6_4' already exists!).

Only call ifdown in teardown for map-e and lw6o4 map interfaces types
in order to suppress the trace "wan6_4 (6652): Interface wan6_4_ not found"

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agoRevert the recent dependency and metadata scanning rework
Felix Fietkau [Wed, 11 Jan 2017 18:47:33 +0000 (19:47 +0100)]
Revert the recent dependency and metadata scanning rework

This reverts the following commits:
fbe522d1204149b6c128d55e360bfc15fa8258e1
278ad007ee03c4455c3507322e34b0e3e6ec050d
863888e44f7a1fb1675a2e7a2eaabfec3561d2a2
96daf6352f6e04bc22789466cb5409b93fbec191
cfd83555fc4f0bab18a26f6812da18e64df46ff3

This seems to trigger some mconf bugs when built with all feeds
packages, so I will try to find a less intrusive solution before the
release.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agocomgt: allow build without USB_SUPPORT
Felix Fietkau [Wed, 11 Jan 2017 17:06:06 +0000 (18:06 +0100)]
comgt: allow build without USB_SUPPORT

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoumbim: allow build without USB_SUPPORT
Felix Fietkau [Wed, 11 Jan 2017 17:05:38 +0000 (18:05 +0100)]
umbim: allow build without USB_SUPPORT

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agouqmi: allow build without USB_SUPPORT
Felix Fietkau [Wed, 11 Jan 2017 17:05:16 +0000 (18:05 +0100)]
uqmi: allow build without USB_SUPPORT

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomountd: allow build without USB_SUPPORT
Felix Fietkau [Wed, 11 Jan 2017 17:04:18 +0000 (18:04 +0100)]
mountd: allow build without USB_SUPPORT

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoscripts/package-metadata.pl: fix overriding conditional dependencies with conditional...
Felix Fietkau [Wed, 11 Jan 2017 17:22:56 +0000 (18:22 +0100)]
scripts/package-metadata.pl: fix overriding conditional dependencies with conditional select

Conditional dependencies use the '(!cond) || dep' syntax, whereas
conditional select uses 'dep if cond'.
Add an extra check to suppress emitting a conditional if an equal
conditional select already exists.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoarc770: build dtb files in Image/Prepare so that they are available for Device/*
Felix Fietkau [Wed, 11 Jan 2017 15:25:32 +0000 (16:25 +0100)]
arc770: build dtb files in Image/Prepare so that they are available for Device/*

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoarchs38: build dtb files in Image/Prepare so that they are available for Device/*
Felix Fietkau [Wed, 11 Jan 2017 15:25:48 +0000 (16:25 +0100)]
archs38: build dtb files in Image/Prepare so that they are available for Device/*

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobcm53xx: backport upstream bcm53xx spi driver changes
Rafał Miłecki [Wed, 11 Jan 2017 14:21:13 +0000 (15:21 +0100)]
bcm53xx: backport upstream bcm53xx spi driver changes

One replaces our local patch and another is just for keeping driver in
sync (license change).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomvebu: work around an ethernet tx scheduling fairness issue
Felix Fietkau [Wed, 11 Jan 2017 13:55:45 +0000 (14:55 +0100)]
mvebu: work around an ethernet tx scheduling fairness issue

The hardware queue scheduling is apparently configured with fixed
priorities, which creates a nasty fairness issue where traffic from one
CPU can starve traffic from all other CPUs.

Work around this issue by forcing all tx packets to go through one CPU,
until this issue is fixed properly.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokirkwood: only add UBI EOF markers for devices that need it
Felix Fietkau [Wed, 11 Jan 2017 13:03:46 +0000 (14:03 +0100)]
kirkwood: only add UBI EOF markers for devices that need it

Fixes issues where the second-stage u-boot already uses UBI.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoprocd: add support for overriding the tar sysupgrade board name
Felix Fietkau [Sun, 8 Jan 2017 13:26:57 +0000 (14:26 +0100)]
procd: add support for overriding the tar sysupgrade board name

Useful for providing images that work for multiple devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: disable sub-page writes on routerboard nand drivers
Felix Fietkau [Sun, 8 Jan 2017 12:45:02 +0000 (13:45 +0100)]
ar71xx: disable sub-page writes on routerboard nand drivers

They seem to fail in tests using UBI, and are not used by yaffs2

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove linux 4.1 support
Felix Fietkau [Tue, 10 Jan 2017 17:15:39 +0000 (18:15 +0100)]
kernel: remove linux 4.1 support

The only target still referencing it is omap24xx, and it is marked as
broken.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: fix legacy image build error
Felix Fietkau [Sat, 7 Jan 2017 20:00:47 +0000 (21:00 +0100)]
ar71xx: fix legacy image build error

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoarc770: fix parallel build issue
Felix Fietkau [Wed, 11 Jan 2017 10:20:25 +0000 (11:20 +0100)]
arc770: fix parallel build issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoarchs38: fix parallel build issue
Felix Fietkau [Wed, 11 Jan 2017 10:17:13 +0000 (11:17 +0100)]
archs38: fix parallel build issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: fix RB4xx CPLD SPI device mode setup
Felix Fietkau [Wed, 11 Jan 2017 09:42:04 +0000 (10:42 +0100)]
ar71xx: fix RB4xx CPLD SPI device mode setup

Commit af79fdbe4af3 changed the code to use tx_nbits for dual SPI tx
transfers, however the SPI stack only allows this when the device mode
includes the relevant bit as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: fix RB4xx SPI driver mode bits
Felix Fietkau [Wed, 11 Jan 2017 11:26:27 +0000 (12:26 +0100)]
ar71xx: fix RB4xx SPI driver mode bits

Accept SPI_TX_DUAL in device mode to fix the CPLD driver

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomvebu: update mwlwifi driver to version 10.3.2.0-20170110
Kabuli Chana [Tue, 10 Jan 2017 16:46:24 +0000 (09:46 -0700)]
mvebu: update mwlwifi driver to version 10.3.2.0-20170110

Improves automatic channel section support.

Tested on AC (mamba) and ACM (rango).

Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
[Jo-Philipp Wich: reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agokernel: backport a MIPS SMP icache flush fix
Felix Fietkau [Tue, 27 Dec 2016 23:23:00 +0000 (00:23 +0100)]
kernel: backport a MIPS SMP icache flush fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: update bcm47xxpart failsafe partition patches
Rafał Miłecki [Wed, 11 Jan 2017 08:53:44 +0000 (09:53 +0100)]
kernel: update bcm47xxpart failsafe partition patches

V2 using helper function was sent for upstream kernel

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agowpa_supplicant: Fix mesh encryption config
Sujith Manoharan [Wed, 11 Jan 2017 02:09:22 +0000 (07:39 +0530)]
wpa_supplicant: Fix mesh encryption config

wpa_supplicant allows only SAE as the key management
type for mesh mode. The recent key_mgmt rework unconditionally
added WPA-PSK - this breaks interface bringup and wpa_s
throws this error message:

Line 10: key_mgmt for mesh network should be open or SAE
Line 10: failed to parse network block.
Failed to read or parse configuration '/var/run/wpa_supplicant-wlan0.conf

Fix this by making sure that only SAE is used for mesh.

Signed-off-by: Sujith Manoharan <m.sujith@gmail.com>
7 years agogettext-full: avoid using iconv for host builds
Jo-Philipp Wich [Wed, 11 Jan 2017 02:44:51 +0000 (03:44 +0100)]
gettext-full: avoid using iconv for host builds

The gettext-full host build might pick up iconv-stub host build  headers
during the build, leading to stray linker errors with unresolved references
to libiconv_open(), libiconv() and libiconv_close().

Since we're not needing iconv support on the host, pass the appropriate
cache variables to configure to prevent detection and linking of iconv.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotools: cmake: link librt if needed (FS#381)
Jo-Philipp Wich [Wed, 11 Jan 2017 02:41:10 +0000 (03:41 +0100)]
tools: cmake: link librt if needed (FS#381)

Patch cmakes cmcurl component to unconditionally link librt when we discover
a clock_gettime() symbol in -lrt.

This is required to sucessfully link LibreSSL's libcrypto which might or
might not reqauire librt.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotools: mkimage: pass crypto libraries through HOST_LOADLIBES (FS#381)
Jo-Philipp Wich [Wed, 11 Jan 2017 01:43:04 +0000 (02:43 +0100)]
tools: mkimage: pass crypto libraries through HOST_LOADLIBES (FS#381)

Since linker argument order is significant on modern host compilers, pass
the required libcrypto libraries through the HOST_LOADLIBES variable in
order to ensure proper order of the final linker command line.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotools: libressl: always build as PIC
Matthias Schiffer [Tue, 10 Jan 2017 21:10:59 +0000 (22:10 +0100)]
tools: libressl: always build as PIC

Fixes link errors for host packages like ruby like the following:

/usr/bin/ld: .../staging_dir/host/lib/libcrypto.a(libcrypto_la-md5_dgst.o):
relocation R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used when making a shared object; recompile with -fPIC

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agopackage: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG)
Matthias Schiffer [Tue, 10 Jan 2017 17:43:57 +0000 (18:43 +0100)]
package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG)

Cleanup to prepare for changing STAGING_DIR_HOSTPKG. The actual change of
STAGING_DIR_HOSTPKG (i.e., moving the host packages back into a common, not
target-specific directory) will be done after the first LEDE release, but
the cleanup will also be useful for projects like Gluon.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agokernel: add missing config symbols
Jo-Philipp Wich [Tue, 10 Jan 2017 21:02:22 +0000 (22:02 +0100)]
kernel: add missing config symbols

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agokernel: add missing config symbol
Felix Fietkau [Tue, 10 Jan 2017 16:40:19 +0000 (17:40 +0100)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomac80211: pending brcmfmac patches cleaning channels management
Rafał Miłecki [Tue, 10 Jan 2017 16:18:01 +0000 (17:18 +0100)]
mac80211: pending brcmfmac patches cleaning channels management

They prepare brcmfmac for using wiphy_read_of_freq_limits.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agomac80211: rename b43 patches to make more space
Rafał Miłecki [Tue, 10 Jan 2017 14:51:51 +0000 (15:51 +0100)]
mac80211: rename b43 patches to make more space

Just 6 patches were using 80*, 81*, 82* and 84* prefixes.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobuild: scan.mk: consider KernelPackage pattern as well
Jo-Philipp Wich [Tue, 10 Jan 2017 15:25:10 +0000 (16:25 +0100)]
build: scan.mk: consider KernelPackage pattern as well

The removal of the ".+Package" pattern in scan.mk also caused the build
system to skip over Makefiles defining only kmods. Adjust the grep pattern
to consider packages with "call KernelPackage" signatures as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoprocd: update mirror hash
John Crispin [Tue, 10 Jan 2017 12:38:53 +0000 (13:38 +0100)]
procd: update mirror hash

Signed-off-by: John Crispin <john@phrozen.org>
7 years agokernel: remove gpiommc patches / driver
Felix Fietkau [Tue, 10 Jan 2017 14:44:43 +0000 (15:44 +0100)]
kernel: remove gpiommc patches / driver

This code was marked as incompatible to Linux 4.4 well over a year ago
and nobody cared, and now it's breaking builds.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: add pending bcm47xxpart support for failsafe TRX partition
Rafał Miłecki [Tue, 10 Jan 2017 14:12:04 +0000 (15:12 +0100)]
kernel: add pending bcm47xxpart support for failsafe TRX partition

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agokernel: update spi-nor.h include fix with upstream accepted version
Rafał Miłecki [Tue, 10 Jan 2017 13:50:44 +0000 (14:50 +0100)]
kernel: update spi-nor.h include fix with upstream accepted version

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agokernel: rename bcm47xxpart patches to fit more of them
Rafał Miłecki [Tue, 10 Jan 2017 13:48:44 +0000 (14:48 +0100)]
kernel: rename bcm47xxpart patches to fit more of them

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobuild: scan.mk: remove overlay broad grep pattern
Jo-Philipp Wich [Tue, 10 Jan 2017 14:12:21 +0000 (15:12 +0100)]
build: scan.mk: remove overlay broad grep pattern

Commit af0b91c "allow scan.mk to find python packages introduced in [8639]"
added some special casing to scan.mk to accomodate some nonstandard python
packages.

Nowadays this pattern is not needed anymore and produces false positives
when using the LEDE source repository as feed within the SDK since the
metadata scanning wrongly picks up target/imagebuilder/Makefile as package,
leading to an  "ERROR: please fix feeds/base/target/imagebuilder/Makefile"
message.

Remove the now uneeded pattern to fix such stray errors during metadata
scanning.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agokernel: remove DEVTMPFS platform overrides
Felix Fietkau [Mon, 9 Jan 2017 16:55:27 +0000 (17:55 +0100)]
kernel: remove DEVTMPFS platform overrides

Those options are handled via top-level menuconfig instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove DEVMEM/DEVKMEM platform overrides
Felix Fietkau [Mon, 9 Jan 2017 16:51:54 +0000 (17:51 +0100)]
kernel: remove DEVMEM/DEVKMEM platform overrides

Those options are handled via top-level menuconfig instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoath10k-firmware: update board data for qca9984
Pavel Kubelun [Wed, 21 Dec 2016 12:41:19 +0000 (15:41 +0300)]
ath10k-firmware: update board data for qca9984

Current board-2.bin file for qca9984 in Kvalo's repo is from branch
10.4-3.2, while board-2.bin file in code-aurora repo is newer and
corresponds to the branch 10.4-3.3, the same as recently updated firmware.

Considering that it's better to have all parts from the same branch
we are updating board-2.bin as well.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
7 years agokernel: drop kmod-i2c-ibm-iic
Felix Fietkau [Tue, 10 Jan 2017 12:33:38 +0000 (13:33 +0100)]
kernel: drop kmod-i2c-ibm-iic

If any of the ppc4xx targets are restored, this should be built into the
kernel instead.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove omap24xx specific kernel module packages
Felix Fietkau [Tue, 10 Jan 2017 12:26:33 +0000 (13:26 +0100)]
kernel: remove omap24xx specific kernel module packages

If the target is ever restored, those drivers should be built into the
kernel instead.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoomap: build various core drivers into the kernel instead of packaging them
Felix Fietkau [Tue, 10 Jan 2017 12:12:31 +0000 (13:12 +0100)]
omap: build various core drivers into the kernel instead of packaging them

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: add missing config symbol
Felix Fietkau [Tue, 10 Jan 2017 12:23:49 +0000 (13:23 +0100)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: simplify dependencies for kmod-via-velocity
Felix Fietkau [Tue, 10 Jan 2017 11:58:01 +0000 (12:58 +0100)]
kernel: simplify dependencies for kmod-via-velocity

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: drop crypto-hw-ppc4xx
Felix Fietkau [Tue, 10 Jan 2017 11:55:27 +0000 (12:55 +0100)]
kernel: drop crypto-hw-ppc4xx

If any of the ppc4xx targets are restored, this should be built into the
kernel instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoopkg: drop S/MIME support
Felix Fietkau [Tue, 10 Jan 2017 12:02:33 +0000 (13:02 +0100)]
opkg: drop S/MIME support

It has never been used by default (due to being too bloated), and it is
properly replaced by usign (which has been the default for a long time
now).

Remove this feature to simplify the build system

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agompc85xx: build i2c support into the kernel instead of packaging it separately
Felix Fietkau [Tue, 10 Jan 2017 11:34:01 +0000 (12:34 +0100)]
mpc85xx: build i2c support into the kernel instead of packaging it separately

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agompc85xx: build usb support into the kernel instead of packaging it separately
Felix Fietkau [Tue, 10 Jan 2017 11:26:28 +0000 (12:26 +0100)]
mpc85xx: build usb support into the kernel instead of packaging it separately

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove kmod-gianfar, it is already built into the kernel
Felix Fietkau [Tue, 10 Jan 2017 11:20:35 +0000 (12:20 +0100)]
kernel: remove kmod-gianfar, it is already built into the kernel

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove kmod-ata-imx, it is already built into the kernel
Felix Fietkau [Tue, 10 Jan 2017 11:16:29 +0000 (12:16 +0100)]
kernel: remove kmod-ata-imx, it is already built into the kernel

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agolldpd: take over maintainership
Stijn Tintel [Mon, 9 Jan 2017 15:54:51 +0000 (16:54 +0100)]
lldpd: take over maintainership

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
7 years agolldpd: add Net-SNMP AgentX support
Stijn Tintel [Thu, 5 Jan 2017 12:05:57 +0000 (13:05 +0100)]
lldpd: add Net-SNMP AgentX support

Enabling this makes it possible to query LLDP neighbors via SNMP.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
7 years agoar71xx: drop references to madwifi
Stijn Tintel [Mon, 9 Jan 2017 15:02:21 +0000 (16:02 +0100)]
ar71xx: drop references to madwifi

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Felix Fietkau <nbd@nbd.name>
7 years agoiwinfo: drop references to madwifi
Stijn Tintel [Mon, 9 Jan 2017 14:54:19 +0000 (15:54 +0100)]
iwinfo: drop references to madwifi

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
7 years agopx5g-standalone: provide px5g via PROVIDES
Stijn Tintel [Thu, 5 Jan 2017 13:16:38 +0000 (14:16 +0100)]
px5g-standalone: provide px5g via PROVIDES

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
7 years agoppc44x: mark as broken
Felix Fietkau [Tue, 10 Jan 2017 11:48:47 +0000 (12:48 +0100)]
ppc44x: mark as broken

This target has consistently failed builds for a long time and it does
not look like it has any users left, nor any maintainers.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: add missing config symbol
Felix Fietkau [Tue, 10 Jan 2017 11:36:48 +0000 (12:36 +0100)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: fix HOST_CONFIGURE_VARS placement
Jo-Philipp Wich [Thu, 5 Jan 2017 14:51:05 +0000 (15:51 +0100)]
build: fix HOST_CONFIGURE_VARS placement

Instead of passing HOST_CONFIGURE_VARS as arguments to the configure script,
pass it as environment variables which brings the logic in line with the
behaviour of package-defaults.mk.

The change is needed since passing environment variables as configure
parameters only works with GNU autoconf which evaluates command line arguments
looking like variable assignments. Doing the same with non-autoconf configure
scripts is not guaranteed to work since such scripts might terminate due to
unknown argument errors.

One example case is the cmake configure script which bails out when called
as "./configure LDFLAGS=..." but not when called as "LDFLAGS=... ./configure".

Also change the SHELL override to CONFIG_SHELL in the default
HOST_CONFIGURE_VARS as the former is not properly propagated through the
various GNU configure invocations since it gets lost when configure re-
executes itself.

A prior attempt to change the variable placement had to be reverted due to
the missing SHELL -> CONFIG_SHELL change, leading to misgenerated libtool
executables in various packages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agomvebu: Fix up some leds on this series
Kabuli Chana [Wed, 4 Jan 2017 19:35:39 +0000 (12:35 -0700)]
mvebu: Fix up some leds on this series

correct ports, fix power led on rango, tested mamba,shelby,rango

Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
7 years agobuild: rework library bundling
Jo-Philipp Wich [Tue, 10 Jan 2017 10:37:47 +0000 (11:37 +0100)]
build: rework library bundling

Rework the bundle-libraries.sh implementation to use a more robust approach
for executing host binaries through the shipped ELF loader and libraries.

The previous approach relied on symlinks pointing to a wrapper script which
caused various issues, especially with multicall binaries as the original
argv[0] name was not preserved through the ld.so invocation. Another down-
side was the fact that the actual binaries got moved into another directory
which caused executables to fail looking up resources with paths relative
to the executable location.

The new library wrapper implements the following improvements:

 - Instead of symlinks pointing to a common wrapper, each ELF executable
   is now replaced by a unqiue shell script which retains the original
   program name getting called

 - Instead of letting ld.so invoke the ELF executable directly, launch
   the final ELF binary through a helper program which fixes up the argv[0]
   argument for the target program

 - Support sharing a common location for the bundled libraries instead of
   having one copy in each directory containing wrapped binaries

Finally modify the SDK build to wrap the staging_dir and toolchain binaries
which allows to use the SDK on systems with a different glibc version.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agomtd-utils: mark as nonshared
Jo-Philipp Wich [Tue, 10 Jan 2017 10:09:56 +0000 (11:09 +0100)]
mtd-utils: mark as nonshared

Since mtd-utils embeds ubi-utils and ubi-utils depends on @NAND_SUPPORT, we
cannot share this package among targets as the SDK processing the package is
not guaranteed to claim NAND_SUPPORT.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agokernel: move the gateworks system controller driver to an out-of-tree package
Felix Fietkau [Tue, 10 Jan 2017 10:57:57 +0000 (11:57 +0100)]
kernel: move the gateworks system controller driver to an out-of-tree package

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agompc85xx: enable the crypto acceleration driver in the kernel config instead of packag...
Felix Fietkau [Tue, 10 Jan 2017 09:41:14 +0000 (10:41 +0100)]
mpc85xx: enable the crypto acceleration driver in the kernel config instead of packaging it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimx6: enable the crypto acceleration driver in the kernel config instead of packaging it
Felix Fietkau [Tue, 10 Jan 2017 09:39:30 +0000 (10:39 +0100)]
imx6: enable the crypto acceleration driver in the kernel config instead of packaging it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: fix kmod-w1-master-mxc dependency
Felix Fietkau [Tue, 10 Jan 2017 09:23:30 +0000 (10:23 +0100)]
kernel: fix kmod-w1-master-mxc dependency

The kernel config symbol is not selectable on mxs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: fix dwc2 gadget dependency
Felix Fietkau [Tue, 10 Jan 2017 09:20:52 +0000 (10:20 +0100)]
kernel: fix dwc2 gadget dependency

Use USB_GADGET_SUPPORT feature flag instead of hardcoding the target
list.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomxs: remove modules.mk, select drivers in the kernel config
Felix Fietkau [Tue, 10 Jan 2017 09:19:31 +0000 (10:19 +0100)]
mxs: remove modules.mk, select drivers in the kernel config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomxs: remove obsolete kernel package depending on linux 3.18
Felix Fietkau [Tue, 10 Jan 2017 09:14:49 +0000 (10:14 +0100)]
mxs: remove obsolete kernel package depending on linux 3.18

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomxs: enable the chipidea usb driver in the kernel config instead of packaging it
Felix Fietkau [Tue, 10 Jan 2017 09:13:30 +0000 (10:13 +0100)]
mxs: enable the chipidea usb driver in the kernel config instead of packaging it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimx6: enable the chipidea usb driver in the kernel config instead of packaging it
Felix Fietkau [Tue, 10 Jan 2017 09:10:13 +0000 (10:10 +0100)]
imx6: enable the chipidea usb driver in the kernel config instead of packaging it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimx6: remove kmod-thermal-imx, it is already enabled in the kernel config
Felix Fietkau [Tue, 10 Jan 2017 09:02:36 +0000 (10:02 +0100)]
imx6: remove kmod-thermal-imx, it is already enabled in the kernel config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimx6: build support for the ventana ethernet expansion board into the kernel instead...
Felix Fietkau [Tue, 10 Jan 2017 08:59:10 +0000 (09:59 +0100)]
imx6: build support for the ventana ethernet expansion board into the kernel instead of packaging it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimx6: enable the Freescale SNVS RTC driver in the kernel config instead of packaging it
Felix Fietkau [Tue, 10 Jan 2017 08:55:42 +0000 (09:55 +0100)]
imx6: enable the Freescale SNVS RTC driver in the kernel config instead of packaging it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: remove obsolete parallel build related options
Felix Fietkau [Thu, 5 Jan 2017 23:28:51 +0000 (00:28 +0100)]
build: remove obsolete parallel build related options

Always use the main make jobserver, which has been the default for ages

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoprocd: update to latest git HEAD
John Crispin [Tue, 10 Jan 2017 08:26:43 +0000 (09:26 +0100)]
procd: update to latest git HEAD

f706903 ujail: add basic /dev files

Signed-off-by: John Crispin <john@phrozen.org>
7 years agomalta: Fix README file examples
Florian Fainelli [Sun, 1 Jan 2017 00:13:36 +0000 (16:13 -0800)]
malta: Fix README file examples

The example command-lines used references and paths from an older directory
structure.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agolibnl: Update to 3.2.29
Daniel Engberg [Tue, 3 Jan 2017 21:06:36 +0000 (22:06 +0100)]
libnl: Update to 3.2.29

Update libnl to 3.2.29

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agoramips: Fix VLAN limits for MT7621 GSW
Antonis Kanouras [Mon, 9 Jan 2017 07:05:52 +0000 (09:05 +0200)]
ramips: Fix VLAN limits for MT7621 GSW

Without this patch swconfig will only allow setting up a total of 16
VLANs, with VLAN ID range of 0-15.

Tested on ubnt-erx.

Signed-off-by: Antonis Kanouras <antonis@metadosis.eu>
7 years agousbutils: Update usb.ids database to 2016.10.13
Daniel Engberg [Wed, 4 Jan 2017 00:11:24 +0000 (01:11 +0100)]
usbutils: Update usb.ids database to 2016.10.13

Update usb.ids database to 2016.10.13

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agoipq806x: fix pvs1_bin voltage in ipq8065 DT
Pavel Kubelun [Thu, 22 Dec 2016 09:17:25 +0000 (12:17 +0300)]
ipq806x: fix pvs1_bin voltage in ipq8065 DT

Fixing pvs1 bin voltage as found in GPL tarball and Qualcomm SDK.

Also adjusting smb208_s2a/b minimum voltage to reflect lowest value in pvs table.

Current ipq8065 devices in LEDE choose (based on eFuse data) pvs bin n4, that has
correct values in DT, but in future a new device may choose n1 or n6.

Without this change n1 is semi-correct and n6 is not available, because OPP driver
disregards bins with voltage values that regulator cannot supply.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
7 years agocyassl: update to wolfssl version 3.10.0
Hauke Mehrtens [Mon, 9 Jan 2017 22:56:05 +0000 (23:56 +0100)]
cyassl: update to wolfssl version  3.10.0

This fixes a low level security vulnerability.
Deactivate MIPS16 support, crypto code gets much slower with MIPS16.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agolantiq: update USB controller initialization
Hauke Mehrtens [Fri, 6 Jan 2017 17:37:40 +0000 (18:37 +0100)]
lantiq: update USB controller initialization

This adds USB initialization fixes for Danube, Amazon SE and xrx300 and
should fix the clock on at least Danube which hopefully closes FS#351.

The xrx200 usb driver now uses more memory for the dwc2 fifos, this was
increased in the chip compared to ar9.

This is based in part on the vendor documentation and the vendor code
base as a reference.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agolantiq: fix dma locking problems with SMP
Hauke Mehrtens [Fri, 30 Dec 2016 12:11:34 +0000 (13:11 +0100)]
lantiq: fix dma locking problems with SMP

The DMA controller used only local locks, which will not lock the
section against other CPUs, fix this by using spin locks.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agotools: remove obsolete yaffs tool
Felix Fietkau [Sun, 8 Jan 2017 18:00:24 +0000 (19:00 +0100)]
tools: remove obsolete yaffs tool

This was added a long time ago and was apparently never used

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotools: reorganize dependencies, fix build after deleting staging dir
Felix Fietkau [Sat, 7 Jan 2017 17:25:33 +0000 (18:25 +0100)]
tools: reorganize dependencies, fix build after deleting staging dir

A lot of packages (especially those using libtool) depend on sed being
available. xz fails on an incremental build pretty early if it's not
there.

Clean up handling if essential core tools (patch, tar, xz), build them
in parallel and make them depend on sed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agopx5g: remove obsolete reference to $(BUILD_VARIANT)
Felix Fietkau [Mon, 9 Jan 2017 15:37:19 +0000 (16:37 +0100)]
px5g: remove obsolete reference to $(BUILD_VARIANT)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: fix build of ubifs images
Felix Fietkau [Mon, 9 Jan 2017 15:31:26 +0000 (16:31 +0100)]
build: fix build of ubifs images

--force-compr was added by the xz compression patch, which is gone now.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimx6: fix image boot ubifs compression option
Felix Fietkau [Mon, 9 Jan 2017 15:29:16 +0000 (16:29 +0100)]
imx6: fix image boot ubifs compression option

--force-compr was added by the xz compression patch, which is gone now.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoustream-ssl: remove legacy polarssl support
Felix Fietkau [Mon, 9 Jan 2017 13:34:36 +0000 (14:34 +0100)]
ustream-ssl: remove legacy polarssl support

The old polarssl 1.3 branch is EOL since end of 2016, and the package
for it will be removed soon.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agopx5g: remove legacy polarssl support
Felix Fietkau [Mon, 9 Jan 2017 13:28:43 +0000 (14:28 +0100)]
px5g: remove legacy polarssl support

The old polarssl 1.3 branch is EOL since end of 2016, and the package
for it will be removed soon.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove ubifs xz decompression support
Felix Fietkau [Mon, 9 Jan 2017 13:00:24 +0000 (14:00 +0100)]
kernel: remove ubifs xz decompression support

It has been unused, and less useful than squashfs for cases where flash
space usage matters.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoodhcp6c: add option "keep_ra_dnslifetime"
Hans Dedecker [Mon, 9 Jan 2017 10:43:23 +0000 (11:43 +0100)]
odhcp6c: add option "keep_ra_dnslifetime"

Add option keep_ra_dnslifetime which will preserve the received
lifetime for RDNSS and DNSSL RA records and not overwrite it
by the RA router lifetime as specified in RFC6106.
This allows to accept RDNNS records from RAs that don't announce
a default route by setting router lifetime to 0 in the RAs.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agombedtls: re-enable CFB support
Felix Fietkau [Mon, 9 Jan 2017 09:57:26 +0000 (10:57 +0100)]
mbedtls: re-enable CFB support

It is safe and required by some software, e.g. shadowsocks

Signed-off-by: Felix Fietkau <nbd@nbd.name>