openwrt.git
8 years agouhttpd: return after processing -d switch, only set ubus prefix if not already defined
jow [Mon, 11 Nov 2013 19:14:01 +0000 (19:14 +0000)]
uhttpd: return after processing -d switch, only set ubus prefix if not already defined

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

8 years agobase-files: fix typo in rfkill script
blogic [Mon, 11 Nov 2013 18:12:30 +0000 (18:12 +0000)]
base-files: fix typo in rfkill script

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

8 years agouhttp: add ubus.default
blogic [Mon, 11 Nov 2013 18:12:26 +0000 (18:12 +0000)]
uhttp: add ubus.default

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

8 years agoixp4xx: fix usb on cambria boards by using the ehci-platform driver
nbd [Mon, 11 Nov 2013 16:51:01 +0000 (16:51 +0000)]
ixp4xx: fix usb on cambria boards by using the ehci-platform driver

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

8 years agopppd: don't call modprobe at all from pppoatm
blogic [Mon, 11 Nov 2013 13:40:28 +0000 (13:40 +0000)]
pppd: don't call modprobe at all from pppoatm

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

8 years agorevert 94e44643a8ce1d7991376b6ced586784b3f92500
blogic [Mon, 11 Nov 2013 13:40:24 +0000 (13:40 +0000)]
revert 94e44643a8ce1d7991376b6ced586784b3f92500

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

8 years agoramips: use gpio-button-hotplug in favour of the input variant
blogic [Mon, 11 Nov 2013 13:40:20 +0000 (13:40 +0000)]
ramips: use gpio-button-hotplug in favour of the input variant

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

8 years agoramips: make the rfkill switch work on fonera20n
blogic [Mon, 11 Nov 2013 13:40:17 +0000 (13:40 +0000)]
ramips: make the rfkill switch work on fonera20n

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

8 years agolantiq: DGN3500 fixups
blogic [Mon, 11 Nov 2013 13:15:08 +0000 (13:15 +0000)]
lantiq: DGN3500 fixups

Just fixing up a few things for the Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38733 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoFix modprobe path for pppoatm
blogic [Mon, 11 Nov 2013 13:15:04 +0000 (13:15 +0000)]
Fix modprobe path for pppoatm

Without netifd generates an error:

daemon.notice netifd: wan (1249): /bin/sh: /sbin/modprobe: not found

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38732 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: dont install deu test manager
blogic [Mon, 11 Nov 2013 12:22:12 +0000 (12:22 +0000)]
lantiq: dont install deu test manager

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

8 years agolantiq: rename TDW8970 led adsl->dsl
blogic [Mon, 11 Nov 2013 12:19:26 +0000 (12:19 +0000)]
lantiq: rename TDW8970 led adsl->dsl

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

8 years agobase-files: update rfkill script to work with slider buttons
blogic [Mon, 11 Nov 2013 12:19:22 +0000 (12:19 +0000)]
base-files: update rfkill script to work with slider buttons

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

8 years agolantiq: update TDW8970.dts to support buttons properly
blogic [Mon, 11 Nov 2013 12:19:18 +0000 (12:19 +0000)]
lantiq: update TDW8970.dts to support buttons properly

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

8 years agolantiq: remove old hotplug handler
blogic [Mon, 11 Nov 2013 12:19:15 +0000 (12:19 +0000)]
lantiq: remove old hotplug handler

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

8 years agobase-files: add a generic wps button handler
blogic [Mon, 11 Nov 2013 12:19:10 +0000 (12:19 +0000)]
base-files: add a generic wps button handler

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

8 years agogpio-button-hotplug: add support for sliding switches
blogic [Mon, 11 Nov 2013 12:19:06 +0000 (12:19 +0000)]
gpio-button-hotplug: add support for sliding switches

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

8 years agouhttp: make the service auto respawn if it crashes
blogic [Mon, 11 Nov 2013 12:19:02 +0000 (12:19 +0000)]
uhttp: make the service auto respawn if it crashes

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

