openwrt.git
10 years agokernel/3.10: add separate rootfs partition parser
juhosg [Sat, 21 Sep 2013 17:55:49 +0000 (17:55 +0000)]
kernel/3.10: add separate rootfs partition parser

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

10 years agokernel/3.10: move squashfs check from rootfs split code into a separate file
juhosg [Sat, 21 Sep 2013 17:55:44 +0000 (17:55 +0000)]
kernel/3.10: move squashfs check from rootfs split code into a separate file

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

10 years agokernel/3.10: allow to use partition parsers for rootfs and firmware split
juhosg [Sat, 21 Sep 2013 17:55:30 +0000 (17:55 +0000)]
kernel/3.10: allow to use partition parsers for rootfs and firmware split

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

10 years agokernel/3.10: allow to use different MTD parser types
juhosg [Sat, 21 Sep 2013 17:55:18 +0000 (17:55 +0000)]
kernel/3.10: allow to use different MTD parser types

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

10 years agoar71xx: enable wlan2g led in the default configuration of dir-825-c1
juhosg [Sat, 21 Sep 2013 16:08:45 +0000 (16:08 +0000)]
ar71xx: enable wlan2g led in the default configuration of dir-825-c1

Enable the wlan2g led in the default configuration of dir-825-c1.

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

10 years agoar71xx: vanity changes for dir-825-c1
juhosg [Sat, 21 Sep 2013 16:08:44 +0000 (16:08 +0000)]
ar71xx: vanity changes for dir-825-c1

This patch

- changes the color names from orange to amber
- changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G
  (wlan2g) to be more consistent with the other routers' files
- changes the descriptions of the hardware keys to be a tad more
  explicit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4081/
[juhosg: update the LED migration script as well]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38105 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: diag.sh: consolidate netgear device entries
juhosg [Sat, 21 Sep 2013 15:55:57 +0000 (15:55 +0000)]
ar71xx: diag.sh: consolidate netgear device entries

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

10 years agoar71xx: use the green power led for diag on the WNR2200 board
juhosg [Sat, 21 Sep 2013 15:55:56 +0000 (15:55 +0000)]
ar71xx: use the green power led for diag on the WNR2200 board

Make it consistent with the other Netgear boards.

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

