openwrt/staging/thess.git
9 years agokernel: add missing symbols for 4.1
Zoltan Herpai [Thu, 20 Aug 2015 23:19:42 +0000 (23:19 +0000)]
kernel: add missing symbols for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 46696

9 years agoodhcpd: various RA improvements
Steven Barth [Thu, 20 Aug 2015 12:43:45 +0000 (12:43 +0000)]
odhcpd: various RA improvements

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46694

9 years agomwlwifi: fix commit hash for 10.3.0.8
Imre Kaloz [Wed, 19 Aug 2015 08:45:19 +0000 (08:45 +0000)]
mwlwifi: fix commit hash for 10.3.0.8

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46693

9 years agomvebu: add support for the Linksys boot counter
Imre Kaloz [Wed, 19 Aug 2015 08:31:23 +0000 (08:31 +0000)]
mvebu: add support for the Linksys boot counter

The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46690

9 years agouhttpd: we don't know where the device is located, so reflect that in the cert
Imre Kaloz [Wed, 19 Aug 2015 08:20:11 +0000 (08:20 +0000)]
uhttpd: we don't know where the device is located, so reflect that in the cert

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46688

9 years agomwlwifi: upgrade to 10.3.0.8-20150818
Imre Kaloz [Tue, 18 Aug 2015 11:22:47 +0000 (11:22 +0000)]
mwlwifi: upgrade to 10.3.0.8-20150818

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46687

9 years agoenable strong SSP / Stackprotector on gcc5
Steven Barth [Tue, 18 Aug 2015 09:20:34 +0000 (09:20 +0000)]
enable strong SSP / Stackprotector on gcc5

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46685

9 years agomusl: fix getsubopt function
Steven Barth [Tue, 18 Aug 2015 09:18:40 +0000 (09:18 +0000)]
musl: fix getsubopt function

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46684

9 years agopolarssl: Fix build failures due to PKG_NAME != dir name
Steven Barth [Tue, 18 Aug 2015 08:37:38 +0000 (08:37 +0000)]
polarssl: Fix build failures due to PKG_NAME != dir name

Packages that depend on PolarSSL fail to build because polarssl's InstallDev
section never actually gets executed because (prior to this patch) the package
name does not match the subdir the package is in (presumably due to upstream
name change).  As a workaround I have changed the package name back to
polarssl and used a new variable SRC_PKG_NAME for the purposes of downloading
the upstream tarball and creating PKG_BUILD_DIR.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 46683

9 years agomac80211: add mt7601u driver
Hauke Mehrtens [Mon, 17 Aug 2015 21:19:27 +0000 (21:19 +0000)]
mac80211: add mt7601u driver

firmware is not available in linux-firmware yet
so use official driver source

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46682

9 years agouhttpd: pass X-HTTP-Method-Override header to cgi scripts
Jo-Philipp Wich [Mon, 17 Aug 2015 16:17:36 +0000 (16:17 +0000)]
uhttpd: pass X-HTTP-Method-Override header to cgi scripts

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46677

9 years agoat91: fix usb rate backport patch tab mangle
John Crispin [Mon, 17 Aug 2015 16:10:49 +0000 (16:10 +0000)]
at91: fix usb rate backport patch tab mangle

The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply.
This should fix the issue, sorry for the noise.

Signed-off-by: Ben Whitten <benwhitten@gmail.com>
SVN-Revision: 46676

9 years agoorion: remove IRQF_DISABLED
John Crispin [Mon, 17 Aug 2015 11:26:14 +0000 (11:26 +0000)]
orion: remove IRQF_DISABLED

no-op since 2.6.35
    removed in Kernel 4.1
    see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46672

9 years agogeneric: crypto: remove IRQF_DISABLED
John Crispin [Mon, 17 Aug 2015 11:26:02 +0000 (11:26 +0000)]
generic: crypto: remove IRQF_DISABLED

no-op since 2.6.35
    removed in Kernel 4.1
    see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46671

9 years agolantiq: Support newer versions of the PEF7071 ethernet PHYs
John Crispin [Mon, 17 Aug 2015 11:25:57 +0000 (11:25 +0000)]
lantiq: Support newer versions of the PEF7071 ethernet PHYs

The BT Home Hub 5A uses three PEF7071 with PHY ID 0xd565a401. Daniel's
PHY driver (for his u-boot sources) already supports that PHY because
it uses a PHY ID mask of 0xfffffff8.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46670