8 years agouhttp: make sure that the ubus module is loaded when when installed
blogic [Mon, 11 Nov 2013 12:18:58 +0000 (12:18 +0000)]
uhttp: make sure that the ubus module is loaded when when installed

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

8 years ago[omap]: add missing option, enable hw rng
kaloz [Mon, 11 Nov 2013 11:55:44 +0000 (11:55 +0000)]
[omap]: add missing option, enable hw rng

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

8 years ago[crypto-hw-omap]: depend on the correct target
kaloz [Mon, 11 Nov 2013 11:51:54 +0000 (11:51 +0000)]
[crypto-hw-omap]: depend on the correct target

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

8 years agoar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards
juhosg [Mon, 11 Nov 2013 08:10:02 +0000 (08:10 +0000)]
ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38720 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extender
juhosg [Mon, 11 Nov 2013 08:04:48 +0000 (08:04 +0000)]
ar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extender

Patch to add profile and build image for the tplink TL-WA750RE/WA850RE board

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38719 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add user space support for the TL-WA750RE/WA850RE Range extender
juhosg [Mon, 11 Nov 2013 08:04:47 +0000 (08:04 +0000)]
ar71xx: add user space support for the TL-WA750RE/WA850RE Range extender

Patch to add user space support for the TL-WA750RE/WA850RE range extender

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38718 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extender
juhosg [Mon, 11 Nov 2013 08:04:46 +0000 (08:04 +0000)]
ar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extender

