openwrt.git
6 years agokernel: backport patch making bcm47xxsflash arch independent
rmilecki [Fri, 15 Apr 2016 10:11:44 +0000 (10:11 +0000)]
kernel: backport patch making bcm47xxsflash arch independent

This will be needed to use bcm47xxsflash on ARM for BCM53573.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49168 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: use upstream fixes for bgmac and BCM4709(4)
rmilecki [Fri, 15 Apr 2016 10:11:31 +0000 (10:11 +0000)]
kernel: use upstream fixes for bgmac and BCM4709(4)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49167 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: backport BCM5301X earlycon and USB VCC patches
rmilecki [Thu, 14 Apr 2016 05:54:20 +0000 (05:54 +0000)]
bcm53xx: backport BCM5301X earlycon and USB VCC patches

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49166 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoscripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository
acinonyx [Wed, 13 Apr 2016 20:52:26 +0000 (20:52 +0000)]
scripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository

Path to the Git repository directory can be overriden by using the '$GIT_DIR'
environment variable. This patch improves detection of Git repository by using
'git-rev-parse', which respects '$GIT_DIR' environment variable, instead of just
checking the existence of '.git' directory.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49165 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoinclude/cmake.mk: Add helper macro to handle conditionals for CMake boolean type...
acinonyx [Wed, 13 Apr 2016 20:21:38 +0000 (20:21 +0000)]
include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type variables

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49164 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agorpcd: update to latest version
luka [Wed, 13 Apr 2016 07:33:24 +0000 (07:33 +0000)]
rpcd: update to latest version

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49162 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: remove accidentally comitted code
blogic [Sat, 9 Apr 2016 14:47:35 +0000 (14:47 +0000)]
ramips: remove accidentally comitted code

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49161 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: add switch config workaround for R8500 and DIR-885L
rmilecki [Sat, 9 Apr 2016 13:23:25 +0000 (13:23 +0000)]
bcm53xx: add switch config workaround for R8500 and DIR-885L

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49160 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: fix regression in generating network config
rmilecki [Sat, 9 Apr 2016 13:20:19 +0000 (13:20 +0000)]
bcm53xx: fix regression in generating network config

Syntax error was added in r49122.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49159 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add TP-Link TL-WA901ND-v4 support
blogic [Sat, 9 Apr 2016 10:26:46 +0000 (10:26 +0000)]
ar71xx: add TP-Link TL-WA901ND-v4 support

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49158 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add support for Compex WPJ342
blogic [Sat, 9 Apr 2016 10:26:41 +0000 (10:26 +0000)]
ar71xx: add support for Compex WPJ342

OpenWrt can be flashed with following uboot commands:

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49157 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: fix nondeterministic hangs during bootconsole/console handover
blogic [Sat, 9 Apr 2016 10:26:37 +0000 (10:26 +0000)]
ar71xx: fix nondeterministic hangs during bootconsole/console handover

Reconfiguring the UART when the FIFO is not empty may cause the boot to
hang. This hang is extremely suspectible to timing differences; recompiling
the kernel with the same configuration, but different UTS_VERSION
timestamps can yield images that hang more or less often. Sometimes images
are produced that hang reproducibly.

This patch should also make it into one of the next linux-stable releases,
but it's better to get this fixed as soon as possible.

