openwrt/staging/pepe2k.git
10 years agomac80211: refresh rt2x00 patches
John Crispin [Wed, 23 Apr 2014 07:52:37 +0000 (07:52 +0000)]
mac80211: refresh rt2x00 patches

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

10 years agomac80211: rt2x00: add support for the RT3662/RT3883 SoCs
John Crispin [Wed, 23 Apr 2014 07:52:18 +0000 (07:52 +0000)]
mac80211: rt2x00: add support for the RT3662/RT3883 SoCs

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

10 years agoramips: register clock device for the WMAC on RT3883
John Crispin [Wed, 23 Apr 2014 07:51:57 +0000 (07:51 +0000)]
ramips: register clock device for the WMAC on RT3883

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

10 years agonetifd: update to latest version, adds support for disabling interfaces
Felix Fietkau [Tue, 22 Apr 2014 17:28:14 +0000 (17:28 +0000)]
netifd: update to latest version, adds support for disabling interfaces

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

10 years agoramips: Add support for the 7Links PX-4885 wireless router.
John Crispin [Tue, 22 Apr 2014 08:08:51 +0000 (08:08 +0000)]
ramips: Add support for the 7Links PX-4885 wireless router.

The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>
SVN-Revision: 40554

10 years agolantiq: BT Home Hub 2B - overlayfs on top of ubi
John Crispin [Tue, 22 Apr 2014 08:08:46 +0000 (08:08 +0000)]
lantiq: BT Home Hub 2B - overlayfs on top of ubi

BT Home Hub 2B: use overlayfs on top of ubi.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 40553

10 years agoramips: build factory-compatible image for AR725W
John Crispin [Tue, 22 Apr 2014 08:08:42 +0000 (08:08 +0000)]
ramips: build factory-compatible image for AR725W

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40552

10 years agofirmware-utils: add Gemtek header tool
John Crispin [Tue, 22 Apr 2014 08:08:39 +0000 (08:08 +0000)]
firmware-utils: add Gemtek header tool

Generates webflash-compatible images for a few RT2880 routers based
on Gemtek OEM boards.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40551

10 years agoramips: add Airlink101 AR725W userland support
John Crispin [Tue, 22 Apr 2014 08:08:35 +0000 (08:08 +0000)]
ramips: add Airlink101 AR725W userland support

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40550

10 years agoramips: Add Airlink101 AR725W board support
John Crispin [Tue, 22 Apr 2014 08:08:31 +0000 (08:08 +0000)]
ramips: Add Airlink101 AR725W board support

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 40549

10 years agoAdd Zyxel P-2812HNU-Fx images
John Crispin [Tue, 22 Apr 2014 08:08:27 +0000 (08:08 +0000)]
Add Zyxel P-2812HNU-Fx images

P-2812HNU-Fx images are already supported but not generated.

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

10 years agoAdd Fritz!Box 3370 images
John Crispin [Tue, 22 Apr 2014 08:08:23 +0000 (08:08 +0000)]
Add Fritz!Box 3370 images

Fritz!Box 3370 images are already supported but not generated.

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

10 years agoRefresh patches
John Crispin [Tue, 22 Apr 2014 08:08:19 +0000 (08:08 +0000)]
Refresh patches

Refresh uboot-lantiq patches.

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

10 years agoCreate firmware directory if it doesn't exist
John Crispin [Tue, 22 Apr 2014 08:08:15 +0000 (08:08 +0000)]
Create firmware directory if it doesn't exist

Fixes package refreshing.

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

10 years agoDepend on lantiq board
John Crispin [Tue, 22 Apr 2014 08:08:10 +0000 (08:08 +0000)]
Depend on lantiq board

Depend on lantiq board.

ARV7510 depends on ARV4510 because (according to OpenWrt wiki) both boards are identical except for the unsupported WiFi. Moreover, ARV7510 isn't especifically supported and ARV4510 images valid.

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