Patch to add kernel support for the TP-LINK WA750RE and the WA850RE
range extender

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
[juhosg: rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38717 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: ag71xx: fix ag71xx_probe error path
juhosg [Mon, 11 Nov 2013 07:47:00 +0000 (07:47 +0000)]
ar71xx: ag71xx: fix ag71xx_probe error path

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38716 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: make bgmac work
hauke [Mon, 11 Nov 2013 00:15:00 +0000 (00:15 +0000)]
bcm53xx: make bgmac work

This makes bgmac work without sprom and refreshed the patches.

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

8 years agokernel: bgmac: make it send and receive some packages on BCM4708
hauke [Mon, 11 Nov 2013 00:13:31 +0000 (00:13 +0000)]
kernel: bgmac: make it send and receive some packages on BCM4708

This adds some more code for bgmac core rev 4 and it now restarts all
cores when initializing the first one on BCM4708. I am just able to
send under 100 packages and then DMA TX does not work any more.

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

8 years agokernel: bcma: detect pci ID 0x4313
hauke [Mon, 11 Nov 2013 00:08:09 +0000 (00:08 +0000)]
kernel: bcma: detect pci ID 0x4313

This pci ID is used by sprom less BCM4313 devices.
This is a backport from the mainline kernel.

This is part of #13551.

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

8 years agokernel: b53: add initial support for switches in BCM5301X
hauke [Sun, 10 Nov 2013 23:29:59 +0000 (23:29 +0000)]
kernel: b53: add initial support for switches in BCM5301X

This is also known as BCM470{7,8,9}.

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

8 years agoprocd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty devices
nbd [Sun, 10 Nov 2013 15:06:28 +0000 (15:06 +0000)]
procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty devices

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

8 years agonetifd: remove connect_time from /var/state, it is unused
nbd [Sun, 10 Nov 2013 10:01:33 +0000 (10:01 +0000)]
netifd: remove connect_time from /var/state, it is unused

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

8 years ago[cns3xxx]: add uImage image build
kaloz [Sun, 10 Nov 2013 09:57:07 +0000 (09:57 +0000)]
[cns3xxx]: add uImage image build

- add building of a standard uImage along with the combined kernel+rootfs
- remove 'old' image build - that was for a very old and obsolete bootloader

To update the bootloader for GW2387,GW2388,GW2391 (NOR Flash) from uboot:
put latest NOR bootloader on tftp server:

http://svn.gateworks.com/laguna/trunk/images/u-boot_nor.bin

 Laguna> setenv ipaddr <localip>
 Laguna> setenv ipaddr <serverip>
 Laguna> tftpboot 0x800000 laguna/u-boot-nor.bin
 Laguna> erase 0x10000000 +$(filesize)
 Laguna> cp.b 0x800000 0x10000000 $(filesize)
 Laguna> reset

To update the bootloader for GW2380,GW2382,GW2383 (SPI Flash) from uboot:
put latest SPI bootloader on tftp server:

http://svn.gateworks.com/laguna/trunk/images/u-boot_spi.bin

 Laguna> setenv ipaddr <localip>
 Laguna> setenv ipaddr <serverip>
 Laguna> tftpboot 0x800000 laguna/u-boot-spi.bin
 Laguna> erase 0x60000000 +$(filesize)
 Laguna> cp.b 0x800000 0x60000000 $(filesize)
 Laguna> reset

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38703 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[cns3xxx]: add pushbutton GPIO for GW2380/82/83
kaloz [Sun, 10 Nov 2013 09:55:17 +0000 (09:55 +0000)]
[cns3xxx]: add pushbutton GPIO for GW2380/82/83

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38702 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-diag: fix sys button on Asus rt-n16
hauke [Sat, 9 Nov 2013 20:09:21 +0000 (20:09 +0000)]
broadcom-diag: fix sys button on Asus rt-n16

This closes: #14427.

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

8 years agobrcm47xx: add detection for Linksys WRT54GS V1
hauke [Sat, 9 Nov 2013 20:08:09 +0000 (20:08 +0000)]
brcm47xx: add detection for Linksys WRT54GS V1

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

8 years agobrcm47xx: register ADM6996L switch
hauke [Sat, 9 Nov 2013 19:29:46 +0000 (19:29 +0000)]
brcm47xx: register ADM6996L switch

This patch makes it possible to use adm6996.c on first generation
BCM47XX devices with ADM switches.

This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for
the device.

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

8 years agokernel: adm6996: add support for ADM6996L and GPIO interface
hauke [Sat, 9 Nov 2013 19:27:27 +0000 (19:27 +0000)]
kernel: adm6996: add support for ADM6996L and GPIO interface

This patch makes it possible to use adm6996.c on first generation
BCM47XX devices with ADM switches.
The GPIO bit banging protocol implementation was copied from the old
switch driver and adapted to this driver and changed to the mainline
kernel GPIO interface.
The ADM6996L is different from the ADM6996M which is supported, for
both specs are available in the Internet.

This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for
the device.

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

8 years agoprocd: update to latest git head
blogic [Fri, 8 Nov 2013 21:53:37 +0000 (21:53 +0000)]
procd: update to latest git head

make sure that automatic respawning is turned off during upgrade

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

8 years ago[omap]: switch to 3.12, enable support for AM33xx/OMAP3
kaloz [Fri, 8 Nov 2013 12:44:38 +0000 (12:44 +0000)]
[omap]: switch to 3.12, enable support for AM33xx/OMAP3

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

8 years ago[omap]: rename the omap4 target to omap
kaloz [Fri, 8 Nov 2013 12:37:39 +0000 (12:37 +0000)]
[omap]: rename the omap4 target to omap

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

8 years agobase-files: mtd_get_mac_ascii bugfix
juhosg [Fri, 8 Nov 2013 12:16:21 +0000 (12:16 +0000)]
base-files: mtd_get_mac_ascii bugfix

The mtd_get_mac_ascii utility function was broken. This fixes it.

  - Remove the superfluous include of /lib/functions.sh. The
    function is already in that file so it is pointless,
  - only use a variable if the whole key word matches,
  - don't try to process the MAC address if it is empty,
  - use 'tr' to canonicalize the MAC address,

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[juhosg: add more fixes, update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38690 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: ag71xx: fix a race involving netdev registration
juhosg [Fri, 8 Nov 2013 08:17:54 +0000 (08:17 +0000)]
ar71xx: ag71xx: fix a race involving netdev registration

In particular, phy_connect before register_netdev. This is because
register_netdev runs the netdev notifiers, which can race with the rest of
the initialization in ag71xx_probe. In my case this manifested in two ways:

1) If ag71xx is compiled as a module and inserted after netifd has started,
   netifd is notified by register_netdev before the call to
   ag71xx_phy_connect. netifd tries to bring the interface up, which calls
   ag71xx_open, which in turn enters ag71xx_phy_start. This keys off
   ag->phy_dev (which is still NULL) and thinks this is a fixed-link board,
   and enters ag71xx_link_adjust. This looks at ag->speed which is not yet
   initialized and hits the BUG() in the switch (ag->speed) in
   ag71xx_link_adjust.

   This is the wrong code path for ag71xx_phy_start - my board has PHYs that
   need to be brought up with phy_start. Doing ag71xx_phy_connect before
   register_netdev ensures that ag->phy_dev is non-NULL before
   ag71xx_phy_start is ever called.

2) When ag71xx is built into the kernel, and netconsole is enabled, there
   is a gap in the initial burst of replayed printks right after the netdev
   comes up. My assumption is that netconsole is also triggered by a netdev
   notifier, and part of this printk burst happens before the call into
   ag71xx_phy_connect, so part of the burst is lost while the PHY comes up.
   This patch fixes the gap - all the printks before eth0 comes up are bursted
   in full when netconsole initializes.

