openwrt.git
10 years agosparse: add as a new package selectable from the config
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40490 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoDon't try to generate whr-g300n image if it's going to be more than 4M
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40489 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-lantiq: enable parallel building
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40488 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40487 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-lantiq: add packages for AudioCodes MP-252
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40486 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-lantiq: add packages for various Arcadyan boards
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40485 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-lantiq: add packages for Lantiq EASY80920
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40484 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-lantiq: add packages for Lantiq EASY50712
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40483 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-lantiq: update to v2013.10
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40482 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: build firmware image for the WNDR3700 v4 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40481 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx/image: allow to use more arguments for some macros
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40480 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40479 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wndr4300: enable 5V power for the USB port
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40478 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40477 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add default LED config for WiFi LEDs on the WNDR4300
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40476 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wndr4300: add LED for 2.4Ghz wifi interface
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40475 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40474 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wndr4300: change 'orange' to 'amber' in LED color names
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40473 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix typos in TP-Link rssileds definition
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40472 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add rssileds for Ubiquiti XM boards
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40471 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40470 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)
nbd [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>

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

10 years agox86/net5501: remove broken flag
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40468 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: update 3.10 to 3.10.36
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40467 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix image generation
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40466 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: avoid spurious restarts caused by the watchdog on AR934x
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40465 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add comments for image Makefile.
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40464 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: initial support for TP-Link Archer C7v2
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40463 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm2708: add missing configuration symbols
florian [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40462 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: add an extra partition to the TDW8970 flash that can be used to store the...
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40461 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: more vdsl related cleanups
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetifd: switch to using git.openwrt.org
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40459 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouci: fix import with not yet existing packages, preserve config permissions on commit...
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40458 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouhttpd: do not attempt to configure Lua handler if referenced file does not exist
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40457 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetifd: update to latest version, adds a force_link parameter to bring up an interfac...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40456 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86_64: add usb support (including storage) to the kernel config
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40455 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86: set default kernel version to 3.10
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40454 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86: remove linux 3.8 support
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40453 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[x86_64]: generate esxi compatible vmdks, too
kaloz [Fri, 11 Apr 2014 10:19:26 +0000 (10:19 +0000)]
[x86_64]: generate esxi compatible vmdks, too

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40452 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40451 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetifd: update to the latest version, fixes some reload issues with proto=static
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40449 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add a dependency of kmod-r8169 on r8169-firmware
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40448 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolinux-firmware: add a new package for firmware (currently only builds r8169 firmware)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40447 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobuild: add support for packing version control downloads with xz
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40446 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: remove obsolete symbol export from block2mtd init patch
nbd [Thu, 10 Apr 2014 14:43:22 +0000 (14:43 +0000)]
generic: remove obsolete symbol export from block2mtd init patch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40445 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86: try harder to attach block2mtd to fix boot issues on devices with longer delays
nbd [Thu, 10 Apr 2014 14:43:17 +0000 (14:43 +0000)]
x86: try harder to attach block2mtd to fix boot issues on devices with longer delays

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40444 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)
nbd [Thu, 10 Apr 2014 11:31:21 +0000 (11:31 +0000)]
netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)

