openwrt/staging/pepe2k.git
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>
7 years agoMakefile: ensure that BIN_DIR exists for diffconfig
Hannu Nyman [Fri, 6 Jan 2017 17:51:35 +0000 (19:51 +0200)]
Makefile: ensure that BIN_DIR exists for diffconfig

Ensure that BIN_DIR exists when the diffconfig target needs it.
Otherwise 'make diffconfig' fails after 'make clean'

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agouboot-mvebu: enable loader with the default profile
Felix Fietkau [Sun, 8 Jan 2017 17:30:40 +0000 (18:30 +0100)]
uboot-mvebu: enable loader with the default profile

Fixes build error

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agombedtls: re-enable RC4 support (needed by transmission and others)
Felix Fietkau [Sun, 8 Jan 2017 17:22:07 +0000 (18:22 +0100)]
mbedtls: re-enable RC4 support (needed by transmission and others)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoodhcpd: bump to git HEAD
Hans Dedecker [Sat, 7 Jan 2017 17:46:12 +0000 (18:46 +0100)]
odhcpd: bump to git HEAD

ef3c563 dhcpv6-ia: filter out prefixes having invalid length
16cd87e dhcpv6-ia: fix dereference after freeing assignment
d6b0c99 dhcpv6-ia: log only IPv6 addresses which are effectively
assigned to a DHCPv6 client
08a9367 config: respect ignore uci option

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agoRevert "gdb: fix build with gcc 4.1.2 as host compiler"
Hauke Mehrtens [Sat, 7 Jan 2017 18:36:46 +0000 (19:36 +0100)]
Revert "gdb: fix build with gcc 4.1.2 as host compiler"

Support for such old gcc version is not needed.

This reverts commit 2694d43b052a1bf1721ae477dcdbe787f5995d35.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agozlib: update to 1.2.10
Magnus Kroken [Wed, 4 Jan 2017 21:52:54 +0000 (22:52 +0100)]
zlib: update to 1.2.10

* Fix bug in deflate_stored() for zero-length input
* Fix bug in gzwrite.c that produced corrupt gzip files

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
7 years agorb532: drop patch-cmdline from base-files
Felix Fietkau [Fri, 6 Jan 2017 07:58:08 +0000 (08:58 +0100)]
rb532: drop patch-cmdline from base-files

It is no longer used for upgrading

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agorb532: switch to UBI, drop yaffs2 support, use sysupgrade for NAND
Felix Fietkau [Thu, 5 Jan 2017 16:22:16 +0000 (17:22 +0100)]
rb532: switch to UBI, drop yaffs2 support, use sysupgrade for NAND

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agorb532: convert to new loopback based overlay support
Felix Fietkau [Thu, 5 Jan 2017 17:01:36 +0000 (18:01 +0100)]
rb532: convert to new loopback based overlay support

Disable block2mtd support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: add image command for calling kernel2minor
Felix Fietkau [Fri, 6 Jan 2017 15:49:52 +0000 (16:49 +0100)]
build: add image command for calling kernel2minor

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agooxnas: minor kernel config improvements
Daniel Golle [Sat, 7 Jan 2017 14:27:30 +0000 (15:27 +0100)]
oxnas: minor kernel config improvements

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agooxnas: require image metadata
Daniel Golle [Sat, 7 Jan 2017 13:46:03 +0000 (14:46 +0100)]
oxnas: require image metadata

Now that we generate images with metadata attached, require it in order
to prevent accidentally flashing the wrong image to a board.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agooxnas: remove some kprintf calls from NAND driver
Daniel Golle [Sat, 7 Jan 2017 13:44:47 +0000 (14:44 +0100)]
oxnas: remove some kprintf calls from NAND driver

They were added for debugging and I forgot to remove them.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agolantiq: fix console print for additional boards
Hauke Mehrtens [Fri, 6 Jan 2017 21:59:13 +0000 (22:59 +0100)]
lantiq: fix console print for additional boards

I missed 3 boards in this commit:
commit d8dde8c5178eba8c847dd48e7d06e6663ba1979f
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date:   Wed Jan 4 21:53:22 2017 +0100

    lantiq: fix console print