10 years agoFix vr9_phy22f_a2x.bin firmware linking
John Crispin [Tue, 22 Apr 2014 08:08:06 +0000 (08:08 +0000)]
Fix vr9_phy22f_a2x.bin firmware linking

vr9_phy22f_a2x.bin needs to be linked in order to get ethernet support.

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

10 years agolinux/generic: add MIB counters and port status to ADM6996 switch
John Crispin [Tue, 22 Apr 2014 08:08:02 +0000 (08:08 +0000)]
linux/generic: add MIB counters and port status to ADM6996 switch

This patch adds port status information and MIB counters to the ADM6996
switch driver.

The driver supports also the older ADM6996L-variant, but I'm not able to
test this patch on that chip. According to the datasheet the same
registers exist there as well, so I think it should work, but any
feedback is appreciated.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40542

10 years agolantiq: fix maximum ethernet header length
John Crispin [Tue, 22 Apr 2014 08:07:53 +0000 (08:07 +0000)]
lantiq: fix maximum ethernet header length

The total ethernet frame length should be written to the hardware
register LTQ_ETOP_IGPLEN instead of just the value of the MTU. This
patch fixes network issues on various Danube boards, especially when
VLAN tagging is enabled.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40541

10 years agoadd missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:16:03 +0000 (18:16 +0000)]
add missing symbols in prepping for afs patchset

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

10 years agoadd missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:14:17 +0000 (18:14 +0000)]
add missing symbols in prepping for afs patchset

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

10 years agoadd missing symbols in prepping for afs patchset
Zoltan Herpai [Mon, 21 Apr 2014 18:13:19 +0000 (18:13 +0000)]
add missing symbols in prepping for afs patchset

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

10 years agoscons: upgrade to 2.3.1
Luka Perkov [Sat, 19 Apr 2014 21:39:12 +0000 (21:39 +0000)]
scons: upgrade to 2.3.1

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

10 years agompc: upgrade to 1.0.2
Luka Perkov [Sat, 19 Apr 2014 21:39:11 +0000 (21:39 +0000)]
mpc: upgrade to 1.0.2

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

10 years agoflex: upgrade to version 2.5.39
Luka Perkov [Sat, 19 Apr 2014 21:39:10 +0000 (21:39 +0000)]
flex: upgrade to version 2.5.39

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

10 years agokobs-ng: Add support for overriding size
Luka Perkov [Sat, 19 Apr 2014 21:39:09 +0000 (21:39 +0000)]
kobs-ng: Add support for overriding size

By default kobs-ng will use the size of /dev/mtd0 for the IMX bootstreams.
This patch allows overriding that size in order to reserve space at the end
of the mtd partition for u-boot.img in the case of using an SPL bootloader.

For example, to flash an SPL bootloader that loads u-boot.img from 0xe0000
(14MB) offset in a 16MB /dev/mtd0:

  kobs-ng init -v -x --search_exponent=1 --chip_0_size=0xe00000 SPL
  nandwrite --start=0xe00000 --pad /dev/mtd0 u-boot.img

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

10 years agoimx6-gateworks: enable new canbus packages
Luka Perkov [Sat, 19 Apr 2014 21:39:04 +0000 (21:39 +0000)]
imx6-gateworks: enable new canbus packages

The canbus package was recently changed to a more active project. This patch
updates the default package names to include the same functionality as before.

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

10 years agofeeds.conf.default: the telephony feed is now on git.openwrt.org
Felix Fietkau [Sat, 19 Apr 2014 17:26:11 +0000 (17:26 +0000)]
feeds.conf.default: the telephony feed is now on git.openwrt.org

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

10 years agonetifd: update to the latest version, fixes some more issues related to l3_dev handling
Felix Fietkau [Sat, 19 Apr 2014 09:58:40 +0000 (09:58 +0000)]
netifd: update to the latest version, fixes some more issues related to l3_dev handling

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