ag71xx_phy_connect_xxx no longer runs with a registered netdev, so the
logging has been adjusted accordingly to avoid "unregistered net_device" or
"eth%d" messages in dmesg.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38689 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: build image for the WD My Net Wi-Fi Range Extender
juhosg [Thu, 7 Nov 2013 22:31:54 +0000 (22:31 +0000)]
ar71xx: build image for the WD My Net Wi-Fi Range Extender

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
[juhosg:
  - remove the Image/Build/CyberTANLZMA/loader macro, it is not used
  - move the MYNETREXT SingleProfile definition to the correct place]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38688 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add user-space support for the WD My Net Wi-Fi Range Extender
juhosg [Thu, 7 Nov 2013 22:31:53 +0000 (22:31 +0000)]
ar71xx: add user-space support for the WD My Net Wi-Fi Range Extender

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38687 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add kernel support for the My Net Wi-Fi Range Extender device
juhosg [Thu, 7 Nov 2013 22:31:52 +0000 (22:31 +0000)]
ar71xx: add kernel support for the My Net Wi-Fi Range Extender device

This patch adds a new device definition for a
Western Digital device. The hardware seems to
be based on Qualcomm Atheros DB120 design.

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38686 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools: adapt addpattern for WD's Range Extender
juhosg [Thu, 7 Nov 2013 22:31:48 +0000 (22:31 +0000)]
tools: adapt addpattern for WD's Range Extender

A few things had to be changed to add support for these devices:
 - support code patterns with 8 characters
 - new board definition for the range extender device

Patchwork: http://patchwork.openwrt.org/patch/4280/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38685 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: mark rt2x00 library packages as hidden, there's no point in allowing users...
nbd [Thu, 7 Nov 2013 20:59:22 +0000 (20:59 +0000)]
mac80211: mark rt2x00 library packages as hidden, there's no point in allowing users to enable them without the packages that depend on them

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

8 years agoar71xx: image: add EOF marker to the WNDR4300 UBI image
juhosg [Thu, 7 Nov 2013 19:53:02 +0000 (19:53 +0000)]
ar71xx: image: add EOF marker to the WNDR4300 UBI image

Append EOF markers to the END of the UBI image
file. This forces the kernel to erase all blocks
after the marker even if those blocks are not
empty.