9 years agoiwinfo: update to latest git HEAD
John Crispin [Mon, 17 Aug 2015 11:25:51 +0000 (11:25 +0000)]
iwinfo: update to latest git HEAD

adds extra station info reporting

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46669

9 years agooxnas: remove support for kernel 3.18 and 4.0
John Crispin [Mon, 17 Aug 2015 11:25:46 +0000 (11:25 +0000)]
oxnas: remove support for kernel 3.18 and 4.0

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 46668

9 years agoramips: move patches around
John Crispin [Mon, 17 Aug 2015 10:13:46 +0000 (10:13 +0000)]
ramips: move patches around

0073 needs to applied afert 0102

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46667

9 years agougps: update to latest git HEAD
John Crispin [Mon, 17 Aug 2015 10:13:03 +0000 (10:13 +0000)]
ugps: update to latest git HEAD

fixes 2 bugs
* typo
* use %04d rather than %d when printing the position

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46666

9 years agoramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scripts
John Crispin [Mon, 17 Aug 2015 06:24:47 +0000 (06:24 +0000)]
ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scripts

Instead of using board name provided explicitly as text in LED name, ex.:

[...]
mlwg2)
status_led="mlwg2:blue:system"
[...]

use $board variable, which allows to combine together multiple boards with same color and LED names, ex:

[...]
mlw221|\
mlwg2)
status_led="$board:blue:system"
[...]

The above approach allows to shrink size of code in base-files/etc/board.d/01_leds and base-files/etc/diag.sh scripts dramatically.
One thing to keep in mind here is that we assume to use proper and consistent LED naming scheme ("device:color:led-name").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46665

9 years agoramips: use consistent naming scheme for LEDs
John Crispin [Mon, 17 Aug 2015 06:24:34 +0000 (06:24 +0000)]
ramips: use consistent naming scheme for LEDs

The upstream LED naming convention is "device:color:led-name", but it seems that many of supported boards in OpenWrt don't follow this approach.
The following patch fixes this inconsistency in dts{,i} files and updates base-files scripts for ramips target:
 * fixes wrong indentation
 * keeps case statements structure in same convention as in other scripts (no empty line after ";;", no indentation for case...esac body)
 * fixes wrong LED names for some of boards (makes them the same as in dts{,i} files)
 * combines boards with same configuration (ex. set_wifi_led "rt2800pci-phy0::radio" in 01_leds)

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46664

9 years agoar71xx: add support for TP-Link TL-WDR6500 v2
John Crispin [Mon, 17 Aug 2015 06:24:04 +0000 (06:24 +0000)]
ar71xx: add support for TP-Link TL-WDR6500 v2

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This patch adds support for TP-Link TL-WDR6500 v2.

The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for
the whole firmware, so I have to create a new firmware creation method.

SVN-Revision: 46663

9 years agoar71xx: add 64kb bootloader mtd parser for tplinkpart
John Crispin [Mon, 17 Aug 2015 06:23:49 +0000 (06:23 +0000)]
ar71xx: add 64kb bootloader mtd parser for tplinkpart

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This patch adds flash layout parser for TP-Link firmwares which have a 64kb
bootloader.

This is used for TP-Link TL-WDR6500 v2.

SVN-Revision: 46662

9 years agotools/firmware-utils: add header version 2 support for mktplinkfw
John Crispin [Mon, 17 Aug 2015 06:23:43 +0000 (06:23 +0000)]
tools/firmware-utils: add header version 2 support for mktplinkfw

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This patch adds header version 2 option for mktplinkfw.

The version 2 header is used for AR/QCA firmwares and is not the same as
the header generated by mktplinkfw2.
Instead, it is nearly the same as version 1 header except for the header
version and the RSA signature.

The header version 2 support is used for newer TP-Link routers which have
only a 64kb bootloader part, e.g. TL-WDR6500 v2.

SVN-Revision: 46661

9 years agoramips: reorder the sysupgrade script
John Crispin [Mon, 17 Aug 2015 06:18:38 +0000 (06:18 +0000)]
ramips: reorder the sysupgrade script

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46660

9 years agoramips: reorder patches
John Crispin [Mon, 17 Aug 2015 06:18:30 +0000 (06:18 +0000)]
ramips: reorder patches

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46659

9 years agoipq806x: switch AP148 to using SMEM based MTD parser
John Crispin [Mon, 17 Aug 2015 06:18:15 +0000 (06:18 +0000)]
ipq806x: switch AP148 to using SMEM based MTD parser

