librecmc/librecmc.git
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

10 years agogeneric: remove obsolete symbol export from block2mtd init patch
Felix Fietkau [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>
SVN-Revision: 40445

10 years agox86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Felix Fietkau [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>
SVN-Revision: 40444

10 years agonetifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)
Felix Fietkau [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>
SVN-Revision: 40443

10 years agospecify the adapter type for the vmdk conversion
Imre Kaloz [Thu, 10 Apr 2014 11:09:27 +0000 (11:09 +0000)]
specify the adapter type for the vmdk conversion

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

10 years agomac80211: add back missing tx power handling fix (#12750)
Felix Fietkau [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>
SVN-Revision: 40440

10 years agolantiq: move the dsl-modem config to network.@dsl-modem[-1]
John Crispin [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>
SVN-Revision: 40439

10 years agolantiq: vdsl init.d script should auto start
John Crispin [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>
SVN-Revision: 40438

10 years agolantiq: cleanup vdsl driver bringup
John Crispin [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>
SVN-Revision: 40437

10 years agolantiq: make dsl_notify.sh executable
John Crispin [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>
SVN-Revision: 40436

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

SVN-Revision: 40435

10 years agoenable native KVM and VMware drivers
Imre Kaloz [Wed, 9 Apr 2014 11:54:44 +0000 (11:54 +0000)]
enable native KVM and VMware drivers

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

10 years agoupgrade to 3.14
Imre Kaloz [Wed, 9 Apr 2014 11:46:18 +0000 (11:46 +0000)]
upgrade to 3.14

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

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

SVN-Revision: 40432

10 years agomac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)
Felix Fietkau [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>
SVN-Revision: 40430

10 years agomac80211: fix user antenna gain calculation
Felix Fietkau [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>
SVN-Revision: 40429

10 years agoath9k: fix AP mode crash issues
Felix Fietkau [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>
SVN-Revision: 40428

10 years agoath9k: fix some ANI related stability issues
Felix Fietkau [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>
SVN-Revision: 40427

10 years agobase-files: add back missing function for find_mtd_part to /lib/functions.sh (fixes...
Felix Fietkau [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>
SVN-Revision: 40426

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

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

10 years agokernel: bgmac: rework patch checking packet length
Hauke Mehrtens [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>
SVN-Revision: 40424

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

SVN-Revision: 40422

10 years agoOpenSSL: update to 1.0.1g
Steven Barth [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>
SVN-Revision: 40421

10 years agobase-files: the ubi tol should be installed when jumping to ram_fs
John Crispin [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>
SVN-Revision: 40420