Additionally, the resulting image can be flashed
from the original web UI now, so use '-factory'
suffix for that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38683 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/mtd-utils: add EOF marker support to libubigen/ubinize
juhosg [Thu, 7 Nov 2013 19:53:01 +0000 (19:53 +0000)]
tools/mtd-utils: add EOF marker support to libubigen/ubinize

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38682 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/3.10: add EOF marker support to the UBI layer
juhosg [Thu, 7 Nov 2013 19:53:00 +0000 (19:53 +0000)]
kernel/3.10: add EOF marker support to the UBI layer

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38681 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubox: fix extroot/extoverlay mounting by label and support mounting by device name
jow [Thu, 7 Nov 2013 18:06:29 +0000 (18:06 +0000)]
ubox: fix extroot/extoverlay mounting by label and support mounting by device name

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

8 years agoubox: update to latest git head
blogic [Thu, 7 Nov 2013 15:31:44 +0000 (15:31 +0000)]
ubox: update to latest git head

support for specifying swap priority from the command line

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

8 years agoubus: update to latest git head
blogic [Thu, 7 Nov 2013 15:31:40 +0000 (15:31 +0000)]
ubus: update to latest git head

adds support for events in the lua binding

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

8 years agolantiq: fix TDW8970 lan/wan mac
blogic [Thu, 7 Nov 2013 12:46:24 +0000 (12:46 +0000)]
lantiq: fix TDW8970 lan/wan mac

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

8 years agobutton-hotplug: sync list of supported keys with gpio-button-hotplug
blogic [Thu, 7 Nov 2013 12:46:20 +0000 (12:46 +0000)]
button-hotplug: sync list of supported keys with gpio-button-hotplug

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

8 years agoau1000: make sysupgrade compatible with all file system types
blogic [Thu, 7 Nov 2013 12:46:16 +0000 (12:46 +0000)]
au1000: make sysupgrade compatible with all file system types

This patch adds support for all file system types as discussed earlier:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022109.html

This patch depends on a previous patch:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022111.html

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38675 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoau1000: create sysupgrade binary for each file system type
blogic [Thu, 7 Nov 2013 12:46:12 +0000 (12:46 +0000)]
au1000: create sysupgrade binary for each file system type

This patch should prevent overriding of sysupgrade binaries in the bin directory
if we build images for more then one file system type.

Discussion:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022108.html

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38674 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devices
blogic [Thu, 7 Nov 2013 12:46:08 +0000 (12:46 +0000)]
lantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devices

The switch is renamed to "switch0" in newer (3.10) linux kernels.
Configure the switch using vlans by default and only configure
the physical switch ports that are present.

Signed-off-by: Richard Mortimer <richm@oldelvet.org.uk>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38673 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoutil-linux: cleanup description for swap-utils
blogic [Thu, 7 Nov 2013 12:46:04 +0000 (12:46 +0000)]
util-linux: cleanup description for swap-utils

swapon/swapoff are no longer provided by swap-utils, so remove them from
the description as well.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38672 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobusybox: don't enable swapon/swapoff by default
blogic [Thu, 7 Nov 2013 12:46:00 +0000 (12:46 +0000)]
busybox: don't enable swapon/swapoff by default

'swapon/swapoff' are now provided by 'block-mount'; enabling them by default in busybox is no longer required and adds unnecessary bloat.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38671 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: Make /etc/init.d/boot restartable
blogic [Thu, 7 Nov 2013 12:45:57 +0000 (12:45 +0000)]
base-files: Make /etc/init.d/boot restartable

Only reload hostname and timezone config on /etc/init.d/boot restart.
Module loading and basic boot setup is only done during boot.

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

8 years agoralink: revert 38348 as it breaks network on the hame-mpr
blogic [Thu, 7 Nov 2013 12:45:52 +0000 (12:45 +0000)]
ralink: revert 38348 as it breaks network on the hame-mpr

https://dev.openwrt.org/changeset/38348
https://dev.openwrt.org/ticket/14403#comment:1

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