10 years agobase-files: remove duplicate wps button handler (#15621)
Felix Fietkau [Fri, 18 Apr 2014 17:27:38 +0000 (17:27 +0000)]
base-files: remove duplicate wps button handler (#15621)

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

10 years agobuild: reimplement package build directory override
Felix Fietkau [Fri, 18 Apr 2014 14:58:01 +0000 (14:58 +0000)]
build: reimplement package build directory override

Remove leftover pieces from package-version-override.mk support
Add a new variable USE_SOURCE_DIR to use a custom build directory.

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

10 years agofstools: fix extroot with opkg-installed block-mount (#15550)
Jo-Philipp Wich [Thu, 17 Apr 2014 17:59:47 +0000 (17:59 +0000)]
fstools: fix extroot with opkg-installed block-mount (#15550)

The /sbin/block binary now requires and additional shared library, therfore set
LD_LIBRARY_PATH accordingly when invoking it from the temporary overlay.

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

10 years agolantiq: remove uboot lzma patch, apparently its not needed after all
John Crispin [Wed, 16 Apr 2014 12:11:24 +0000 (12:11 +0000)]
lantiq: remove uboot lzma patch, apparently its not needed after all

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

10 years agouboot-lantiq: backport lzma fix
John Crispin [Wed, 16 Apr 2014 12:01:24 +0000 (12:01 +0000)]
uboot-lantiq: backport lzma fix

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

10 years agolantiq: ARV7519RW22: several fixes
John Crispin [Wed, 16 Apr 2014 12:01:09 +0000 (12:01 +0000)]
lantiq: ARV7519RW22: several fixes

- Fix ethernet ports.
- Clean DTS files.
- WiFi is lantiq based (not supported yet), remove ath9k.

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

10 years agosunxi: remove mainlined patches
Zoltan Herpai [Mon, 14 Apr 2014 21:36:39 +0000 (21:36 +0000)]
sunxi: remove mainlined patches

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

10 years agods-lite: disable NAT according to RFC 7084
Steven Barth [Mon, 14 Apr 2014 10:11:54 +0000 (10:11 +0000)]
ds-lite: disable NAT according to RFC 7084

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

10 years agofirewall: add support for nat-rules and netifd-proto-originating rules
Steven Barth [Mon, 14 Apr 2014 10:11:34 +0000 (10:11 +0000)]
firewall: add support for nat-rules and netifd-proto-originating rules

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

10 years agoar71xx: rb91x: fix ethernet packet loss issues
Gabor Juhos [Sun, 13 Apr 2014 20:41:52 +0000 (20:41 +0000)]
ar71xx: rb91x: fix ethernet packet loss issues

The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

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

10 years agoar71xx/mikrotik: enable the AT803x PHY driver
Gabor Juhos [Sun, 13 Apr 2014 20:41:51 +0000 (20:41 +0000)]
ar71xx/mikrotik: enable the AT803x PHY driver

It will be used on the RB91x boards.

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

10 years agoar71xx: allow to configure AR803x PHYs via platform data
Gabor Juhos [Sun, 13 Apr 2014 20:41:50 +0000 (20:41 +0000)]
ar71xx: allow to configure AR803x PHYs via platform data

Add a patch for the at803x phy driver, in order to be able
to configure some register settings via platform data.

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

10 years agoar71xx: add phy_mmd_{read,write} helpers
Gabor Juhos [Sun, 13 Apr 2014 20:41:48 +0000 (20:41 +0000)]
ar71xx: add phy_mmd_{read,write} helpers

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

10 years agoar71xx: enable console on the RB91x boards
Gabor Juhos [Sun, 13 Apr 2014 20:41:42 +0000 (20:41 +0000)]
ar71xx: enable console on the RB91x boards

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

10 years agoralink: add port_init for rt2880
John Crispin [Sun, 13 Apr 2014 18:01:08 +0000 (18:01 +0000)]
ralink: add port_init for rt2880

Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.

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

10 years agoiw: sync nl80211.h (fixes settting antenna_gain)
Felix Fietkau [Sun, 13 Apr 2014 09:53:51 +0000 (09:53 +0000)]
iw: sync nl80211.h (fixes settting antenna_gain)

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

10 years agoar71xx: add profile and build image for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:09 +0000 (08:29 +0000)]
ar71xx: add profile and build image for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: remove the non-existing zyxelnand subtarget specific stuff]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40502

10 years agouboot-envtools: add support for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:08 +0000 (08:29 +0000)]
uboot-envtools: add support for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40501

10 years agoar71xx: add user-space support for the ZyXEL NBG6716 board
Gabor Juhos [Sun, 13 Apr 2014 08:29:07 +0000 (08:29 +0000)]
ar71xx: add user-space support for the ZyXEL NBG6716 board

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40500

10 years agoar71xx: add kernel support for ZyXEL NBG 6716
Gabor Juhos [Sun, 13 Apr 2014 08:29:05 +0000 (08:29 +0000)]
ar71xx: add kernel support for ZyXEL NBG 6716

With this patch OpenWRT supports the following on the ZyXEL NBG 6716:
-WiFi 2G (ath9k)
-WiFi 5G (ath10k)
-NAND flash
-2 Ethernet interfaces
-USB 2.0
-LEDs including switch
-reasonale defaults at first boot

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg:
  - rename and refresh kernel patch,
  - fix a few typos,
  - change button key codes,
  - use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40499

10 years agolantiq: enable switch on td8970
John Crispin [Sat, 12 Apr 2014 21:22:21 +0000 (21:22 +0000)]
lantiq: enable switch on td8970

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

10 years ago802.11s: fix authsae support in netifd
John Crispin [Sat, 12 Apr 2014 21:22:17 +0000 (21:22 +0000)]
802.11s: fix authsae support in netifd

This patch implements support for 802.11s protected mesh wireless networks (using authsae) in the netifd framework.

Until meshd-nl80211 implements a proper -P option for the PID file, this uses shell backgrounding in order to be able to get the PID for the process.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 40497

10 years agorpcd: update to the latest version
John Crispin [Sat, 12 Apr 2014 21:22:12 +0000 (21:22 +0000)]
rpcd: update to the latest version

This is required to make object "session" procedure "access" dump ACLs
when no "object" or no "function" parameters are passed.

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

10 years agoFix ARV7519RW images
John Crispin [Sat, 12 Apr 2014 21:22:08 +0000 (21:22 +0000)]
Fix ARV7519RW images

This patch moves ARV7519RW definitions to VR9 section from the AR9 section and removes a whitespace that breaks jffs2 image generation.

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

10 years agoFix Asus rt-n15 board support
John Crispin [Sat, 12 Apr 2014 21:22:04 +0000 (21:22 +0000)]
Fix Asus rt-n15 board support

* gpio leds and buttons
* ethernet

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

10 years agort2880 DT fixes
John Crispin [Sat, 12 Apr 2014 21:22:00 +0000 (21:22 +0000)]
rt2880 DT fixes

* add pinctrl
* fix ethernet port
* make wifi available by default

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

10 years agoFix pinmux-rt2880
John Crispin [Sat, 12 Apr 2014 21:21:56 +0000 (21:21 +0000)]
Fix pinmux-rt2880

The last arg to FUNC() is count, not last pin.

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

10 years agoAdd wmac clock for rt2880
John Crispin [Sat, 12 Apr 2014 21:21:53 +0000 (21:21 +0000)]
Add wmac clock for rt2880

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

10 years agosparse: add as a new package selectable from the config
John Crispin [Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)]
sparse: add as a new package selectable from the config

