Commit graph

27032 commits

Author SHA1 Message Date
John Crispin
9fbbd04f45 lantiq: enable switch on td8970
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40498
2014-04-12 21:22:21 +00:00
John Crispin
3bc77db5f5 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
2014-04-12 21:22:17 +00:00
John Crispin
fca3f32fe8 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
2014-04-12 21:22:12 +00:00
John Crispin
f2b0a6365e 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
2014-04-12 21:22:08 +00:00
John Crispin
7ae1d573ae Fix Asus rt-n15 board support
* gpio leds and buttons
* ethernet

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

SVN-Revision: 40494
2014-04-12 21:22:04 +00:00
John Crispin
3d6ba83fe4 rt2880 DT fixes
* add pinctrl
* fix ethernet port
* make wifi available by default

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

SVN-Revision: 40493
2014-04-12 21:22:00 +00:00
John Crispin
fa86c30538 Fix pinmux-rt2880
The last arg to FUNC() is count, not last pin.

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

SVN-Revision: 40492
2014-04-12 21:21:56 +00:00
John Crispin
73160c1ad6 Add wmac clock for rt2880
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40491
2014-04-12 21:21:53 +00:00
John Crispin
76133009c9 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
2014-04-12 21:21:49 +00:00
John Crispin
72803e0e27 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
2014-04-12 21:21:44 +00:00
John Crispin
3269f57c58 uboot-lantiq: enable parallel building
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40488
2014-04-12 21:21:40 +00:00
John Crispin
dcbaee4e77 uboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40487
2014-04-12 21:21:35 +00:00
John Crispin
28fcb00b44 uboot-lantiq: add packages for AudioCodes MP-252
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40486
2014-04-12 21:21:31 +00:00
John Crispin
dcf6f0e3f8 uboot-lantiq: add packages for various Arcadyan boards
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40485
2014-04-12 21:21:26 +00:00
John Crispin
b949a631fe uboot-lantiq: add packages for Lantiq EASY80920
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40484
2014-04-12 21:21:23 +00:00
John Crispin
de21f63d4a uboot-lantiq: add packages for Lantiq EASY50712
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40483
2014-04-12 21:21:18 +00:00
John Crispin
1246dce0b3 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
2014-04-12 21:21:14 +00:00
Gabor Juhos
22916814e3 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
2014-04-12 20:22:41 +00:00
Gabor Juhos
a67578ce33 ar71xx/image: allow to use more arguments for some macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40480
2014-04-12 20:00:37 +00:00
Gabor Juhos
4149ab5193 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
2014-04-12 19:58:23 +00:00
Gabor Juhos
7b85e2e527 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
2014-04-12 19:58:20 +00:00
Gabor Juhos
ed72141fd4 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
2014-04-12 17:53:34 +00:00
Gabor Juhos
b971a4b5b9 ar71xx: add default LED config for WiFi LEDs on the WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40476
2014-04-12 17:42:36 +00:00
Gabor Juhos
4fe71cedfe 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
2014-04-12 17:42:35 +00:00
Gabor Juhos
db123a8a21 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
2014-04-12 17:42:34 +00:00
Gabor Juhos
9b7b57aeb4 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
2014-04-12 17:42:33 +00:00
Gabor Juhos
a93c87d772 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
2014-04-12 16:01:45 +00:00
Gabor Juhos
087547d3e2 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
2014-04-12 16:01:43 +00:00
Felix Fietkau
d80333bae3 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
2014-04-12 15:43:17 +00:00
Felix Fietkau
0d7e8ba3a9 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
2014-04-12 14:28:34 +00:00
Gabor Juhos
f79b613934 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
2014-04-12 12:05:18 +00:00
Gabor Juhos
d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
2014-04-12 11:59:07 +00:00
Gabor Juhos
17f848538c 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
2014-04-12 11:59:05 +00:00
Gabor Juhos
cd75606712 ar71xx: avoid spurious restarts caused by the watchdog on AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40465
2014-04-12 10:21:04 +00:00
Gabor Juhos
fd53cfa31b 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
2014-04-12 09:52:58 +00:00
Gabor Juhos
1bce5e8328 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
2014-04-12 09:52:54 +00:00
Florian Fainelli
658648d032 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
2014-04-11 22:38:54 +00:00
John Crispin
60edb8f47b 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
2014-04-11 20:40:34 +00:00
John Crispin
390e856cb2 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
2014-04-11 20:40:24 +00:00
Felix Fietkau
7b960069a2 netifd: switch to using git.openwrt.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40459
2014-04-11 20:28:55 +00:00
Jo-Philipp Wich
38c4e4cc02 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
2014-04-11 16:14:09 +00:00
Jo-Philipp Wich
e0a3e3d1b6 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
2014-04-11 16:13:27 +00:00
Felix Fietkau
92ab194d63 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
2014-04-11 13:48:41 +00:00
Felix Fietkau
83e32c8f6a x86_64: add usb support (including storage) to the kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40455
2014-04-11 13:22:28 +00:00
Felix Fietkau
f7e747baa9 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
2014-04-11 13:22:24 +00:00
Felix Fietkau
c3cc517071 x86: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40453
2014-04-11 13:22:19 +00:00
Imre Kaloz
25e36d379e generate esxi compatible vmdks, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40452
2014-04-11 10:19:26 +00:00
Imre Kaloz
ced772a055 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
2014-04-11 10:14:57 +00:00
Felix Fietkau
a28b8ecc47 netifd: update to the latest version, fixes some reload issues with proto=static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40449
2014-04-10 15:21:13 +00:00
Felix Fietkau
c5967446ba kernel: add a dependency of kmod-r8169 on r8169-firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40448
2014-04-10 14:43:33 +00:00