oweals/openwrt.git
8 years agolantiq: VGV7519 - remove/merge redundant parts in dts
Mathias Kresin [Thu, 26 May 2016 21:08:19 +0000 (23:08 +0200)]
lantiq: VGV7519 - remove/merge redundant parts in dts

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agolantiq: fix ARV4518PWR01 network
Mohammed Berdai [Wed, 25 May 2016 22:30:38 +0000 (23:30 +0100)]
lantiq: fix ARV4518PWR01 network

This patch fixes the missing Lan interface config in the file
/etc/config/network for ARV4518PWR01/A which results in eth0 and br-lan
being down and therefore no way to access the router unless via UART-TTL.

Signed-off-by: Mohammed Berdai <mohammed.berdai@gmail.com>
8 years agomac80211: brcmfmac: return -ENFILE if interface exists
Rafał Miłecki [Mon, 30 May 2016 06:18:41 +0000 (08:18 +0200)]
mac80211: brcmfmac: return -ENFILE if interface exists

This makes brcmfmac compatible with mac80211 which uses dev_alloc_name
(and so returns -ENFILE on error).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agomac80211: change default SSID from Lede to LEDE
Rafał Miłecki [Tue, 24 May 2016 07:33:25 +0000 (09:33 +0200)]
mac80211: change default SSID from Lede to LEDE

LEDE project seems to be using "LEDE" as its acronym everywhere. To keep
things consistent adjust default wireless SSID.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>
Acked-by: John Crispin <john@phrozen.org>
Acked-by: Alexander Couzens <lynxis@fe80.eu>
8 years agoramips: add backported MT7628 pinmux fixes
Álvaro Fernández Rojas [Sun, 29 May 2016 09:26:41 +0000 (11:26 +0200)]
ramips: add backported MT7628 pinmux fixes

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agodownload.pl: Rework URLs
Daniel Engberg [Tue, 24 May 2016 12:52:54 +0000 (14:52 +0200)]
download.pl: Rework URLs

Provide HTTPS URL when possible, try to keep 8 mirrors per entry and spread
over several locations of the world. Since most active contributors are in
US/CA and/or EU prioritize mirrors that are within those regions if possible.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years agokernel: fix dependency chain of kmod-igb
Jo-Philipp Wich [Fri, 27 May 2016 16:14:37 +0000 (18:14 +0200)]
kernel: fix dependency chain of kmod-igb

The igb kmods selects kmod-i2c-algo-bit which in turn is invisible until
kmod-i2c-core gets selected, causing kmod-igb to be hidden from menuconfig
as well.

Let kmod-igb select kmod-i2c-core as well in order to make it visible
in menuconfig right away.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoutil-linux: fix breakage
Dirk Neukirchen [Fri, 27 May 2016 19:25:14 +0000 (21:25 +0200)]
util-linux: fix breakage

- install correct libs to staging/usr/lib
fixes eudev, nfs-kernel-server

the lib*.a seem broken - use the correct .so files
and remove .a libs