*Enable SMEM MTD parser and its dependencies (SMEM & HW spinlocks) in
 the kernel config
*Replaces the MTD layout in DT by the dynamic layout provided by the
 SMEM parser for AP148

Using the OF based parser is still possible on platforms which have a
fixed MTD partition layout.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 46658

9 years agoipq806x: add QCOM SMEM based MTD parser
John Crispin [Mon, 17 Aug 2015 06:18:04 +0000 (06:18 +0000)]
ipq806x: add QCOM SMEM based MTD parser

This patch adds a new parser which uses the SMEM available on IPQ and
some other QCOM platforms to map the MTD partitions.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 46657

9 years agoipq806x: add SMEM support
John Crispin [Mon, 17 Aug 2015 06:17:58 +0000 (06:17 +0000)]
ipq806x: add SMEM support

2 patches are cherry-picked from the following LKML thread:
*https://lkml.org/lkml/2015/4/11/208

The last patch (036-soc-qcom-add-smem-to-IPQ806x-platforms.patch) is
adding the corresponding DT nodes required for IPQ806x.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 46656

9 years agoipq806x: add hwspinlock support
John Crispin [Mon, 17 Aug 2015 06:17:47 +0000 (06:17 +0000)]
ipq806x: add hwspinlock support

This change cherry-picks the following 3 changes from linux-next:
*fb7737 hwspinlock/core: add device tree support
*19a0f6 hwspinlock: qcom: Add support for Qualcomm HW Mutex block
*bd5717 hwspinlock: qcom: Correct msb in regmap_field

We're also adding a patch to add the hardware spinlock device nodes on
IPQ806x platforms (033-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch).

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 46655

9 years agokernel: move linux, part-probe dt parsing in generic code
John Crispin [Mon, 17 Aug 2015 06:17:37 +0000 (06:17 +0000)]
kernel: move linux, part-probe dt parsing in generic code

The "linux,part-probe" dts parsing is a pretty neat generic feature.
It has been posted to kernel.org and could easily be reused by all
targets.

This change moves the patch to the 3.18 and 4.1 generic folders, and
makes the feature available to all platforms who may want to use it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46654

9 years agobase-files: default_postinst: propagate the real postinst return code
John Crispin [Mon, 17 Aug 2015 06:17:23 +0000 (06:17 +0000)]
base-files: default_postinst: propagate the real postinst return code

Using the postinst script for sanity checks and expecting opkg to fail
if the postinst didn't return 0 was possible in Barrier Breaker, propagate
the real postinst return code through default_postinst to restore this
behaviour.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 46653

9 years agohostapd: Add vlan_file option to netifd.sh
John Crispin [Mon, 17 Aug 2015 06:17:13 +0000 (06:17 +0000)]
hostapd: Add vlan_file option to netifd.sh

Other VLAN related options are already being processed in netifd.sh
but the vlan_file option is missing. This option allows the mapping
of vlan IDs to network interfaces and will be used in dynamic VLAN
feature for binding stations to interfaces based on VLAN
assignments. The change is done similarly to the wpa_psk_file
option.

Signed-off-by: Gong Cheng <chengg11@yahoo.com>
SVN-Revision: 46652

9 years agoar71xx: Add support for Black Swift
John Crispin [Mon, 17 Aug 2015 06:16:54 +0000 (06:16 +0000)]
ar71xx: Add support for Black Swift

Add support for the Black Swift board:
http://www.black-swift.com/

Took relevant parts and slightly adapted from:
https://github.com/blackswift/openwrt/blob/master/bsb.patch

Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 46651

9 years agobase-files: rework reset button script to indicate factory reset
John Crispin [Mon, 17 Aug 2015 06:16:39 +0000 (06:16 +0000)]
base-files: rework reset button script to indicate factory reset

With this change we let user know 5 seconds have passed and reset button
can be released (to trigger factory reset)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46650

9 years agoat91: Backport determine_rate prototype fix
John Crispin [Mon, 17 Aug 2015 06:16:29 +0000 (06:16 +0000)]
at91: Backport determine_rate prototype fix

This patch is backport of a fix to a USB prototype mismatch bug found
in 3.18 kernels, originally submitted by Boris Brezillon [1].
The symptom of this bug was that devices attached to the at91 using
at91_ohci on a hub never appeared and failed to initialise.

[1] http://www.spinics.net/lists/linux-usb/msg125969.html

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
SVN-Revision: 46649

