openwrt.git
10 years agoralink: add support for dalink dcs930l ipcam
blogic [Thu, 19 Sep 2013 05:56:46 +0000 (05:56 +0000)]
ralink: add support for dalink dcs930l ipcam

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

10 years agoralink: add back dwc_otg driver
blogic [Thu, 19 Sep 2013 05:56:31 +0000 (05:56 +0000)]
ralink: add back dwc_otg driver

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

10 years agolantiq: style fixes
luka [Thu, 19 Sep 2013 00:50:49 +0000 (00:50 +0000)]
lantiq: style fixes

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

10 years agolantiq: add initial support for Siemens GIGASX76X
luka [Thu, 19 Sep 2013 00:50:48 +0000 (00:50 +0000)]
lantiq: add initial support for Siemens GIGASX76X

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

10 years agolantiq: add support for ZyXEL P2601HNFX
luka [Thu, 19 Sep 2013 00:50:46 +0000 (00:50 +0000)]
lantiq: add support for ZyXEL P2601HNFX

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

10 years agolantiq: add support for ZTE H201L
luka [Thu, 19 Sep 2013 00:50:44 +0000 (00:50 +0000)]
lantiq: add support for ZTE H201L

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

10 years agomalta: target.mk cosmetical fixup
luka [Wed, 18 Sep 2013 23:03:47 +0000 (23:03 +0000)]
malta: target.mk cosmetical fixup

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

10 years agobrcm47xx: b44: bgmac: some small changes to the phylib patches
hauke [Wed, 18 Sep 2013 16:49:52 +0000 (16:49 +0000)]
brcm47xx: b44: bgmac: some small changes to the phylib patches

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

10 years agolantiq: fix bug in hcd gpio detetcion code
blogic [Wed, 18 Sep 2013 16:31:49 +0000 (16:31 +0000)]
lantiq: fix bug in hcd gpio detetcion code

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

10 years agolantiq: fix FRITZ7320 flash window size
blogic [Wed, 18 Sep 2013 16:31:45 +0000 (16:31 +0000)]
lantiq: fix FRITZ7320 flash window size

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

10 years agolantiq: fix ath9k eeprom loading order bug
blogic [Wed, 18 Sep 2013 16:31:41 +0000 (16:31 +0000)]
lantiq: fix ath9k eeprom loading order bug

https://dev.openwrt.org/ticket/14131
http://patchwork.openwrt.org/patch/4038/

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

10 years agoralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
blogic [Wed, 18 Sep 2013 16:31:37 +0000 (16:31 +0000)]
ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350

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

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

10 years agolantiq: fix up default firmware selection for spanish and italian routers
blogic [Wed, 18 Sep 2013 16:31:32 +0000 (16:31 +0000)]
lantiq: fix up default firmware selection for spanish and italian routers

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

10 years agobrcm47xx: bgmac: b44: add support for Byte Queue Limits
hauke [Wed, 18 Sep 2013 15:19:25 +0000 (15:19 +0000)]
brcm47xx: bgmac: b44: add support for Byte Queue Limits

This adds support for Byte Queue Limits in bgmac and b44, now it is
possible to use more advanced network queue control algorithms.

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

10 years agobrcm47xx: update the clock fixes for BCM5354
hauke [Wed, 18 Sep 2013 14:36:03 +0000 (14:36 +0000)]
brcm47xx: update the clock fixes for BCM5354

This updates the patches for BCM5354 to the version send for upstream
Linux inclusion.

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

10 years agobrcm47xx: update board detection patches
hauke [Wed, 18 Sep 2013 14:33:54 +0000 (14:33 +0000)]
brcm47xx: update board detection patches

This is now the version which was send for mainline Linux kernel
inclusion. The data needed to detection a board is now stored in init
data.

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

10 years agobrcm47xx: add detection for Linksys E900 V1
hauke [Wed, 18 Sep 2013 14:32:05 +0000 (14:32 +0000)]
brcm47xx: add detection for Linksys E900 V1

Thank you Rafał for the data.

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

