openwrt/staging/chunkeey.git
12 years agonet5501: adjust CFLAGS and package selection (#10893) This patches the CFLAGS for...
Jo-Philipp Wich [Fri, 3 Feb 2012 14:19:29 +0000 (14:19 +0000)]
net5501: adjust CFLAGS and package selection (#10893) This patches the CFLAGS for Geode LX CPUs for 4.3 and new GGC versions. This creates more compatible code and allowed me to boot my system first time with no troubles. Also, the missing kmod is added in.

SVN-Revision: 30013

12 years agoath9k: fix CTS timeout issues in 2.4 ghz
Felix Fietkau [Fri, 3 Feb 2012 10:23:55 +0000 (10:23 +0000)]
ath9k: fix CTS timeout issues in 2.4 ghz

SVN-Revision: 30010

12 years agoath9k: fix WEP connection issues
Felix Fietkau [Fri, 3 Feb 2012 10:23:51 +0000 (10:23 +0000)]
ath9k: fix WEP connection issues

SVN-Revision: 30009

12 years agonetifd: set the network device in uci state as well to avoid further remapping issues
Felix Fietkau [Fri, 3 Feb 2012 10:17:30 +0000 (10:17 +0000)]
netifd: set the network device in uci state as well to avoid further remapping issues

SVN-Revision: 30008

12 years agoar71xx: add usb on the pb92 board
Felix Fietkau [Fri, 3 Feb 2012 09:44:51 +0000 (09:44 +0000)]
ar71xx: add usb on the pb92 board

SVN-Revision: 30007

12 years agonetifd: update to latest, fixes removing deleted interfaces on config reload
Felix Fietkau [Thu, 2 Feb 2012 23:16:34 +0000 (23:16 +0000)]
netifd: update to latest, fixes removing deleted interfaces on config reload

SVN-Revision: 30004

12 years agonetifd: fix legacy scripts that expect the ifname option to be mapped to the device...
Felix Fietkau [Thu, 2 Feb 2012 23:01:02 +0000 (23:01 +0000)]
netifd: fix legacy scripts that expect the ifname option to be mapped to the device option after fixup

SVN-Revision: 30003

12 years agox86: add 3.3 generic symbols
Jonas Gorski [Thu, 2 Feb 2012 21:01:59 +0000 (21:01 +0000)]
x86: add 3.3 generic symbols

Copy x86/config-3.2 to x86/config-3.3 and add additional symbols (for 3.3-rc2).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30002

12 years agoalix2: backport platform driver updates from linux-next Add patches to x86/patches...
Jo-Philipp Wich [Thu, 2 Feb 2012 19:26:32 +0000 (19:26 +0000)]
alix2: backport platform driver updates from linux-next Add patches to x86/patches-3.2 and x86/patches-3.3 (update will appear in 3.4). [Patch from Philipp Prindeville, via patchwork.openwrt.org/patch/1817/]

SVN-Revision: 30001

12 years agoalix2, geos, net5501: remove kmod-ledtrig-netfilter, its not used by any standard...
Jo-Philipp Wich [Thu, 2 Feb 2012 19:11:52 +0000 (19:11 +0000)]
alix2, geos, net5501: remove kmod-ledtrig-netfilter, its not used by any standard system facility

SVN-Revision: 30000

12 years agoalix2, goes, net5501: clean up default packages Remove packages which are dependencie...
Jo-Philipp Wich [Thu, 2 Feb 2012 19:06:22 +0000 (19:06 +0000)]
alix2, goes, net5501: clean up default packages Remove packages which are dependencies of other packages Remove packages which are part of the default package list Remove DSL specific packages from net5501 Remove bridge package, we use the busybox applet Replace hostapd with wpad

SVN-Revision: 29999

12 years agoalix2, net5501: bump both subtargets to Linux 3.2.2 to align with the rest
Jo-Philipp Wich [Thu, 2 Feb 2012 19:00:40 +0000 (19:00 +0000)]
alix2, net5501: bump both subtargets to Linux 3.2.2 to align with the rest

SVN-Revision: 29998

12 years agogeos: add missing files from previous commit
Jo-Philipp Wich [Thu, 2 Feb 2012 18:59:51 +0000 (18:59 +0000)]
geos: add missing files from previous commit

SVN-Revision: 29997

12 years agogeos: backport Geos driver from linux-next Backport of linux-next driver. Driver...
Jo-Philipp Wich [Thu, 2 Feb 2012 18:58:20 +0000 (18:58 +0000)]
geos: backport Geos driver from linux-next Backport of linux-next driver. Driver adds support for LEDS and S/W button. Add hotplug script for button actions. Add Openwrt system config for LEDS triggers. Add updated kernel .config for 3.2 symbols. [Patch from Philipp Prindeville, via patchwork.openwrt.org/patch/1816/]

SVN-Revision: 29996

12 years agogeos: cleanup GPIO driver name In 3.1, the old drivers/char/ entry for the CS5535...
Jo-Philipp Wich [Thu, 2 Feb 2012 18:44:35 +0000 (18:44 +0000)]
geos: cleanup GPIO driver name In 3.1, the old drivers/char/ entry for the CS5535 GPIO driver went obsolete. Make Geos use a recent kernel and remove this ambiguity. [Patch from Philipp Prindeville, via patchwork.openwrt.org/patch/1815/]

SVN-Revision: 29995

12 years agonet5501: correct net5501 h/w configuration Bump to version 3.2. Simplify and correct...
Jo-Philipp Wich [Thu, 2 Feb 2012 18:41:10 +0000 (18:41 +0000)]
net5501: correct net5501 h/w configuration Bump to version 3.2. Simplify and correct kernel config (based on x86/config-3.2). Designate eth0 as wan interface, and bridge eth1/eth2/eth3. Add heartbeat LED trigger. Use correct CS5535 GPIO driver. Use correct USB drivers (OHCI not UHCI). Add MSR and HW clock support. Add GPIO mask definition. Add correct SATA drivers. Add LED triggers. [Patch from Philipp Prindeville, via patchwork.openwrt.org/patch/1802/]

SVN-Revision: 29994

12 years agoiwinfo: fix segmentation fault when doing two consecutive scans through wpa_supplican...
Jo-Philipp Wich [Thu, 2 Feb 2012 14:06:16 +0000 (14:06 +0000)]
iwinfo: fix segmentation fault when doing two consecutive scans through wpa_supplicant Based on patch by Christian Kapeller <christian.kapeller@cmotion.eu> with one minor whitespace change and updated package version.

SVN-Revision: 29992

12 years agokernel: add preliminary support for linux 3.3
Jonas Gorski [Thu, 2 Feb 2012 08:23:54 +0000 (08:23 +0000)]
kernel: add preliminary support for linux 3.3

Based on 3.3-rc2

SVN-Revision: 29986

12 years agokernel: update module names and add new config symbols for linux 3.3
Jonas Gorski [Thu, 2 Feb 2012 08:23:44 +0000 (08:23 +0000)]
kernel: update module names and add new config symbols for linux 3.3

SVN-Revision: 29985

12 years agoalix2: correct h/w configuration Bump to version 3.2. Simplify and correct kernel...
Jo-Philipp Wich [Wed, 1 Feb 2012 15:31:23 +0000 (15:31 +0000)]
alix2: correct h/w configuration Bump to version 3.2. Simplify and correct kernel config (based on x86/config-3.2). Drop obsolete CS5535 GPIO driver.

[Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1804/]

SVN-Revision: 29981

12 years agoautomake: forcibly disable perl ithreads support The SDK when build on a machine...
Jo-Philipp Wich [Wed, 1 Feb 2012 15:06:36 +0000 (15:06 +0000)]
automake: forcibly disable perl ithreads support The SDK when build on a machine with perl ithreads enabled will fail to run on many Gentoo systems because perl is usually built without thread capability there. In order to circumvent this issue forcibly disable the ithreads support, tested on CentOS 5.6, Ubuntu 10.04 LTS and Gentoo.

SVN-Revision: 29979

12 years agoar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
Gabor Juhos [Tue, 31 Jan 2012 20:49:34 +0000 (20:49 +0000)]
ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards

SVN-Revision: 29978

12 years agoar71xx: merge DIR-600 A1 and DIR-615 E4 support
Gabor Juhos [Tue, 31 Jan 2012 18:37:29 +0000 (18:37 +0000)]
ar71xx: merge DIR-600 A1 and DIR-615 E4 support

SVN-Revision: 29976

12 years agoar71xx: fix ethernet LEDs on the DIR-600-A1 board
Gabor Juhos [Tue, 31 Jan 2012 18:37:24 +0000 (18:37 +0000)]
ar71xx: fix ethernet LEDs on the DIR-600-A1 board

SVN-Revision: 29975

12 years agoar71xx: unify LED names on D-Link boards
Gabor Juhos [Tue, 31 Jan 2012 18:37:15 +0000 (18:37 +0000)]
ar71xx: unify LED names on D-Link boards

SVN-Revision: 29974

12 years agoar71xx: support for D-LINK DIR-615 rev. E4
Gabor Juhos [Tue, 31 Jan 2012 18:37:09 +0000 (18:37 +0000)]
ar71xx: support for D-LINK DIR-615 rev. E4

This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.

It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.

[juhosg: add 3.2 support]

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
SVN-Revision: 29973

12 years agoar71xx: add support for TP-Link TL-MR11U
Gabor Juhos [Tue, 31 Jan 2012 18:37:01 +0000 (18:37 +0000)]
ar71xx: add support for TP-Link TL-MR11U

Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.

Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade

[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]

Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>
SVN-Revision: 29972

12 years agoar71xx: compress kernel binaries in Image/Prepare stage
Gabor Juhos [Tue, 31 Jan 2012 18:36:54 +0000 (18:36 +0000)]
ar71xx: compress kernel binaries in Image/Prepare stage

The lzma compressed kernel is used by one of the loaders.

SVN-Revision: 29971

12 years agoar71xx: use dynamically allocated partitions in wrt160nl_part
Gabor Juhos [Tue, 31 Jan 2012 18:36:51 +0000 (18:36 +0000)]
ar71xx: use dynamically allocated partitions in wrt160nl_part

SVN-Revision: 29970

12 years agoramips: change vlan_config for the ALFA W502U board
Gabor Juhos [Tue, 31 Jan 2012 18:34:10 +0000 (18:34 +0000)]
ramips: change vlan_config for the ALFA W502U board

This change moves the WAN port into a separate VLAN.

SVN-Revision: 29969

12 years agokernel: update linux 3.2 to 3.2.2
Jonas Gorski [Tue, 31 Jan 2012 09:44:00 +0000 (09:44 +0000)]
kernel: update linux 3.2 to 3.2.2

SVN-Revision: 29967

12 years agokernel: update linux 3.1 to 3.1.10
Jonas Gorski [Tue, 31 Jan 2012 09:43:57 +0000 (09:43 +0000)]
kernel: update linux 3.1 to 3.1.10

SVN-Revision: 29966

12 years agokernel: update linux 3.0 to 3.0.18
Jonas Gorski [Tue, 31 Jan 2012 09:43:53 +0000 (09:43 +0000)]
kernel: update linux 3.0 to 3.0.18

SVN-Revision: 29965

12 years agobuild 96348R images
Florian Fainelli [Mon, 30 Jan 2012 21:12:32 +0000 (21:12 +0000)]
build 96348R images

SVN-Revision: 29960

12 years agoremove support for 2.6.39
Florian Fainelli [Mon, 30 Jan 2012 21:12:28 +0000 (21:12 +0000)]
remove support for 2.6.39

SVN-Revision: 29959

12 years agobump to 3.0.17
Florian Fainelli [Mon, 30 Jan 2012 21:12:25 +0000 (21:12 +0000)]
bump to 3.0.17

SVN-Revision: 29958

12 years agofix wprobe build for arm on 3.2
Florian Fainelli [Mon, 30 Jan 2012 14:02:13 +0000 (14:02 +0000)]
fix wprobe build for arm on 3.2

SVN-Revision: 29957

12 years agoebtales: update to v2.0.10-4
Florian Fainelli [Mon, 30 Jan 2012 14:02:10 +0000 (14:02 +0000)]
ebtales: update to v2.0.10-4

SVN-Revision: 29956

12 years agoadd missing config symbols
Florian Fainelli [Mon, 30 Jan 2012 10:53:20 +0000 (10:53 +0000)]
add missing config symbols

Thanks KanjiMonster

SVN-Revision: 29955

12 years agofix gpiommc build failure with 3.2
Florian Fainelli [Mon, 30 Jan 2012 10:53:16 +0000 (10:53 +0000)]
fix gpiommc build failure with 3.2

SVN-Revision: 29954

12 years agocreate a config-3.2 for upcoming changes, rebase config-default to 2.6.39
Jo-Philipp Wich [Mon, 30 Jan 2012 02:13:37 +0000 (02:13 +0000)]
create a config-3.2 for upcoming changes, rebase config-default to 2.6.39

SVN-Revision: 29953

12 years agorules.mk: filter "." and "./" entries from $PATH, prevents toolchain build issues...
Jo-Philipp Wich [Sun, 29 Jan 2012 23:34:25 +0000 (23:34 +0000)]
rules.mk: filter "." and "./" entries from $PATH, prevents toolchain build issues and likely other problems

SVN-Revision: 29951

12 years agopatch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag...
Jo-Philipp Wich [Sun, 29 Jan 2012 20:19:06 +0000 (20:19 +0000)]
patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that

SVN-Revision: 29948

12 years agodownload.pl: remove ftp.geo.kernel.org mirror, it does not resolve
Jo-Philipp Wich [Sun, 29 Jan 2012 19:28:12 +0000 (19:28 +0000)]
download.pl: remove ftp.geo. mirror, it does not resolve

SVN-Revision: 29947

12 years agoext-toolchain.sh: rework generated gcc wrapper Only append -L and -Wl,-rpath-link...
Jo-Philipp Wich [Sun, 29 Jan 2012 18:53:12 +0000 (18:53 +0000)]
ext-toolchain.sh: rework generated gcc wrapper Only append -L and -Wl,-rpath-link flags if the command line contains -l, -L, -shared or -static flags; this is needed to suppress "-rpath-link: linker input file unused because linking not done" on each cc invocation.

SVN-Revision: 29946

12 years agopatch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file patching is not...
Jo-Philipp Wich [Sun, 29 Jan 2012 17:42:58 +0000 (17:42 +0000)]
patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file patching is not possible (gcc < 4.3.0)

SVN-Revision: 29945

12 years agoext-toolchain.sh: support --wrap with src == dest
Jo-Philipp Wich [Sun, 29 Jan 2012 17:42:10 +0000 (17:42 +0000)]
ext-toolchain.sh: support --wrap with src == dest

SVN-Revision: 29944

12 years agoadd default and Sim.One profiles
Florian Fainelli [Sun, 29 Jan 2012 15:00:36 +0000 (15:00 +0000)]
add default and Sim.One profiles

SVN-Revision: 29942

12 years agoadd 3.2 support
Florian Fainelli [Sun, 29 Jan 2012 15:00:33 +0000 (15:00 +0000)]
add 3.2 support

SVN-Revision: 29941

12 years agoadd another 3.2 framebuffer symbol
Florian Fainelli [Sun, 29 Jan 2012 15:00:29 +0000 (15:00 +0000)]
add another 3.2 framebuffer symbol

SVN-Revision: 29940

12 years agoadd support for 3.2 kernel
Florian Fainelli [Sun, 29 Jan 2012 15:00:25 +0000 (15:00 +0000)]
add support for 3.2 kernel

SVN-Revision: 29939

12 years agoswitch: fix some memory leaks in switch_parse_vlan()
Hauke Mehrtens [Sat, 28 Jan 2012 13:52:37 +0000 (13:52 +0000)]
switch: fix some memory leaks in switch_parse_vlan()

SVN-Revision: 29936

12 years agoadd support for the Atheros AP113 reference board
Florian Fainelli [Sat, 28 Jan 2012 13:19:49 +0000 (13:19 +0000)]
add support for the Atheros AP113 reference board

This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

SVN-Revision: 29935

12 years agorefresh 3.2 patches
Florian Fainelli [Sat, 28 Jan 2012 13:19:43 +0000 (13:19 +0000)]
refresh 3.2 patches

SVN-Revision: 29934

12 years agoautoconf: another relocatability fix for autom4te, substitute hardcoded prefix with...
Jo-Philipp Wich [Sat, 28 Jan 2012 04:42:15 +0000 (04:42 +0000)]
autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg

SVN-Revision: 29931

12 years agoautomake: generate relative aclocal symlinks in staging_dir
Jo-Philipp Wich [Sat, 28 Jan 2012 03:51:22 +0000 (03:51 +0000)]
automake: generate relative aclocal symlinks in staging_dir

SVN-Revision: 29929

12 years agomake sure .config gets copied as file When using scripts/env, .config is most likely...
Jo-Philipp Wich [Sat, 28 Jan 2012 03:30:30 +0000 (03:30 +0000)]
make sure .config gets copied as file When using scripts/env, .config is most likely a symbolic link pointing to env/.config. Previously the symbolic link got copied as-is into the SDK tarball, leading to a dangling .config symlink on the target system which prevented the SDK from working.

SVN-Revision: 29927

12 years agobrcm47xx: add fix for cardbus host controller
Hauke Mehrtens [Fri, 27 Jan 2012 20:10:51 +0000 (20:10 +0000)]
brcm47xx: add fix for cardbus host controller

These devices have two devices on the bus, the host controller itself and the device.

SVN-Revision: 29923

12 years agomac80211: fix patch when running on ssb based devices
Hauke Mehrtens [Fri, 27 Jan 2012 20:08:49 +0000 (20:08 +0000)]
mac80211: fix patch when running on ssb based devices

SVN-Revision: 29922

12 years agoath9k: revert one more linux upstream commit in the initvals to fully fix the ar938x...
Felix Fietkau [Fri, 27 Jan 2012 15:35:29 +0000 (15:35 +0000)]
ath9k: revert one more linux upstream commit in the initvals to fully fix the ar938x tx power issue

SVN-Revision: 29920

12 years agoath9k: fix initvals for high-power ar938x devices, fixes tx power on buffalo wzr...
Felix Fietkau [Fri, 27 Jan 2012 11:06:32 +0000 (11:06 +0000)]
ath9k: fix initvals for high-power ar938x devices, fixes tx power on buffalo wzr-hp-g450h

SVN-Revision: 29918

12 years agoar71xx: use 64k block size for WZR-HP-AG300H
Gabor Juhos [Fri, 27 Jan 2012 10:42:41 +0000 (10:42 +0000)]
ar71xx: use 64k block size for WZR-HP-AG300H

SVN-Revision: 29917

12 years agoar71xx: fix sysupgrade image building of atheros boards after r29899
Gabor Juhos [Fri, 27 Jan 2012 07:51:09 +0000 (07:51 +0000)]
ar71xx: fix sysupgrade image building of atheros boards after r29899

SVN-Revision: 29916

12 years agoar71xx: create the temporary directory before building initramfs images
Gabor Juhos [Thu, 26 Jan 2012 21:28:34 +0000 (21:28 +0000)]
ar71xx: create the temporary directory before building initramfs images

Thanks to Florian for reporting.

SVN-Revision: 29915

12 years agoar71xx: create a profile and build images for Compex WPE72
Gabor Juhos [Thu, 26 Jan 2012 17:01:44 +0000 (17:01 +0000)]
ar71xx: create a profile and build images for Compex WPE72

[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29914

12 years agofirmware-utils/mkmylofw: add WPE72 support
Gabor Juhos [Thu, 26 Jan 2012 17:01:43 +0000 (17:01 +0000)]
firmware-utils/mkmylofw: add WPE72 support

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29913

12 years agoar71xx: add support for Compex WPE72/WPE72NX
Gabor Juhos [Thu, 26 Jan 2012 17:01:41 +0000 (17:01 +0000)]
ar71xx: add support for Compex WPE72/WPE72NX

This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.

[juhosg: add support to 3.2 as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29912

12 years agogeneric: add WPE72 ID to myloader.h
Gabor Juhos [Thu, 26 Jan 2012 17:01:38 +0000 (17:01 +0000)]
generic: add WPE72 ID to myloader.h

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29911

12 years agoramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
Gabor Juhos [Thu, 26 Jan 2012 10:44:23 +0000 (10:44 +0000)]
ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards

This patch adds support for the Sitecom WL-341 v3 and other Sercomm
IP1006RRv2 based boards for sysupgrade support and for the initial
flash through pushbutton initiated recovery mode with the special
partition table and fixes for the quirks and things required by the
modified bootloader.

There is a known bug, Wi-Fi is not working on my board probably
because of the lack of RAM (the board only has 16MiB ram -- half of
the normal amount for non rebadged versions, but there is an empty
slot for another ram chip,) but I don't know for sure. The driver
loads but hostapd fails to load so I think it's not related to the
specific device except for the lack of RAM.

Moreover, only 7 of the 11 onboard leds are confirmed working, it
seems that one of the others is always on and the remaining ones are
connected to the wireless card leds already recognized by OpenWrt

[juhosg: reordered some parts in order to keep things sorted
alphabetically]

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>
SVN-Revision: 29910

12 years agomac80211: enable support for RaLink Rt53xx USB devices in rt2800usb
Gabor Juhos [Wed, 25 Jan 2012 07:44:46 +0000 (07:44 +0000)]
mac80211: enable support for RaLink Rt53xx USB devices in rt2800usb

Hi!

On Mon, Nov 14, 2011 at 03:01:34PM +0100, Daniel Golle wrote:
> The driver works quite nice and stable for me using a RaLink Rt5370 USB device.
>
> Signed-off-by: Daniel Golle <dgolle@allnet.de>
>
> Index: package/mac80211/Makefile
> ===================================================================
> --- package/mac80211/Makefile (revision 29114)
> +++ package/mac80211/Makefile (working copy)
> @@ -1147,6 +1147,7 @@
>   CONFIG_RT2800_LIB=$(if $(CONFIG_PACKAGE_kmod-rt2800-lib),m) \
>   CONFIG_RT2800PCI=$(if $(CONFIG_PACKAGE_kmod-rt2800-pci),m) \
>   CONFIG_RT2800USB=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),m) \
> + CONFIG_RT2800USB_RT53XX=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),y) \
>   CONFIG_RTL8180=$(if $(CONFIG_PACKAGE_kmod-rtl8180),m) \
>   CONFIG_RTL8187=$(if $(CONFIG_PACKAGE_kmod-rtl8187),m) \
>   CONFIG_RTL8192CE= \

