openwrt/staging/zorun.git
9 years agoar71xx: add GL-AR300 support V3
John Crispin [Tue, 24 Nov 2015 18:30:19 +0000 (18:30 +0000)]
ar71xx: add GL-AR300 support V3

This is the patch for GL-AR300 V3, tested against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>
SVN-Revision: 47621

9 years agoar71xx: add GL-AR150 support V3
John Crispin [Tue, 24 Nov 2015 18:29:59 +0000 (18:29 +0000)]
ar71xx: add GL-AR150 support V3

This is the 3rd version. Modified against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>
SVN-Revision: 47620

9 years agoralink: add support for netis WF-2881
John Crispin [Tue, 24 Nov 2015 18:29:26 +0000 (18:29 +0000)]
ralink: add support for netis WF-2881

netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN.
It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0.
The following patch adds support for this device.

this device only works on top of UBI.

Tested and working:
* ethernet
* both WiFi radios
* USB 3.0
* buttons (reset button)
* ethernet switch and USB diag LEDs
* UART
* GPIOs
* sysupgrade

Tested and not working
* failsafe

Signed-off-by: YounJae Rho <luxflow@live.com>
SVN-Revision: 47619

9 years agooxnas: set irq of usb&sata to cpu1
John Crispin [Tue, 24 Nov 2015 18:29:14 +0000 (18:29 +0000)]
oxnas: set irq of usb&sata to cpu1

V2:
The KD-20 also has USB 3.0.I modiy the set_irq_affinity usb 2 to set_irq_affinity ?hci_hcd 2 to bind usb 2.0&3.0 to cpu1.

Signed-off-by: Shonn Lu <countrysideboy@qq.com>
SVN-Revision: 47618

9 years agoramips: add support for Youku YK1
John Crispin [Tue, 24 Nov 2015 18:29:02 +0000 (18:29 +0000)]
ramips: add support for Youku YK1

Changes since V1:
I resend this patch for current trunk.The former V1 patch is for CC branch.

Signed-off-by: Shonn Lu <countrysideboy@qq.com>
SVN-Revision: 47617

9 years agoramips: add second spi master sysclk
John Crispin [Tue, 24 Nov 2015 18:28:54 +0000 (18:28 +0000)]
ramips: add second spi master sysclk

for mt7620, rt3883 and rt5350

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47616

9 years agowpa-supplicant: Get 802.11s ssid information from option mesh_id
John Crispin [Tue, 24 Nov 2015 18:28:44 +0000 (18:28 +0000)]
wpa-supplicant: Get 802.11s ssid information from option mesh_id

The scripts for authsae and iw use the option mesh_id to get set the
"meshid" during a mesh join. But the script for wpad-mesh ignores the
option mesh_id and instead uses the option ssid. Unify the mesh
configuration and let the wpa_supplicant script also use the mesh_id from
the configuration.

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

9 years agoauthsae: Use kbit/s as mcast_rate unit like wpad
John Crispin [Tue, 24 Nov 2015 18:28:35 +0000 (18:28 +0000)]
authsae: Use kbit/s as mcast_rate unit like wpad

The OpenWrt wireless configuration for mcast_rate is defined as Kbit/s when
using wpa_supplicant for IBSS/802.11s and iw for unencrypted IBSS/802.11s.
But when using authsae, the unit for the same option is redefined as
Mbit/s. Better use the same unit for this option independent of the backend
which is used.

Old values for mcast_rate (< 1000) are still interpreted Mbit/s to avoid
problems during upgrades from older versions.

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

9 years agoauthsae: Fix meshid in authsae config
John Crispin [Tue, 24 Nov 2015 18:28:19 +0000 (18:28 +0000)]
authsae: Fix meshid in authsae config

The variable $mesh_id was never defined in authsae_start_interface and thus
the option meshid in $authsae_conf_file was always set to "".

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

9 years agoar71xx: Build initramfs by default for Mikrotik devices
John Crispin [Tue, 24 Nov 2015 18:28:05 +0000 (18:28 +0000)]
ar71xx: Build initramfs by default for Mikrotik devices

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
SVN-Revision: 47612

9 years agouboot-imx6: fix build with gcc-5
John Crispin [Tue, 24 Nov 2015 18:27:57 +0000 (18:27 +0000)]
uboot-imx6: fix build with gcc-5

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