8 years agoralink: fix c&p error in gpio driver
blogic [Thu, 7 Nov 2013 12:45:48 +0000 (12:45 +0000)]
ralink: fix c&p error in gpio driver

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

8 years agolantiq: fix td-w8970 initramfs generation
blogic [Thu, 7 Nov 2013 12:45:44 +0000 (12:45 +0000)]
lantiq: fix td-w8970 initramfs generation

https://dev.openwrt.org/ticket/14417

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

8 years agolantiq: fix vdsl-app dependency
blogic [Thu, 7 Nov 2013 12:45:39 +0000 (12:45 +0000)]
lantiq: fix vdsl-app dependency

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

8 years ago[sparc]: mark as broken (toolchain issues), bump kernel version
kaloz [Thu, 7 Nov 2013 09:27:52 +0000 (09:27 +0000)]
[sparc]: mark as broken (toolchain issues), bump kernel version

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

8 years agokirkwood: add support for dockstar
luka [Wed, 6 Nov 2013 19:24:32 +0000 (19:24 +0000)]
kirkwood: add support for dockstar

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38664 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-utils: remove the wndr3700 utility
juhosg [Wed, 6 Nov 2013 10:16:40 +0000 (10:16 +0000)]
firmware-utils: remove the wndr3700 utility

It is not used anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38663 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71x: image: don't use the wndr3700 utility
juhosg [Wed, 6 Nov 2013 10:16:39 +0000 (10:16 +0000)]
ar71x: image: don't use the wndr3700 utility

Pass the uImage magic value directly to mkimage instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38662 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: drop CONFIG_DEVTMPFS option
luka [Wed, 6 Nov 2013 08:19:31 +0000 (08:19 +0000)]
sunxi: drop CONFIG_DEVTMPFS option

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38661 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add some config options
luka [Wed, 6 Nov 2013 08:19:24 +0000 (08:19 +0000)]
kernel: add some config options

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38660 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: image: fix WNDR4300 initramfs image generation
juhosg [Tue, 5 Nov 2013 18:41:20 +0000 (18:41 +0000)]
ar71xx: image: fix WNDR4300 initramfs image generation

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38659 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: image: allow to use optional parameters for MkuImageLzma/initramfs
juhosg [Tue, 5 Nov 2013 18:41:18 +0000 (18:41 +0000)]
ar71xx: image: allow to use optional parameters for MkuImageLzma/initramfs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38658 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[generic/3.12]: update for 3.12 final
kaloz [Tue, 5 Nov 2013 17:46:18 +0000 (17:46 +0000)]
[generic/3.12]: update for 3.12 final

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

8 years agobrcm47xx: fix detection of Asus RT-N12B1 and Netgear WNR3500L
hauke [Tue, 5 Nov 2013 17:09:19 +0000 (17:09 +0000)]
brcm47xx: fix detection of Asus RT-N12B1 and Netgear WNR3500L

This closes #14367 and #14328.

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

8 years agoar71xx: generate recovery image for WNDR4300
juhosg [Tue, 5 Nov 2013 16:31:14 +0000 (16:31 +0000)]
ar71xx: generate recovery image for WNDR4300

Extended the Makefile to generate a working factory reset image
for Netgear WNDR4300. The image uses UBI with two volumes squashfs
(rootfs) and JFFS2 (rootfs_data). In order to make stock U-Boot
happy, a fake rootfs image is placed into the last erase block
of the kernel partition.