- some build breakage was observed with parallel builds:
text-utils/more-more.o: In function `putstring':
more.c:(.text+0x1f4): undefined reference to `tputs'
text-utils/more-more.o: In function `initterm':
more.c:(.text+0x1b74): undefined reference to `setupterm'
more.c:(.text+0x1f0c): undefined reference to `tparm'
more.c:(.text+0x20ac): undefined reference to `tigetnum'
more.c:(.text+0x20c8): undefined reference to `tigetflag'
more.c:(.text+0x20ec): undefined reference to `tigetstr'
more.c:(.text+0x2148): undefined reference to `PC'
text-utils/more-more.o: In function `reset_tty':
more.c:(.text+0x2630): undefined reference to `tputs'

- fix line length

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agobase-files: rework postinstall uci-defaults handling
Jo-Philipp Wich [Fri, 27 May 2016 07:43:14 +0000 (09:43 +0200)]
base-files: rework postinstall uci-defaults handling

Some package postinstall operations, e.g. those emitted by the LuCI build
system, source and delete the uci-defaults themselves upon package insteall,
causing the generic defaults apply code to trigger shell errors like:

    .../luci-app-ddns.postinst: .: line 130: can't open './40_luci-ddns'

Rework the generic apply code to check the existence of the uci-defaults
script before trying to source it, use sed to prefilter the list of entries
from the control file and perform the directory change in a subshell,
avoiding the need for cd $OLDPWD.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoutil-linux: fix sfdisk
Dirk Neukirchen [Wed, 25 May 2016 13:30:02 +0000 (15:30 +0200)]
util-linux: fix sfdisk

reported by reproducible openwrt project[1]:
we package some libtool shell script

- add missing dependencies
- fix paths
- make in InstallDev does not seem to be necessary

tested (cal,dmesg,sfdisk) on x86 qemu VM with allyesconfig

[1]: https://reproducible.debian.net/openwrt/openwrt.html

[Jo-Philipp Wich: fix double slash in sfdisk path, reword commit message]

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoar71xx: add GPIO pin for usb power switch for RouterBOARD 912
Cezary Jackiewicz [Wed, 25 May 2016 17:36:35 +0000 (19:36 +0200)]
ar71xx: add GPIO pin for usb power switch for RouterBOARD 912

RB912 has one usb shared between external USB and miniPCIe slot. GPIO52 can
reroute power to external USB (=1) or internal miniPCIe slot (=0)

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
8 years agomediatek: more mtd fixes
John Crispin [Wed, 25 May 2016 02:42:54 +0000 (04:42 +0200)]
mediatek: more mtd fixes

this fixes full builds when ALL_KMODS is selected

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix regression in VG3503J.dts
John Crispin [Tue, 24 May 2016 15:17:36 +0000 (17:17 +0200)]
lantiq: fix regression in VG3503J.dts

9d0608eef3e5b9fca - "lantiq: VG3503J - merge profiles"

resulted in the dts file missing the version string.

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoprocd: Update to latest head
Alexey Brodkin [Tue, 24 May 2016 10:51:31 +0000 (13:51 +0300)]
procd: Update to latest head

This includes a fix for building against uClibc:
http://git.openwrt.org/?p=project/procd.git;a=commit;h=9a6f83d3c168523ac7b898ae481c2fd8c501d6a6

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: John Crispin <john@phrozen.org>
8 years agomediatek: update mtd backport
John Crispin [Tue, 24 May 2016 15:01:41 +0000 (17:01 +0200)]
mediatek: update mtd backport

Signed-off-by: John Crispin <john@phrozen.org>
8 years agosdk: remove redundant symbol declaration
Jo-Philipp Wich [Tue, 24 May 2016 21:39:18 +0000 (23:39 +0200)]
sdk: remove redundant symbol declaration

Commit d79f8909c1bde8376c82537798ce363797033cf9 introduced CONFIG_ALL,
CONFIG_ALL_KMODS and CONFIG_ALL_NONSHARED as menuconfig choices to the SDK,
therefor we can drop the hardcoded CONFIG_ALL symbol declaration now.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agosdk: stop shipping a .config
Jo-Philipp Wich [Tue, 24 May 2016 21:32:14 +0000 (23:32 +0200)]
sdk: stop shipping a .config

Now that the most important options are exposed via menuconfig in the SDK we
can stop shipping a (possibly outdated) copy of .config from the emitting
buildroot.

Leaving out .config has two positive side effects:

 - A simple "make" run without any prior config will launch menuconfig, forcing
   interactive users to make appropriate choices

 - Buildbot systems (e.g. our phase2 builder) can issue a "make defconfig" to
   obtain a .config enabling all packages by default

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoiproute2: Use URL alias
Daniel Engberg [Tue, 24 May 2016 13:13:48 +0000 (15:13 +0200)]
iproute2: Use URL alias

Remove hardcoded URLs and use alias instead.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years agoiw: Use URL alias
Daniel Engberg [Tue, 24 May 2016 13:16:03 +0000 (15:16 +0200)]
iw: Use URL alias

Remove hardcoded URL and use alias instead.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years agokirkwood: add missing kernel symbol
Jo-Philipp Wich [Tue, 24 May 2016 17:41:24 +0000 (19:41 +0200)]
kirkwood: add missing kernel symbol

The query for ARMADA_THERMAL is stalling the kconfig process and as long as we
do not package it, simply disable the symbol.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agojsonfilter: allow empty paths
Jo-Philipp Wich [Tue, 24 May 2016 15:15:44 +0000 (17:15 +0200)]
jsonfilter: allow empty paths

Allow path specifications to refer to just '@' or '$' which is useful for
exporting the keys or array indizes of the toplevel object to the shell.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agodropbear: Fix incorrect CONFIG_TARGET_INIT_PATH.
Dario Ernst [Tue, 24 May 2016 14:06:07 +0000 (16:06 +0200)]
dropbear: Fix incorrect CONFIG_TARGET_INIT_PATH.

Fix a „semantic typo“ introduced in b78aae793e20e06defa1e75ab4d30dbb6807c139,
where TARGET_INIT_PATH was used instead of CONFIG_TARGET_INIT_PATH.

Signed-off-by: Dario Ernst <Dario.Ernst@riverbed.com>
8 years agox86: generalize partition discovery for sysupgrade
Jo-Philipp Wich [Tue, 24 May 2016 10:07:02 +0000 (12:07 +0200)]
x86: generalize partition discovery for sysupgrade

Generalize the partition discovery in sysupgrade in order to fix sysupgrade
and config backup/recovery on MMC block devices which use a different naming
scheme compared to mtdblock or sd* devices.

The change also adds the find applet to the ramdisk utilities so that upgrade
code can rely on it.

The commit is based on the initial submission by Russell Senior at
http://patchwork.ozlabs.org/patch/625440/ .

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoCentralize setting of all version info to include/version.mk
Hannu Nyman [Sun, 22 May 2016 08:49:54 +0000 (11:49 +0300)]
Centralize setting of all version info to include/version.mk

Centralize setting all version information in include/version.mk
* Set RELEASE env variable in include/version.mk instead of toplevel.mk.
  Stop exporting the variable.
* Remove hardcoded release name from /etc/banner

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agobusybox: sysntpd - Support for NTP servers received via DHCP(v6)
Hans Dedecker [Mon, 23 May 2016 12:30:57 +0000 (14:30 +0200)]
busybox: sysntpd - Support for NTP servers received via DHCP(v6)

The busybox ntpd utility currently uses ntp servers specified in uci.
This patch allows the ntpd utility to use NTP servers received via DHCP(v6)
Following uci parameters have been added:
    use_dhcp : enables NTP server config via DHCP(v6)
    dhcp_interface : use NTP servers received only on the specified DHCP(v6) interfaces; if empty all interfaces are considered

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
8 years agodnsmasq: Set the default dhcp lease file and resolv file
Daniel Dickinson [Thu, 17 Dec 2015 02:23:03 +0000 (21:23 -0500)]
dnsmasq: Set the default dhcp lease file and resolv file

Instead of making assumptions about the leasefile and resolv file make sure
we use what the user configures, but fall back to defaults if no configuration
is specified

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
8 years agosdk: Allow to change ALL* package settings in SDK
Daniel Dickinson [Mon, 23 May 2016 10:15:20 +0000 (06:15 -0400)]
sdk: Allow to change ALL* package settings in SDK

It is desirable to be able to use ./scripts/feeds install -a
when in the SDK without being forced to build a great number
of packages that are not actually wanted.

We therefore add the option of changing the various ALL package
build options so that we can default to packages not being built
unless we select them.

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
8 years agousbutils: Use github alias
Daniel Engberg [Mon, 23 May 2016 08:53:33 +0000 (10:53 +0200)]
usbutils: Use github alias

Instead of hardcoding URL to Github use alias.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years agodnsmasq: update to dnsmasq v2.76
Kevin Darbyshire-Bryant [Thu, 19 May 2016 10:55:15 +0000 (11:55 +0100)]
dnsmasq: update to dnsmasq v2.76

Update to dnsmasq2.76.  Refresh patches.  Add new patch to fix musl
'poll.h' location warning.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years agoconntrack: enable support for netfilter conntrack zones
Alin Năstac [Thu, 19 May 2016 07:54:06 +0000 (09:54 +0200)]
conntrack: enable support for netfilter conntrack zones

Storage of such zones is provided by a nf_ct_ext struct, hence conntrack
memory foot print will not be increased if zones are not used.

Signed-off-by: Alin Năstac <alin.nastac@gmail.com>
8 years agoramips: Add status led for Xiaomi MiWiFi Nano
Cezary Jackiewicz [Mon, 23 May 2016 16:51:17 +0000 (18:51 +0200)]
ramips: Add status led for Xiaomi MiWiFi Nano

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
8 years agoramips: fix timing issues when using MT7621 spi
John Crispin [Mon, 23 May 2016 10:16:29 +0000 (12:16 +0200)]
ramips: fix timing issues when using MT7621 spi

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoscripts/download.pl: Use CDN for kernel downloads
Petr Štetiar [Mon, 23 May 2016 10:55:01 +0000 (12:55 +0200)]
scripts/download.pl: Use CDN for kernel downloads

More info at https://www.kernel.org/introducing-fastly-cdn.html

Signed-off-by: Petr Štetiar <ynezz@true.cz>
8 years agopackage: spidev_test: update location for >Kernel 4.5
Dirk Neukirchen [Sat, 21 May 2016 11:08:20 +0000 (13:08 +0200)]
package: spidev_test: update location for >Kernel 4.5

- document indirect source code fixup affecting spidev_test

v2: check against old Kernel versions

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agomvebu: configure switch on WRT1200AC and WRT1900ACv2/S
Claudio Leite [Sat, 21 May 2016 22:34:03 +0000 (18:34 -0400)]
mvebu: configure switch on WRT1200AC and WRT1900ACv2/S

Also collapses the three identical configurations into one block.

Signed-off-by: Claudio Leite <leitec@staticky.com>
8 years agoar71xx/cpe510: use second wifi calibration table
Alexander Couzens [Mon, 23 May 2016 01:23:54 +0000 (03:23 +0200)]
ar71xx/cpe510: use second wifi calibration table

The cpe510 has two calibration tables. The first calibration
table requires to modify ath9k driver to work (patched tx gain table).

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agoar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510
Alexander Couzens [Mon, 23 May 2016 01:17:00 +0000 (03:17 +0200)]
ar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510

Split profile into 2GHz and 5GHz. The 5GHz devices are
quite "special". The 2 GHz works perfect.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agoimage.mk: remove obsolete SUBTARGETS variable
Felix Fietkau [Mon, 23 May 2016 10:15:32 +0000 (12:15 +0200)]
image.mk: remove obsolete SUBTARGETS variable

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: add MR1750v2 to the MR1750 profile
Sven Eckelmann [Fri, 20 May 2016 15:53:19 +0000 (17:53 +0200)]
ar71xx: add MR1750v2 to the MR1750 profile

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 board
Sven Eckelmann [Fri, 20 May 2016 15:53:18 +0000 (17:53 +0200)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 board

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agopackage/uboot-envtools: add OpenMesh MR1750v2 support
Sven Eckelmann [Fri, 20 May 2016 15:53:17 +0000 (17:53 +0200)]
package/uboot-envtools: add OpenMesh MR1750v2 support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agopackage/om-watchdog: add OpenMesh MR1750v2 support
Sven Eckelmann [Fri, 20 May 2016 15:53:16 +0000 (17:53 +0200)]
package/om-watchdog: add OpenMesh MR1750v2 support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: enable sysupgrade for the OpenMesh MR1750v2
Sven Eckelmann [Fri, 20 May 2016 15:53:15 +0000 (17:53 +0200)]
ar71xx: enable sysupgrade for the OpenMesh MR1750v2

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: add user-space support for the OpenMesh MR1750v2
Sven Eckelmann [Fri, 20 May 2016 15:53:14 +0000 (17:53 +0200)]
ar71xx: add user-space support for the OpenMesh MR1750v2

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: add kernel support for the OpenMesh MR1750v2
Sven Eckelmann [Fri, 20 May 2016 15:53:13 +0000 (17:53 +0200)]
ar71xx: add kernel support for the OpenMesh MR1750v2

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: add OM2P-HSv3 to the OM2P profile
Sven Eckelmann [Fri, 20 May 2016 15:53:12 +0000 (17:53 +0200)]
ar71xx: add OM2P-HSv3 to the OM2P profile

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agopackage/uboot-envtools: add OpenMesh OM2P-HSv3 support
Sven Eckelmann [Fri, 20 May 2016 15:53:11 +0000 (17:53 +0200)]
package/uboot-envtools: add OpenMesh OM2P-HSv3 support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agopackage/om-watchdog: add OpenMesh OM2P-HSv3 support
Sven Eckelmann [Fri, 20 May 2016 15:53:10 +0000 (17:53 +0200)]
package/om-watchdog: add OpenMesh OM2P-HSv3 support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3
Sven Eckelmann [Fri, 20 May 2016 15:53:09 +0000 (17:53 +0200)]
ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: add user-space support for the OpenMesh OM2P-HSv3
Sven Eckelmann [Fri, 20 May 2016 15:53:08 +0000 (17:53 +0200)]
ar71xx: add user-space support for the OpenMesh OM2P-HSv3

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: add kernel support for the OpenMesh OM2P-HSv3
Sven Eckelmann [Fri, 20 May 2016 15:53:07 +0000 (17:53 +0200)]
ar71xx: add kernel support for the OpenMesh OM2P-HSv3

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: Allow OpenMesh CE images with more than 3 files
Sven Eckelmann [Tue, 17 May 2016 15:51:36 +0000 (17:51 +0200)]
ar71xx: Allow OpenMesh CE images with more than 3 files

The CE image format used by OpenMesh can contain extra blocks which
are not used for flashing. Only the first three embedded images
(fwupgrade.cfg, kernel, rootfs) are required in this order to successfully
flash an image via sysupgrade. All extra embedded images should be ignored
for the available devices.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: Move OpenMesh image target validation into subfunction
Sven Eckelmann [Tue, 17 May 2016 15:51:35 +0000 (17:51 +0200)]
ar71xx: Move OpenMesh image target validation into subfunction

The platform_check_image_openmesh function used break statements to signal
that the board name matched the image target. This worked because the
sysupgrade binary checked the image inside a loop. The break statement
stopped the loop and skipped any additional check.

Instead the check should be done without such sideeffects by simply
combining the board names and image targets. Only a mismatch should cause a
negative result for the caller and skipping of the additional checks.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: Generate sysupgrade images for OpenMesh devices
Sven Eckelmann [Tue, 17 May 2016 15:51:34 +0000 (17:51 +0200)]
ar71xx: Generate sysupgrade images for OpenMesh devices

Some OpenWrt based firmwares like Gluon expect that a sysupgrade image
exists when a device firmware can be updated via sysupgrade. This image
wasn't created until now because OpenMesh devices use the same image for
factory and sysupgrade flash. Copying the image from *factory.bin to
*sysupgrade.bin is therefore enough to make the sysupgrade functionality
visible.

Reported-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: Add support for initramfs images for OpenMesh devices
Sven Eckelmann [Tue, 17 May 2016 15:51:33 +0000 (17:51 +0200)]
ar71xx: Add support for initramfs images for OpenMesh devices

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years agoar71xx: move nand device image definitions to a separate file
Felix Fietkau [Sun, 22 May 2016 21:10:54 +0000 (23:10 +0200)]
ar71xx: move nand device image definitions to a separate file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: move generic device image definitions to a separate file
Felix Fietkau [Sun, 22 May 2016 21:10:02 +0000 (23:10 +0200)]
ar71xx: move generic device image definitions to a separate file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: split ubnt image building code into a separate file
Felix Fietkau [Sun, 22 May 2016 21:06:59 +0000 (23:06 +0200)]
ar71xx: split ubnt image building code into a separate file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: split legacy image building code into a separate file
Felix Fietkau [Sun, 22 May 2016 21:04:50 +0000 (23:04 +0200)]
ar71xx: split legacy image building code into a separate file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: split tp-link image building code into a separate file
Felix Fietkau [Sun, 22 May 2016 20:57:32 +0000 (22:57 +0200)]
ar71xx: split tp-link image building code into a separate file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agox86_64: enable mmc to support booting off sd
Russell Senior [Sun, 22 May 2016 20:24:05 +0000 (13:24 -0700)]
x86_64: enable mmc to support booting off sd

Improved support for PCEngines APU

Signed-off-by: Russell Senior <russell@personaltelco.net>
8 years agoath25: update kernel from 3.18 to 4.4
Russell Senior [Mon, 16 May 2016 07:52:24 +0000 (00:52 -0700)]
ath25: update kernel from 3.18 to 4.4

Summary of changes:
* moved config-3.18 to config-4.4 and patches-3.18 to patches-4.4
* removed most of the first two patches, that seem to be upstream already
* changed deprecated/removed IRQF_DISABLED to zero following examples in upstream kernel patches
* added config line to disable device-tree to satisfy kernel configuration
* add new image generation code

Build tested and run tested on an Accton MR3201A.

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
8 years agoramips: Add specific compatible properties for esw
John Crispin [Sat, 14 May 2016 19:58:35 +0000 (21:58 +0200)]
ramips: Add specific compatible properties for esw

Currently, for RT5350 and MT7628, esw is marked as compatible with
"ralink,rt3050-esw". While this is true, the switches within RT5350
and MT7628 actually support more functionality than the RT3050 switch.

One such example is per-VLAN untagging, which is an important feature.

RT3352 is another example of this, but it already has an additional
compatible property, which allows to differentiate it from RT3050.

This commit adds such more specific properties for RT5350 and MT7628
as well.

Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
8 years agomediatek: update patches
John Crispin [Mon, 23 May 2016 09:20:20 +0000 (11:20 +0200)]
mediatek: update patches

* fixes NAND
* adds latest ethernet patches

Signed-off-by: John Crispin <john@phrozen.org>
8 years agobase-files: fix some failsafe issues
John Crispin [Mon, 16 May 2016 03:32:45 +0000 (05:32 +0200)]
base-files: fix some failsafe issues

* if the shell was closed booting continued

Signed-off-by: John Crispin <john@phrozen.org>
8 years agofstools: update to latest git version
John Crispin [Mon, 23 May 2016 05:49:06 +0000 (07:49 +0200)]
fstools: update to latest git version

* adds support for ACL mount flags
* adds vfat fsck support

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoprocd: update to latest head
John Crispin [Tue, 17 May 2016 08:46:09 +0000 (10:46 +0200)]
procd: update to latest head

fixes /dev/console handling during early boot

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: VG3503J - use the 11G firmware
Mathias Kresin [Sat, 21 May 2016 10:16:37 +0000 (12:16 +0200)]
lantiq: VG3503J - use the 11G firmware

Use the 11G firmware for the phys as the oem firmware does.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agolantiq: VG3503J - merge profiles
Mathias Kresin [Sat, 21 May 2016 10:16:36 +0000 (12:16 +0200)]
lantiq: VG3503J - merge profiles

The only difference between the VG3503J profiles is the version of the
gphy firmware that gets loaded. This can be handled perfect fine in one
device tree source file.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agouboot-lantiq: ARV752DPW - use correct switch driver
Mathias Kresin [Sat, 21 May 2016 10:13:40 +0000 (12:13 +0200)]
uboot-lantiq: ARV752DPW - use correct switch driver

There is no RTL8206 switch driver.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agouboot-lantiq: VGV7510KW22 - use ddr ram params from brnboot
Mathias Kresin [Sat, 21 May 2016 10:13:39 +0000 (12:13 +0200)]
uboot-lantiq: VGV7510KW22 - use ddr ram params from brnboot

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agouboot-lantiq: VGV7510KW22 - use leds to indicate boot status
Mathias Kresin [Sat, 21 May 2016 10:13:38 +0000 (12:13 +0200)]
uboot-lantiq: VGV7510KW22 - use leds to indicate boot status

Switch on the red power led if kernel image can't be loaded. Otherwise
switch the green led on.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agouboot-lantiq: VGV7510KW22 - cleanup board config
Mathias Kresin [Sat, 21 May 2016 10:13:37 +0000 (12:13 +0200)]
uboot-lantiq: VGV7510KW22 - cleanup board config

According to the author, all SPI related configs are copy & paste
leftovers. Which makes sense since nothing is connected to the SPI bus
on this device.

The NOR SPL isn't required for this board, since the NOR is directly
memory mapped.

Allow to overwrite the env in ram while using brn variant. Do not set
the power GPIO pin twice.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agouboot-lantiq: reorder and rework patches
Mathias Kresin [Sat, 21 May 2016 10:13:36 +0000 (12:13 +0200)]
uboot-lantiq: reorder and rework patches

use:
  - 00nn for u-boot patches
  - 01nn for new boards

While doing the rework, the board definitions for the easy50712 and
easy80920 were moved to distinct board definitions patches.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agouboot-lantiq: drop unused board patches
Mathias Kresin [Sat, 21 May 2016 10:13:35 +0000 (12:13 +0200)]
uboot-lantiq: drop unused board patches

None of the boards is supported by lede. No need to keep the patches in
the lede tree.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agolantiq: disable phy led complex (test) functions by default
Mathias Kresin [Sat, 21 May 2016 10:09:36 +0000 (12:09 +0200)]
lantiq: disable phy led complex (test) functions by default

They can be added using the phy led device tree bindings if required.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agoimx6: move profile definitions to the image/Makefile
John Crispin [Tue, 17 May 2016 18:03:22 +0000 (20:03 +0200)]
imx6: move profile definitions to the image/Makefile

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoramips: cleanup for Hame MPR-A2
Cezary Jackiewicz [Thu, 19 May 2016 05:37:58 +0000 (07:37 +0200)]
ramips: cleanup for Hame MPR-A2

- disable all ethernet ports except port 0 on MPR-A2

Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power.

- don't use a VLAN for the single ethernet port of the MPR-A2

Like A5-V11, this router only has one ethernet port.

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
8 years agomdns: update to latest git HEAD
John Crispin [Mon, 23 May 2016 07:29:52 +0000 (09:29 +0200)]
mdns: update to latest git HEAD

* fixes loopback handling

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoimage.mk: fix profile selection in the image builder
Felix Fietkau [Sun, 22 May 2016 17:51:00 +0000 (19:51 +0200)]
image.mk: fix profile selection in the image builder

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: backport upstream ethernet driver improvements and enable buffer manager support
Felix Fietkau [Sat, 21 May 2016 20:16:56 +0000 (22:16 +0200)]
mvebu: backport upstream ethernet driver improvements and enable buffer manager support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agooxnas: use global UBIFS_OPTS, all profiles use the same settings
Felix Fietkau [Sun, 22 May 2016 13:51:52 +0000 (15:51 +0200)]
oxnas: use global UBIFS_OPTS, all profiles use the same settings

Fixes build when selecting a device profile

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomwlwifi: remove the a-mpdu failure messages entirely instead of hiding them in the...
Felix Fietkau [Sun, 22 May 2016 13:43:08 +0000 (15:43 +0200)]
mwlwifi: remove the a-mpdu failure messages entirely instead of hiding them in the debug log

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: fix device I/O coherency issues
Felix Fietkau [Sun, 22 May 2016 10:33:39 +0000 (12:33 +0200)]
mvebu: fix device I/O coherency issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: remove bogus CONFIG_LOG_BUF_SHIFT overrides
Felix Fietkau [Sat, 21 May 2016 20:35:22 +0000 (22:35 +0200)]
kernel: remove bogus CONFIG_LOG_BUF_SHIFT overrides

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: correct patch name of the crypto sram fix
Felix Fietkau [Sat, 21 May 2016 20:32:30 +0000 (22:32 +0200)]
mvebu: correct patch name of the crypto sram fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: fix bus ranges for the crypto processor sram
Felix Fietkau [Sat, 21 May 2016 20:06:19 +0000 (22:06 +0200)]
mvebu: fix bus ranges for the crypto processor sram

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolibpcap: set a static default for PCAP_HAS_USB
Felix Fietkau [Sat, 21 May 2016 18:02:05 +0000 (20:02 +0200)]
libpcap: set a static default for PCAP_HAS_USB

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: tune kernel config for performance
Felix Fietkau [Sat, 21 May 2016 17:56:47 +0000 (19:56 +0200)]
mvebu: tune kernel config for performance

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: enable core drivers in the kernel config instead of packaging them
Felix Fietkau [Sat, 21 May 2016 17:09:59 +0000 (19:09 +0200)]
mvebu: enable core drivers in the kernel config instead of packaging them

Simplify profile package selection

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: add some more flash driver fixes
Felix Fietkau [Sat, 21 May 2016 16:07:28 +0000 (18:07 +0200)]
mvebu: add some more flash driver fixes

Disable marvell,nand-keep-config property on WRT1900AC to allow the
flash driver to properly probe the chip

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: rename recently added flash driver fix
Felix Fietkau [Sat, 21 May 2016 16:07:12 +0000 (18:07 +0200)]
mvebu: rename recently added flash driver fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomwlwifi: fix excessive logspam if starting a BA session fails
Felix Fietkau [Sat, 21 May 2016 15:50:08 +0000 (17:50 +0200)]
mwlwifi: fix excessive logspam if starting a BA session fails

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomwlwifi: fix excessive use of busy-waiting that was tripping up the flash driver
Felix Fietkau [Sat, 21 May 2016 15:47:42 +0000 (17:47 +0200)]
mwlwifi: fix excessive use of busy-waiting that was tripping up the flash driver

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomwlwifi: update to 10.3.0.17-20160520-1
Felix Fietkau [Sat, 21 May 2016 15:47:20 +0000 (17:47 +0200)]
mwlwifi: update to 10.3.0.17-20160520-1

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: prevent crash in the flash driver in case of a spurious interrupt
Felix Fietkau [Sat, 21 May 2016 13:16:09 +0000 (15:16 +0200)]
mvebu: prevent crash in the flash driver in case of a spurious interrupt

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: backport an upstream NAND flash driver fix
Felix Fietkau [Sat, 21 May 2016 13:15:51 +0000 (15:15 +0200)]
mvebu: backport an upstream NAND flash driver fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoramips: use green power LED as status indicator for Buffalo WSR-1166 and WSR-600
Felix Fietkau [Sat, 21 May 2016 09:35:33 +0000 (11:35 +0200)]
ramips: use green power LED as status indicator for Buffalo WSR-1166 and WSR-600

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: allow whitespace characters in VERSION_DIST
Felix Fietkau [Sat, 21 May 2016 11:57:26 +0000 (13:57 +0200)]
build: allow whitespace characters in VERSION_DIST

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agouhttpd: use configured distribution name for SSL certificate CN
Felix Fietkau [Sat, 21 May 2016 10:42:44 +0000 (12:42 +0200)]
uhttpd: use configured distribution name for SSL certificate CN

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