9 years agomcs814x: use firmware partition splitter on dLAN USB Extender
John Crispin [Mon, 17 Aug 2015 06:16:19 +0000 (06:16 +0000)]
mcs814x: use firmware partition splitter on dLAN USB Extender

to avoid editing the dts every time the kernel size changes.
uImage is now bigger than 1MB. Pad uImage to 64k erase block size.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46648

9 years agomcs814x: fix interrupt handling
John Crispin [Mon, 17 Aug 2015 06:16:08 +0000 (06:16 +0000)]
mcs814x: fix interrupt handling

Switch to generich chip irqs/irq domains.
Interrupts were broken since kernel 3.14. dLAN USB extender is now
booting again.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46647

9 years agomcs814x: fix debug UART
John Crispin [Mon, 17 Aug 2015 06:15:56 +0000 (06:15 +0000)]
mcs814x: fix debug UART

Switch to new 8250 debug uart code because the old
mach-mcs814x/include/mach/debug-macro.S tries to include
asm/hardware/debug-8250.S which no longer exists since kernel 3.14

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46646

9 years agoramips: Fix MT7621 pinmux bits for uart3, uart2, mdio
John Crispin [Mon, 17 Aug 2015 06:15:49 +0000 (06:15 +0000)]
ramips: Fix MT7621 pinmux bits for uart3, uart2, mdio

The MT7621 uses a 2 bit wide configuration of the sdhci, spi, mdio, pcie,
wdt, uart2 and uart3 in the GPIO_MODE register. It was correctly done
for sdhci, spi, pcie and wdt, The same has to be done for uart3, uart2
and mdio.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46645

9 years agoramips: Fix amount of MT7621 pins controlled by spi group
John Crispin [Mon, 17 Aug 2015 06:15:44 +0000 (06:15 +0000)]
ramips: Fix amount of MT7621 pins controlled by spi group

The PINS conntrolled by the SPI bits in the GPIO_MODE register is always
7 and not 8 for nand mode.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46644

9 years agoramips: Fix uart2/uart3 pinmux order on MT7621
John Crispin [Mon, 17 Aug 2015 06:15:34 +0000 (06:15 +0000)]
ramips: Fix uart2/uart3 pinmux order on MT7621

The uart3 setting in GPIO_MODE register is before the uart2 setting. Also
don't mix uart2 and uart3 function/groups.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46643

9 years agobrcm2708: override disabled device tree module status from config.txt
John Crispin [Mon, 17 Aug 2015 06:04:48 +0000 (06:04 +0000)]
brcm2708: override disabled device tree module status from config.txt

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46642

9 years agobrcm2708: fix kmod-sound-soc-iqaudio-dac and add missing symbol
John Crispin [Mon, 17 Aug 2015 06:04:39 +0000 (06:04 +0000)]
brcm2708: fix kmod-sound-soc-iqaudio-dac and add missing symbol

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46641

9 years agobrcm2708: update 4.1 patches
John Crispin [Mon, 17 Aug 2015 06:04:32 +0000 (06:04 +0000)]
brcm2708: update 4.1 patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46640

9 years agobrcm2708: use BuildDTB in image/Makefile
John Crispin [Mon, 17 Aug 2015 06:04:18 +0000 (06:04 +0000)]
brcm2708: use BuildDTB in image/Makefile

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46639

9 years agobrcm2708-gpu-fw: update to latest version
John Crispin [Mon, 17 Aug 2015 06:04:10 +0000 (06:04 +0000)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46638

9 years agooxnas: switch to kernel 4.1
John Crispin [Mon, 17 Aug 2015 06:04:02 +0000 (06:04 +0000)]
oxnas: switch to kernel 4.1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 46637

9 years agooxnas: prepare for kernel 4.1
John Crispin [Mon, 17 Aug 2015 06:03:57 +0000 (06:03 +0000)]
oxnas: prepare for kernel 4.1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 46636

9 years agoramips: remove unnecessary LED declaration for WT1520 in diag.sh
John Crispin [Mon, 17 Aug 2015 06:03:42 +0000 (06:03 +0000)]
ramips: remove unnecessary LED declaration for WT1520 in diag.sh

This device doesn't have defined LEDs in its dts file.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46635

9 years agoramips: fix indentation, case statements structure and optimize base-files/etc/board...
John Crispin [Mon, 17 Aug 2015 06:02:59 +0000 (06:02 +0000)]
ramips: fix indentation, case statements structure and optimize base-files/etc/board.d/02_network

The following patch:
 * fixes wrong indentation
 * combines together boards with same configuration
 * removes unnecessary spaces
 * removes empty lines after ";;" and uses only "|\" (for consistency)
 * orders boards alphabetically

in base-files/etc/board.d/02_network script.

One bug was left untouched: freestation5 board is listed twice in case statement, in ramips_setup_macs().

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46634

9 years agoramips: be consistent with case statement in base-files/lib/upgrade/platform.sh
John Crispin [Mon, 17 Aug 2015 06:01:49 +0000 (06:01 +0000)]
ramips: be consistent with case statement in base-files/lib/upgrade/platform.sh

Always use "|\" (without spaces) and keep boards in alphabetical order.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46633

9 years agoramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh
John Crispin [Mon, 17 Aug 2015 06:01:44 +0000 (06:01 +0000)]
ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh

This patch:
 * fixes various mistakes (leading spaces, wrong or missing model names)
 * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization)
 * sorts boards alphabetically