Signed-off-by: Stefan Agner <stefan@agner.ch>
[juhosg:
  - restore the NetgearNAND/initramfs macro,
  - remove unused {Squash,Ubi}fsTemplate macros,
  - remove board specific mtd options from CONFIG_CMDLINE, append the
    board specific ubi.mtd parameter to the kernel command line instead,
  - increase kernel partition size to 2MiB,
  - use board specific ini file for ubinize,
  - put jffs2 eof mark into the rootfs_data ubi volume,
  - use KDIR_TMP for temporary images,
  - use the squashfs-raw image,
  - increase kernel partition size to 2MiB,
  - use a local ubinize macro,
  - fix macro parameter comments,
  - put the fake rootfs into the last erase block of the kernel
    partition,
  - move Image/Build/NetgearNAND/buildkernel macro before
    define Image/Build/NetgearNAND,
  - don't use the wndr3700 utility, use '-M' parameter of mkimage to set
    the uImage magic,
  - use '-recovery' suffix for the generated image, it is only usable via
    the fw_recovery function of the bootloader,
  - update commit log]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38655 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage/ubox: fix jffs2 handling on MTD devices emulated by gluebi
juhosg [Tue, 5 Nov 2013 16:31:12 +0000 (16:31 +0000)]
package/ubox: fix jffs2 handling on MTD devices emulated by gluebi

The jffs2_ready() function in mount_root.c checks
the presence of various JFFS2 markers at the start
of a given MTD device. The function works on NOR
flashes because JFFS2 puts 'cleanmarker' nodes at
the start of freshly erased blocks.

However if jffs2 is used on a MTD device emulated
by the gluebi layer, the 'cleanmarker' nodes are
not present and the jffs2_ready() function fails.

Update the code to handle jffs2 correctly even on
MTD devices emulated by the gluebi layer.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38654 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update 3.10 to 3.10.18
juhosg [Tue, 5 Nov 2013 08:25:45 +0000 (08:25 +0000)]
kernel: update 3.10 to 3.10.18

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38652 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: add new target
luka [Tue, 5 Nov 2013 08:00:34 +0000 (08:00 +0000)]
sunxi: add new target

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38651 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: drop unused variable from Makefile
luka [Tue, 5 Nov 2013 08:00:30 +0000 (08:00 +0000)]
imx6: drop unused variable from Makefile

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38650 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude: add more CPU flags for arm
luka [Tue, 5 Nov 2013 08:00:24 +0000 (08:00 +0000)]
include: add more CPU flags for arm

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38649 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodnsmasq: fix backward compatibility with existing configs
jow [Mon, 4 Nov 2013 22:40:56 +0000 (22:40 +0000)]
dnsmasq: fix backward compatibility with existing configs

Changeset r36943 ("dnsmasq: use host-record instead of address") removed
the automatic domain expansion for config domain sections, this breaks
existing setups and alters the old behaviour in unexpected ways, therfore
restore behaviour of the current stable release.

Additionally handle fully qualified hostnames properly when setting up the
own hostrecord by stripping the local domain part form the given name
instead of unconditionally appending it, so that "example.lan" results
in "example example.lan" and not "example.lan example.lan.lan".

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

8 years agoar71xx: move WNDR4300 profile to the nand subtarget
juhosg [Mon, 4 Nov 2013 18:37:09 +0000 (18:37 +0000)]
ar71xx: move WNDR4300 profile to the nand subtarget

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38647 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add new subtarget nand for WNDR4300
juhosg [Mon, 4 Nov 2013 18:37:08 +0000 (18:37 +0000)]
ar71xx: Add new subtarget nand for WNDR4300

Add new subtarget nand with UBI/UBIFS including GLUEBI and squashfs.
This target will be used for NAND based router which make use of
UBI (and maybe UBIFS later on) in order to provide proper NAND
support.

