openwrt/staging/neocturne.git
8 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board
John Crispin [Sat, 9 Apr 2016 10:26:31 +0000 (10:26 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board

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

8 years agouboot-envtools: add OpenMesh OM5P-ACv2 support
John Crispin [Sat, 9 Apr 2016 10:26:28 +0000 (10:26 +0000)]
uboot-envtools: add OpenMesh OM5P-ACv2 support

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

8 years agoom-watchdog: add OpenMesh OM5P-ACv2 support
John Crispin [Sat, 9 Apr 2016 10:26:25 +0000 (10:26 +0000)]
om-watchdog: add OpenMesh OM5P-ACv2 support

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

8 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2
John Crispin [Sat, 9 Apr 2016 10:26:22 +0000 (10:26 +0000)]
ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2

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

8 years agoar71xx: add user-space support for the OpenMesh OM5P-ACv2
John Crispin [Sat, 9 Apr 2016 10:26:18 +0000 (10:26 +0000)]
ar71xx: add user-space support for the OpenMesh OM5P-ACv2

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

8 years agoar71xx: add kernel support for the OpenMesh OM5P-ACv2 board
John Crispin [Sat, 9 Apr 2016 10:26:15 +0000 (10:26 +0000)]
ar71xx: add kernel support for the OpenMesh OM5P-ACv2 board

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

8 years agoar71xx: create profile and build image for the OpenMesh OM5P-AC board
John Crispin [Sat, 9 Apr 2016 10:26:11 +0000 (10:26 +0000)]
ar71xx: create profile and build image for the OpenMesh OM5P-AC board

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

8 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
John Crispin [Sat, 9 Apr 2016 10:26:08 +0000 (10:26 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board

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

8 years agouboot-envtools: add OpenMesh OM5P-AC support
John Crispin [Sat, 9 Apr 2016 10:26:04 +0000 (10:26 +0000)]
uboot-envtools: add OpenMesh OM5P-AC support

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

8 years agoom-watchdog: add OpenMesh OM5P-AC support
John Crispin [Sat, 9 Apr 2016 10:26:01 +0000 (10:26 +0000)]
om-watchdog: add OpenMesh OM5P-AC support

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

8 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-AC
John Crispin [Sat, 9 Apr 2016 10:25:57 +0000 (10:25 +0000)]
ar71xx: enable sysupgrade for the OpenMesh OM5P-AC

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

8 years agoscripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC
John Crispin [Sat, 9 Apr 2016 10:25:54 +0000 (10:25 +0000)]
scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC

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

8 years agoar71xx: add user-space support for the OpenMesh OM5P-AC
John Crispin [Sat, 9 Apr 2016 10:25:51 +0000 (10:25 +0000)]
ar71xx: add user-space support for the OpenMesh OM5P-AC

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

8 years agoar71xx: add kernel support for the OpenMesh OM5P-AC board
John Crispin [Sat, 9 Apr 2016 10:25:47 +0000 (10:25 +0000)]
ar71xx: add kernel support for the OpenMesh OM5P-AC board

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

8 years agoscripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification
John Crispin [Sat, 9 Apr 2016 10:25:42 +0000 (10:25 +0000)]
scripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification

Future Open Mesh u-boot versions are changing the check of the image files
(vmlinux, rootfs) from md5 to sha256. Having both in them should be enough
to ensure backward and forward compatibility.

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

8 years agobrcmfmac43430-firmware: switch to @GITHUB download alias
John Crispin [Sat, 9 Apr 2016 10:25:38 +0000 (10:25 +0000)]
brcmfmac43430-firmware: switch to @GITHUB download alias

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

8 years agodownload: add @GITHUB download facility
John Crispin [Sat, 9 Apr 2016 10:25:34 +0000 (10:25 +0000)]
download: add @GITHUB download facility

Define a new alias (@GITHUB) for downloading raw github repository files

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

8 years agolantiq-dsl: add missing blank in dsl output
John Crispin [Sat, 9 Apr 2016 10:25:29 +0000 (10:25 +0000)]
lantiq-dsl: add missing blank in dsl output

blank inserted before ACTATP

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 49137

8 years agolantiq-dsl: bugfix latency values swapped for lucistat
John Crispin [Sat, 9 Apr 2016 10:25:24 +0000 (10:25 +0000)]
lantiq-dsl: bugfix latency values swapped for lucistat

swapped wrong latency output

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 49136

8 years agolantiq-dsl: bugfix db negative sign after comma
John Crispin [Sat, 9 Apr 2016 10:25:20 +0000 (10:25 +0000)]
lantiq-dsl: bugfix db negative sign after comma

If db is negative minus sign was shown after comma

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 49135

8 years agoarc770: enable unaligned access handling simulation in software
John Crispin [Sat, 9 Apr 2016 10:25:16 +0000 (10:25 +0000)]
arc770: enable unaligned access handling simulation in software

This enables misaligned access handling by software in Linux kernel.

With some wireless drivers (ath9k-htc and mt7601u for example) we see
misaligned accesses here and there and to cope with that without
fixing stuff in the drivers we're just gracefully handling it on ARC.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 49134

8 years agoarc770: build kmod-ath9k-htc wpad-mini by default
John Crispin [Sat, 9 Apr 2016 10:25:13 +0000 (10:25 +0000)]
arc770: build kmod-ath9k-htc wpad-mini by default

AXS101 beind a development board lacks built-in wireles inerfaces.
So we have to use external USB dongles to turn the board into
wireless router.

The best USB Wi-Fi dongles to work in AP-mode seem to be based on
ath9k-htc chipset.

And so with that change we add support of mentioned dongles in
default and axs101 builds.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 49133

8 years agomediatek: update patches
John Crispin [Sat, 9 Apr 2016 10:25:08 +0000 (10:25 +0000)]
mediatek: update patches

adds a few ethernet fixes

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

8 years agoramips: Disable the SD driver by default on MT7621
John Crispin [Sat, 9 Apr 2016 10:25:03 +0000 (10:25 +0000)]
ramips: Disable the SD driver by default on MT7621

The SD driver has been a long and dragging issue on the MT7621 platforms as it hasn't worked for
months resulting in unbootable devices. Until it's fixed, disable it in the default profiles.

Reports / Discussed here:

https://dev.openwrt.org/ticket/21392
https://dev.openwrt.org/ticket/21834
https://dev.openwrt.org/ticket/21995
https://forum.openwrt.org/viewtopic.php?id=59092

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49131

8 years agoramips: Fixes for LinkIt 7688
John Crispin [Sat, 9 Apr 2016 10:24:58 +0000 (10:24 +0000)]
ramips: Fixes for LinkIt 7688

Misc fixes for LinkIt 7688 board:

- Copy the right wireless firmware for the mt7688
- Add back '0065-mt7688-fixes.patch', left out after the move to Linux 4.4.
- Remove SPI_DEV from linux config which otherwise causes a massive warning
- Add wmac to LINKIT7688.dts so wireless works

Signed-off-by: Adam Kent <adam@semicircular.net>
SVN-Revision: 49130

8 years agoramips: Adjust image size limit for the D-Link DIR-860L B1
John Crispin [Sat, 9 Apr 2016 10:24:55 +0000 (10:24 +0000)]
ramips: Adjust image size limit for the D-Link DIR-860L B1

Currently the maximum image size defaults to 8Mbyte even though this model has 16Mbyte of flash memory.

Tested and works on my device.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49129

8 years agoramips: fix for Planex MZK-WDPR (lcd control gpio).
John Crispin [Sat, 9 Apr 2016 10:24:52 +0000 (10:24 +0000)]
ramips: fix for Planex MZK-WDPR (lcd control gpio).

add lcd control gpio pin for Planex MZK-WDPR.
LCD board initial timming is GPIO control.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 49128

8 years agoramips: mt7621: fix Ubiquiti EdgeRouter X profile
John Crispin [Sat, 9 Apr 2016 10:24:47 +0000 (10:24 +0000)]
ramips: mt7621: fix Ubiquiti EdgeRouter X profile

Remove unnecessary packages to reduce image size so it fits in initramfs (to enable upgrading from factory firmware).

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49127

8 years agoramips: mt7621: sync MQmaker WiTi profile name to dts name
John Crispin [Sat, 9 Apr 2016 10:24:44 +0000 (10:24 +0000)]
ramips: mt7621: sync MQmaker WiTi profile name to dts name

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49126

8 years agoramips: enable device profiling by dts
John Crispin [Sat, 9 Apr 2016 10:24:40 +0000 (10:24 +0000)]
ramips: enable device profiling by dts

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49125

8 years agoramips: mt7621: add a device to TARGET_DEVICES after it's definition
John Crispin [Sat, 9 Apr 2016 10:24:36 +0000 (10:24 +0000)]
ramips: mt7621: add a device to TARGET_DEVICES after it's definition

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49124

8 years agoramips: mt7621: fix initramfs image for ubnt-erx
John Crispin [Sat, 9 Apr 2016 10:24:29 +0000 (10:24 +0000)]
ramips: mt7621: fix initramfs image for ubnt-erx

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49123

8 years agobcm53xx: add basic support for Netgear R7900
Rafał Miłecki [Sat, 9 Apr 2016 09:59:21 +0000 (09:59 +0000)]
bcm53xx: add basic support for Netgear R7900

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

8 years agobcm53xx: add PCI iproc patch adding abort handler
Rafał Miłecki [Fri, 8 Apr 2016 20:37:14 +0000 (20:37 +0000)]
bcm53xx: add PCI iproc patch adding abort handler

This prevents die() during PCI bus probe.

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

8 years agoRevert "bcm53xx: revert patch removing imprecise abort workaround"
Rafał Miłecki [Fri, 8 Apr 2016 20:36:57 +0000 (20:36 +0000)]
Revert "bcm53xx: revert patch removing imprecise abort workaround"

This reverts commit r48961. It didn't fix PCIe host driver issue as
there are more aborts triggered by it.

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

8 years agomwlwifi: upgrade to 10.3.0.17-20160324
Imre Kaloz [Wed, 6 Apr 2016 08:30:28 +0000 (08:30 +0000)]
mwlwifi: upgrade to 10.3.0.17-20160324

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

8 years agobcm53xx: use the final fix for iproc bcma regression
Rafał Miłecki [Fri, 1 Apr 2016 16:49:50 +0000 (16:49 +0000)]
bcm53xx: use the final fix for iproc bcma regression

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

8 years agobcm53xx: drop unneeded 4.3 SPROM patch
Rafał Miłecki [Fri, 1 Apr 2016 16:49:34 +0000 (16:49 +0000)]
bcm53xx: drop unneeded 4.3 SPROM patch

4.3 isn't oficially used anymore but it may be useful for debugging PCI
host driver regression. SPROM driver doesn't seem to work correctly with
4.3:
[    2.336686] bcma: bus0: Using fallback SPROM failed (err -2)
[    2.342366] bcma: bus0: No SPROM available
but it at least compiles now.

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

8 years agopackage/utils/usbutils: Update USB IDs list to snapshot 2015-12-17
John Crispin [Fri, 1 Apr 2016 07:12:17 +0000 (07:12 +0000)]
package/utils/usbutils: Update USB IDs list to snapshot 2015-12-17

Updates USB IDs list to snapshot 2015-12-17 and changes copyright to
2016.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49112

8 years agopackage/libs/libusb: Update to 1.0.20
John Crispin [Fri, 1 Apr 2016 07:12:14 +0000 (07:12 +0000)]
package/libs/libusb: Update to 1.0.20

Updates libusb to version 1.0.20 and changes copyright to 2016.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49111

8 years agopackage/libs/lzo: update version to 2.09
John Crispin [Fri, 1 Apr 2016 07:12:11 +0000 (07:12 +0000)]
package/libs/lzo: update version to 2.09

Updates lzo to version 2.09 and changes copyright to 2016.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49110

8 years agoar71xx: WPN824N: enable buttons
John Crispin [Fri, 1 Apr 2016 07:12:07 +0000 (07:12 +0000)]
ar71xx: WPN824N: enable buttons

Enable buttons connected to the GPIOs of the AR9285.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
SVN-Revision: 49109

8 years agoar71xx: WPN824N: set WLAN LED name
John Crispin [Fri, 1 Apr 2016 07:12:03 +0000 (07:12 +0000)]
ar71xx: WPN824N: set WLAN LED name

Make use of ap9x_pci_setup_wmac_led_name() to set the name of the WLAN
LED.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
SVN-Revision: 49108

8 years agoar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match labels...
John Crispin [Fri, 1 Apr 2016 07:12:00 +0000 (07:12 +0000)]
ar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match labels/image names

Let's not confuse users about the revisions of their devices when we can
easily avoid it.

Not tested on real hardware.

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

8 years agoar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices
John Crispin [Fri, 1 Apr 2016 07:11:56 +0000 (07:11 +0000)]
ar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices

Instead of adding the space when combining $model and $hwver, add the space
to the beginning of $hwver, so the resulting string won't end with a space
when $hwver is set to the empty string.

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

8 years agoar71xx: check both HWID and HWREV on upgrades of TP-LINK devices
John Crispin [Fri, 1 Apr 2016 07:11:53 +0000 (07:11 +0000)]
ar71xx: check both HWID and HWREV on upgrades of TP-LINK devices

There's no reason for us to be more lenient than the stock firmware, so
better check the HWREV as well to avoid bricked devices.

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

8 years agoramips: move different subtarget image generation to separate makefiles to improve...
John Crispin [Fri, 1 Apr 2016 07:11:48 +0000 (07:11 +0000)]
ramips: move different subtarget image generation to separate makefiles to improve maintainability

- all subtarget specific defines are in their own files
- common defines left in main Makefile
- each subtarget makefile idefed with SUBTARGET
- all subtargets compile tested
- few seems to be broken/unneeded things marked with FIXME

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49104

8 years agobrcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3
John Crispin [Fri, 1 Apr 2016 07:11:43 +0000 (07:11 +0000)]
brcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3

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

8 years agobrcmfmac43430-firmware: add new package
John Crispin [Fri, 1 Apr 2016 07:11:39 +0000 (07:11 +0000)]
brcmfmac43430-firmware: add new package

This adds the firmware needed for the BCM43438 included in Raspberry Pi 3.

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

8 years agoar71xx: WNR2200: enable control of all LEDs and buttons
John Crispin [Fri, 1 Apr 2016 07:11:34 +0000 (07:11 +0000)]
ar71xx: WNR2200: enable control of all LEDs and buttons

This patch provides full GPIO support for WNR2200 (LEDs and buttons).
It exposes all LEDs to operating system, including Ethernet ones.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49101

8 years agoar71xx: WNR2200: fix for random WLAN MAC
John Crispin [Fri, 1 Apr 2016 07:11:27 +0000 (07:11 +0000)]
ar71xx: WNR2200: fix for random WLAN MAC

Fix for invalid/random/duplicate WLAN MAC address in WNR2200.
Permanent platform MAC is calculated and assigned during system startup.
WLAN MAC follows wired Ethernet interface addresses.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49100

8 years agoar71xx: Add TL-WR841N/ND v11 support
John Crispin [Fri, 1 Apr 2016 07:11:23 +0000 (07:11 +0000)]
ar71xx: Add TL-WR841N/ND v11 support

This patch adds support for the TP-Link TL-WR841N/ND to trunk. It is
similar to the already supported v10 - see [1]. I have added support
based on that topic; in the meantime it has been confirmed working
(see the forum thread, and also [2]).

Signed-off by Stijn Segers <francesco.borromini@inventati.org>

[1]: https://forum.openwrt.org/viewtopic.php?id=61309
[2]: https://forum.openwrt.org/viewtopic.php?id=63657

SVN-Revision: 49099

8 years agomediatek: update patches
John Crispin [Fri, 1 Apr 2016 07:11:18 +0000 (07:11 +0000)]
mediatek: update patches

add fixes for
* ethernet
* cpufreq
* nand
* a7-timer

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

8 years agokernel: update kernel 3.18 to version 3.18.29
Rafał Miłecki [Wed, 30 Mar 2016 16:41:26 +0000 (16:41 +0000)]
kernel: update kernel 3.18 to version 3.18.29

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

8 years agobcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094
Rafał Miłecki [Wed, 30 Mar 2016 12:26:24 +0000 (12:26 +0000)]
bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094

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

8 years agobcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094
Rafał Miłecki [Wed, 30 Mar 2016 10:23:02 +0000 (10:23 +0000)]
bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094

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

8 years agobcm53xx: simpify USB 3.0 PHY initialization
Rafał Miłecki [Wed, 30 Mar 2016 10:22:57 +0000 (10:22 +0000)]
bcm53xx: simpify USB 3.0 PHY initialization

We can use one code path for BCM4707 rev. 4 and BCM53018.

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

8 years agopackage: uboot-sunxi: various changes - bump to 2016.03 - add bugfixes related to...
Zoltan Herpai [Tue, 29 Mar 2016 11:42:14 +0000 (11:42 +0000)]
package: uboot-sunxi: various changes - bump to 2016.03 - add bugfixes related to 2016.03 update - sync DTS files with mainline - add support for non-standard uEnv.txt - add initial support for Theobroma A31-yQ7 devboard

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

8 years agouboot-mvebu: add package
Luka Perkov [Fri, 25 Mar 2016 12:07:03 +0000 (12:07 +0000)]
uboot-mvebu: add package

Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr>
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
SVN-Revision: 49088

8 years agoar71xx: cosmetic fix of alfa ap120c/ap96 ordering
Luka Perkov [Thu, 24 Mar 2016 21:09:34 +0000 (21:09 +0000)]
ar71xx: cosmetic fix of alfa ap120c/ap96 ordering

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 49086

8 years agouboot-envtools: add support for ap120c
Luka Perkov [Wed, 23 Mar 2016 22:31:41 +0000 (22:31 +0000)]
uboot-envtools: add support for ap120c

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 49083

8 years agoar71xx: add support for ap120c
Luka Perkov [Wed, 23 Mar 2016 22:31:38 +0000 (22:31 +0000)]
ar71xx: add support for ap120c

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 49082

8 years agoar71xx: migrate tplink cpe510 to new build steps
John Crispin [Wed, 23 Mar 2016 12:52:50 +0000 (12:52 +0000)]
ar71xx: migrate tplink cpe510 to new build steps

cpe510: Tested sysupgrade and initramfs.
Untested: webIf w/ factory.bin & recovery.bin

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 49081

8 years agoar71xx/image: allow builds of loader without cmdline injecting
John Crispin [Wed, 23 Mar 2016 12:52:47 +0000 (12:52 +0000)]
ar71xx/image: allow builds of loader without cmdline injecting

On most platforms the cmdline is supplied by the loader to the kernel.
When using an elf loader with cmdline the size is bloated by 512k.
For loader-elf platforms like the cpe510 better use loader-elf but patch
the cmdline into the kernel.

wdr1043: Tested loader still works using sysupgade image.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 49080

8 years agoar71xx/image: introduce LOADER_TYPE to support elf loaders
John Crispin [Wed, 23 Mar 2016 12:52:44 +0000 (12:52 +0000)]
ar71xx/image: introduce LOADER_TYPE to support elf loaders

The loader decompress a lzma compressed kernel. Some bootloaders
only support elf files like the tplink cpe510

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 49079

8 years agouboot-zynq: Update to U-Boot 2016.03 release
John Crispin [Wed, 23 Mar 2016 12:52:41 +0000 (12:52 +0000)]
uboot-zynq: Update to U-Boot 2016.03 release

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
SVN-Revision: 49078

8 years agozynq: Simplify boot-img build
John Crispin [Wed, 23 Mar 2016 12:52:38 +0000 (12:52 +0000)]
zynq: Simplify boot-img build

by adding Device/DefaultConfig macro to define the dts and device in
lower case.

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
SVN-Revision: 49077

8 years agoar71xx: WNR1000v2: enable control of all LEDs and buttons
John Crispin [Wed, 23 Mar 2016 12:52:35 +0000 (12:52 +0000)]
ar71xx: WNR1000v2: enable control of all LEDs and buttons

This patch provides full GPIO support for WNR1000v2 (LEDs and buttons).
It exposes all LEDs to operating system, including Ethernet ones.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49076

8 years agoar71xx: Add QCA955X GPIO mux and function definitions
John Crispin [Wed, 23 Mar 2016 12:52:31 +0000 (12:52 +0000)]
ar71xx: Add QCA955X GPIO mux and function definitions

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

8 years agoar71xx: Add support for ath79_gpio_function_* on QCA955X
John Crispin [Wed, 23 Mar 2016 12:52:27 +0000 (12:52 +0000)]
ar71xx: Add support for ath79_gpio_function_* on QCA955X

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

8 years agomac80211: build airo on x86 only
John Crispin [Wed, 23 Mar 2016 12:52:24 +0000 (12:52 +0000)]
mac80211: build airo on x86 only

airo requires ISA_DMA_API and
that symbol is only set on some ppc,malta,x86
x86 is probably only platform where that driver is used

fixes buildbot errors on ar71xx,lantiq ...:
airo.ko is missing

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

8 years agoRevert "ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg"
John Crispin [Wed, 23 Mar 2016 12:52:20 +0000 (12:52 +0000)]
Revert "ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg"

Not all mach-* files set all boards correctly in ETH_CFG. They depend on
some preset values by u-boot which were not previously modified by
ath79_setup_qca955x_eth_cfg. Avoiding to modify them in this function keeps
it backward compatible for these boards.

This reverts commit 119b8ab2c2eac237ec4e9c4d0ed53df22b5c6978.

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

8 years agoRevert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"
John Crispin [Wed, 23 Mar 2016 12:52:17 +0000 (12:52 +0000)]
Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"

The default delays RXD 3. RDV 3, TXD 0, TXE 0 doesn't seem to work for some
boards. These boards depend on the preset values of u-boot which may
differ.

This reverts commit f2d4bb96b62512caa161dcc2867c91692fb16a38.

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

8 years agoar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750
John Crispin [Wed, 23 Mar 2016 12:52:12 +0000 (12:52 +0000)]
ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750

The MR1750 must unset some bits in ETH_CFG which were set by u-boot to work
correctly under OpenWrt. But the global function
ath79_setup_qca955x_eth_cfg will not unset all of them to increase the
backward compatiblity with older mach-* files. A private (simplified)
version for MR1750 can be used instead.

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

8 years agoar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900
John Crispin [Wed, 23 Mar 2016 12:52:09 +0000 (12:52 +0000)]
ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900

The MR900 must unset some bits in ETH_CFG which were set by u-boot to work
correctly under OpenWrt. But the global function
ath79_setup_qca955x_eth_cfg will not unset all of them to increase the
backward compatiblity with older mach-* files. A private (simplified)
version for MR900 can be used instead.

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

8 years agooxnas: set ubifs parameters for Default profile
John Crispin [Wed, 23 Mar 2016 12:52:05 +0000 (12:52 +0000)]
oxnas: set ubifs parameters for Default profile

Work-around obsolete mkfs/ubifs code.
Unlike squashfs, ubifs images should be generated per-device so
minimum I/O unit size, logical erase block size, maximum logical erase
block count can be defined for the specific flash-chips parameters.
Also, generating ubinized images is unrelated to rootfs being ubifs or
squashfs, but rather depends on the device supporting UBI or not.
In the meantime and in order to fix an error which currently causes the
image generation on buildbot to fail, work-around by defining
UBIFS_OPTS for the Default profile.
See also
http://buildbot.openwrt.org:8010/builders/oxnas/builds/246/steps/compile_8/logs/stdio

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

8 years agomediatek: patch block2mtd to allow cmdlineparts to work
John Crispin [Wed, 23 Mar 2016 11:12:34 +0000 (11:12 +0000)]
mediatek: patch block2mtd to allow cmdlineparts to work

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

8 years agomediatek: update patches
John Crispin [Tue, 22 Mar 2016 21:14:51 +0000 (21:14 +0000)]
mediatek: update patches

fixes trgmii on old eco and adds nand support

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

8 years agomt76: fix compile error
John Crispin [Mon, 21 Mar 2016 20:42:56 +0000 (20:42 +0000)]
mt76: fix compile error

gcc complained about uninitialized variables

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

8 years agomediatek: bump to v4.4
John Crispin [Mon, 21 Mar 2016 20:42:51 +0000 (20:42 +0000)]
mediatek: bump to v4.4

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

8 years agogeneric/4.4: remove ISSI SI25CD512 SPI flash support patch
Gabor Juhos [Mon, 21 Mar 2016 14:18:53 +0000 (14:18 +0000)]
generic/4.4: remove ISSI SI25CD512 SPI flash support patch

The flash is already supported in mainline kernel since 4.3-rc1.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49063

8 years agoramips: lzma-loader: fix O32 ABI conformance
Gabor Juhos [Mon, 21 Mar 2016 13:15:29 +0000 (13:15 +0000)]
ramips: lzma-loader: fix O32 ABI conformance

According to the calling convention of the o32 ABI the
caller function must reserve stack space for $a0-$a3
registers in case the callee needs to save its arguments.

The assembly startup code does not reserve stack space
for these registers thus when the main C function needs
to save its arguments, that will cause a stack overflow.

Fix the assembly code to reserve stack space for the
registers to avoid that.

Untested. It seems that the lzma-loader is not used at all?

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49062

8 years agolantiq: lzma-loader: fix O32 ABI conformance
Gabor Juhos [Mon, 21 Mar 2016 13:15:25 +0000 (13:15 +0000)]
lantiq: lzma-loader: fix O32 ABI conformance

According to the calling convention of the o32 ABI the
caller function must reserve stack space for $a0-$a3
registers in case the callee needs to save its arguments.

The assembly startup code does not reserve stack space
for these registers thus when the main C function needs
to save its arguments, that will cause a stack overflow.

Fix the assembly code to reserve stack space for the
registers to avoid that.

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49061

8 years agobrcm47xx: lzma-loader: fix cache invalidation
Gabor Juhos [Mon, 21 Mar 2016 13:15:22 +0000 (13:15 +0000)]
brcm47xx: lzma-loader: fix cache invalidation

The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49060

8 years agobrcm47xx: lzma-loader: remove trailing whitespaces from head.S
Gabor Juhos [Mon, 21 Mar 2016 13:15:21 +0000 (13:15 +0000)]
brcm47xx: lzma-loader: remove trailing whitespaces from head.S

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49059

8 years agoadm5120: lzma-loader: fix cache invalidation
Gabor Juhos [Mon, 21 Mar 2016 13:15:16 +0000 (13:15 +0000)]
adm5120: lzma-loader: fix cache invalidation

The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49058

8 years agoadm5120: lzma-loader: remove trailing whitespaces from head.S
Gabor Juhos [Mon, 21 Mar 2016 13:15:13 +0000 (13:15 +0000)]
adm5120: lzma-loader: remove trailing whitespaces from head.S

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49057

8 years agogeneric: lzma-loader: fix cache invalidation
Gabor Juhos [Mon, 21 Mar 2016 13:15:09 +0000 (13:15 +0000)]
generic: lzma-loader: fix cache invalidation

The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Tested on RB532.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49056

8 years agogeneric: lzma-loader: remove trailing whitespaces from start.S
Gabor Juhos [Mon, 21 Mar 2016 13:15:05 +0000 (13:15 +0000)]
generic: lzma-loader: remove trailing whitespaces from start.S

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 49055

8 years agoodhcp6c : Silence mtu write error warnings
blogic [Sun, 20 Mar 2016 18:48:59 +0000 (18:48 +0000)]
odhcp6c : Silence mtu write error warnings

Silence warning "daemon.notice netifd: wan6 (1139): sh: write error: Invalid argument"
when an invalid MTU is received via RA as kernel refuses to accept IPv6 mtu values
which are smaller than 1280 and bigger than the device mtu.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn+ssh://svn.openwrt.org/openwrt/trunk@49054 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: WNR1000v2: fix for random WLAN MAC
John Crispin [Sun, 20 Mar 2016 14:41:58 +0000 (14:41 +0000)]
ar71xx: WNR1000v2: fix for random WLAN MAC

Fix for invalid/random WLAN MAC address in WNR1000v2. Permanent platform
MAC is calculated and assigned during system startup. WLAN MAC follows
wired Ethernet interface addresses. This is the same fix as for WNR2000v3
and WNR612v2.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49051

8 years agolantiq: use upstream mechanism to append device tree file
John Crispin [Sun, 20 Mar 2016 14:41:54 +0000 (14:41 +0000)]
lantiq: use upstream mechanism to append device tree file

Instead of using our patch-dtb program just place the device tree
behind the kernel binary and then let the in kernel mechanism fetch it.
This also adds support for having the device tree file in the boot
loader.

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

8 years agowireless: remove rtl8188eu (staging)
John Crispin [Sun, 20 Mar 2016 14:41:49 +0000 (14:41 +0000)]
wireless: remove rtl8188eu (staging)

- depends on CFG80211 (upstream: 9da4aa48d04bbdbae3c959809e14da2bf0c53f61)
in os_dep/mon.c

This removes rtl8188eu completely from OpenWrt
since mac80211/compat-wireless/backports does not
provide staging wireless drivers

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

8 years agowireless: add vendor dirs
John Crispin [Sun, 20 Mar 2016 14:41:44 +0000 (14:41 +0000)]
wireless: add vendor dirs

Kernel 4.5 changes wireless driver organisation

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

8 years agomac80211: add cisco airo
John Crispin [Sun, 20 Mar 2016 14:41:41 +0000 (14:41 +0000)]
mac80211: add cisco airo

airo depends on cfg80211, move it to mac80211

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

8 years agowireless: remove cisco airo
John Crispin [Sun, 20 Mar 2016 14:41:37 +0000 (14:41 +0000)]
wireless: remove cisco airo

it depends on cfg80211
cfg80211 & wext drivers don't mix on OpenWrt

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

8 years agoramips: MiWifi-Nano - change gpios to leds, add to default build group
John Crispin [Sun, 20 Mar 2016 14:41:33 +0000 (14:41 +0000)]
ramips: MiWifi-Nano - change gpios to leds, add to default build group

1) Use leds to indicate:
Red - Power
Amber - Radio On
Blue - Wifi associated
2) Add profile to default build group for MT7628 subtarget

Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com>
SVN-Revision: 49045

8 years agooxnas: sync cpu-hotplug with mach-realview
John Crispin [Sun, 20 Mar 2016 14:41:29 +0000 (14:41 +0000)]
oxnas: sync cpu-hotplug with mach-realview

Make mach-oxnas/hotplug.c look more similar to mach-realview/hotplug.c,
just cosmetics and maintainability concerns, no functional changes.

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

8 years agooxnas: add spinlock in pinctrl driver
John Crispin [Sun, 20 Mar 2016 14:41:25 +0000 (14:41 +0000)]
oxnas: add spinlock in pinctrl driver

Try to address a race-condition in pinctrl-oxnas.c

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

8 years agooxnas: also reset GPIO B registers on boot
John Crispin [Sun, 20 Mar 2016 14:41:21 +0000 (14:41 +0000)]
oxnas: also reset GPIO B registers on boot

Clear both, SYS_CTRL_*_SEL and SEC_CTRL_*_SEL on boot instead of
writing to SYS_CTRL_*_SEL twice which looks like a copy-paste error.
Thanks to anonymous to bring this up in #21892!

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