9 years agobrcm2708: fix multi-device image generation
John Crispin [Tue, 24 Nov 2015 18:27:43 +0000 (18:27 +0000)]
brcm2708: fix multi-device image generation

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

9 years agobase-files: config_generate: honour port_mask property (#20963)
Jo-Philipp Wich [Tue, 24 Nov 2015 13:39:53 +0000 (13:39 +0000)]
base-files: config_generate: honour port_mask property (#20963)

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

9 years agoipq806x: another fix to the stmmac DMA configuration to fix remaining data corruption...
Felix Fietkau [Sun, 22 Nov 2015 21:59:22 +0000 (21:59 +0000)]
ipq806x: another fix to the stmmac DMA configuration to fix remaining data corruption issues

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

9 years agoubox: update ubox to version 2015-11-22
Hauke Mehrtens [Sun, 22 Nov 2015 21:21:09 +0000 (21:21 +0000)]
ubox: update ubox to version 2015-11-22

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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

9 years agomountd: update mountd to version 2015-11-22
Hauke Mehrtens [Sun, 22 Nov 2015 21:20:45 +0000 (21:20 +0000)]
mountd: update mountd to version 2015-11-22

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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

9 years agofstools: update fstools to version 2015-11-22
Hauke Mehrtens [Sun, 22 Nov 2015 21:20:02 +0000 (21:20 +0000)]
fstools: update fstools to version 2015-11-22

This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

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

9 years agoRevert "mvebu: migrate led and network setup to board detection framework"
Jo-Philipp Wich [Sun, 22 Nov 2015 20:52:10 +0000 (20:52 +0000)]
Revert "mvebu: migrate led and network setup to board detection framework"

Roll back the mvebu conversion to board detection code as we need to fix
some strcutural issues first.

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

9 years agoar71xx: fix network default config of the TEW-732BR
Jo-Philipp Wich [Sun, 22 Nov 2015 20:00:13 +0000 (20:00 +0000)]
ar71xx: fix network default config of the TEW-732BR

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

9 years agoipq806x: fix a nasty stmmac data corruption bug caused by faulty DMA initialization
Felix Fietkau [Sun, 22 Nov 2015 19:07:00 +0000 (19:07 +0000)]
ipq806x: fix a nasty stmmac data corruption bug caused by faulty DMA initialization

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

9 years agoipq806x: update stmmac to the version from linux 4.3
Felix Fietkau [Sun, 22 Nov 2015 19:06:51 +0000 (19:06 +0000)]
ipq806x: update stmmac to the version from linux 4.3

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

9 years agoath10k-firmware: add board-2.bin for qca99x0
Felix Fietkau [Sun, 22 Nov 2015 19:06:42 +0000 (19:06 +0000)]
ath10k-firmware: add board-2.bin for qca99x0

Keep board.bin as fallback for devices without OTP that load caldata
from flash

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

9 years agobuild: add support for choosing a different url filename part than the output file
Felix Fietkau [Sun, 22 Nov 2015 19:06:33 +0000 (19:06 +0000)]
build: add support for choosing a different url filename part than the output file

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

9 years agobase-files: use the correct path in case of modified preinit options
Felix Fietkau [Sun, 22 Nov 2015 19:06:20 +0000 (19:06 +0000)]
base-files: use the correct path in case of modified preinit options

If the user sets any preinit options in .config, the wrong path may get
applied due to wrong default value in image-config.in and due to Makefile
writing also the unchanged options into 00_preinit.conf

Modify the default path in image-config.in to match the current default
path set by r47080. Also modify the fall-back default in Makefile.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47590

9 years agolinux: add support of Synopsys ARC770-based boards
Felix Fietkau [Sun, 22 Nov 2015 19:06:07 +0000 (19:06 +0000)]
linux: add support of Synopsys ARC770-based boards

This patch introduces support of new boards with ARC cores.

 [1] Synopsys SDP board
     This is a new-generation development board from Synopsys that
     consists of base-board and CPU tile-board (which might have a real
     ASIC or FPGA with CPU image).
     It sports a lot of DesignWare peripherals like GMAC, USB, SPI, I2C
     etc and is intended to be used for early development of ARC-based
     products.

 [2] nSIM
     This is a virtual board implemented in Synopsys proprietary
     software simulator (even though available for free for open source
     community). This board has only serial port as a peripheral and so
     it is meant to be used for runtime testing which is especially
     useful during bring-up of new tools and platforms.
     What's also important ARC cores are very configurable so there're
     many variations of options like cache sizes, their line lengths,
     additional hardware blocks like multipliers, dividers etc. And this
     board could be used to make sure built software still runs on
     different HW configurations.

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 47589

9 years agokernel: mtd: Backport GD25Q128B support to 3.18
Felix Fietkau [Sun, 22 Nov 2015 19:05:53 +0000 (19:05 +0000)]
kernel: mtd: Backport GD25Q128B support to 3.18

Support is present in 3.19 and above as kernel commit:
fcc87a95195236b0935183361a72e4a98bf577d8

Changes to other existing patches are a result of "make target/linux/refresh".

Signed-off-by: Srdjan Rosic <srdjan.rosic@gmail.com>
Signed-off-by: Srdjan Rosic <rosic@google.com>
SVN-Revision: 47588

9 years agousign: Revert r47582 "usign: activate format-security checks"
Hauke Mehrtens [Sun, 22 Nov 2015 14:56:17 +0000 (14:56 +0000)]
usign: Revert r47582 "usign: activate format-security checks"

I accidentally deactivated it. This should be set to active it in any case
independently what was set in the user config.

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

9 years agoiperf: activate format-security checks
Hauke Mehrtens [Sun, 22 Nov 2015 14:18:40 +0000 (14:18 +0000)]
iperf: activate format-security checks

This patch was taken from debian.

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

9 years agogettext-full: activate format-security checks
Hauke Mehrtens [Sun, 22 Nov 2015 14:18:04 +0000 (14:18 +0000)]
gettext-full: activate format-security checks

This patch was taken from upstream libcroco

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

9 years agogettext-full: update to version 0.19.6
Hauke Mehrtens [Sun, 22 Nov 2015 14:17:11 +0000 (14:17 +0000)]
gettext-full: update to version 0.19.6

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

9 years agopx5g-standalone: activate format-security checks
Hauke Mehrtens [Sun, 22 Nov 2015 14:16:09 +0000 (14:16 +0000)]
px5g-standalone: activate format-security checks

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

9 years agousign: activate format-security checks
Hauke Mehrtens [Sun, 22 Nov 2015 14:15:34 +0000 (14:15 +0000)]
usign: activate format-security checks

This still compiles with format-security checks activated.

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

9 years agoxfsprogs: activate format-security checks
Hauke Mehrtens [Sun, 22 Nov 2015 14:13:47 +0000 (14:13 +0000)]
xfsprogs: activate format-security checks

This patch was taken from upstream.

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

9 years agoramips: update dtsi files to support second spi device
John Crispin [Sun, 22 Nov 2015 11:49:13 +0000 (11:49 +0000)]
ramips: update dtsi files to support second spi device

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47580

9 years agoramips: use transfer_one instead of transfer_one_message on rt2880 spi
John Crispin [Sun, 22 Nov 2015 11:49:04 +0000 (11:49 +0000)]
ramips: use transfer_one instead of transfer_one_message on rt2880 spi

* use kernel buildin transfer_one_message. we only need to implement
transfer_one and set_cs function
* should support use gpio as cs pin
* deselected the spi device when setup and add debug info
* only reset device when first driver probe

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47579

9 years agoramips: move rt2880 spi clock and reset init code to spi_prepare_message
John Crispin [Sun, 22 Nov 2015 11:48:57 +0000 (11:48 +0000)]
ramips: move rt2880 spi clock and reset init code to spi_prepare_message

before spi transfer. use spi_prepare_message to setup spi hardware. it
will setup MSB, spi mode and speed
remove sys_freq member and speed check code

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47578

9 years agoramips: improve rt2880 spi setup
John Crispin [Sun, 22 Nov 2015 11:48:51 +0000 (11:48 +0000)]
ramips: improve rt2880 spi setup

* check clock rate, SPI mode, and word sizes
* setup spi polarity
* enable spi1 hw if need

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47577

9 years agoramips: clean up rt2880 spi probe/remove
John Crispin [Sun, 22 Nov 2015 11:48:45 +0000 (11:48 +0000)]
ramips: clean up rt2880 spi probe/remove

* fill struct according to the member order
* add error clean up
* set min/max spi speed. so we don't need to check again

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47576

9 years agoramips: improve rt2880 spi wait ready function
John Crispin [Sun, 22 Nov 2015 11:48:34 +0000 (11:48 +0000)]
ramips: improve rt2880 spi wait ready function

use loops_per_jiffy, spi clock speed and write bytes to get the
spi loop count. if loop to 0 than spi operation timeout.
remove usleep. we only write 1 byte to spi device. use busy loop
would be better.

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47575

9 years agoramips: remove rt2880 spi lock and clean bit operation
John Crispin [Sun, 22 Nov 2015 11:48:21 +0000 (11:48 +0000)]
ramips: remove rt2880 spi lock and clean bit operation

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47574

9 years agoramips: add rt2880/mt7620 spi register defines
John Crispin [Sun, 22 Nov 2015 11:48:10 +0000 (11:48 +0000)]
ramips: add rt2880/mt7620 spi register defines

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47573

9 years agobrcm2708: add device detection and use it for network, leds and preinit
John Crispin [Sun, 22 Nov 2015 08:04:37 +0000 (08:04 +0000)]
brcm2708: add device detection and use it for network, leds and preinit

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

9 years agoconntrack-tools: create /etc/conntrackd directory
John Crispin [Sat, 21 Nov 2015 21:26:20 +0000 (21:26 +0000)]
conntrack-tools: create /etc/conntrackd directory

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47571

9 years agoconntrack-tools: use INSTALL_DIR once
John Crispin [Sat, 21 Nov 2015 21:26:12 +0000 (21:26 +0000)]
conntrack-tools: use INSTALL_DIR once

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47570

9 years agotools/scons: update to 2.4.1
John Crispin [Sat, 21 Nov 2015 21:26:06 +0000 (21:26 +0000)]
tools/scons: update to 2.4.1

Update scons to 2.4.1.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47569

9 years agotools/cmake: update to 3.4.0
John Crispin [Sat, 21 Nov 2015 21:26:02 +0000 (21:26 +0000)]
tools/cmake: update to 3.4.0

Update cmake to 3.4.0.
Refresh patches.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47568

9 years agokernel/generic: 3.18, 4.y: Add support for Quectel EC20 Mini PCIe module
John Crispin [Sat, 21 Nov 2015 21:25:54 +0000 (21:25 +0000)]
kernel/generic: 3.18, 4.y: Add support for Quectel EC20 Mini PCIe module

* both patches (qcserial/qmi_wwan) were submitted upstream[1,2]
* build tested on 3.18 and 4.1
* run tested on imx6 platform with 4.1

1. http://article.gmane.org/gmane.linux.usb.general/132998
2. http://article.gmane.org/gmane.linux.usb.general/133113

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47567

9 years agolantiq: add phy led config support over devicetree bindings
John Crispin [Sat, 21 Nov 2015 21:25:43 +0000 (21:25 +0000)]
lantiq: add phy led config support over devicetree bindings

This patch adds the posibility to config the led behaviour of the lantiq phys
over the devicetree bindings.It patches the 0023-NET-PHY-adds-driver-for-lantiq-PHY11G
for 3.18 and 4.1. I have also added a register description overview for
applicable values. This goes to the documentation folder in the linux kernel.

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

9 years agoralink: add missing nand layer hack
John Crispin [Sat, 21 Nov 2015 21:25:33 +0000 (21:25 +0000)]
ralink: add missing nand layer hack

It turned out that mtk_nand driver uses some sophisticated accounting and a
general nand code must be patched.

This patch adds required read and erase calls to a general nand code. I
used a  code  for re6500 released by Linksys as a reference.

All required operations (erase, write and read) are usable. However I found
that jffs2 filesystem can be created only on top of a ubi volume. I tried
to create jffs2 directly on mtd device but pages with clean markers are
became uncorrectable.

Signed-off-by: Kirill Berezin <fyiwdt@gmail.com>
SVN-Revision: 47565

9 years agokernel: fix building RTC drivers
John Crispin [Sat, 21 Nov 2015 21:25:28 +0000 (21:25 +0000)]
kernel: fix building RTC drivers

All RTC drivers require the kernel to be built with CONFIG_RTC_CLASS=y.
Set it accordingly.

Tested only with DS1307.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 47564

9 years agolantiq: tweak DWC2 default parameters
John Crispin [Sat, 21 Nov 2015 21:25:20 +0000 (21:25 +0000)]
lantiq: tweak DWC2 default parameters

This patch improves the default configuration of DWC2 on lantiq SoCs
somewhat:
 * Set maximum packet count to largest allowed value by the DWC2 (511)
 * Use 16-bit DMA bursts
 * Divide fifo buffers more evenly

Default fifo buffer sizes from original ltq-hcd driver seem really
irrational. For example according to DWC2 data book rxfifo size of 240
will not fit even a single full length USB packet. On the other hand
non-periodic tx fifo size of 240 is more than enough to fit one complete
packet.

Change the sizes around to improve the situation and to fix some issues
especially with isochronous USB transfers.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
SVN-Revision: 47563

9 years agobrcm2708: enable hard float ABI
John Crispin [Sat, 21 Nov 2015 21:25:13 +0000 (21:25 +0000)]
brcm2708: enable hard float ABI

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

9 years agobrcm2708: add support for multi-device images
John Crispin [Sat, 21 Nov 2015 21:25:04 +0000 (21:25 +0000)]
brcm2708: add support for multi-device images

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

9 years agobrcm2708: rename image device definition
John Crispin [Sat, 21 Nov 2015 21:24:57 +0000 (21:24 +0000)]
brcm2708: rename image device definition

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

9 years agobrcm2708: revert sd image extension to .img
John Crispin [Sat, 21 Nov 2015 21:24:50 +0000 (21:24 +0000)]
brcm2708: revert sd image extension to .img

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

9 years agobrcm2708: simplify gzip image generation
John Crispin [Sat, 21 Nov 2015 21:24:44 +0000 (21:24 +0000)]
brcm2708: simplify gzip image generation

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

9 years agoramips: init usb power for Lenovo Y1S
John Crispin [Sat, 21 Nov 2015 21:24:38 +0000 (21:24 +0000)]
ramips: init usb power for Lenovo Y1S

Signed-off-by: Shonn Lu <countrysideboy@qq.com>
SVN-Revision: 47557

9 years agomac80211: fix autoprobing of mt7601u driver
John Crispin [Sat, 21 Nov 2015 21:24:28 +0000 (21:24 +0000)]
mac80211: fix autoprobing of mt7601u driver

Strigng passed to autoprobing script should match
module's name. Currently that string is missing trailing "u".

With that change mt7601u driver really gets autoloaded on
USB Wi-Fi dongle insertion:
------------------>8---------------
[    0.930000] hub 2-0:1.0: USB hub found
[    0.940000] hub 2-0:1.0: 1 port detected
[    1.150000] usb 1-1: new high-speed USB device number 2 using
ehci-platform
[    1.720000] init: - preinit -
Detected arc-sdp // Synopsys AXS101 Development Board
[    1.810000] random: mktemp urandom read with 3 bits of entropy
available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug
level
[    4.940000] procd: - early -
[    5.540000] procd: - ubus -
[    6.550000] procd: - init -
Please press Enter to activate this console.
[    7.160000] Loading modules backported from Linux version
master-2015-10-26-0-g28c26cb
[    7.170000] Backport generated by backports.git
backports-20150903-4-g12cf266
[    7.200000] cfg80211: World regulatory domain updated:
[    7.230000] cfg80211:  DFS Master region: unset
[    7.230000] cfg80211:   (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.270000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.270000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.290000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.290000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    7.310000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz),
(N/A, 2000 mBm), (0 s)
[    7.310000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.330000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[    7.470000] usb 1-1: reset high-speed USB device number 2 using
ehci-platform
[    7.620000] mt7601u 1-1:1.0: ASIC revision: 76010001 MAC revision:
76010500
[    7.630000] mt7601u 1-1:1.0: Firmware Version: 0.1.00 Build: 7640
Build time: 201302052146____
[    8.040000] mt7601u 1-1:1.0: Warning: unsupported EEPROM version 0d
[    8.050000] mt7601u 1-1:1.0: EEPROM ver:0d fae:00
[    8.050000] mt7601u 1-1:1.0: EEPROM country region 01 (channels 1-13)
[    8.320000] usbcore: registered new interface driver mt7601u
------------------>8---------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Dirk Neukirchen <dirkneukirchen@web.de>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
SVN-Revision: 47556

9 years agoar71xx: fix the SingleProfile kernel size limit for dLAN devices
John Crispin [Sat, 21 Nov 2015 21:24:23 +0000 (21:24 +0000)]
ar71xx: fix the SingleProfile kernel size limit for dLAN devices

it ends up as $(2) of CatFiles and must be a plain decimal value.

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

9 years agoar71xx: add support for the devolo dLAN Hotspot
John Crispin [Sat, 21 Nov 2015 21:24:18 +0000 (21:24 +0000)]
ar71xx: add support for the devolo dLAN Hotspot

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

9 years agoar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N
John Crispin [Sat, 21 Nov 2015 21:24:11 +0000 (21:24 +0000)]
ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N

The hwid check was wrong, causing the AR71XX_MODEL value to end with a
space (as $hwver was unset).

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

9 years agooxnas: add missing platform bindings for stmmac glue
John Crispin [Sat, 21 Nov 2015 21:24:03 +0000 (21:24 +0000)]
oxnas: add missing platform bindings for stmmac glue

r47218 was missing needed changes which were accidentally
ommitted from the patch.

This should fix #20878

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

9 years agokernel: make kmod-usb-dwc2 depend on kmod-usb-gadget on omap target
Hauke Mehrtens [Sat, 21 Nov 2015 17:40:46 +0000 (17:40 +0000)]
kernel: make kmod-usb-dwc2 depend on kmod-usb-gadget on omap target

This dependency is missing for the omap target.

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

9 years agokernel: fix build of kmod-dwc2
Hauke Mehrtens [Sat, 21 Nov 2015 17:36:31 +0000 (17:36 +0000)]
kernel: fix build of kmod-dwc2

dwc2_platform.koi is included in dwc2.ko with kernel 4.3.

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

9 years agokernel: add missing config option
Hauke Mehrtens [Sat, 21 Nov 2015 17:35:59 +0000 (17:35 +0000)]
kernel: add missing config option

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

9 years agoath10k: select kernel relayfs support
Felix Fietkau [Sat, 21 Nov 2015 10:55:36 +0000 (10:55 +0000)]
ath10k: select kernel relayfs support

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

9 years agoipq806x: fix PCIe reset gpio handling - the core already handles the active-low flag
Felix Fietkau [Sat, 21 Nov 2015 10:55:29 +0000 (10:55 +0000)]
ipq806x: fix PCIe reset gpio handling - the core already handles the active-low flag

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

9 years agoipq806x: assert AHB PCIe reset during init
Felix Fietkau [Sat, 21 Nov 2015 10:55:17 +0000 (10:55 +0000)]
ipq806x: assert AHB PCIe reset during init

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

9 years agoipq806x: reduce PCIe buffer size setting to fix potential data corruption issues
Felix Fietkau [Sat, 21 Nov 2015 10:55:05 +0000 (10:55 +0000)]
ipq806x: reduce PCIe buffer size setting to fix potential data corruption issues

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

9 years agoipq806x: fix pcie reset gpio definions and move them to the common .dtsi file
Felix Fietkau [Sat, 21 Nov 2015 10:54:58 +0000 (10:54 +0000)]
ipq806x: fix pcie reset gpio definions and move them to the common .dtsi file

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

9 years agoipq806x: fix pcie tx0-term-offset setting
Felix Fietkau [Sat, 21 Nov 2015 10:54:53 +0000 (10:54 +0000)]
ipq806x: fix pcie tx0-term-offset setting

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

9 years agoipq806x: fix device tree nodes for PCI to get rid of I/O and memory offsets
Felix Fietkau [Sat, 21 Nov 2015 10:54:48 +0000 (10:54 +0000)]
ipq806x: fix device tree nodes for PCI to get rid of I/O and memory offsets

Fixes QCA99x0 detection issues

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

9 years agomvebu: migrate led and network setup to board detection framework
Jo-Philipp Wich [Fri, 20 Nov 2015 23:59:31 +0000 (23:59 +0000)]
mvebu: migrate led and network setup to board detection framework

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

9 years agompc85xx: migrate network setup to board detection framework
Jo-Philipp Wich [Fri, 20 Nov 2015 23:52:31 +0000 (23:52 +0000)]
mpc85xx: migrate network setup to board detection framework

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

9 years agouboot-omap: fix build with gcc-5
Hauke Mehrtens [Fri, 20 Nov 2015 23:38:39 +0000 (23:38 +0000)]
uboot-omap: fix build with gcc-5

This fixes some problems with gcc-5.

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

9 years agoar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again)
Jo-Philipp Wich [Fri, 20 Nov 2015 23:34:11 +0000 (23:34 +0000)]
ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again)

When fixing the model string for WNDR3700v2 which contain a model string
followed by 0xff in r46455, the match for other versions of the WNDR3700v2
which just contain lots of 0xff broke (as the 0xff $model is checked for
is stripped off).

Fix by stripping off non-printable characters only for the actual output
string, but not for the internal matching.

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

9 years agouboot-kirkwood: fix build with gcc-5
Hauke Mehrtens [Fri, 20 Nov 2015 22:50:11 +0000 (22:50 +0000)]
uboot-kirkwood: fix build with gcc-5

This backports a patch from upstream u-boot to make it compile with gcc-5.

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

9 years agokernel: add missing config option
Hauke Mehrtens [Fri, 20 Nov 2015 22:33:59 +0000 (22:33 +0000)]
kernel: add missing config option

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

9 years agouboot-oxnas: fix build with gcc-5
Hauke Mehrtens [Fri, 20 Nov 2015 22:22:37 +0000 (22:22 +0000)]
uboot-oxnas: fix build with gcc-5

This backports a patch from upstream u-boot to make it compile with gcc-5.

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

9 years agoar71xx: migrate led and network setup to board detection framework
Jo-Philipp Wich [Fri, 20 Nov 2015 22:14:36 +0000 (22:14 +0000)]
ar71xx: migrate led and network setup to board detection framework

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

9 years agouboot-mxs: fix build with gcc-5
Hauke Mehrtens [Fri, 20 Nov 2015 21:15:48 +0000 (21:15 +0000)]
uboot-mxs: fix build with gcc-5

gcc-5 handles inline without static differently and that makes
uboot-mxs fail to build. Remove the inline so it gets exported and can
be used in other functions.

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

9 years agoimx6: ventana: remove invalid video options from bootscript
Luka Perkov [Fri, 20 Nov 2015 05:21:19 +0000 (05:21 +0000)]
imx6: ventana: remove invalid video options from bootscript

Removed video related kernel params that are only appropriate for the
Freescale downstream vendor kernel and not appriate for mainline linux.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 47532

9 years agoubus: update to the latest version, adds support for monitoring system bus traffic
Felix Fietkau [Thu, 19 Nov 2015 21:49:26 +0000 (21:49 +0000)]
ubus: update to the latest version, adds support for monitoring system bus traffic

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

9 years agoath10k-firmware: fix patch of firmware
Hauke Mehrtens [Thu, 19 Nov 2015 19:36:03 +0000 (19:36 +0000)]
ath10k-firmware: fix patch of firmware

This fixes a build error.

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

9 years agopackages: uboot-sunxi: update Lamobo R1 patch
Zoltan Herpai [Thu, 19 Nov 2015 14:43:16 +0000 (14:43 +0000)]
packages: uboot-sunxi: update Lamobo R1 patch

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

9 years agoodhcpd: correctly handle netlink congestion case
Steven Barth [Thu, 19 Nov 2015 11:49:21 +0000 (11:49 +0000)]
odhcpd: correctly handle netlink congestion case

Thanks to @ktgeek and @willmo for diagnosing

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

9 years agoimx6: refresh patches
Luka Perkov [Thu, 19 Nov 2015 08:00:17 +0000 (08:00 +0000)]
imx6: refresh patches

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

9 years agoimx6: remove obsolete VENTANA_DTS from profile
Luka Perkov [Wed, 18 Nov 2015 22:53:43 +0000 (22:53 +0000)]
imx6: remove obsolete VENTANA_DTS from profile

The device-tree files are now specified in the image Makefile

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 47512

9 years agoimx6: add Vetnana LVDS support
Luka Perkov [Wed, 18 Nov 2015 22:06:54 +0000 (22:06 +0000)]
imx6: add Vetnana LVDS support

These patches have been submitted to upstream Linux and are pending acceptance.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 47511

9 years agoimx6: ventana: fix GW16083 device-tree patch
Luka Perkov [Wed, 18 Nov 2015 22:06:50 +0000 (22:06 +0000)]
imx6: ventana: fix GW16083 device-tree patch

The 206-ARM-imx-ventana-added-GW16083-to-device-tree.patch merged wrong in
the conversion from 3.18 to 4.1. This patch resolves that and puts the
device-tree nodes in the correct place.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 47510

9 years agoimx6: drop support for kernel 3.18
Luka Perkov [Wed, 18 Nov 2015 21:36:36 +0000 (21:36 +0000)]
imx6: drop support for kernel 3.18

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

9 years agoimx6: convert ventana images to squashfs+ubifs overlay
Luka Perkov [Wed, 18 Nov 2015 21:35:24 +0000 (21:35 +0000)]
imx6: convert ventana images to squashfs+ubifs overlay

Replace the ventana ubi images from a single rootfs volume containing the
rootfs as well as kernel+dtbs in the boot/ subdir to a multi-volume ubi
containing kernel+dtbs+bootscript in 'root' ubifs volume, rootfs in 'rootfs'
squasfs volume, and rootfs_data an empty ubifs volume.

At the same time move ventana image creation over to using the new
TARGET_DEVICE syntax as a cleanup.

Additionally removed FIT image creation as it is recommended that this be
done manually to produce signed FIT images if needed.

Note that a bootscript is needed for Ventana to change its default mtdparts
to rename the 2nd partition from 'rootfs' to 'ubi'. This is because there
are patches in OpenWrt kernels that try to auto-attach and auto-mount and these
get in the way if the mtd partition is named 'rootfs'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 47508

9 years agoimx6: kernel: add UBI_BLOCK support
Luka Perkov [Wed, 18 Nov 2015 21:35:16 +0000 (21:35 +0000)]
imx6: kernel: add UBI_BLOCK support

UBI_BLOCK support is needed for mounting squashfs over UBI

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 47507

9 years agoimx6: switch to v4.1
Luka Perkov [Wed, 18 Nov 2015 21:35:12 +0000 (21:35 +0000)]
imx6: switch to v4.1

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47506

9 years agoimx6: add Gateworks GW551x support
Luka Perkov [Wed, 18 Nov 2015 21:35:09 +0000 (21:35 +0000)]
imx6: add Gateworks GW551x support

Upstream patch: e9d6d6b62f306ba83e1441af5daf2809a6167474

Add support for the Gateworks GW5510 board featuring:
 * i.MX6 SoC
 * up to 512MB DDR3
 * up to 2GB NAND flash
 * 1x miniPCIe socket (with USB)
 * HDMI out (micro-HDMI)
 * HDMI in (micro-HDMI) (currently supported by only vendor kernel)
 * TTL level I/O (supported by GW16111 breakout board):
  * I2C
  * 2x UART
  * CAN
  * 2x DIO (GPIO/PWM)
  * USB OTG

Also add support to OpenWrt build system

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47505

9 years agokirkwood: nsa310s: fix partition size
Luka Perkov [Wed, 18 Nov 2015 21:35:04 +0000 (21:35 +0000)]
kirkwood: nsa310s: fix partition size

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

9 years agokernel: fix menu for scsi-tape
Hauke Mehrtens [Wed, 18 Nov 2015 20:31:23 +0000 (20:31 +0000)]
kernel: fix menu for scsi-tape

this should be placed under the block menu entry, this fixes r47482.

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

9 years agouboot-envtools: add support for linkits7688d
John Crispin [Wed, 18 Nov 2015 15:00:38 +0000 (15:00 +0000)]
uboot-envtools: add support for linkits7688d

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

9 years agogcc: fix internal compiler error on MIPS with MIPS16 enabled (triggered by libpcap)
Felix Fietkau [Wed, 18 Nov 2015 00:57:22 +0000 (00:57 +0000)]
gcc: fix internal compiler error on MIPS with MIPS16 enabled (triggered by libpcap)

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

9 years agonetifd: fix device status reporting for external interfaces
Jo-Philipp Wich [Tue, 17 Nov 2015 16:34:43 +0000 (16:34 +0000)]
netifd: fix device status reporting for external interfaces

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