Fixes #21773, #21857.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49156 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add OM5P-ACv2 to the OM5P-AC profile
blogic [Sat, 9 Apr 2016 10:26:34 +0000 (10:26 +0000)]
ar71xx: add OM5P-ACv2 to the OM5P-AC profile

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49155 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49154 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouboot-envtools: add OpenMesh OM5P-ACv2 support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49153 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoom-watchdog: add OpenMesh OM5P-ACv2 support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49152 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49151 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add user-space support for the OpenMesh OM5P-ACv2
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49150 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add kernel support for the OpenMesh OM5P-ACv2 board
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49149 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: create profile and build image for the OpenMesh OM5P-AC board
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49148 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49147 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouboot-envtools: add OpenMesh OM5P-AC support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49146 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoom-watchdog: add OpenMesh OM5P-AC support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49145 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-AC
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49144 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoscripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49143 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add user-space support for the OpenMesh OM5P-AC
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49142 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: add kernel support for the OpenMesh OM5P-AC board
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49141 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoscripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49140 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobrcmfmac43430-firmware: switch to @GITHUB download alias
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49139 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agodownload: add @GITHUB download facility
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49138 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolantiq-dsl: add missing blank in dsl output
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49137 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolantiq-dsl: bugfix latency values swapped for lucistat
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49136 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolantiq-dsl: bugfix db negative sign after comma
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49135 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoarc770: enable unaligned access handling simulation in software
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49134 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoarc770: build kmod-ath9k-htc wpad-mini by default
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49133 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomediatek: update patches
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49132 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: Disable the SD driver by default on MT7621
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49131 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: Fixes for LinkIt 7688
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49130 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: Adjust image size limit for the D-Link DIR-860L B1
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49129 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: fix for Planex MZK-WDPR (lcd control gpio).
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49128 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: mt7621: fix Ubiquiti EdgeRouter X profile
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49127 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: mt7621: sync MQmaker WiTi profile name to dts name
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49126 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: enable device profiling by dts
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49125 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: mt7621: add a device to TARGET_DEVICES after it's definition
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49124 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: mt7621: fix initramfs image for ubnt-erx
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49123 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: add basic support for Netgear R7900
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49122 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: add PCI iproc patch adding abort handler
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49121 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoRevert "bcm53xx: revert patch removing imprecise abort workaround"
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49120 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomwlwifi: upgrade to 10.3.0.17-20160324
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49119 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: use the final fix for iproc bcma regression
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49114 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: drop unneeded 4.3 SPROM patch
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49113 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agopackage/utils/usbutils: Update USB IDs list to snapshot 2015-12-17
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49112 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agopackage/libs/libusb: Update to 1.0.20
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49111 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agopackage/libs/lzo: update version to 2.09
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49110 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WPN824N: enable buttons
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49109 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WPN824N: set WLAN LED name
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49108 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match labels...
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49107 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49106 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: check both HWID and HWREV on upgrades of TP-LINK devices
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49105 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: move different subtarget image generation to separate makefiles to improve...
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49104 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobrcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49103 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobrcmfmac43430-firmware: add new package
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49102 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WNR2200: enable control of all LEDs and buttons
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49101 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WNR2200: fix for random WLAN MAC
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49100 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Add TL-WR841N/ND v11 support
blogic [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49099 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomediatek: update patches
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49098 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokernel: update kernel 3.18 to version 3.18.29
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49096 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49094 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49091 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobcm53xx: simpify USB 3.0 PHY initialization
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49090 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agopackage: uboot-sunxi: various changes
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49089 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouboot-mvebu: add package
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49088 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: cosmetic fix of alfa ap120c/ap96 ordering
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49086 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouboot-envtools: add support for ap120c
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49083 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49082 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: migrate tplink cpe510 to new build steps
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49081 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx/image: allow builds of loader without cmdline injecting
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49080 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx/image: introduce LOADER_TYPE to support elf loaders
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49079 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouboot-zynq: Update to U-Boot 2016.03 release
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49078 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agozynq: Simplify boot-img build
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49077 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WNR1000v2: enable control of all LEDs and buttons
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49076 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Add QCA955X GPIO mux and function definitions
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49075 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Add support for ath79_gpio_function_* on QCA955X
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49074 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomac80211: build airo on x86 only
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49073 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoRevert "ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg"
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49072 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoRevert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49071 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49070 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49069 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agooxnas: set ubifs parameters for Default profile
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49068 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomediatek: patch block2mtd to allow cmdlineparts to work
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49067 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomediatek: update patches
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49066 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomt76: fix compile error
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49065 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49064 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agogeneric/4.4: remove ISSI SI25CD512 SPI flash support patch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49063 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: lzma-loader: fix O32 ABI conformance
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49062 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolantiq: lzma-loader: fix O32 ABI conformance
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49061 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobrcm47xx: lzma-loader: fix cache invalidation
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49060 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobrcm47xx: lzma-loader: remove trailing whitespaces from head.S
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49059 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoadm5120: lzma-loader: fix cache invalidation
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49058 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoadm5120: lzma-loader: remove trailing whitespaces from head.S
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49057 3c298f89-4303-0410-b956-a3cf2f4a3e73