This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
 build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
 the above option will be enabled

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40490

10 years agoDon't try to generate whr-g300n image if it's going to be more than 4M
John Crispin [Sat, 12 Apr 2014 21:21:44 +0000 (21:21 +0000)]
Don't try to generate whr-g300n image if it's going to be more than 4M

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

10 years agouboot-lantiq: enable parallel building
John Crispin [Sat, 12 Apr 2014 21:21:40 +0000 (21:21 +0000)]
uboot-lantiq: enable parallel building

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40488

10 years agouboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq
John Crispin [Sat, 12 Apr 2014 21:21:35 +0000 (21:21 +0000)]
uboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40487

10 years agouboot-lantiq: add packages for AudioCodes MP-252
John Crispin [Sat, 12 Apr 2014 21:21:31 +0000 (21:21 +0000)]
uboot-lantiq: add packages for AudioCodes MP-252

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40486

10 years agouboot-lantiq: add packages for various Arcadyan boards
John Crispin [Sat, 12 Apr 2014 21:21:26 +0000 (21:21 +0000)]
uboot-lantiq: add packages for various Arcadyan boards

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40485

10 years agouboot-lantiq: add packages for Lantiq EASY80920
John Crispin [Sat, 12 Apr 2014 21:21:23 +0000 (21:21 +0000)]
uboot-lantiq: add packages for Lantiq EASY80920

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40484