in base-files/lib/ramips.sh script.

Case statement was tested after above changes with simple script, which:
 * takes model string from dts{,i} file (model = "...")
 * provides this value as case input ($machine)
 * returns output ($name)

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46632

9 years agoramips: fix various mistakes in subtargets *.mk profiles
John Crispin [Mon, 17 Aug 2015 06:01:38 +0000 (06:01 +0000)]
ramips: fix various mistakes in subtargets *.mk profiles

This patch:
 * fixes wrong indentation
 * fixes wrong names and descriptions (ex. Dlink -> D-Link)
 * changes filenames to manufacturer names
 * moves oem/unknown manufacturers boards to misc.mk profiles
 * combines profiles for boards from the same manufacturers in one file (ex. Olimex)
 * fix profile files structure (keep the same convention as in other targets, ex. ar71xx)

in various .mk profiles, in ramips target.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46631

9 years agoramips: remove old code for Edimax BR-6524N
John Crispin [Mon, 17 Aug 2015 06:01:23 +0000 (06:01 +0000)]
ramips: remove old code for Edimax BR-6524N

It seems that support for Edimax BR-6524N was dropped long time ago (dts file for this device is missing).
This patch removes remaining code.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46630

9 years agoramips: fix 7Links PX-4885 dts{, i}, board, image and profile names
John Crispin [Mon, 17 Aug 2015 06:01:06 +0000 (06:01 +0000)]
ramips: fix 7Links PX-4885 dts{, i}, board, image and profile names

The following patch changes 7Links PX-4885 dts{,i} filenames, board, image and profile names from "PX4885" to "PX-4885" (for consistency).

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46629

9 years agoramips: fix Buffalo WMR-300 dts, board, image and profile names
John Crispin [Mon, 17 Aug 2015 06:00:49 +0000 (06:00 +0000)]
ramips: fix Buffalo WMR-300 dts, board, image and profile names

The following patch changes Buffalo WMR-300 dts filename, board, image and profile names from "WMR300" to "WMR-300" (for consistency).

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46628

9 years agoramips: fix Omnima models, images and profiles names
John Crispin [Mon, 17 Aug 2015 06:00:11 +0000 (06:00 +0000)]
ramips: fix Omnima models, images and profiles names

Official names for supported Omnima products are (as on website):
 * Omnima HPM
 * Omnima MiniEMBWiFi
 * Omnima MiniEMBPlug

This patch changes:
 * board names
 * dts filenames
 * profile names
 * image filenames
 * LED names

for Omnima devices, for consistency.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46627

9 years agoramips: fix Edimax BR-6425 board name
John Crispin [Mon, 17 Aug 2015 05:59:57 +0000 (05:59 +0000)]
ramips: fix Edimax BR-6425 board name

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46626

9 years agoramips: fix Tenda W150M model name
John Crispin [Mon, 17 Aug 2015 05:59:47 +0000 (05:59 +0000)]
ramips: fix Tenda W150M model name

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46625

9 years agoramips: fix Aigale Ai-BR100 dts and profile names
John Crispin [Mon, 17 Aug 2015 05:59:36 +0000 (05:59 +0000)]
ramips: fix Aigale Ai-BR100 dts and profile names

The following patch changes dts filename and profile name for Aigale Ai-BR100 (for consistency).

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46624

9 years agoramips: fix Olimex models, images and profiles names
John Crispin [Mon, 17 Aug 2015 05:59:29 +0000 (05:59 +0000)]
ramips: fix Olimex models, images and profiles names