Aparently this was wrong, CONFIG_RT2800USB_RT53XX is supposed to live in
BUILDARGS rather than MAKE_OPTS to actually get support for the Rt5370.
Thanks to actmnophn for the hint!

This reverts changeset 29116 and adds it to the right section in the Makefile.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29906

12 years agoar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify...
Gabor Juhos [Wed, 25 Jan 2012 07:44:45 +0000 (07:44 +0000)]
ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour

This patch fixes the board detection of the TL-MR3020.

The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.

The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.

[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29905

12 years agoar71xx: TL-MR3020: fix GPIO polarity for button and switch
Gabor Juhos [Wed, 25 Jan 2012 07:44:43 +0000 (07:44 +0000)]
ar71xx: TL-MR3020: fix GPIO polarity for button and switch

This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29904

12 years agonetifd: update to latest, fixes a crash when the interface protocol was not specified
Felix Fietkau [Tue, 24 Jan 2012 21:44:00 +0000 (21:44 +0000)]
netifd: update to latest, fixes a crash when the interface protocol was not specified

SVN-Revision: 29903

12 years agohostapd: introduce a client_cert option which is passed on to wpa_supplicant (#8876)
Jo-Philipp Wich [Tue, 24 Jan 2012 20:54:13 +0000 (20:54 +0000)]
hostapd: introduce a client_cert option which is passed on to wpa_supplicant (#8876)

SVN-Revision: 29901

12 years agoar71xx: use the lzma loader on the Planex boards
Gabor Juhos [Tue, 24 Jan 2012 20:12:10 +0000 (20:12 +0000)]
ar71xx: use the lzma loader on the Planex boards

SVN-Revision: 29900

12 years agoar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
Gabor Juhos [Tue, 24 Jan 2012 20:12:08 +0000 (20:12 +0000)]
ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage

SVN-Revision: 29899

12 years agoar71xx: fix the AP/Router LED definitons on MZK-W300NH
Gabor Juhos [Tue, 24 Jan 2012 18:40:38 +0000 (18:40 +0000)]
ar71xx: fix the AP/Router LED definitons on MZK-W300NH

SVN-Revision: 29897

12 years agoar71xx: preset WLAN LED config on MZK-W300NH
Gabor Juhos [Tue, 24 Jan 2012 18:40:36 +0000 (18:40 +0000)]
ar71xx: preset WLAN LED config on MZK-W300NH

SVN-Revision: 29896

12 years agoar71xx: remove hardcoded MTD layout from planex files
Gabor Juhos [Tue, 24 Jan 2012 18:40:34 +0000 (18:40 +0000)]
ar71xx: remove hardcoded MTD layout from planex files

SVN-Revision: 29895

12 years agoar71xx: pass mtdlayout to Planex boards via command line
Gabor Juhos [Tue, 24 Jan 2012 18:40:33 +0000 (18:40 +0000)]
ar71xx: pass mtdlayout to Planex boards via command line

SVN-Revision: 29894

12 years agoar71xx: remove an unused header file
Gabor Juhos [Tue, 24 Jan 2012 18:40:31 +0000 (18:40 +0000)]
ar71xx: remove an unused header file

SVN-Revision: 29893

12 years agoramips: generate sysupgrade image for the ALL0256N
Gabor Juhos [Tue, 24 Jan 2012 11:48:48 +0000 (11:48 +0000)]
ramips: generate sysupgrade image for the ALL0256N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29884

12 years agoramips: add user-space support for ALL0256N
Gabor Juhos [Tue, 24 Jan 2012 11:48:47 +0000 (11:48 +0000)]
ramips: add user-space support for ALL0256N

This adds uci-defaults and sysupgrade support for the ALL0256N.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29883

12 years agoramips: add kernel support for ALL0256N
Gabor Juhos [Tue, 24 Jan 2012 11:48:45 +0000 (11:48 +0000)]
ramips: add kernel support for ALL0256N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29882

12 years agoInitial DSL framework
John Crispin [Tue, 24 Jan 2012 11:31:23 +0000 (11:31 +0000)]
Initial DSL framework

- Removed ifx_cpe_control_init.sh (the old init script)
- Created dsl_control (/etc/init.d)
- tidied up start and stop
- stop calls dsl_notify before killing daemon
- has status and lucistat options to provide detail
- copes with daemon not running situation
- Updated package makefile to use new init script and to build cli support
- Provide a dsl_notify.sh script to cope with line up/down events

Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk>
SVN-Revision: 29881

12 years agoar71xx: nuke fs_all variable in image/Makefile
Gabor Juhos [Tue, 24 Jan 2012 09:47:25 +0000 (09:47 +0000)]
ar71xx: nuke fs_all variable in image/Makefile

SVN-Revision: 29880

12 years agoar71xx: create interim kernel files in a separate dir
Gabor Juhos [Tue, 24 Jan 2012 09:47:23 +0000 (09:47 +0000)]
ar71xx: create interim kernel files in a separate dir

This reduces the size of the ImageBuilder tarball a lot.

SVN-Revision: 29879

12 years agoar71xx: prebuild all loaders in Image/Prepare stage
Gabor Juhos [Tue, 24 Jan 2012 09:47:22 +0000 (09:47 +0000)]
ar71xx: prebuild all loaders in Image/Prepare stage

SVN-Revision: 29878

12 years agoImageBuilder: respect the PROFILE parameter
Gabor Juhos [Tue, 24 Jan 2012 09:47:20 +0000 (09:47 +0000)]
ImageBuilder: respect the PROFILE parameter

Based on a patch from #10766

SVN-Revision: 29877

12 years agohostapd: merge an upstream workaround for broken clients sending the wrong wpa type...
Felix Fietkau [Tue, 24 Jan 2012 01:49:23 +0000 (01:49 +0000)]
hostapd: merge an upstream workaround for broken clients sending the wrong wpa type (should fix #9561)

SVN-Revision: 29876

12 years agoramips: scripts updates
Gabor Juhos [Mon, 23 Jan 2012 10:23:32 +0000 (10:23 +0000)]
ramips: scripts updates

In this patch:

* rename Argus leds to avoid underscores
* rename Belkin F5D8235 v1 leds from f5d8234 to f5d8235
* remove Belkin F5D8235 v1 status led defined as storage led (it was
  defined as usb led earlier, just in wrong place) - it should have
  router led as in v2
* add Argus, Sparklan and Belkin F5D8235 v2 status leds
* add Belkin F5D8235 v1 and v2 usb leds
* fix Belkin F5D8235 v2 network config generation and mac address axtraction
* fix Sparklan board identification
* add Sparklan usb led (this board doesn't have usb connector by
  default and the led is hidden also but if you are going to solder
  the connector then you'll see the led too)
* add Sparklan network config generation and mac address extraction
* fix empty string test in network script and...
* ...sort case entries by the first board in the list

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29871

12 years agoar71xx: 3.2: fix build errors if PCI is not enabled
Gabor Juhos [Mon, 23 Jan 2012 08:52:21 +0000 (08:52 +0000)]
ar71xx: 3.2: fix build errors if PCI is not enabled

SVN-Revision: 29870

12 years agoar71xx: fix compiler warning if PCI is not enabled
Gabor Juhos [Mon, 23 Jan 2012 08:52:18 +0000 (08:52 +0000)]
ar71xx: fix compiler warning if PCI is not enabled

SVN-Revision: 29869

12 years agoar71xx: add initial support for 3.2
Gabor Juhos [Sun, 22 Jan 2012 22:38:19 +0000 (22:38 +0000)]
ar71xx: add initial support for 3.2

Tested on the following boards:
  ALFA AP96
  TL-MR3220 v1
  TL-WR1043ND v1
  TL-WR2543ND v1
  TL-WR703N v1
  TL-WR741ND v1
  TL-WR741ND v4
  WNDR3700 v1
  WZR-HP-G300NH

SVN-Revision: 29868

12 years agoar71xx: move arch specific files to files-2.6.39
Gabor Juhos [Sun, 22 Jan 2012 22:38:11 +0000 (22:38 +0000)]
ar71xx: move arch specific files to files-2.6.39

SVN-Revision: 29867

12 years agoar71xx: build ALFA AP96 images with default profile as well
Gabor Juhos [Sun, 22 Jan 2012 22:33:15 +0000 (22:33 +0000)]
ar71xx: build ALFA AP96 images with default profile as well

SVN-Revision: 29866

12 years agobase-files: add a uci-defaults script which will migrate the root password to /etc...
Jo-Philipp Wich [Sun, 22 Jan 2012 22:25:42 +0000 (22:25 +0000)]
base-files: add a uci-defaults script which will migrate the root password to /etc/shadow if needed

SVN-Revision: 29865

12 years agonetifd: update to latest version, add some more status info and rework shell proto...
Felix Fietkau [Sun, 22 Jan 2012 21:14:30 +0000 (21:14 +0000)]
netifd: update to latest version, add some more status info and rework shell proto handler support

SVN-Revision: 29864

12 years agonetifd: always issue a reload on ifup, not just for -a
Felix Fietkau [Sun, 22 Jan 2012 21:14:26 +0000 (21:14 +0000)]
netifd: always issue a reload on ifup, not just for -a

SVN-Revision: 29863

12 years agobase-files: the initial hotplug2 instance sometimes misses a few relevant events...
Felix Fietkau [Sun, 22 Jan 2012 21:14:22 +0000 (21:14 +0000)]
base-files: the initial hotplug2 instance sometimes misses a few relevant events, e.g. during module load. rerun udevtrigger for the final hotplug2 instance to fix this

SVN-Revision: 29862