10 years agouboot-lantiq: add packages for Lantiq EASY50712
John Crispin [Sat, 12 Apr 2014 21:21:18 +0000 (21:21 +0000)]
uboot-lantiq: add packages for Lantiq EASY50712

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40483

10 years agouboot-lantiq: update to v2013.10
John Crispin [Sat, 12 Apr 2014 21:21:14 +0000 (21:21 +0000)]
uboot-lantiq: update to v2013.10

Patches created from tree:
git@github.com:danielschwierzeck/u-boot-lantiq.git
v2013.10..u-boot-lantiq-v2013.10-openwrt4

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
SVN-Revision: 40482

10 years agoar71xx: build firmware image for the WNDR3700 v4 board
Gabor Juhos [Sat, 12 Apr 2014 20:22:41 +0000 (20:22 +0000)]
ar71xx: build firmware image for the WNDR3700 v4 board

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

10 years agoar71xx/image: allow to use more arguments for some macros
Gabor Juhos [Sat, 12 Apr 2014 20:00:37 +0000 (20:00 +0000)]
ar71xx/image: allow to use more arguments for some macros

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

10 years agoar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files
Gabor Juhos [Sat, 12 Apr 2014 19:58:23 +0000 (19:58 +0000)]
ar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files

Apart from the wireless chip, the WNDR3700 v4 and the WNDR4300
is the same device. Indicate this in the kernel files.

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

10 years agoar71xx: wndr4300: enable 5V power for the USB port
Gabor Juhos [Sat, 12 Apr 2014 19:58:20 +0000 (19:58 +0000)]
ar71xx: wndr4300: enable 5V power for the USB port

The 5V power of the USB is controlled by a GPIO pin of
the external WiFi chip. Setup the GPIO bitmasks in the
platform data of the WiFi chip to ensure that the 5V
power gets enabled by the ath9k driver.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

10 years agoar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Gabor Juhos [Sat, 12 Apr 2014 17:53:34 +0000 (17:53 +0000)]
ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

10 years agoar71xx: add default LED config for WiFi LEDs on the WNDR4300
Gabor Juhos [Sat, 12 Apr 2014 17:42:36 +0000 (17:42 +0000)]
ar71xx: add default LED config for WiFi LEDs on the WNDR4300

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

10 years agoar71xx: wndr4300: add LED for 2.4Ghz wifi interface
Gabor Juhos [Sat, 12 Apr 2014 17:42:35 +0000 (17:42 +0000)]
ar71xx: wndr4300: add LED for 2.4Ghz wifi interface

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

10 years agoar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs
Gabor Juhos [Sat, 12 Apr 2014 17:42:34 +0000 (17:42 +0000)]
ar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs

The bootloader does not initializes the output function
correctly for all LEDs. DO that from the board setup code.

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

10 years agoar71xx: wndr4300: change 'orange' to 'amber' in LED color names
Gabor Juhos [Sat, 12 Apr 2014 17:42:33 +0000 (17:42 +0000)]
ar71xx: wndr4300: change 'orange' to 'amber' in LED color names

The hardware manual says amber so change the color part of
the LED names to reflect that. Also update the constant names.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