Official names for RT5350F based OLinuXino products are "RT5350F-OLinuXino{,-EVB}" as on official manufacturer website.
The following patch:
 * changes board names from "olinuxino-rt5350f{,-evb}" to "rt5350f-olinuxino{,-evb}"
 * changes filenames of dts and profile files
 * changes image filenames

for Olimex RT5350F-OLinuXino{,-EVB} devices.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46623

9 years agoramips: fix Sitecom WL-341v3 board and image names
John Crispin [Mon, 17 Aug 2015 05:59:12 +0000 (05:59 +0000)]
ramips: fix Sitecom WL-341v3 board and image names

The following patch changes:
 * board name from "wl341v3" to "wl-341v3"
 * dts filename
 * LED names in dts file

for Sitecom WL-341v3 device.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46622

9 years agoramips: fix Argus ATP-52B board and image names
John Crispin [Mon, 17 Aug 2015 05:58:57 +0000 (05:58 +0000)]
ramips: fix Argus ATP-52B board and image names

The following patch:
 * changes board name from "argus-atp52b" to "atp-52b"
 * changes dts filename
 * fixes LED names in dts file and base-files scripts
 * removes manufacturer name from image filename

for Argus ATP-52B device.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46621

9 years agoramips: fix Belkin F7C027 image name
John Crispin [Mon, 17 Aug 2015 05:58:44 +0000 (05:58 +0000)]
ramips: fix Belkin F7C027 image name

This patch removes manufacturer from Belkin F7C027 image name ("belkinf7c027" -> "f7c027").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46620

9 years agoramips: fix Asus RT-N56U dts filename
John Crispin [Mon, 17 Aug 2015 05:58:35 +0000 (05:58 +0000)]
ramips: fix Asus RT-N56U dts filename

Other Asus RT-N dts files are named "RT-N..." (not "RTN..."), so use the same for RT-N56U.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46619

9 years agoramips: fix UPVEL model names
John Crispin [Mon, 17 Aug 2015 05:58:20 +0000 (05:58 +0000)]
ramips: fix UPVEL model names

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46618

9 years agoramips: fix Xiaomi MiWiFi Mini board, image and profile names
John Crispin [Mon, 17 Aug 2015 05:58:15 +0000 (05:58 +0000)]
ramips: fix Xiaomi MiWiFi Mini board, image and profile names

The following patch:
 * changes board name from "xiaomi-miwifi-mini" to "miwifi-mini"
 * changes filenames of dts and profile
 * fixes LED names in dts file and base-files scripts
 * removes manufacturer name from image filename

for Xiaomi MiWiFi Mini device.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46617

9 years agoramips: fix Asus RP-N53 and Lenovo Y1{, S} image names
John Crispin [Mon, 17 Aug 2015 05:58:07 +0000 (05:58 +0000)]
ramips: fix Asus RP-N53 and Lenovo Y1{, S} image names

This patch:
 * fixes typo (rp_n53 -> rp-n53) in Asus RP-N53 image name
 * removes manufacturer from image names for Lenovo Y1{,S} devices

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46616

9 years agoramips: fix Asus WL-330N{, 3G} boards names
John Crispin [Mon, 17 Aug 2015 05:57:55 +0000 (05:57 +0000)]
ramips: fix Asus WL-330N{, 3G} boards names

There are other Asus boards supported in ramips target, so use the same naming scheme for WL-330N{,3G} boards and their dts files.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46615

9 years agoramips: fix Zbtlink ZBT-WR8305RT board name
John Crispin [Mon, 17 Aug 2015 05:57:41 +0000 (05:57 +0000)]
ramips: fix Zbtlink ZBT-WR8305RT board name

There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for ZBT-WR8305RT board and its dts file.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46614

9 years agoramips: fix indentation and other mistakes in .dts{, i} files
John Crispin [Mon, 17 Aug 2015 05:57:18 +0000 (05:57 +0000)]
ramips: fix indentation and other mistakes in .dts{, i} files

The following patch fixes:
 * wrong indentations
 * doubled gpio-keys-polled nodes (DIR-300-B7, DIR-320-B1, DIR-610-A1)
 * duplicate spacings
 * empty lines at end of files and after last child nodes
 * trailing and leading whitespace
 * unnecessary and commented-out code
 * missing empty lines between nodes and between properties and nodes
 * unnecessary empty lines between nodes properties [1]

in .dts{,i} files, for ramips target.

[1] Some of empty lines in SOCs dtsi files were left untouched, because they seem to be there for a reason (readability?).

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46613