Signed-off-by: Stefan Agner <stefan@agner.ch>
[juhosg:
  - tweak target.mk:
     change BOARDNAME variable,
     improve Target/Description,
     remove targz and ubifs from FEATURES and add broken flag,
  - optimize kernel configuration:
     disable ubifs, it is not used yet,
     disable unused MTD options,
     disable SPI support
     disable unused network drivers,
     tune kernel command line,
  - remove image/ubinize.cfg, it will be in a follow-up patch
  - move profile modifications into a separate patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38646 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: remove yaffs from the generic rootfstype list
juhosg [Mon, 4 Nov 2013 18:37:07 +0000 (18:37 +0000)]
ar71xx: remove yaffs from the generic rootfstype list

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38645 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: image: dd root.* images in fs specific macros
juhosg [Mon, 4 Nov 2013 18:37:06 +0000 (18:37 +0000)]
ar71xx: image: dd root.* images in fs specific macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38644 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/3.1[02]: move MTD root device setup code to mtdcore
juhosg [Mon, 4 Nov 2013 18:37:05 +0000 (18:37 +0000)]
kernel/3.1[02]: move MTD root device setup code to mtdcore

The current code only allows to automatically set
root device on MTD partitions. Move the code to MTD
core to allow to use it with all MTD devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38643 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: refresh kernel configs with kconfig.pl
juhosg [Mon, 4 Nov 2013 18:37:03 +0000 (18:37 +0000)]
kernel: refresh kernel configs with kconfig.pl

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38642 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add some config options
hauke [Sun, 3 Nov 2013 20:20:14 +0000 (20:20 +0000)]
kernel: add some config options

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

8 years agokernel: fix dependencies of kmod-thermal
hauke [Sun, 3 Nov 2013 20:18:45 +0000 (20:18 +0000)]
kernel: fix dependencies of kmod-thermal

This depends on kmod-hwmon-core

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

8 years agokernel: fix dependencies of usb-eth-gadget
hauke [Sun, 3 Nov 2013 20:17:52 +0000 (20:17 +0000)]
kernel: fix dependencies of usb-eth-gadget

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

8 years agokernel: bgmac: update backport patch
hauke [Sun, 3 Nov 2013 19:24:39 +0000 (19:24 +0000)]
kernel: bgmac: update backport patch

This adds some more bgmac patches from mainline kernel.

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

8 years agoar71xx: image: only define profiles for the generic subtarget
juhosg [Fri, 1 Nov 2013 18:33:24 +0000 (18:33 +0000)]
ar71xx: image: only define profiles for the generic subtarget

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38636 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: image: add IMAGE_PROFILE variable
juhosg [Fri, 1 Nov 2013 18:33:22 +0000 (18:33 +0000)]
ar71xx: image: add IMAGE_PROFILE variable

Ensures that the 'Default' images are generated
even if the subtarget has no profiles.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38635 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: always enable hw ecc support for the ar934x-nfc module
juhosg [Fri, 1 Nov 2013 18:33:18 +0000 (18:33 +0000)]
ar71xx: always enable hw ecc support for the ar934x-nfc module

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38634 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing config options
hauke [Fri, 1 Nov 2013 08:49:35 +0000 (08:49 +0000)]
kernel: add missing config options

The buildbots found some new missing config options.

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

8 years agoopenvpn: clean up and fix the init script
nbd [Thu, 31 Oct 2013 17:36:24 +0000 (17:36 +0000)]
openvpn: clean up and fix the init script

- clean up duplication of procd instance handling code
- using --cd *after* --config is rather pointless
- to be able to log errors properly, --syslog needs to be passed before --config
- tell procd about the generated or referenced config file instead of
  the uci file. this avoids having to restart all instances if only one
  of them changes.

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

8 years agokirkwood: add userland support for Pogoplug E02
luka [Thu, 31 Oct 2013 12:04:04 +0000 (12:04 +0000)]
kirkwood: add userland support for Pogoplug E02

This patch adds the userland support for the Pogoplug E02 by Cloud
Engines, Inc.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38631 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: add Pogoplug E02 Kernel support
luka [Thu, 31 Oct 2013 12:04:02 +0000 (12:04 +0000)]
kirkwood: add Pogoplug E02 Kernel support

This patch adds a DTS file for the Pogoplug E02 by Cloud Engines, Inc.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38630 3c298f89-4303-0410-b956-a3cf2f4a3e73