10 years agoar71xx: fix typos in TP-Link rssileds definition
Gabor Juhos [Sat, 12 Apr 2014 16:01:45 +0000 (16:01 +0000)]
ar71xx: fix typos in TP-Link rssileds definition

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/5109/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40472

10 years agoar71xx: add rssileds for Ubiquiti XM boards
Gabor Juhos [Sat, 12 Apr 2014 16:01:43 +0000 (16:01 +0000)]
ar71xx: add rssileds for Ubiquiti XM boards

Adds support for the received signal strength indicator LEDs of the
Bullet M, Nanostation M and Rocket M devices.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/5108/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40471

10 years agokernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed
Felix Fietkau [Sat, 12 Apr 2014 15:43:17 +0000 (15:43 +0000)]
kernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed

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

10 years agohostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)
Felix Fietkau [Sat, 12 Apr 2014 14:28:34 +0000 (14:28 +0000)]
hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)

r39995 introduced a new parameter wps_pbc_in_m1 to wifi wps config, but
apparently did not provide a default value 0.

When that option's non-existing value is later evaluated in
/lib/netifd/hostapd.sh, it causes the "bad number" error to be logged in
syslog if user has not set the wps_pbc_in_m1 option. The error materialises
only if user has enabled wps.
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio1 (1254): sh: bad number
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio0 (1253): sh: bad number

Discussion in bug 15508: https://dev.openwrt.org/ticket/15508#comment:3

Error is caused by line 282:
https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh#L282

My patch sets the parameter's default value to 0, which does nothing. The
default might also be set a bit later in the function, but this felt like the
most clear place to do that.

Signed-off-by hnyman <hannu.nyman@iki.fi>

SVN-Revision: 40469

10 years agox86/net5501: remove broken flag
Gabor Juhos [Sat, 12 Apr 2014 12:05:18 +0000 (12:05 +0000)]
x86/net5501: remove broken flag

According to Christophe, the kernel boots on the Soekris net5501
board.

Reported-by: Christophe Prevotaux <cprevotaux@nltinc.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40468

10 years agokernel: update 3.10 to 3.10.36
Gabor Juhos [Sat, 12 Apr 2014 11:59:07 +0000 (11:59 +0000)]
kernel: update 3.10 to 3.10.36

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

10 years agoar71xx: fix image generation
Gabor Juhos [Sat, 12 Apr 2014 11:59:05 +0000 (11:59 +0000)]
ar71xx: fix image generation

Move the comments out from the shell script to fix build
breakage introduced in r40464.

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

10 years agoar71xx: avoid spurious restarts caused by the watchdog on AR934x
Gabor Juhos [Sat, 12 Apr 2014 10:21:04 +0000 (10:21 +0000)]
ar71xx: avoid spurious restarts caused by the watchdog on AR934x

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

10 years agoar71xx: add comments for image Makefile.
Gabor Juhos [Sat, 12 Apr 2014 09:52:58 +0000 (09:52 +0000)]
ar71xx: add comments for image Makefile.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5075/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40464

10 years agoar71xx: initial support for TP-Link Archer C7v2
Gabor Juhos [Sat, 12 Apr 2014 09:52:54 +0000 (09:52 +0000)]
ar71xx: initial support for TP-Link Archer C7v2

The C7v2 has 16 MB flash and QCA9880-BR4A rev 2 supported by ath10k driver.
The C7v1 had 8 MB flash and the unsupported QCA9880-AR1A rev 1.

Signed-off-by: Adam Serbinski <adam@serbinski.com>
Patchwork: http://patchwork.openwrt.org/patch/5071/
[juhosg:
 - remove the v2 specific profile add the ath10k driver to the existing
   Archer C7 profile instead. Although on v1 devices it does not change
   the non-working behaviour, but the ath10k driver is useful for users
   whom have replaced the wifi card with a supported one in their units.
 - update image/Makefile to build firmware image for both boards if the
   Archer C7 profile is selected]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40463

10 years agobrcm2708: add missing configuration symbols
Florian Fainelli [Fri, 11 Apr 2014 22:38:54 +0000 (22:38 +0000)]
brcm2708: add missing configuration symbols