10 years agoar71xx: use netgear prefix for WNDAP360 LED names
juhosg [Sat, 21 Sep 2013 15:55:55 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNDAP360 LED names

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

10 years agoar71xx: use netgear prefix for WNR612 v2 LED names
juhosg [Sat, 21 Sep 2013 15:55:54 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNR612 v2 LED names

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

10 years agoar71xx: use netgear prefix for WNR2200 LED names
juhosg [Sat, 21 Sep 2013 15:55:52 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNR2200 LED names

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

10 years agoar71xx: use netgear prefix for WNR2000 LED names
juhosg [Sat, 21 Sep 2013 15:55:51 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNR2000 LED names

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

10 years agoar71xx: use netgear prefix for WNDR3700 LED names
juhosg [Sat, 21 Sep 2013 15:55:50 +0000 (15:55 +0000)]
ar71xx: use netgear prefix for WNDR3700 LED names

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

10 years agoar71xx: add an uci-defaults script for LED configuration migration
juhosg [Sat, 21 Sep 2013 15:55:49 +0000 (15:55 +0000)]
ar71xx: add an uci-defaults script for LED configuration migration

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

10 years agoar71xx: let HW switch control WAN LED on dir-825-c1
juhosg [Sat, 21 Sep 2013 14:56:24 +0000 (14:56 +0000)]
ar71xx: let HW switch control WAN LED on dir-825-c1

Enable GPIO 20. This hands off control of the blue planet led to the
integrated switch. Consequently, remove the led configuration for the
blue planet led.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4080/
[juhosg: whitespace fixup]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38096 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: override mkcameofw status
juhosg [Sat, 21 Sep 2013 14:56:22 +0000 (14:56 +0000)]
ar71xx: image: override mkcameofw status

This allows to build images for other boards, even if
the image is too big for Cameo devices.

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

10 years agoar71xx: fix LAN LEDs for dir-825-c1
juhosg [Sat, 21 Sep 2013 12:04:45 +0000 (12:04 +0000)]
ar71xx: fix LAN LEDs for dir-825-c1

This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.

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@38094 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcp6c: handle NoAddrsAvail IA-status
cyrus [Sat, 21 Sep 2013 10:54:13 +0000 (10:54 +0000)]
odhcp6c: handle NoAddrsAvail IA-status

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

10 years agoar71xx: set proper wan mac during initial configuration on dir-825-c1
juhosg [Fri, 20 Sep 2013 16:59:44 +0000 (16:59 +0000)]
ar71xx: set proper wan mac during initial configuration on dir-825-c1

The goal is to set the WAN MAC address to the one on the
sticker on the bottom of the unit. Currently it is not
used at all. But some users expect the WAN interface to
have the MAC address that is written on the sticker.

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@38091 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: tew-712br: use ath79_parse_ascii_mac helper
juhosg [Fri, 20 Sep 2013 16:41:36 +0000 (16:41 +0000)]
ar71xx: tew-712br: use ath79_parse_ascii_mac helper

Remove the local MAC address parser function and use
the generic one instead.

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

10 years agoar71xx: tew-673gru: use ath79_parse_ascii_mac helper
juhosg [Fri, 20 Sep 2013 16:41:34 +0000 (16:41 +0000)]
ar71xx: tew-673gru: use ath79_parse_ascii_mac helper

Remove the local MAC address parser function and use
the generic one instead.

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

10 years agoar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
juhosg [Fri, 20 Sep 2013 16:41:33 +0000 (16:41 +0000)]
ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper

Remove the local MAC address parser function and use
the generic one instead.

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

10 years agoar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
juhosg [Fri, 20 Sep 2013 16:41:32 +0000 (16:41 +0000)]
ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper

Remove the local MAC address parser function and use
the generic one instead.

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

10 years agoar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
juhosg [Fri, 20 Sep 2013 16:41:31 +0000 (16:41 +0000)]
ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper

Remove the local MAC address parser function and use
the generic one instead.

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

10 years agoar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
juhosg [Fri, 20 Sep 2013 16:41:30 +0000 (16:41 +0000)]
ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac

Rename the function and extend it in order to make it
usable from board setup code.

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

10 years agoar71xx: fix Cameo934x initramfs image generation
juhosg [Fri, 20 Sep 2013 16:41:28 +0000 (16:41 +0000)]
ar71xx: fix Cameo934x initramfs image generation

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

10 years agolantiq: fix usb on sx76x
luka [Fri, 20 Sep 2013 14:24:30 +0000 (14:24 +0000)]
lantiq: fix usb on sx76x

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38083 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: update gw5400-a dts
luka [Fri, 20 Sep 2013 01:59:33 +0000 (01:59 +0000)]
imx6: update gw5400-a dts

- remove common imx6q-ventana.dtsi - there isn't enough commonality to
  warrent this
- rename user led's to 1-based
- add alises used by bootloader
- clean up iomux gpios
- fix pfuze slave address
- enable sata
- add delay after release of pci reset downstream from PCIe switch
- remove PCIe clock configuration as its now handled in updated driver

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

10 years agoimx6: update PCIe driver
luka [Fri, 20 Sep 2013 01:59:32 +0000 (01:59 +0000)]
imx6: update PCIe driver

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

10 years agoimx6: update network defaults for Gateworks Ventana
luka [Fri, 20 Sep 2013 01:59:30 +0000 (01:59 +0000)]
imx6: update network defaults for Gateworks Ventana

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

10 years agoimx6: update config
luka [Fri, 20 Sep 2013 01:59:29 +0000 (01:59 +0000)]
imx6: update config

* enable PERF_EVENTS
* enable REGULATOR_ANATOP
* enable VMSPLIT_2G

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

10 years agoimx6: drop inittab
luka [Fri, 20 Sep 2013 01:59:27 +0000 (01:59 +0000)]
imx6: drop inittab

It's the same as in base-files package.

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

10 years agoar71xx: add profile and build image for the WD My Net N600 board
juhosg [Thu, 19 Sep 2013 22:36:43 +0000 (22:36 +0000)]
ar71xx: add profile and build image for the WD My Net N600 board

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

10 years agoar71xx: add sysupgrade support for the WD My Net N600 board
juhosg [Thu, 19 Sep 2013 22:36:42 +0000 (22:36 +0000)]
ar71xx: add sysupgrade support for the WD My Net N600 board

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

10 years agoar71xx: add user-space support for the WD My Net N600 board
juhosg [Thu, 19 Sep 2013 22:36:41 +0000 (22:36 +0000)]
ar71xx: add user-space support for the WD My Net N600 board

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

10 years agopackage/mtd: enable seama fixup code for ar71xx
juhosg [Thu, 19 Sep 2013 22:36:40 +0000 (22:36 +0000)]
package/mtd: enable seama fixup code for ar71xx

It will be used for the WD My Net N600.

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

10 years agoar71xx: add kernel support for the WD My Net N600 board
juhosg [Thu, 19 Sep 2013 22:36:39 +0000 (22:36 +0000)]
ar71xx: add kernel support for the WD My Net N600 board

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

10 years agoar71xx: wndr4300: enable HW ECC mode for the NAND controller
juhosg [Thu, 19 Sep 2013 18:43:43 +0000 (18:43 +0000)]
ar71xx: wndr4300: enable HW ECC mode for the NAND controller

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

10 years agoar71xx: add ath79_nfc_set_ecc_mode helper
juhosg [Thu, 19 Sep 2013 18:43:42 +0000 (18:43 +0000)]
ar71xx: add ath79_nfc_set_ecc_mode helper

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

10 years agoar71xx: ar934x_nfc: add experimental support for hardware ECC
juhosg [Thu, 19 Sep 2013 18:43:41 +0000 (18:43 +0000)]
ar71xx: ar934x_nfc: add experimental support for hardware ECC

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

10 years agoar71xx: ar934x_nfc: return error code from some low-level functions
juhosg [Thu, 19 Sep 2013 18:43:40 +0000 (18:43 +0000)]
ar71xx: ar934x_nfc: return error code from some low-level functions

Change some flow-level unctions to return with an
error code in order to be able to report errors
to the core code.

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

10 years agoar71xx: ar934x_nfc: use devm_* functions
juhosg [Thu, 19 Sep 2013 18:43:38 +0000 (18:43 +0000)]
ar71xx: ar934x_nfc: use devm_* functions

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

10 years agoar71xx: add profile and build image for the TL-MR13U board
juhosg [Thu, 19 Sep 2013 17:52:45 +0000 (17:52 +0000)]
ar71xx: add profile and build image for the TL-MR13U board

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38066 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agofirmware-utils/mktplinkfw: add support for the TL-MR13U board
juhosg [Thu, 19 Sep 2013 17:52:44 +0000 (17:52 +0000)]
firmware-utils/mktplinkfw: add support for the TL-MR13U board

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38065 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user-space support for the TL-MR13U board
juhosg [Thu, 19 Sep 2013 17:52:42 +0000 (17:52 +0000)]
ar71xx: add user-space support for the TL-MR13U board

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38064 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for TP-Link TL-MR13U
juhosg [Thu, 19 Sep 2013 17:52:41 +0000 (17:52 +0000)]
ar71xx: add kernel support for TP-Link TL-MR13U

This patch adds support for TP-Link TL-MR13U router with built-in 10AH
rechargeable battery.

The patch is based on kamwanlai's patch:
https://forum.openwrt.org/viewtopic.php?pid=206746#p206746

Updated to accommodate recent changes introduced with:
ar71xx: remove fs_* variables from image/Makefile

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
[juhosg:
  - refresh and rename rename 930-add-tl-mr13u-support.patch =>
    625-MIPS-ath79-add-tl-mr13u-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38063 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wnr2200: fix a typo in a LED name
juhosg [Thu, 19 Sep 2013 17:52:40 +0000 (17:52 +0000)]
ar71xx: wnr2200: fix a typo in a LED name

Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38062 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add profile and build image for the WNR2200 board
juhosg [Thu, 19 Sep 2013 16:56:51 +0000 (16:56 +0000)]
ar71xx: add profile and build image for the WNR2200 board

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38061 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user-space support for the WNR2200 board
juhosg [Thu, 19 Sep 2013 16:56:50 +0000 (16:56 +0000)]
ar71xx: add user-space support for the WNR2200 board

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38060 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for Netgear WNR2200 wireless router
juhosg [Thu, 19 Sep 2013 16:56:48 +0000 (16:56 +0000)]
ar71xx: add kernel support for Netgear WNR2200 wireless router

This patch adds OpenWRT support for the Netgear WNR2200 (N300)
wireless router with USB.

Technical details of this router can be found at
http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx
and http://wikidevi.com/wiki/Netgear_WNR2200

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
[juhosg:
  - add commit message and SoB line from the original patch
  - remove dead code from mach-wnr2200.c
  - refresh 624-MIPS-ath79-WNR2200-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38059 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add AutoProbe for ppp_async and ppp_synctty (should fix #14185)
nbd [Thu, 19 Sep 2013 06:33:53 +0000 (06:33 +0000)]
kernel: add AutoProbe for ppp_async and ppp_synctty (should fix #14185)

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

10 years agoralink: make dcs930 uvc camera work
blogic [Thu, 19 Sep 2013 05:57:00 +0000 (05:57 +0000)]
ralink: make dcs930 uvc camera work

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

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