9 years agoprocd: fix seccomp build on some architectures
Hauke Mehrtens [Sun, 16 Aug 2015 20:37:47 +0000 (20:37 +0000)]
procd: fix seccomp build on some architectures

fix generating syscall-names.h

Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.

For example the bit/syscall.h from musl for i386 has this:

  #define __NR_timer_create     259
  #define __NR_timer_settime    (__NR_timer_create+1)

With this patch the resulting array looks like this:

 [259] = "timer_create",
 [(__NR_timer_create+1)] = "timer_settime",

This closes #20195.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46612

9 years agotoolchain: gcc: add gcc 5.2.0
Hauke Mehrtens [Sun, 16 Aug 2015 20:20:36 +0000 (20:20 +0000)]
toolchain: gcc: add gcc 5.2.0

This was boot tested on mipsel32, arm32 and x86 only.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46611

9 years agoubi-utils: fix build with gcc5
Hauke Mehrtens [Sun, 16 Aug 2015 20:16:43 +0000 (20:16 +0000)]
ubi-utils: fix build with gcc5

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46610

9 years agokernel: yaffs2: update to version from 2015-06-02
Hauke Mehrtens [Sat, 15 Aug 2015 17:16:03 +0000 (17:16 +0000)]
kernel: yaffs2: update to version from 2015-06-02

In addition to the update this also fixes compile problems with kernel 4.1.

This closes #20323.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46609

9 years agosunxi: respect CONFIG_TARGET_IMAGES_GZIP
Zoltan Herpai [Sat, 15 Aug 2015 15:10:14 +0000 (15:10 +0000)]
sunxi: respect CONFIG_TARGET_IMAGES_GZIP

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 46608

9 years agosunxi: create KDIR_TMP, build boot.img in it
Zoltan Herpai [Sat, 15 Aug 2015 14:56:21 +0000 (14:56 +0000)]
sunxi: create KDIR_TMP, build boot.img in it

It's nice to have a distinction between files which are built during the
normal OpenWrt build process and ones that are created by the ImageBuilder
(like it already exists on some other targets).

This also gives boot.img a profile-specific prefix as it contains profile-
specific data.

KDIR_TMP does not need to be specified since include/image.mk already sets
it.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 46607

9 years agosamba36: preserve smbpasswd across sysupgrade
Hauke Mehrtens [Sat, 15 Aug 2015 14:49:06 +0000 (14:49 +0000)]
samba36: preserve smbpasswd across sysupgrade

Add /etc/samba/smbpasswd to list of samba conffiles
thus preserving samba passwords across sysupgrade
by default.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
SVN-Revision: 46606

9 years agosunxi: fix uboot install location
Zoltan Herpai [Sat, 15 Aug 2015 14:34:42 +0000 (14:34 +0000)]
sunxi: fix uboot install location

Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix
ImageBuilder. Similar fixes are necessary for many (all?) other uboot
targets.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 46605

9 years agosunxi: don't copy DTS files to BIN_DIR
Zoltan Herpai [Sat, 15 Aug 2015 13:39:41 +0000 (13:39 +0000)]
sunxi: don't copy DTS files to BIN_DIR

The DTS files aren't useful (other targets don't copy them either) and
clutter BIN_DIR with files unrelated to the chosen profile.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 46604

9 years agotools: xz: update to version 5.2.1
Hauke Mehrtens [Sat, 15 Aug 2015 11:27:11 +0000 (11:27 +0000)]
tools: xz: update to version 5.2.1

This adds support for symbol versioning which is needed on
CentOs/RedHat 7 to fix #20134.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46603

9 years agoipq806x: switch to new image build system
Jonas Gorski [Fri, 14 Aug 2015 15:10:54 +0000 (15:10 +0000)]
ipq806x: switch to new image build system

Switch ipq806x to the new image build system. Image files might change
slightly their names, but the generated files should not change.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46602

9 years agobrcm63xx: move gzip build command to include/image.mk
Jonas Gorski [Fri, 14 Aug 2015 15:10:47 +0000 (15:10 +0000)]
brcm63xx: move gzip build command to include/image.mk

Allow other targets to make use of it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46601

9 years agoimage.mk: add a fit recipe
Jonas Gorski [Fri, 14 Aug 2015 15:10:42 +0000 (15:10 +0000)]
image.mk: add a fit recipe

Add a recipe to build a fit wrapped kernel (and optional dtb).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46600