Spotted by buildbot and while doing a CONFIG_ALL=y build.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 40462

10 years agolantiq: add an extra partition to the TDW8970 flash that can be used to store the...
John Crispin [Fri, 11 Apr 2014 20:40:34 +0000 (20:40 +0000)]
lantiq: add an extra partition to the TDW8970 flash that can be used to store the vdsl firmware

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

10 years agolantiq: more vdsl related cleanups
John Crispin [Fri, 11 Apr 2014 20:40:24 +0000 (20:40 +0000)]
lantiq: more vdsl related cleanups

* atm module needs to be loaded before linux-atm
* use absolute firmware paths
* extended validation
* add a script for mounting an optional firmware partition

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

10 years agonetifd: switch to using git.openwrt.org
Felix Fietkau [Fri, 11 Apr 2014 20:28:55 +0000 (20:28 +0000)]
netifd: switch to using git.openwrt.org

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

10 years agouci: fix import with not yet existing packages, preserve config permissions on commit...
Jo-Philipp Wich [Fri, 11 Apr 2014 16:14:09 +0000 (16:14 +0000)]
uci: fix import with not yet existing packages, preserve config permissions on commit, fix Lua detection in cmake

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

10 years agouhttpd: do not attempt to configure Lua handler if referenced file does not exist
Jo-Philipp Wich [Fri, 11 Apr 2014 16:13:27 +0000 (16:13 +0000)]
uhttpd: do not attempt to configure Lua handler if referenced file does not exist

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

10 years agonetifd: update to latest version, adds a force_link parameter to bring up an interfac...
Felix Fietkau [Fri, 11 Apr 2014 13:48:41 +0000 (13:48 +0000)]
netifd: update to latest version, adds a force_link parameter to bring up an interface without active device carrier

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

10 years agox86_64: add usb support (including storage) to the kernel config
Felix Fietkau [Fri, 11 Apr 2014 13:22:28 +0000 (13:22 +0000)]
x86_64: add usb support (including storage) to the kernel config

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

10 years agox86: set default kernel version to 3.10
Felix Fietkau [Fri, 11 Apr 2014 13:22:24 +0000 (13:22 +0000)]
x86: set default kernel version to 3.10

Place the previous selection (3.3.8) into the only subtarget that did
not override it to 3.10

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

10 years agox86: remove linux 3.8 support
Felix Fietkau [Fri, 11 Apr 2014 13:22:19 +0000 (13:22 +0000)]
x86: remove linux 3.8 support

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

10 years agogenerate esxi compatible vmdks, too
Imre Kaloz [Fri, 11 Apr 2014 10:19:26 +0000 (10:19 +0000)]
generate esxi compatible vmdks, too

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

10 years agoreuqire qemu-img to be installed (the one we have in tools is too old)
Imre Kaloz [Fri, 11 Apr 2014 10:14:57 +0000 (10:14 +0000)]
reuqire qemu-img to be installed (the one we have in tools is too old)

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

10 years agonetifd: update to the latest version, fixes some reload issues with proto=static
Felix Fietkau [Thu, 10 Apr 2014 15:21:13 +0000 (15:21 +0000)]
netifd: update to the latest version, fixes some reload issues with proto=static

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

10 years agokernel: add a dependency of kmod-r8169 on r8169-firmware
Felix Fietkau [Thu, 10 Apr 2014 14:43:33 +0000 (14:43 +0000)]
kernel: add a dependency of kmod-r8169 on r8169-firmware

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

10 years agolinux-firmware: add a new package for firmware (currently only builds r8169 firmware)
Felix Fietkau [Thu, 10 Apr 2014 14:43:30 +0000 (14:43 +0000)]
linux-firmware: add a new package for firmware (currently only builds r8169 firmware)

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

10 years agobuild: add support for packing version control downloads with xz
Felix Fietkau [Thu, 10 Apr 2014 14:43:26 +0000 (14:43 +0000)]
build: add support for packing version control downloads with xz

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