1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 00:45:21 +02:00
Commit Graph

8916 Commits

Author SHA1 Message Date
acinonyx
c7ddcfd108 [x86] alix2, geos: Adjust CFLAGS
Clone of CFLAGS change from r30013 into Geos and Alix platforms.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-07 13:00:47 +00:00
nbd
6c242e52a8 kernel: add a recent upstream commit (post-3.3) to the ssb update patch, required for the next mac80211 update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-07 11:28:06 +00:00
acinonyx
c34ae937e0 [x86] generic: Enable HPET, HID and AT keyboard support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-05 17:56:04 +00:00
acinonyx
a917102339 [x86] generic: Add missing and remove unused config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-04 20:45:17 +00:00
jogo
9a987b468a brcm63xx: add support for linux 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-04 10:17:27 +00:00
jogo
0054748514 kernel: fix netfilter layer7 compilation in 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-04 10:17:14 +00:00
jogo
f4e4e8cad9 x86: make alix platform patch apply to 3.3
Based on a patch from Philip Prindeville.

While at it, also refresh the patches.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 20:17:00 +00:00
jow
67afb34982 [x86] disable additional PATA drivers in global 3.2 and 3.3 config, remove redundant symbols from alix2 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 19:47:55 +00:00
jow
eba1d3106d [PATCHv2 1/1] x86: trivial -- add missing CONFIG_GEOS symbol to top-level
So that builds don't stall in x86 prompting for this symbol.
[From Philip Prindeville, via http://patchwork.openwrt.org/patch/1828/]


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 19:21:41 +00:00
jow
7b270e443a [PATCH 1/1] geos: backport driver from linux-next to 3.2 and 3.3
The Geos driver is in linux-next and will be out in 3.4. It builds fine against 3.2.2 and 3.3-rc2.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 18:16:27 +00:00
jow
a2d95d4896 [PATCHv2 1/1] net5501: backport drivers from linux-next
Backport net5501 platform driver from 3.4.
Remove vestiges of old (pre-2.6.30) leds-net5501.c driver.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 18:14:02 +00:00
jow
cea253527a [PATCH 1/1] x86: move additional oddball PATA drivers
These should only be enabled in the generic image, as they bloat all of the other targets.
Also add symbols for NET5501, ALIX, and GEOS which were added backported to 3.2 and 3.3.
Restore PC speaker to Geos target.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 18:02:57 +00:00
jow
7e197aeecc [x86] 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. 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 14:19:29 +00:00
nbd
a5e6e41fc3 ar71xx: add usb on the pb92 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 09:44:51 +00:00
jogo
752da5903f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 21:01:59 +00:00
jow
f7a67f2173 [PATCH 1/1] 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  http://patchwork.openwrt.org/patch/1817/]


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 19:26:32 +00:00
jow
99a3240251 [x86] alix2, geos, net5501: remove kmod-ledtrig-netfilter, its not used by any standard system facility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 19:11:52 +00:00
jow
f637f45e67 [x86] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 19:06:22 +00:00
jow
9d45ed8b35 [x86] alix2, net5501: bump both subtargets to Linux 3.2.2 to align with the rest
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 19:00:40 +00:00
jow
0499d64f3d [x86] geos: add missing files from previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 18:59:51 +00:00
jow
76dfd53de0 [PATCH 2/2] 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  http://patchwork.openwrt.org/patch/1816/]


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 18:58:20 +00:00
jow
77840b96be [PATCH 1/2] 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  http://patchwork.openwrt.org/patch/1815/]


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 18:44:35 +00:00
jow
77a6336d85 [PATCH] 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  http://patchwork.openwrt.org/patch/1802/]


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 18:41:10 +00:00
jogo
75d051e29d kernel: add preliminary support for linux 3.3
Based on 3.3-rc2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 08:23:54 +00:00
jow
2efef569b8 [PATCH] 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/]


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-01 15:31:23 +00:00
juhosg
efe78d1eeb ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 20:49:34 +00:00
juhosg
61fe64fa9d ar71xx: merge DIR-600 A1 and DIR-615 E4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:29 +00:00
juhosg
8be0cce7cc ar71xx: fix ethernet LEDs on the DIR-600-A1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:24 +00:00
juhosg
01af86f6ed ar71xx: unify LED names on D-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:15 +00:00
juhosg
65ca4389f1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:09 +00:00
juhosg
4bc970ba4f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:01 +00:00
juhosg
796a085cac ar71xx: compress kernel binaries in Image/Prepare stage
The lzma compressed kernel is used by one of the loaders.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:54 +00:00
juhosg
41e9c172ba ar71xx: use dynamically allocated partitions in wrt160nl_part
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:51 +00:00
juhosg
b623047424 ramips: change vlan_config for the ALFA W502U board
This change moves the WAN port into a separate VLAN.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:34:10 +00:00
jogo
06d197404b kernel: update linux 3.2 to 3.2.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 09:44:00 +00:00
jogo
e21718ae44 kernel: update linux 3.1 to 3.1.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 09:43:57 +00:00
jogo
4521add75d kernel: update linux 3.0 to 3.0.18
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 09:43:53 +00:00
florian
25bc7cfae8 [brcm63xx] build 96348R images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-30 21:12:32 +00:00
florian
6baeb520da [brcm63xx] remove support for 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-30 21:12:28 +00:00
florian
283043998c [brcm63xx] bump to 3.0.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-30 21:12:25 +00:00
florian
4a2187358a [au1000] add missing config symbols
Thanks KanjiMonster

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-30 10:53:20 +00:00
florian
55ef51a400 [kernel] fix gpiommc build failure with 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-30 10:53:16 +00:00
jow
4181b7c622 [x86] create a config-3.2 for upcoming changes, rebase config-default to 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-30 02:13:37 +00:00
florian
581e492dd6 [ep93xx] add default and Sim.One profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 15:00:36 +00:00
florian
658e7e8470 [ep93xx] add 3.2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 15:00:33 +00:00
florian
9c597f0c30 [kernel] add another 3.2 framebuffer symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 15:00:29 +00:00
florian
7b321c6ac4 [au1000] add support for 3.2 kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 15:00:25 +00:00
florian
ebbec463c7 [ar71xx] add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:49 +00:00
florian
ccc47d58db [ar71xx] refresh 3.2 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:43 +00:00
jow
6e5d8656ed [sdk] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 03:30:30 +00:00
hauke
8ba3ef273d brcm47xx: add fix for cardbus host controller
These devices have two devices on the bus, the host controller itself and the device.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 20:10:51 +00:00
juhosg
8fcb797999 ar71xx: use 64k block size for WZR-HP-AG300H
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 10:42:41 +00:00
juhosg
406018ae4d ar71xx: fix sysupgrade image building of atheros boards after r29899
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 07:51:09 +00:00
juhosg
72a8cff4c1 ar71xx: create the temporary directory before building initramfs images
Thanks to Florian for reporting.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 21:28:34 +00:00
juhosg
b8f0111122 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:44 +00:00
juhosg
af63c6a4f8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:41 +00:00
juhosg
537832ae56 generic: add WPE72 ID to myloader.h
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:38 +00:00
juhosg
57ffcdaccd 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 10:44:23 +00:00
juhosg
0bca69f7bf 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:45 +00:00
juhosg
f662489883 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:43 +00:00
juhosg
3f391b2e19 ar71xx: use the lzma loader on the Planex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:10 +00:00
juhosg
a805739180 ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:08 +00:00
juhosg
f2dce5bf3d ar71xx: fix the AP/Router LED definitons on MZK-W300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:38 +00:00
juhosg
280177d53b ar71xx: preset WLAN LED config on MZK-W300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:36 +00:00
juhosg
c8f5aae9fd ar71xx: remove hardcoded MTD layout from planex files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:34 +00:00
juhosg
8b3aaef2dd ar71xx: pass mtdlayout to Planex boards via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:33 +00:00
juhosg
7fe033da7a ar71xx: remove an unused header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:31 +00:00
juhosg
f57ff12b98 ramips: generate sysupgrade image for the ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 11:48:48 +00:00
juhosg
64435afc83 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 11:48:47 +00:00
juhosg
ad3e5bb078 ramips: add kernel support for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 11:48:45 +00:00
juhosg
3ea7ce5200 ar71xx: nuke fs_all variable in image/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:25 +00:00
juhosg
6c5c90403f ar71xx: create interim kernel files in a separate dir
This reduces the size of the ImageBuilder tarball a lot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:23 +00:00
juhosg
50e8ce781c ar71xx: prebuild all loaders in Image/Prepare stage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:22 +00:00
juhosg
619b319338 ImageBuilder: respect the PROFILE parameter
Based on a patch from #10766

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:20 +00:00
juhosg
20d9fd2c16 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 10:23:32 +00:00
juhosg
71feb1ed02 ar71xx: 3.2: fix build errors if PCI is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:21 +00:00
juhosg
be456a1234 ar71xx: fix compiler warning if PCI is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:18 +00:00
juhosg
e0b80e41eb 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:19 +00:00
juhosg
22b99f32a1 ar71xx: move arch specific files to files-2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:11 +00:00
juhosg
b66dee35c3 ar71xx: build ALFA AP96 images with default profile as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:33:15 +00:00
juhosg
99d51f00d6 generic: 3.2: allow to build myloader mtd parser for ATH79
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 18:43:39 +00:00
juhosg
7a77552c35 generic: allow to build myloader mtd parser for 3.2+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 18:36:49 +00:00
juhosg
608335c636 ramips fix f5d8235-v1 diag LED support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 18:11:39 +00:00
juhosg
acc9c3cbf5 ar71xx: wrt160nl_part: include module.h and fix compiler warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:38 +00:00
juhosg
681c0cf274 ar71xx: tplinkpart: include module.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:36 +00:00
juhosg
523cf1638c ar71xx: rename vsc7385 spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:57 +00:00
juhosg
e3c5dcc5ee ar71xx: rename ap81 spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:56 +00:00
juhosg
047bbb085a ar71xx: rename rb4xx spi drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:54 +00:00
juhosg
d73151f6d4 ar71xx: rename the nxp_74hc153 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:52 +00:00
juhosg
3746d2ed29 ar71xx: change board id of the UniFi board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:50 +00:00
juhosg
fa5eb96b17 ar71xx: include linux/module.h in the micrel phy driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:49 +00:00
juhosg
a40700d373 ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:43:23 +00:00
juhosg
e6804feade generic: 3.2: don't disable lockdep for OOT modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 09:57:39 +00:00
juhosg
e2bae31171 generic: rtl8366: add rtl8366_smi_write_reg_noack helper
After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-21 22:44:09 +00:00
hauke
6e809dd8f1 brcm47xx: add support for pcie host controller on bcma based SoCs.
This also adds minimal support for the BCMA43224 pcie wireless card.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-21 22:39:20 +00:00
juhosg
1047651f0e ramips: sysupgrade for ESR-9753
This patch add sysupgrade for Engenius ESR-9753