9 years agoipq806x: disable dma for spi on linux 4.1 as well
Jonas Gorski [Fri, 14 Aug 2015 15:10:11 +0000 (15:10 +0000)]
ipq806x: disable dma for spi on linux 4.1 as well

Linux 4.1 is also affected from the dma issue, so remove the dma
proprties there as well.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46599

9 years agokernel: update 4.1 to 4.1.5
Jonas Gorski [Fri, 14 Aug 2015 13:06:33 +0000 (13:06 +0000)]
kernel: update 4.1 to 4.1.5

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46598

9 years agoimage.mk: store the device name variable
Jonas Gorski [Fri, 14 Aug 2015 13:05:22 +0000 (13:05 +0000)]
image.mk: store the device name variable

Make the device name accessible for any build commands instead of
forcing targets to define it themselves.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46597

9 years agoimage.mk: replace all Build/netgear-chk with a generic implementation
Jonas Gorski [Fri, 14 Aug 2015 13:05:14 +0000 (13:05 +0000)]
image.mk: replace all Build/netgear-chk with a generic implementation

Instead of letting each target define it themselves, create on in
include/image.mk and let the targets use it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46596

9 years agobrcm63xx: prefix netgear specific device variables with NETGEAR_
Jonas Gorski [Fri, 14 Aug 2015 13:04:43 +0000 (13:04 +0000)]
brcm63xx: prefix netgear specific device variables with NETGEAR_

Rename BOARD_ID to NETGEAR_BOARD_ID.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46595

9 years agobrcm47xx: prefix netgear specific device variables with NETGEAR_
Jonas Gorski [Fri, 14 Aug 2015 13:04:22 +0000 (13:04 +0000)]
brcm47xx: prefix netgear specific device variables with NETGEAR_

Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46594

9 years agobcm53xx: prefix netgear specific device variables with NETGEAR_
Jonas Gorski [Fri, 14 Aug 2015 13:03:36 +0000 (13:03 +0000)]
bcm53xx: prefix netgear specific device variables with NETGEAR_

Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46593

9 years agoimage.mk: move KDIR_TMP definition to a central location
Jonas Gorski [Fri, 14 Aug 2015 10:20:53 +0000 (10:20 +0000)]
image.mk: move KDIR_TMP definition to a central location

Instead of each target defining it the same, move the KDIR_TMP
definition to include/image.mk. In addition Image/Build/SysupgradeNAND
already requires KDIR_TMP to be set, so it makes sense to have it
globally defined.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46592

9 years agoimage: fix handling of per-device kernel build commands
Felix Fietkau [Thu, 13 Aug 2015 19:02:26 +0000 (19:02 +0000)]
image: fix handling of per-device kernel build commands

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46589

9 years agooprofile: fix path to kernel headers
Felix Fietkau [Thu, 13 Aug 2015 19:02:21 +0000 (19:02 +0000)]
oprofile: fix path to kernel headers

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46588

9 years agoipq806x: disable DMA on the SPI flash
Felix Fietkau [Thu, 13 Aug 2015 19:02:16 +0000 (19:02 +0000)]
ipq806x: disable DMA on the SPI flash

Previous patch 6f2905eeb6ce5ddec8d12d677e1f377a940b537b enabled ADM in
the kernel, which causes a kernel panic when accessing the SPI flash.

As a workaround, We'll disable DMA for the flash for now. It was not
enabled previously anyway so we'll just leave it as is.

Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 46587

9 years agobrcm47xx: fix reading WGT634U CFE variables
Rafał Miłecki [Wed, 12 Aug 2015 13:29:22 +0000 (13:29 +0000)]
brcm47xx: fix reading WGT634U CFE variables

We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46584

9 years agobase-files: buttons: make power script return 0
Rafał Miłecki [Wed, 12 Aug 2015 00:57:53 +0000 (00:57 +0000)]
base-files: buttons: make power script return 0

It was missed in the r46471.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46582

9 years agoprocd: switch buttons to the new "button" hotplug handler
Rafał Miłecki [Mon, 10 Aug 2015 22:48:07 +0000 (22:48 +0000)]
procd: switch buttons to the new "button" hotplug handler

This allows requesting "timeout" ACTION in script by returning a
positive value.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46580

9 years agoprocd: update to the latest version, add "button" hotplug handler
Rafał Miłecki [Mon, 10 Aug 2015 21:56:54 +0000 (21:56 +0000)]
procd: update to the latest version, add "button" hotplug handler

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46578