Fixes #15504

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40443 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[x86_64]: specify the adapter type for the vmdk conversion
kaloz [Thu, 10 Apr 2014 11:09:27 +0000 (11:09 +0000)]
[x86_64]: specify the adapter type for the vmdk conversion

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40442 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: add back missing tx power handling fix (#12750)
nbd [Thu, 10 Apr 2014 08:52:33 +0000 (08:52 +0000)]
mac80211: add back missing tx power handling fix (#12750)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40440 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: move the dsl-modem config to network.@dsl-modem[-1]
blogic [Thu, 10 Apr 2014 08:14:33 +0000 (08:14 +0000)]
lantiq: move the dsl-modem config to network.@dsl-modem[-1]

make sure uci_defaults generates a proper uci config for the v/adsl modem

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

10 years agolantiq: vdsl init.d script should auto start
blogic [Wed, 9 Apr 2014 16:36:28 +0000 (16:36 +0000)]
lantiq: vdsl init.d script should auto start

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

10 years agolantiq: cleanup vdsl driver bringup
blogic [Wed, 9 Apr 2014 16:31:24 +0000 (16:31 +0000)]
lantiq: cleanup vdsl driver bringup

config interface 'wan'
# a, b, j
option annex b
# a, b, av, bv
option tone b
# vdsl.bin
option firmware
# atm, ptm
option xfer_mode atm

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

10 years agolantiq: make dsl_notify.sh executable
blogic [Wed, 9 Apr 2014 16:31:14 +0000 (16:31 +0000)]
lantiq: make dsl_notify.sh executable

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

10 years agoodhcpd: use correct defaults for interfaces not in UCI
cyrus [Wed, 9 Apr 2014 12:29:43 +0000 (12:29 +0000)]
odhcpd: use correct defaults for interfaces not in UCI

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

10 years ago[x86_64]: enable native KVM and VMware drivers
kaloz [Wed, 9 Apr 2014 11:54:44 +0000 (11:54 +0000)]
[x86_64]: enable native KVM and VMware drivers

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40434 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[x86_64]: upgrade to 3.14
kaloz [Wed, 9 Apr 2014 11:46:18 +0000 (11:46 +0000)]
[x86_64]: upgrade to 3.14

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40433 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcp6c: fix recovering from status where all addresses have been lost
cyrus [Wed, 9 Apr 2014 06:57:04 +0000 (06:57 +0000)]
odhcp6c: fix recovering from status where all addresses have been lost

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

10 years agomac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)
nbd [Tue, 8 Apr 2014 22:11:27 +0000 (22:11 +0000)]
mac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40430 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: fix user antenna gain calculation
nbd [Tue, 8 Apr 2014 22:11:23 +0000 (22:11 +0000)]
mac80211: fix user antenna gain calculation

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40429 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath9k: fix AP mode crash issues
nbd [Tue, 8 Apr 2014 22:11:19 +0000 (22:11 +0000)]
ath9k: fix AP mode crash issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40428 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath9k: fix some ANI related stability issues
nbd [Tue, 8 Apr 2014 22:11:13 +0000 (22:11 +0000)]
ath9k: fix some ANI related stability issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40427 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: add back missing function for find_mtd_part to /lib/functions.sh (fixes...
nbd [Tue, 8 Apr 2014 21:17:49 +0000 (21:17 +0000)]
base-files: add back missing function for find_mtd_part to /lib/functions.sh (fixes #15496)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40426 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: refresh patches
hauke [Tue, 8 Apr 2014 19:51:36 +0000 (19:51 +0000)]
brcm47xx: refresh patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40425 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: bgmac: rework patch checking packet length
hauke [Tue, 8 Apr 2014 19:50:17 +0000 (19:50 +0000)]
kernel: bgmac: rework patch checking packet length

This bgmac patch was an attempt to fix/workaround bug reported in
https://dev.openwrt.org/ticket/7198 noticed on WNR3500L.
Patch assumed length reported by the hardware was 0 and was trying to
read it until getting a different value. This was actually the opposite.
Lenghts were some invalid & huge values that resulted in skb_over_panic.
For example:
skbuff: skb_over_panic: text:83b21074 len:57222 (...)
skbuff: skb_over_panic: text:87af1024 len:43226 (...)
skbuff: skb_over_panic: text:87af5024 len:8739 (...)

So instead of that not-working patch checking for 0, write a new one
checking for huge values. In case something like that happens, dump
hardware state and drop the packet.

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

10 years agods-lite: compatibility with ISPs that only offer public PDs
cyrus [Tue, 8 Apr 2014 06:19:37 +0000 (06:19 +0000)]
ds-lite: compatibility with ISPs that only offer public PDs

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

10 years agoOpenSSL: update to 1.0.1g
cyrus [Tue, 8 Apr 2014 05:24:36 +0000 (05:24 +0000)]
OpenSSL: update to 1.0.1g

This fixes the Heartbleed bug (CVE-2014-0160).

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40421 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: the ubi tol should be installed when jumping to ram_fs
blogic [Mon, 7 Apr 2014 15:35:20 +0000 (15:35 +0000)]
base-files: the ubi tol should be installed when jumping to ram_fs

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

10 years agoralink: fix WHR-300HP2 mtd size
blogic [Mon, 7 Apr 2014 15:10:26 +0000 (15:10 +0000)]
ralink: fix WHR-300HP2 mtd size

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

10 years agolantiq: there is a V2 of VG3503J that needs a newer fe phy firmware
blogic [Mon, 7 Apr 2014 15:10:22 +0000 (15:10 +0000)]
lantiq: there is a V2 of VG3503J that needs a newer fe phy firmware

this should really be auto detected by the kernel, lets used this workaround until the real
solution is ready

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

10 years agokernel: add a ubi forced detach ioctl
blogic [Mon, 7 Apr 2014 15:10:18 +0000 (15:10 +0000)]
kernel: add a ubi forced detach ioctl

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

10 years agobase-files: make use of new fstools
blogic [Mon, 7 Apr 2014 15:10:15 +0000 (15:10 +0000)]
base-files: make use of new fstools

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

10 years agofstools: update to latest git HEAD
blogic [Mon, 7 Apr 2014 15:10:07 +0000 (15:10 +0000)]
fstools: update to latest git HEAD

this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes

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

10 years agonetifd: update to the latest version, fixes a l3_dev handling regression leading...
nbd [Mon, 7 Apr 2014 11:12:06 +0000 (11:12 +0000)]
netifd: update to the latest version, fixes a l3_dev handling regression leading to a crash

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40414 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: move some always-used led related functionality from kmod packages to the...
nbd [Mon, 7 Apr 2014 10:44:52 +0000 (10:44 +0000)]
ar71xx: move some always-used led related functionality from kmod packages to the kernel image

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40413 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: remove config_rename()
nbd [Mon, 7 Apr 2014 10:29:51 +0000 (10:29 +0000)]
/lib/functions.sh: remove config_rename()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40412 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functio...
nbd [Mon, 7 Apr 2014 10:29:47 +0000 (10:29 +0000)]
/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40411 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: remove jffs2_mark_erase()
nbd [Mon, 7 Apr 2014 10:29:42 +0000 (10:29 +0000)]
/lib/functions.sh: remove jffs2_mark_erase()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40410 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: remove config_clear() and list_remove()
nbd [Mon, 7 Apr 2014 10:01:59 +0000 (10:01 +0000)]
base-files: remove config_clear() and list_remove()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40409 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: move uci_apply_defaults() to /etc/init.d/boot
nbd [Mon, 7 Apr 2014 10:01:54 +0000 (10:01 +0000)]
base-files: move uci_apply_defaults() to /etc/init.d/boot

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40408 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: remove hotplug_dev()
nbd [Mon, 7 Apr 2014 09:50:26 +0000 (09:50 +0000)]
/lib/functions.sh: remove hotplug_dev()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40406 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: remove strtok()
nbd [Mon, 7 Apr 2014 09:50:23 +0000 (09:50 +0000)]
/lib/functions.sh: remove strtok()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40405 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh
nbd [Mon, 7 Apr 2014 09:50:19 +0000 (09:50 +0000)]
/lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40404 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: remove pi_include()
nbd [Mon, 7 Apr 2014 09:50:15 +0000 (09:50 +0000)]
/lib/functions.sh: remove pi_include()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40403 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: remove jffs2_ready()
nbd [Mon, 7 Apr 2014 09:50:11 +0000 (09:50 +0000)]
/lib/functions.sh: remove jffs2_ready()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40402 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago/lib/functions.sh: remove support for non-overlayfs overlay fopivot types
nbd [Mon, 7 Apr 2014 09:50:07 +0000 (09:50 +0000)]
/lib/functions.sh: remove support for non-overlayfs overlay fopivot types

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40401 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add support for the TP-LINK TL-WR841N/ND v9
nbd [Mon, 7 Apr 2014 08:00:02 +0000 (08:00 +0000)]
ar71xx: add support for the TP-LINK TL-WR841N/ND v9

Everything seems to be working fine. Potential issues:

* VLAN port IDs are reversed with regard to the numbers on the case.

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

10 years agoar71xx: add support for QCA953x SoC
nbd [Mon, 7 Apr 2014 07:59:45 +0000 (07:59 +0000)]
ar71xx: add support for QCA953x SoC

I don't have access to the specs, so I'm not sure about every detail, but I
haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty
much like a QCA955x without PCI, a little twist in the clock calculation and
a AR9331-compatible switch.

Features not yet supported:

* EHCI (my test system doesn't have USB)
* ? (I have no idea if the QCA953x has any other features I don't know about
that aren't used by the TL-WR841N v9)

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

10 years agobrcm63xx: hack around jffs2 corruption with SMP
jogo [Sun, 6 Apr 2014 22:03:42 +0000 (22:03 +0000)]
brcm63xx: hack around jffs2 corruption with SMP

mempy_fromio seems to be randomly failing when the destination is
unaligned; work around it by forcing the name to be aligned in memory.

Should fix jffs2 and SMP for now, but needs to be some additional
looking into as it does not fix the source.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40396 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcpd: improve managed PD
cyrus [Sun, 6 Apr 2014 14:34:45 +0000 (14:34 +0000)]
odhcpd: improve managed PD

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

10 years agohostapd: update to version 2014-04-04
nbd [Sun, 6 Apr 2014 12:13:55 +0000 (12:13 +0000)]
hostapd: update to version 2014-04-04

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40394 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: update to wireless-testing 2014-03-31
nbd [Sun, 6 Apr 2014 10:41:23 +0000 (10:41 +0000)]
mac80211: update to wireless-testing 2014-03-31

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40393 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: remove unmaintained code
blogic [Sun, 6 Apr 2014 09:21:44 +0000 (09:21 +0000)]
lantiq: remove unmaintained code

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

10 years agoramips: fix regression from r39949 (#15382)
nbd [Sun, 6 Apr 2014 00:09:50 +0000 (00:09 +0000)]
ramips: fix regression from r39949 (#15382)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40391 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouclibc++: disable mips16 support to avoid linkage errors with libsupc++ object files
nbd [Sat, 5 Apr 2014 21:58:16 +0000 (21:58 +0000)]
uclibc++: disable mips16 support to avoid linkage errors with libsupc++ object files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40390 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: sync mips counters during bringup of cpus
jogo [Sat, 5 Apr 2014 18:32:34 +0000 (18:32 +0000)]
brcm63xx: sync mips counters during bringup of cpus

Fixes gettimeofday returning different values depending on which cpu
it is called.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40387 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcp6c: Add renew handler for proto dhcpv6
nbd [Sat, 5 Apr 2014 18:17:25 +0000 (18:17 +0000)]
odhcp6c: Add renew handler for proto dhcpv6

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40386 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetifd: Add renew handler for proto dhcp
nbd [Sat, 5 Apr 2014 18:17:22 +0000 (18:17 +0000)]
netifd: Add renew handler for proto dhcp

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40385 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetifd: update to latest version, fixes issues when l3 interface changes on reload...
nbd [Sat, 5 Apr 2014 18:17:18 +0000 (18:17 +0000)]
netifd: update to latest version, fixes issues when l3 interface changes on reload (e.g. ppp -> dhcp/static)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40384 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agofstools: scripts should propagate the cmdline
blogic [Sat, 5 Apr 2014 16:34:40 +0000 (16:34 +0000)]
fstools: scripts should propagate the cmdline

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40383 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubi-utils: fix git tree path, a regex went mad
blogic [Sat, 5 Apr 2014 16:34:30 +0000 (16:34 +0000)]
ubi-utils: fix git tree path, a regex went mad

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