Signed-off-by: Artur Wronowski <arteqw@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 10:49:26 +00:00
jogo
2ea3aaed73 kernel: fix OCF for linux 3.2
Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 19:51:54 +00:00
jow
d5a63cc211 [adm5120] add missing kernel symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 01:57:22 +00:00
jow
429edf765e Make the grub timeout configurable on x86 targets
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 01:14:45 +00:00
jow
62b26e2933 x86/config-3.2: add linux-3.2 symbols for x86
The following symbols are missing for x86, in sorted order.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 00:31:39 +00:00
florian
60e384d276 [kernel] fix thinko in 102-ehci_hcd_ignore_oc patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 07:56:02 +00:00
blogic
220fd247bc [lantiq] gigaset 76x
* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 12:10:35 +00:00
blogic
03810204dc ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 11:23:11 +00:00
hauke
079a3384c5 brcm47xx: add support for kernel 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 21:18:34 +00:00
hauke
da271c7332 brcm47xx: run kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 14:53:32 +00:00
kaloz
6ca687282b [target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 23:02:56 +00:00
kaloz
399f89c7fc [generic/3.2]: fixup arm xz support with recent changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:55:04 +00:00
kaloz
e20c35f54d [generic/3.2]: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:53:28 +00:00
nbd
2b1f20d73e kernel: disable bridge igmp snooping in 3.2 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 14:57:03 +00:00
nbd
10b3a6c001 kernel: disable bridge igmp snooping by default to avoid multicast issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 13:50:25 +00:00
jogo
4773b5ef82 kernel: ppc40x: ppc44x: add missing kernel config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 12:04:17 +00:00
hauke
01cb3619d3 brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 20:11:23 +00:00
jow
3651d1c332 [generic] rtl8366: fix rtl8366_smi_detect() after r29677
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 19:17:58 +00:00
jogo
504d88e2ae brcm63xx: add support for linux 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:59:50 +00:00
jogo
04e6d374b6 kernel: add support for linux 3.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:55:07 +00:00
jogo
d828d77b46 kernel: backport overlayfs v11 to 3.0 and 2.6.39
Should fix whiteout issues and missing files when using extroot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:42:53 +00:00
jogo
f1f885a356 kernel: update linux 3.1 to 3.1.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:38:28 +00:00
jogo
6b4b162100 kernel: update linux 3.0 to 3.0.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:10:44 +00:00
nbd
63c3f72940 ar8216: use vlan configuration for connecting ports (forced to be untagged) even with vlan_enable=0, but keep them isolated before the switch has been configured
this makes enable_vlan=0 practical for vlan passthrough

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:11 +00:00
nbd
25b268205a ar8216: do not strip vlan tags when running with vlan_enable=0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:08 +00:00
juhosg
1b3efb3352 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
cshore
efab389042 [brcm63xx] Remove invalid LED GPIO from GW6200 board definition. GPIO 35 isn't intended to control ethernet LED (the led behaviour is a side effect) and using the gpio as an led causes kernel panics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 13:47:48 +00:00
juhosg
74844fd50b ar71xx: disable ath79 in order to get rid of Kconfig warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:19 +00:00
juhosg
6734a832bc ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:18 +00:00
juhosg
7bb349bc59 ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:17 +00:00
juhosg
ddfc10f668 ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:15 +00:00
juhosg
3e74da5245 ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:14 +00:00
juhosg
8e61fd2405 ar71xx: ar71xx_spi: save and restore regs from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:13 +00:00
juhosg
302dc3a936 ar71xx: ar71xx_wdt: add shutdown handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:11 +00:00
juhosg
0dad098602 ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:43 +00:00
juhosg
e1a6e8b311 ar71xx: add a profile and build images for the TL-WR2543N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:42 +00:00
juhosg
19be413163 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
juhosg
3e84f7b9f1 ar71xx: allow to specify max read size for m25p80
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.

Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:33 +00:00
juhosg
55772106df generic: add driver for the RTL8367R/M switches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:31 +00:00
juhosg
d80f2ee46b generic: rtl8366: preparing for RTL8367 support
* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:30 +00:00
juhosg
d43b4effd9 generic: rtl8366_smi: add timeout message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:25 +00:00
juhosg
54bc3d42c4 ar71xx: local mac support on the wndr3700
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
juhosg
c2243d1fb9 generic: improve MIPS kexec support
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/

Now the kernel can use the command line parameter from kexec-tools.

Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 16:29:16 +00:00
juhosg
66663e2809 ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
juhosg
01c809eff1 ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
juhosg
4c93839943 ar71xx: fix RB-750 network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
juhosg
c63a29ee7f ar71xx: fix sections mismatch warnings in the nand drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:33 +00:00
juhosg
978d04d680 ar71xx: fix LED configuration on the RB-750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:28 +00:00
juhosg
6c8dc3bd72 ar71xx: create profile and build image for the ALFA AP96 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:57 +00:00
juhosg
b8e2e95b70 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
juhosg
3d14a486be ar71xx: specify console kernel parameter for the Compex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:59 +00:00
juhosg
86c95a9481 ar71xx: allow to use the command line hack on compex devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:58 +00:00
juhosg
bf238aa8e9 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00
juhosg
c96ab77e4e ar71xx: show correct model name on TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:55 +00:00
juhosg
06483eda3d ar71xx: add profile and build image for the TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:54 +00:00
juhosg
342be7abf7 ar71xx: fix network configuration for the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:52 +00:00
juhosg
9229d15c65 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
juhosg
28c6546050 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:49 +00:00
juhosg
2b1cf2b32c ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00
juhosg
7e491e9a72 ar71xx: use the new om-watchdog package for OM2P
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:41 +00:00
jow
8b51caf859 [netfilter] remove current RTSP support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 00:29:29 +00:00
jow
8f76f46fa3 [generic] backport upstream commit e1738bd9cecc5c867b0e2996470c1ff20f66ba79 to affected kernels (#9802)
commit 8efa88540635 (sch_sfq: avoid giving spurious NET_XMIT_CN signals)
forgot to call qdisc_tree_decrease_qlen() to signal upper levels that a
packet (from another flow) was dropped, leading to various problems.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-03 23:08:15 +00:00
juhosg
ced006ab54 ar71xx: add profile and build factory image for the Hornet-UB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:29 +00:00
juhosg
adfe1a4686 ar71xx: build images for the ALFA Network N2/N5 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:28 +00:00
juhosg
fd1bdc7c45 ar71xx: add support for the ALFA Network N2/N5 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:25 +00:00
juhosg
a604775f66 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:46 +00:00
juhosg
5a33add62c ar71xx: enable SWCONFIG_LEDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:40 +00:00
juhosg
55894a40aa kernel: swconfig: introduce a generic switch LED trigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:30 +00:00
juhosg
b042bd4e4d ar71xx: ag71xx: implement get_port_{link,stats} callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:26 +00:00
juhosg
c400bf085d kernel: swconfig: add get_port_{link,stats} callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:24 +00:00
juhosg
096af0d2e8 ar71xx: fix LEDs on the WRT400N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 13:54:11 +00:00
juhosg
c1be681672 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:43 +00:00
juhosg
71c649d097 ramips: rt288x: change base address and window size of flash bank 0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:36 +00:00
juhosg
0cbcd33f32 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:32 +00:00
juhosg
0d1ced0ac9 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

Patch-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:59:43 +00:00
juhosg
2eb905f8ba ar71xx: fix sysupgrade on PB42/PB44 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:57:01 +00:00
juhosg
66769bfe50 ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:56:30 +00:00
jow
2c7dddc2ce [generic] add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-25 13:33:18 +00:00
hauke
71a38e2476 brcm47xx: fix usb on more recent bcma based devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 17:21:52 +00:00
juhosg
b95eb02775 ramips: initial support for Sitecom WL-351 v1 002
This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 14:27:16 +00:00
juhosg
a46cfc6bcc ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 14:27:10 +00:00
juhosg
f3c0d1bebb ramips: define firmware partition for Omnima MiniEMBWiFi
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 14:27:05 +00:00
nbd
2ca2cb6c37 ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-22 05:43:53 +00:00
jogo
c5ceea4e34 ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 19:32:40 +00:00
jow
674429b24f [ar71xx] the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id (#10649)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 01:27:48 +00:00
hauke
84d175a3f2 brcm47xx: remove patch starting adding brcm4716 to ssb
brcm4716 is supported by bcma now we do not need this patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:55:20 +00:00
hauke
9da7868465 brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:39:13 +00:00
hauke
a604d7454c kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:33:03 +00:00
hauke
84ddb1a863 brcm47xx: remove support for kernel 2.6.39
There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 23:26:15 +00:00
nbd
eaf9c95caf ar71xx: add missing wireless led changes for wzr-hp-g300nh2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 09:04:15 +00:00
nbd
cdf64b5cdc ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-18 22:20:17 +00:00
juhosg
c0f6abcdc6 ar71xx: use 64kraw template on more TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-17 18:49:55 +00:00
juhosg
12930c3272 ar71xx: connect GMAC0 to the internal switch on DB120
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:38 +00:00
juhosg
ba50354437 ar71xx: add defines for the AR934X GMAC interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:36 +00:00
juhosg
a55b188ebe ar71xx: fix GMAC1 interface speed on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:35 +00:00
juhosg
8e8e3fdde7 ar71xx: ag71xx: fix switch port setup for AR934X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:32 +00:00
juhosg
07d1bcb923 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:30 +00:00
juhosg
cb5f456a33 ar71xx: ag71xx: setup switch interface mode on AR934X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:29 +00:00
juhosg
f97a00297e ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:28 +00:00
juhosg
e61b2d1ed9 ar71xx: allow to attach the internal switch for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:22 +00:00
juhosg
812763d48e ar71xx: introduce ar71xx_switch_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:11 +00:00
juhosg
867f0fa967 ar71xx: build images for TL-WR741N/ND v2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:48 +00:00
juhosg
60c6b42122 ar71x: use raw squashfs images for TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:46 +00:00
juhosg
6c3fe396cd ar71xx: create a template for using unpadded squashfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:45 +00:00
juhosg
f2945360c1 ar71xx: put squash image right after the kernel on TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:44 +00:00
juhosg
57705b7a08 ar71xx: tplinkpart: allow to detect JFFS2 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:40 +00:00
juhosg
08d268c8a7 ar71xx: ag71xx: check PHY IDs before accessing the switch registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:23 +00:00
juhosg
a82d9221c9 ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:21 +00:00
juhosg
ba116ade9e ar71xx: ag71xx: nuke ar7240sw_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:20 +00:00
juhosg
803afe6e40 ar71xx: fix mac addresses on jjPlus devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:18 +00:00
juhosg
032d881496 ar71xx: build image for the Hornet-UB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:11 +00:00
juhosg
d8f4833329 ar71xx: add support for ALFA Network's Hornet-UB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:10 +00:00
juhosg
33334db9dc ar71xx: add GPIO function bit defines for AR933X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:07 +00:00
juhosg
2b913567e8 ramips: add support for Omnima MiniEMBWiFi board
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:51:26 +00:00
nbd
5841748e56 ar71xx: fix gpio count for ar7241/ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:47:24 +00:00
nbd
75bbe95c04 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:21:42 +00:00
nbd
dcf5cd5fc2 ath9k: add support for registering extra leds connected to the wmac gpio lines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:21:36 +00:00
juhosg
8b3380fefc ar71xx: get rid of squashfs-4k images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 20:41:24 +00:00
juhosg
05535c2766 generic: disable 'small sector' erase in m25p80 driver
This fixes the issues with the jffs2 images on various boards. Using
JFFS2 on devices with 4KiB erase sectors is not safe:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036591.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 20:41:22 +00:00
nbd
340372534c kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:14:59 +00:00
nbd
e7bf9d2f6d ar71xx: fix wireless led on wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:00:43 +00:00
juhosg
17595c4da2 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:43 +00:00
juhosg
6caa8876b2 ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:40 +00:00
nbd
ec66b62afa ar71xx: add gpios and usb for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 13:33:44 +00:00
juhosg
1e26277d1e ar71xx: use RedBoot parser on PB44
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-11 15:52:47 +00:00
blogic
6e7fe5572c [atheros] convert to gpiolib
Signed-off-by:	karlp@tweak.net.au

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-09 07:52:10 +00:00
juhosg
aa54ff79a0 ar71xx: fix WNDR3x00 factory image generation
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:50 +00:00
juhosg
e310d5b786 ar71xx: fix WNDR3x00 model detection
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:39 +00:00
juhosg
9de4cb5314 ramips: fix mac addresses on the DIR-300/600 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 20:06:08 +00:00
jogo
87cb2a5585 linux: update 3.1 to 3.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:30 +00:00
jogo
9556c47348 linux: update 3.0 to 3.0.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:25 +00:00
juhosg
56124f8782 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:44 +00:00
juhosg
a00ddbec78 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:43 +00:00
juhosg
8e71900eeb ar71xx: fix TL-MR3x20 profile names in image/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 13:53:21 +00:00
juhosg
05a6361449 ar71xx: cleanup TP-Link profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 10:29:25 +00:00
juhosg
ae0a750c4b ar71xx: add TP-Link board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:11:01 +00:00
juhosg
99997320ea ar71xx: use correct mac on the lan interface on several TP-LINK devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:58 +00:00
juhosg
a97fd90341 ar71xx: allow to pass negative offset values for ar71xx_init_mac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:55 +00:00
juhosg
097436bca8 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:21:15 +00:00
juhosg
f6ab961f67 ar71xx: verify hardware id of firmware images on TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:11:51 +00:00
juhosg
6f27fcc4b0 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:07 +00:00
juhosg
0a03c64116 ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:06 +00:00
juhosg
d7a5a32c17 ramips: use ramips_get_mac_* functions in the preinit script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:04 +00:00
juhosg
e595553be8 ramips: move ramips_get_mac_* functions to lib/ramips.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:03 +00:00
juhosg
5db41b5518 ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:02 +00:00
juhosg
8b0e381068 ramips: fix network configuration setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 16:54:48 +00:00
juhosg
baf6222ae5 ar71xx: reclaim some unused space on TP-Link boards
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:36 +00:00
juhosg
35606f14a3 ar71xx: check squashfs signature in TP-Link mtd parser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:33 +00:00
juhosg
7b716ce3ec ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:28 +00:00
juhosg
057c5990c9 ar71xx: add lzma loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:25 +00:00
nbd
c1679af6b3 ar71xx: add preliminary support for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
nbd
f684eb2454 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:44 +00:00
juhosg
44a7438217 ar71xx: rewrite WNDR3700/3800 handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
jow
62f688b6ec [ar71xx] add some missing wndr3800 base-files definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:21 +00:00
juhosg
1f7d4ca407 ar71xx: change user-space board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:20 +00:00