Add bootargs parameters for ARV4525PW, ARV7506PW11 and ARV8539PW22
again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agokernel: bump to 4.4.40
Hauke Mehrtens [Fri, 6 Jan 2017 12:53:27 +0000 (13:53 +0100)]
kernel: bump to 4.4.40

Refresh patches on all 4.4 supported platforms.
Compile & run tested: lantiq/xrx200

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agotools/kernel2minor: fix permissions of created files
Felix Fietkau [Fri, 6 Jan 2017 15:37:46 +0000 (16:37 +0100)]
tools/kernel2minor: fix permissions of created files

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomac80211: backport cfg80211 support for ieee80211-freq-limit DT property
Rafał Miłecki [Fri, 6 Jan 2017 14:01:48 +0000 (15:01 +0100)]
mac80211: backport cfg80211 support for ieee80211-freq-limit DT property

This property allows specifying extra limits for wireless device in DT.
For a full documentation see upstream commit b330b25eaabd ("dt-bindings:
document common IEEE 802.11 frequency limit property").

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agox86: add kernel module for AMD CS5535/CS5536 audio chipset
Cezary Jackiewicz [Wed, 4 Jan 2017 17:51:35 +0000 (18:51 +0100)]
x86: add kernel module for AMD CS5535/CS5536 audio chipset

Add support for the integrated AC97 sound device on motherboards
with AMD CS5535/CS5536 chipsets.
Tested on Wyse Winterm S30.

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
7 years agotools/kernel2minor: fix endian conversion issues, allow creating little-endian images
Felix Fietkau [Thu, 5 Jan 2017 23:25:04 +0000 (00:25 +0100)]
tools/kernel2minor: fix endian conversion issues, allow creating little-endian images

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotools/kernel2minor: fix portability issue
Felix Fietkau [Thu, 5 Jan 2017 16:21:51 +0000 (17:21 +0100)]
tools/kernel2minor: fix portability issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobase-files: save /bin/mknod for sysupgrade
Felix Fietkau [Thu, 5 Jan 2017 23:24:22 +0000 (00:24 +0100)]
base-files: save /bin/mknod for sysupgrade

It is used on NAND devices in case hotplug is too slow

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoyaffs: fix to detect MLC/TLC NAND flash
Vladimir Zahradnik [Sat, 24 Dec 2016 23:20:17 +0000 (00:20 +0100)]
yaffs: fix to detect MLC/TLC NAND flash

Signed-off-by: Vladimir Zahradnik <vladimir.zahradnik@gmail.com>
7 years agolantiq: fix console print
Hauke Mehrtens [Wed, 4 Jan 2017 20:53:22 +0000 (21:53 +0100)]
lantiq: fix console print

The boot loader of many boards provides a kernel boot argument with a
broken console parameter to the kernel. This will be taken before the
stdout-path defined in device tree and the serial will not work on this
board. Multiple boards are affected by this problem, so revert this
patch for all boards. Later we can remove the boot arguments from the
device tree again, after the individual board was checked to work.

This partly reverts this commit:
commit 4995c64857a09c4cc92238ba0bd52cdb06c4c581
Author: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date:   Sun Dec 11 21:55:00 2016 +0100

    lantiq: specify console using stdout-path instead of cmdline argument

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agostrace: update to version 4.15
Hauke Mehrtens [Thu, 5 Jan 2017 21:29:40 +0000 (22:29 +0100)]
strace: update to version 4.15

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years agodnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'
Eric Luehrsen [Wed, 21 Dec 2016 03:08:54 +0000 (22:08 -0500)]
dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'

'add_local_hostname' previous implementation may drop some addresses.
Soft addition of IP6 addresses may not cause a reload or restart event.
dnsmasq '--interface-name' robustly applies DNS to all addresses per
interface (except fe80::/10).

Change UCI 'add_local_hostname' to expand during each interface assignement
during add_dhcp().
Assign '<iface>.<host>.<domain>' as true name (reflexive A, AAAA, and PTR).
Assign '<host>.<domain>' and '<host>' as convinience aliases (no PTR, not
technically CNAME).
This is accomplished with the '--interface-name' order, first is PTR.
We could also assign each <ip4/6>.<iface>.<host>.<domain> to the respective
dual stack on the interface.
That seemed excessive so it was skipped (/4 or /6 suffix to the interface).
Add UCI 'add_wan_hostname' similar to 'add_local_hostname' function for
external WAN.

WAN IP4 are less often named by the ISP and rarely WAN IP6 due to complexity.
For logs, LuCI connection graph, and other uses assigning a WAN name is desired.
'add_local_hostname' only applies with DHCP and 'add_wam_hostname' only applies
without DHCP. Common residential users will want to set both options TRUE.
Businesses will probably have global DNS, static IP, and 'add_wan_hostname' FALSE.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agodnsmasq: clean up white space in dnsmasq.init
Eric Luehrsen [Thu, 22 Dec 2016 18:24:12 +0000 (13:24 -0500)]
dnsmasq: clean up white space in dnsmasq.init

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agoar71xx: add support for TP-Link WBS210/510
Matthias Schiffer [Thu, 5 Jan 2017 15:01:17 +0000 (16:01 +0100)]
ar71xx: add support for TP-Link WBS210/510

The devices are mostly identical to the CPE210/510, but use external
antennas.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agofirmware-utils: tplink-safeloader: add support for TP-Link WBS210/510 1.2
Matthias Schiffer [Thu, 5 Jan 2017 15:01:17 +0000 (16:01 +0100)]
firmware-utils: tplink-safeloader: add support for TP-Link WBS210/510 1.2

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agotools: cmake: use different approach for passing LDFLAGS
Jo-Philipp Wich [Thu, 5 Jan 2017 13:31:28 +0000 (14:31 +0100)]
tools: cmake: use different approach for passing LDFLAGS

Funnel the required LDFLAGS environment through HOST_CONFIGURE_CMD for now
as the HOST_CONFIGURE_VARS semantics are completely broken.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoRevert "build: fix HOST_CONFIGURE_VARS placement"
Jo-Philipp Wich [Thu, 5 Jan 2017 13:29:28 +0000 (14:29 +0100)]
Revert "build: fix HOST_CONFIGURE_VARS placement"

This reverts commit 8395b63aac616f72fd835c59240fc2a4a6b28106.

Various host builds currently rely on the broken behaviour of
HOST_CONFIGURE_VARS so roll back to the previous state.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotools: cmake: use pkg-config to discover libcrypto linker flags
Jo-Philipp Wich [Thu, 5 Jan 2017 13:16:57 +0000 (14:16 +0100)]
tools: cmake: use pkg-config to discover libcrypto linker flags

LibreSSL's libcrypto.so has an indirect dependency to librt for clock_gettime()
on Linux.

Use pkg-config to portably discover the required linker flags.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotools: mkimage: use pkg-config to discover libcrypto linker flags
Jo-Philipp Wich [Thu, 5 Jan 2017 13:15:32 +0000 (14:15 +0100)]
tools: mkimage: use pkg-config to discover libcrypto linker flags

LibreSSL's libcrypto.so has an indirect dependency to librt for clock_gettime()
on Linux.

Use pkg-config to portably discover the required linker flags.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotools: make libressl build depend on pkg-config
Jo-Philipp Wich [Thu, 5 Jan 2017 13:12:31 +0000 (14:12 +0100)]
tools: make libressl build depend on pkg-config

Ensure that pkg-config is available before building libressl as we're going
to need it for setting proper link flags in utilities requiring libcrypto.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agobuild: fix HOST_CONFIGURE_VARS placement
Jo-Philipp Wich [Thu, 5 Jan 2017 13:10:31 +0000 (14:10 +0100)]
build: fix HOST_CONFIGURE_VARS placement

Ensure that HOST_CONFIGURE_VARS are set before the actual configure command
instead of passing them as configure command arguments.

This change brings host-build.mk in line with package-defaults.mk and makes
host configure environment variables work as expected.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agocmake: update to version 3.7.1
Felix Fietkau [Thu, 5 Jan 2017 12:22:42 +0000 (13:22 +0100)]
cmake: update to version 3.7.1

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: ensure that prereq-build is run before metadata scan from feeds (FS#367)
Felix Fietkau [Thu, 5 Jan 2017 10:49:58 +0000 (11:49 +0100)]
build: ensure that prereq-build is run before metadata scan from feeds (FS#367)

Fixes ./scripts/feeds update

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agouboot-sunxi: enable parallel build
Felix Fietkau [Thu, 5 Jan 2017 09:58:00 +0000 (10:58 +0100)]
uboot-sunxi: enable parallel build

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agosunxi: use fwtool for checking sdcard images
Yousong Zhou [Wed, 4 Jan 2017 14:19:30 +0000 (22:19 +0800)]
sunxi: use fwtool for checking sdcard images

To achieve this, device tree compatible string was used as boardname and
the value of it will be checked against supported_devices list.

It should be noted that we do not distinguish between
sun5i-a13-olimex-som and sun5i-a13-olinuxino as they share the same dts
file.

The other thing is that we need to gunzip the generated firmware to do
fwtool check.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agosunxi: add sysupgrade support
Yousong Zhou [Wed, 4 Jan 2017 14:19:29 +0000 (22:19 +0800)]
sunxi: add sysupgrade support

Enalbe builtin support for FAT filesystem as we need to mount boot
partition to store sysupgrade.tgz there

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agosunxi: make sdcard image with squashfs as rootfs
Yousong Zhou [Wed, 4 Jan 2017 14:19:28 +0000 (22:19 +0800)]
sunxi: make sdcard image with squashfs as rootfs

Two things that need to be noted

 - There is no partition type id allocated for squashfs yet.  In the
   case of sunxi, any non-zero value should work and we keep it 83 (the
   value for ext4)
 - Remaining spare space within the rootfs partition, not the entire
   sdcard space will be formated as either f2fs or ext4 and mounted as
   overlay to serve the role of rootfs_data.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agosunxi: convert to new image generation method
Yousong Zhou [Wed, 4 Jan 2017 14:19:27 +0000 (22:19 +0800)]
sunxi: convert to new image generation method

The new Device/xxx were transformed automatically from old profiles.

Most device names are now taken from basename of the corresponding
kernel device tree file.  Device/sun5i-a13-olimex-som is an exception
because it is not explicitly supported in the kernel yet and shares the
same dts file with Device/sun5i-a13-olinuxino

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agouboot-sunxi: add uboot-sunxi-all for selecting all other variants
Yousong Zhou [Wed, 4 Jan 2017 14:19:31 +0000 (22:19 +0800)]
uboot-sunxi: add uboot-sunxi-all for selecting all other variants

While at it, the following changes are introduced

 - Rewrite the Makefile for better readability
 - Make parallel builds possible

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agobase-files: export x86 platform upgrade functions to common.sh
Yousong Zhou [Sat, 31 Dec 2016 17:06:37 +0000 (01:06 +0800)]
base-files: export x86 platform upgrade functions to common.sh

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agosunxi: enable loopback device and f2fs support
Yousong Zhou [Sat, 31 Dec 2016 17:06:35 +0000 (01:06 +0800)]
sunxi: enable loopback device and f2fs support

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agosunxi: fix dts name for Mele M9
Yousong Zhou [Sat, 31 Dec 2016 17:06:33 +0000 (01:06 +0800)]
sunxi: fix dts name for Mele M9

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agobuild: unzip: perform operations quietly
Yousong Zhou [Sat, 31 Dec 2016 17:06:30 +0000 (01:06 +0800)]
build: unzip: perform operations quietly

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agox86: move sysupgrade.tgz only if it exists
Yousong Zhou [Sat, 31 Dec 2016 17:06:29 +0000 (01:06 +0800)]
x86: move sysupgrade.tgz only if it exists

To squash error messages at boot time

    mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agokernel: spi: allow setting chipselect gpio to sleep
Felix Fietkau [Fri, 30 Dec 2016 13:57:22 +0000 (14:57 +0100)]
kernel: spi: allow setting chipselect gpio to sleep

Fixes issues on some ar71xx MikroTik RouterBoard devices

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