10 years agoath9k: add missing tx locking
nbd [Wed, 18 Sep 2013 13:24:55 +0000 (13:24 +0000)]
ath9k: add missing tx locking

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

10 years agoodhcp6c: Restart when server returns IAID error
cyrus [Wed, 18 Sep 2013 10:27:15 +0000 (10:27 +0000)]
odhcp6c: Restart when server returns IAID error

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

10 years agolantiq: add v3.10 patches
blogic [Tue, 17 Sep 2013 21:46:10 +0000 (21:46 +0000)]
lantiq: add v3.10 patches

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

10 years agolantiq: add wifi eep to a803 dts file
blogic [Tue, 17 Sep 2013 21:46:04 +0000 (21:46 +0000)]
lantiq: add wifi eep to a803 dts file

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

10 years agolantiq: add a subtarget for the xrx200 SoC family
blogic [Tue, 17 Sep 2013 21:46:00 +0000 (21:46 +0000)]
lantiq: add a subtarget for the xrx200 SoC family

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

10 years agolantiq: update packages for v3.10
blogic [Tue, 17 Sep 2013 21:45:56 +0000 (21:45 +0000)]
lantiq: update packages for v3.10

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

10 years agolantiq: update dts files
blogic [Tue, 17 Sep 2013 21:45:50 +0000 (21:45 +0000)]
lantiq: update dts files

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

10 years agoralink: add pinctrl driver
blogic [Tue, 17 Sep 2013 21:45:44 +0000 (21:45 +0000)]
ralink: add pinctrl driver

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

10 years agoralink: change subtarget order
blogic [Tue, 17 Sep 2013 21:45:39 +0000 (21:45 +0000)]
ralink: change subtarget order

this will make image builder build rt305x targets per default

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

10 years agobase-files: add a post start hook for procd managed services
blogic [Tue, 17 Sep 2013 21:45:34 +0000 (21:45 +0000)]
base-files: add a post start hook for procd managed services

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

10 years agoprocd: convert various packages to procd style init.d scripts
blogic [Tue, 17 Sep 2013 21:45:30 +0000 (21:45 +0000)]
procd: convert various packages to procd style init.d scripts

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

10 years agoprocd: update to latest git head
blogic [Tue, 17 Sep 2013 21:45:24 +0000 (21:45 +0000)]
procd: update to latest git head

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

10 years agokernel: make most modules use AutoProbe
blogic [Tue, 17 Sep 2013 21:45:17 +0000 (21:45 +0000)]
kernel: make most modules use AutoProbe

now that we have modprobe we can set more than half of the modules to AutoProbe

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

10 years agoinclude: add AutoProbe support
blogic [Tue, 17 Sep 2013 21:45:05 +0000 (21:45 +0000)]
include: add AutoProbe support

This is needed to make modprobe work

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

10 years agoubox: make use of modprobe
blogic [Tue, 17 Sep 2013 21:45:01 +0000 (21:45 +0000)]
ubox: make use of modprobe

ubox now has modprobe support
build and install the tool

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

10 years agolibubox: add packaging info for uloop lua binding
blogic [Tue, 17 Sep 2013 21:44:52 +0000 (21:44 +0000)]
libubox: add packaging info for uloop lua binding

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

10 years agoath9k: merge a fix for PS-Poll responses + aggregation
nbd [Tue, 17 Sep 2013 10:07:56 +0000 (10:07 +0000)]
ath9k: merge a fix for PS-Poll responses + aggregation

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

10 years agokernel: backport a fix for multiqueue selection to prevent tcp reordering with fair...
nbd [Tue, 17 Sep 2013 10:07:52 +0000 (10:07 +0000)]
kernel: backport a fix for multiqueue selection to prevent tcp reordering with fair queueing

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

10 years agokernel: fix config symbol for kmod-crypto-hash
nbd [Tue, 17 Sep 2013 09:54:05 +0000 (09:54 +0000)]
kernel: fix config symbol for kmod-crypto-hash

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

10 years agomac80211: drop spoofed packets in ad-hoc mode (fixes #12427)
nbd [Tue, 17 Sep 2013 09:17:40 +0000 (09:17 +0000)]
mac80211: drop spoofed packets in ad-hoc mode (fixes #12427)

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

10 years agobrcm47xx: Add support for Huawei E970
hauke [Mon, 16 Sep 2013 21:09:10 +0000 (21:09 +0000)]
brcm47xx: Add support for Huawei E970

This patch adds support for Huawei E970 wireless gateway devices.
It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV.
E960/B970 should work too, from what I know it's basically the same hardware.

The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem.

It uses a hardware watchdog which needs GPIO-7 to be toggled at least
every 1-2 seconds. This patch uses gpio_wdt module (see my previous
patch today) to take care of this.

Tested and works:  3G wan,  wlan+LED,  VLAN config,  failsafe using reset
button,   image to be used for upgrade from OEM firmware's web interface

Link to the wiki page I've created:  <http://wiki.openwrt.org/toh/huawei/e970>

Issue:

* lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog
  reset during kernel decompress.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38011 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add generic GPIO watchdog driver
hauke [Mon, 16 Sep 2013 21:07:52 +0000 (21:07 +0000)]
kernel: add generic GPIO watchdog driver

This is used on Huawei E970 (brcm47xx).

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38010 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: add detection for Phicomm M1
hauke [Mon, 16 Sep 2013 19:53:09 +0000 (19:53 +0000)]
brcm47xx: add detection for Phicomm M1

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

10 years agobroadcom-diag: add GPIO configuration for Linksys E2000 V1
hauke [Mon, 16 Sep 2013 19:52:23 +0000 (19:52 +0000)]
broadcom-diag: add GPIO configuration for Linksys E2000 V1

Thank you Javier Achirica for the patch.

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

10 years agobroadcom-diag: Add WRT310N v1 gpio leds and buttons
hauke [Mon, 16 Sep 2013 19:50:14 +0000 (19:50 +0000)]
broadcom-diag: Add WRT310N v1 gpio leds and buttons

Signed-off-by: Flavio Silveira <fggs@terra.com.br>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38007 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: detect Linksys E1200 V2
hauke [Mon, 16 Sep 2013 19:49:02 +0000 (19:49 +0000)]
brcm47xx: detect Linksys E1200 V2

This adds detection for Linksys E1200 V2

Thank you Lightsword and Rafał.

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

10 years agobrcm47xx: mtd: bcm47xxpart: detect "factory" partition
hauke [Mon, 16 Sep 2013 19:47:30 +0000 (19:47 +0000)]
brcm47xx: mtd: bcm47xxpart: detect "factory" partition

A new type of partition with magic FCTY was found on Huawei E970:
46 43 54 59 4b 51 37 4e  41 42 31 38 41 32 39 30  |FCTYKQ7NAB18A290|

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

10 years agobrcm47xx: bgmac: implement unaligned addressing for DMA rings that support it
hauke [Mon, 16 Sep 2013 19:46:34 +0000 (19:46 +0000)]
brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it

This is important patch for new devices that support unaligned
addressing. That devices suffer from the backward-compatibility bug in
DMA engine. In theory we should be able to use old mechanism, but in
practice DMA address seems to be randomly copied into status register
when hardware reaches end of a ring. This breaks reading slot number
from status register and we can't use DMA anymore.

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

10 years agokernel/3.10: add new Kconfig option for firmware partition split
juhosg [Sun, 15 Sep 2013 17:03:29 +0000 (17:03 +0000)]
kernel/3.10: add new Kconfig option for firmware partition split

Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

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

10 years agobrcm47xx: add detection code for Huawei E970
hauke [Sun, 15 Sep 2013 17:00:45 +0000 (17:00 +0000)]
brcm47xx: add detection code for Huawei E970

This is based on a patch by Mathias Adam.

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

10 years agokernel: update 3.10 to 3.10.12
juhosg [Sun, 15 Sep 2013 16:00:41 +0000 (16:00 +0000)]
kernel: update 3.10 to 3.10.12

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

10 years agobrcm47xx: bgmac: allow bigger et_swtype nvram variable
hauke [Sun, 15 Sep 2013 15:50:41 +0000 (15:50 +0000)]
brcm47xx: bgmac: allow bigger et_swtype nvram variable

Without this patch it is impossible to read et_swtype, because the 1
byte space is needed for the terminating null byte. Now it should be
possible to read decimal and hex vars of max 8 bit.

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

10 years agobrcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partition
hauke [Sun, 15 Sep 2013 15:47:45 +0000 (15:47 +0000)]
brcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partition

Most of the bcm47xx devices use TRX format for storing kernel and some
partition like Squashfs or JFFS2. This is pretty flexible solution, CFE
(the bootloader) just writes (and later boots) TRX at some hardcoded
place and paritions can vary in the size.

However some devices don't use TRX format. Very recently we have
discovered ZTE H218N that has kernel and rootfs partitions at some
"random" places.

This patch allows Linux find a rootfs partition after installing custom
image with a CFE bootloader.

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

10 years agokernel/3.10: move OpenWrt MTD options into a submenu
juhosg [Sun, 15 Sep 2013 15:16:16 +0000 (15:16 +0000)]
kernel/3.10: move OpenWrt MTD options into a submenu

Separate OpenWrt specific MTD options from the mainline
option by moving those into a new submenu in the kernel
configuration interface.

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

10 years agobrcm47xx: update board detection patch
hauke [Sun, 15 Sep 2013 15:08:29 +0000 (15:08 +0000)]
brcm47xx: update board detection patch

* Use different structs depending on the number of nvram variables to check.
* Add detection of ZTE H218N, this closes #14151.

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

10 years agokernel: b53: detect revision of BCM5325
hauke [Sun, 15 Sep 2013 13:30:49 +0000 (13:30 +0000)]
kernel: b53: detect revision of BCM5325

The revision is stored in a different register than it is in other
Broadcom switches.

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

10 years agokernel: b53: fix vlan write for BCM5325 revison 3+
hauke [Sun, 15 Sep 2013 13:29:14 +0000 (13:29 +0000)]
kernel: b53: fix vlan write for BCM5325 revison 3+

These switches are integrated in some recent BCM53XX and BCM47XX SoCs
like the BCM53572.

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

10 years agobrcm47xx: bgmac: fix internal switch initialization
hauke [Sun, 15 Sep 2013 09:39:19 +0000 (09:39 +0000)]
brcm47xx: bgmac: fix internal switch initialization

Some devices (BCM4749, BCM5357, BCM53572) have internal switch that
requires initialization. We already have code for this, but because
of the typo in code it was never working. This resulted in network not
working for some routers and possibility of soft-bricking them.

Use correct bit for switch initialization and fix typo in the define.

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

10 years agohostapd: adjust the md5sum for the uploaded source tarball (fixes #14155)
nbd [Sat, 14 Sep 2013 20:07:35 +0000 (20:07 +0000)]
hostapd: adjust the md5sum for the uploaded source tarball (fixes #14155)

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

10 years agobrcm47xx: detect Asus RT-N10
hauke [Sat, 14 Sep 2013 16:19:21 +0000 (16:19 +0000)]
brcm47xx: detect Asus RT-N10

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

10 years agokernel: b53: use hard coded switch reset gpio on some boards.
hauke [Sat, 14 Sep 2013 16:17:36 +0000 (16:17 +0000)]
kernel: b53: use hard coded switch reset gpio on some boards.

The Linksys wrt310n v1 does not have a robo_reset config variable in
nvram, but GPIO Pin 8 is the pin needed for resetting the external
switch, Linksys hard coded it into their source code.

Thank you Devastator for testing.

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

10 years agokernel: b53: add soft reset for BCM539x switches
hauke [Sat, 14 Sep 2013 16:14:02 +0000 (16:14 +0000)]
kernel: b53: add soft reset for BCM539x switches

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

10 years agobrcm47xx: tg3: use the phy address from et0phyaddr and not the default phy address.
hauke [Sat, 14 Sep 2013 16:10:37 +0000 (16:10 +0000)]
brcm47xx: tg3: use the phy address from et0phyaddr and not the default phy address.

Thank you Devastator for testing.

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

10 years agoath9k: add another minor tx path fix
nbd [Sat, 14 Sep 2013 15:30:13 +0000 (15:30 +0000)]
ath9k: add another minor tx path fix

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

10 years agoiwinfo: when using nl80211, parse interface combinations instead of creating/deleting...
nbd [Sat, 14 Sep 2013 14:46:51 +0000 (14:46 +0000)]
iwinfo: when using nl80211, parse interface combinations instead of creating/deleting interfaces

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

10 years agoath9k: merge a fix for tx processing issues with aggregation
nbd [Sat, 14 Sep 2013 14:46:39 +0000 (14:46 +0000)]
ath9k: merge a fix for tx processing issues with aggregation

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

10 years agogeneric/3.10: remove unused defines from the rootfs split patch
juhosg [Sat, 14 Sep 2013 10:19:10 +0000 (10:19 +0000)]
generic/3.10: remove unused defines from the rootfs split patch

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

10 years agogeneric/3.10: reduce number of ifdefs in the rootfs split code
juhosg [Sat, 14 Sep 2013 10:19:09 +0000 (10:19 +0000)]
generic/3.10: reduce number of ifdefs in the rootfs split code

Use the config_enabled() macro where it is possible.

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

10 years agoimx6: add network defaults for GW5400-A
luka [Fri, 13 Sep 2013 21:50:35 +0000 (21:50 +0000)]
imx6: add network defaults for GW5400-A

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

10 years agokernel: add missing config option
hauke [Fri, 13 Sep 2013 20:39:23 +0000 (20:39 +0000)]
kernel: add missing config option

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

10 years agobrcm47xx: board detection, GPIO for Linksys E1000 V2.1
hauke [Fri, 13 Sep 2013 19:24:08 +0000 (19:24 +0000)]
brcm47xx: board detection, GPIO for Linksys E1000 V2.1

This patch adds board detection for the Linksys E1000 V2.1 router, as well
as GPIO support for same.

This fixes bug #14135. Currently, wired networking isn't working on the
router, and I haven't tried the wireless, but with this patch, OpenWRT
successfully boots, and all the LEDs and buttons work properly.

Signed-off-by: Zachary Catlin <zcatlin@indiana.edu>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37977 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: refresh patches
juhosg [Fri, 13 Sep 2013 17:29:16 +0000 (17:29 +0000)]
ar71xx: refresh patches

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

10 years agogeneric/3.10: refresh patches
juhosg [Fri, 13 Sep 2013 17:29:14 +0000 (17:29 +0000)]
generic/3.10: refresh patches

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

10 years agogeneric/3.10: rename mtd patches
juhosg [Fri, 13 Sep 2013 17:24:25 +0000 (17:24 +0000)]
generic/3.10: rename mtd patches

  - change patch numbers to group the related stuff together,
  - add mtd prefix where it is missing,
  - use hyphens in the patch names

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

10 years agocns21xx: remove 3.8 support
juhosg [Fri, 13 Sep 2013 16:39:36 +0000 (16:39 +0000)]
cns21xx: remove 3.8 support

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

10 years agocns21xx: switch to 3.10
juhosg [Fri, 13 Sep 2013 16:39:34 +0000 (16:39 +0000)]
cns21xx: switch to 3.10

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

10 years agocns21xx: add support for 3.10
juhosg [Fri, 13 Sep 2013 16:39:33 +0000 (16:39 +0000)]
cns21xx: add support for 3.10

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

10 years agobrcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys device
hauke [Fri, 13 Sep 2013 16:00:52 +0000 (16:00 +0000)]
brcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys device

Most of the Linksys devices without an own GPIO configuration where
detected as WRT54G. On one board this made OpenWrt to boot into
failsafe every time, because one GPIO configurated as button was not a
button.

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

10 years agobrcm47xx: detect WRT310NV1
hauke [Fri, 13 Sep 2013 15:56:35 +0000 (15:56 +0000)]
brcm47xx: detect WRT310NV1

Thanks Devastator for testing

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

10 years agocns21xx: make cns21xx-ehci a separate driver
juhosg [Fri, 13 Sep 2013 15:38:42 +0000 (15:38 +0000)]
cns21xx: make cns21xx-ehci a separate driver

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

10 years agocns21xx: disable legacy PTY devices
juhosg [Fri, 13 Sep 2013 15:38:41 +0000 (15:38 +0000)]
cns21xx: disable legacy PTY devices

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

10 years agocns21xx: fix broken case statement in led defaults file
juhosg [Fri, 13 Sep 2013 15:38:40 +0000 (15:38 +0000)]
cns21xx: fix broken case statement in led defaults file

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

10 years agocns21xx: enable XZ_DEC_ARM and XZ_DEC_BCJ kernel options
juhosg [Fri, 13 Sep 2013 15:38:39 +0000 (15:38 +0000)]
cns21xx: enable XZ_DEC_ARM and XZ_DEC_BCJ kernel options

Squashfs is unable to decompress some blocks without that:

  [    0.970000] SQUASHFS error: xz_dec_run error, data probably corrupt
  [    0.980000] SQUASHFS error: squashfs_read_data failed to read block 0x29a72
  [    0.990000] SQUASHFS error: Unable to read fragment cache entry [29a72]
  [    1.000000] SQUASHFS error: Unable to read page, block 29a72, size 14c50
  [    1.010000] SQUASHFS error: Unable to read fragment cache entry [29a72]
  [    1.020000] SQUASHFS error: Unable to read page, block 29a72, size 14c50
  [    1.260000] SQUASHFS error: xz_dec_run error, data probably corrupt

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

10 years agoar71xx: add support for TL-MR3040 v2
juhosg [Fri, 13 Sep 2013 15:28:50 +0000 (15:28 +0000)]
ar71xx: add support for TL-MR3040 v2

This patch adds support for building firmware images for the
TP-Link TL-MR3040 v2. Tested and working on v2.1 hardware.

Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37964 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add wireless bgn led support for dir-825-c1
juhosg [Fri, 13 Sep 2013 15:01:40 +0000 (15:01 +0000)]
ar71xx: add wireless bgn led support for dir-825-c1

I checked the GPL code drop from D-Link and tried to get the wireless
and LAN switch LEDs to light up. I found some references in
AthSDK/www/DIR-825_C1/bsp.h as well as
AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I
only got the led for 2.4GHz to work. Anyway, here's the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37963 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouhttpd: udpat to git head
jow [Fri, 13 Sep 2013 13:24:45 +0000 (13:24 +0000)]
uhttpd: udpat to git head

- fixes buffer corruption with JSON-RPC list calls
- change JSON-RPC protocol to include the session ID into the call
  attributes instead of passing it via the URL
- forcibly pass effective session ID as "ubus_rpc_session" attribute
  to called procedures
- change ubus acl checking to conform with new ubus session namespace

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

10 years agorpcd: update to git head
jow [Fri, 13 Sep 2013 13:24:32 +0000 (13:24 +0000)]
rpcd: update to git head

- recalculate session ACLs on reload
- support negative access group expressions in /etc/config/rpcd
- prevent destryoing the default session
- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security

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

10 years agokernel: gsc depends on kmod-i2c-core
luka [Thu, 12 Sep 2013 23:38:54 +0000 (23:38 +0000)]
kernel: gsc depends on kmod-i2c-core

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

10 years agobrcm47xx: remove support for kernel 3.8
hauke [Thu, 12 Sep 2013 22:07:12 +0000 (22:07 +0000)]
brcm47xx: remove support for kernel 3.8

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

10 years agobrcm47xx: add default config for new kernel config option
hauke [Thu, 12 Sep 2013 22:04:55 +0000 (22:04 +0000)]
brcm47xx: add default config for new kernel config option

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

10 years agokernel: update bcma and ssb to wireless-testing master-2013-09-09
hauke [Thu, 12 Sep 2013 22:03:45 +0000 (22:03 +0000)]
kernel: update bcma and ssb to wireless-testing master-2013-09-09

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

10 years agokernel: add support for ESMT F25L32PA with upstream submission
luka [Thu, 12 Sep 2013 14:38:48 +0000 (14:38 +0000)]
kernel: add support for ESMT F25L32PA with upstream submission

Signed-off-by: Flavio Silveira <fggs@terra.com.br>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37956 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcp6c: Timing workaround for buggy servers
cyrus [Thu, 12 Sep 2013 12:57:42 +0000 (12:57 +0000)]
odhcp6c: Timing workaround for buggy servers

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

10 years agokernel: fix imx sata module
luka [Wed, 11 Sep 2013 22:08:46 +0000 (22:08 +0000)]
kernel: fix imx sata module

The imx sata module has only been backported to imx6 target. This change will
fix buildbot errors due to missing patches in other targets. Keep this until
all targets use kernel version with imx sata support in them.

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

10 years agokernel: align the skb padding to power of two
nbd [Wed, 11 Sep 2013 14:30:15 +0000 (14:30 +0000)]
kernel: align the skb padding to power of two

The skb is usually started by a padding which allows the protocols in the
network stack to add their headers in front of the payload. The skb can be
reallocated in case the preallocated padding is not large enough. This can for
example happen in the function __skb_cow which will check the requested extra
headroom and allocate more buffer when the requested headroom is bigger than
the available one. The extra buffer is aligned again to the multiple of the
NET_SKB_PAD of the target architecture.

The macro used to create the multiple of the NET_SKB_PAD is written in a way
which allows only values power two as alignment parameter. The currently used
value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The
extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80,
128, 144 and so on. The generated values are also not monotonic (48 requested
bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64
allocated bytes).

These unexpected small values result in more reallocations of the buffer. This
was noticed prominently during tests between two QCA9558 720 MHz devices which
were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each
other. The throughput PC-to-PC during iperf TCP runs increased reliable from
186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s
in the other direction. This is a performance increase of ~14% just by reducing
the amount of reallocations.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37948 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotoolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05
nbd [Wed, 11 Sep 2013 14:29:44 +0000 (14:29 +0000)]
toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05

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

10 years agotoolchain/gcc: fix up breakage introduced in r37945
nbd [Wed, 11 Sep 2013 14:28:21 +0000 (14:28 +0000)]
toolchain/gcc: fix up breakage introduced in r37945

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

10 years ago[toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08
kaloz [Wed, 11 Sep 2013 13:19:43 +0000 (13:19 +0000)]
[toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08

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

10 years ago[toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06
kaloz [Wed, 11 Sep 2013 13:18:23 +0000 (13:18 +0000)]
[toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06

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

10 years ago[toolchain/gdb]: upgrade to 7.6-2013.05
kaloz [Wed, 11 Sep 2013 13:16:13 +0000 (13:16 +0000)]
[toolchain/gdb]: upgrade to 7.6-2013.05

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

10 years agokernel: fix broken depends syntax introduced in r37933
florian [Wed, 11 Sep 2013 12:45:24 +0000 (12:45 +0000)]
kernel: fix broken depends syntax introduced in r37933

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37942 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agorpcd: update to git head
jow [Wed, 11 Sep 2013 12:13:33 +0000 (12:13 +0000)]
rpcd: update to git head

- introduces persistent null session to allow access to procedures without login
- implements session.login procedure to support user logins via json-rpc

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

10 years agokernel: Fix FIQ code on VIVT CPUs (#14145)
florian [Wed, 11 Sep 2013 12:08:44 +0000 (12:08 +0000)]
kernel: Fix FIQ code on VIVT CPUs (#14145)

Backport an upstream patch to fix FIQ code on VIVT CPUs

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37940 3c298f89-4303-0410-b956-a3cf2f4a3e73