openwrt.git
11 years agoramips: Add switch setup to uci network defaults
juhosg [Wed, 29 Aug 2012 10:37:38 +0000 (10:37 +0000)]
ramips: Add switch setup to uci network defaults

Add switch setup to uci network defaults.

The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: Add swconfig support to ramips_esw.c
juhosg [Wed, 29 Aug 2012 10:37:36 +0000 (10:37 +0000)]
ramips: Add swconfig support to ramips_esw.c

Add swconfig support to ramips_esw.c

This patch adds swconfig support for ramips_esw:

Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.

The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: ramips_esw.c indentation cleanup
juhosg [Wed, 29 Aug 2012 10:37:35 +0000 (10:37 +0000)]
ramips: ramips_esw.c indentation cleanup

Minor indentation cleanup.

Prepare for the main swconfig patch by cleaning up indentation a bit.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211/rt2800: integrate cosmetic changes in rt3352 support
juhosg [Wed, 29 Aug 2012 10:37:33 +0000 (10:37 +0000)]
mac80211/rt2800: integrate cosmetic changes in rt3352 support

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33297 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agouboot-envtools: add configration for ramips devices
juhosg [Wed, 29 Aug 2012 10:37:32 +0000 (10:37 +0000)]
uboot-envtools: add configration for ramips devices

uboot-env settings for ALL0239-3G, ALL0256N, ALL5002.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33296 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: image: fix Profile name for TL-WA701 (closes #12094)
juhosg [Wed, 29 Aug 2012 10:37:30 +0000 (10:37 +0000)]
ar71xx: image: fix Profile name for TL-WA701 (closes #12094)

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

11 years agoar71xx: Buffalo WZR-HP-AG300H LED support
juhosg [Wed, 29 Aug 2012 10:11:55 +0000 (10:11 +0000)]
ar71xx: Buffalo WZR-HP-AG300H LED support

An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoiwinfo: add hwinfo for Rt3050 and maintain alphabetic order
jow [Wed, 29 Aug 2012 10:10:46 +0000 (10:10 +0000)]
iwinfo: add hwinfo for Rt3050 and maintain alphabetic order

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33293 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[openssl] revert threadsafe patch
blogic [Wed, 29 Aug 2012 10:08:30 +0000 (10:08 +0000)]
[openssl] revert threadsafe patch

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

11 years ago[package] ppp: introduce "authfail" option which specifies whether pppd should attemp...
jow [Wed, 29 Aug 2012 10:07:08 +0000 (10:07 +0000)]
[package] ppp: introduce "authfail" option which specifies whether pppd should attempt to re-authenticate after a failed PAP/CHAP auth

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

11 years agoath9k: add fix to improve reliability of powersave clients
nbd [Wed, 29 Aug 2012 08:16:34 +0000 (08:16 +0000)]
ath9k: add fix to improve reliability of powersave clients

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

11 years agomac80211: reorganize patches
nbd [Wed, 29 Aug 2012 08:16:31 +0000 (08:16 +0000)]
mac80211: reorganize patches

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

11 years agogemini: fix bus ids for PHY devices (closes: #12082)
juhosg [Mon, 27 Aug 2012 18:09:57 +0000 (18:09 +0000)]
gemini: fix bus ids for PHY devices (closes: #12082)

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

11 years agoar71xx: add profile for Allnet devices
juhosg [Mon, 27 Aug 2012 14:55:38 +0000 (14:55 +0000)]
ar71xx: add profile for Allnet devices

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: generate image for ALL0315N
juhosg [Mon, 27 Aug 2012 14:55:37 +0000 (14:55 +0000)]
ar71xx: generate image for ALL0315N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: sysupgrade for the ALL0315N
juhosg [Mon, 27 Aug 2012 14:55:36 +0000 (14:55 +0000)]
ar71xx: sysupgrade for the ALL0315N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: rename all0258n.sh to allnet.sh
juhosg [Mon, 27 Aug 2012 14:55:35 +0000 (14:55 +0000)]
ar71xx: rename all0258n.sh to allnet.sh

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agouboot-envtools: add configuration for ALL0315N
juhosg [Mon, 27 Aug 2012 14:55:33 +0000 (14:55 +0000)]
uboot-envtools: add configuration for ALL0315N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33283 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: detect ALL0315N board
juhosg [Mon, 27 Aug 2012 14:55:32 +0000 (14:55 +0000)]
ar71xx: detect ALL0315N board

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add support for the Allnet ALL0315N board
juhosg [Mon, 27 Aug 2012 14:55:31 +0000 (14:55 +0000)]
ar71xx: add support for the Allnet ALL0315N board

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
juhosg [Mon, 27 Aug 2012 14:55:26 +0000 (14:55 +0000)]
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: fix a crash on accessing stale skb->dev references
nbd [Mon, 27 Aug 2012 12:23:25 +0000 (12:23 +0000)]
mac80211: fix a crash on accessing stale skb->dev references

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

11 years agoath9k: fix PA predistortion training, fixes hang issues and most likely also fixes...
nbd [Mon, 27 Aug 2012 11:10:36 +0000 (11:10 +0000)]
ath9k: fix PA predistortion training, fixes hang issues and most likely also fixes #12073

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

11 years agoath9k: add a patch to fix ASPM related issues
nbd [Mon, 27 Aug 2012 11:07:23 +0000 (11:07 +0000)]
ath9k: add a patch to fix ASPM related issues

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

11 years agomadwifi: add mirror md5sum to fix issue with the disappeared svn repo (#12084)
nbd [Sun, 26 Aug 2012 20:47:39 +0000 (20:47 +0000)]
madwifi: add mirror md5sum to fix issue with the disappeared svn repo (#12084)

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

11 years agogeneric: add support for the EON EN25Q64 SPI flash chip
juhosg [Sun, 26 Aug 2012 09:27:56 +0000 (09:27 +0000)]
generic: add support for the EON EN25Q64 SPI flash chip

It is used in some TL-WDR4310 devices. Closes #12077.

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

11 years agoar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
juhosg [Sun, 26 Aug 2012 08:15:11 +0000 (08:15 +0000)]
ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N

Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[openssl] add missin -lpthread to the util - build bots spotted this
blogic [Sun, 26 Aug 2012 06:31:04 +0000 (06:31 +0000)]
[openssl] add missin -lpthread to the util - build bots spotted this

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

11 years agoar71xx: image: fix TL-WR1043ND board id (#12079)
juhosg [Sun, 26 Aug 2012 06:30:37 +0000 (06:30 +0000)]
ar71xx: image: fix TL-WR1043ND board id (#12079)

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

11 years agopackage/util-linux: don't lie about availability of '%ms' scanf modifier
juhosg [Fri, 24 Aug 2012 10:01:01 +0000 (10:01 +0000)]
package/util-linux: don't lie about availability of '%ms' scanf modifier

Use a patch from gentoo which allows building libmount even
if the C library does not supports %ms/%as.

See: https://bugs.gentoo.org/406303

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

11 years ago[openssl] add safethread
blogic [Fri, 24 Aug 2012 09:58:42 +0000 (09:58 +0000)]
[openssl] add safethread

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

11 years ago[kirkwood] Enable eSATA sheevaplug
blogic [Fri, 24 Aug 2012 06:15:06 +0000 (06:15 +0000)]
[kirkwood] Enable eSATA sheevaplug

OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables
CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition
is compiled in.

Signed-off-by: Unai Uribarri <unaiur@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33266 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopackage/uboot-envtools: always install the fw_setenv symlink
juhosg [Thu, 23 Aug 2012 14:27:36 +0000 (14:27 +0000)]
package/uboot-envtools: always install the fw_setenv symlink

It is required by sysupgrade on some boards, and it is only
working if a suitable /etc/fw_env.config is present on the
target board. If an user creates such configuration he/she
should know that it is a dangerous tool. The devices can
be bricked in several other ways anyway.

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

11 years agoar71xx: image: group and sort {Single,Multi}Profiles
juhosg [Thu, 23 Aug 2012 13:17:47 +0000 (13:17 +0000)]
ar71xx: image: group and sort {Single,Multi}Profiles

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

11 years agoar71xx: image: group and sort mtdlayout definitions
juhosg [Thu, 23 Aug 2012 13:14:35 +0000 (13:14 +0000)]
ar71xx: image: group and sort mtdlayout definitions

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

11 years agoar71xx: image: use the MultiProfile helper for the Madwifi profile
juhosg [Thu, 23 Aug 2012 13:11:25 +0000 (13:11 +0000)]
ar71xx: image: use the MultiProfile helper for the Madwifi profile

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

11 years agoar71xx: image: automatically build a list of SingleProfiles
juhosg [Thu, 23 Aug 2012 13:08:15 +0000 (13:08 +0000)]
ar71xx: image: automatically build a list of SingleProfiles

Use that for Default/Minimal profiles.

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

11 years agoar71xx: image: use the new helpers for the ZyXEL images
juhosg [Thu, 23 Aug 2012 13:05:05 +0000 (13:05 +0000)]
ar71xx: image: use the new helpers for the ZyXEL images

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

11 years agoar71xx: image: use the new helpers for the Zcomax images
juhosg [Thu, 23 Aug 2012 13:01:55 +0000 (13:01 +0000)]
ar71xx: image: use the new helpers for the Zcomax images

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

11 years agoar71xx: image: use the new helpers for the WRT400 images
juhosg [Thu, 23 Aug 2012 12:58:45 +0000 (12:58 +0000)]
ar71xx: image: use the new helpers for the WRT400 images

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

11 years agoar71xx: image: use the new helpers for the WZRHPG30XNH images
juhosg [Thu, 23 Aug 2012 12:55:35 +0000 (12:55 +0000)]
ar71xx: image: use the new helpers for the WZRHPG30XNH images

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

11 years agoar71xx: image: use the new helpers for the WHRHPG300N images
juhosg [Thu, 23 Aug 2012 12:52:25 +0000 (12:52 +0000)]
ar71xx: image: use the new helpers for the WHRHPG300N images

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

11 years agoar71xx: image: use the new helpers for the UBNTXM images
juhosg [Thu, 23 Aug 2012 12:49:15 +0000 (12:49 +0000)]
ar71xx: image: use the new helpers for the UBNTXM images

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

11 years agoar71xx: image: use the new helpers for the UBNT images
juhosg [Thu, 23 Aug 2012 12:46:06 +0000 (12:46 +0000)]
ar71xx: image: use the new helpers for the UBNT images

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

11 years agoar71xx: image: use the new helpers for the TPLINKOLD images
juhosg [Thu, 23 Aug 2012 12:42:56 +0000 (12:42 +0000)]
ar71xx: image: use the new helpers for the TPLINKOLD images

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

11 years agoar71xx: image: use the new helpers for the TPLINK-LZMA images
juhosg [Thu, 23 Aug 2012 12:39:46 +0000 (12:39 +0000)]
ar71xx: image: use the new helpers for the TPLINK-LZMA images

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

11 years agoar71xx: image: use the new helpers for the TPLINK images
juhosg [Thu, 23 Aug 2012 12:36:35 +0000 (12:36 +0000)]
ar71xx: image: use the new helpers for the TPLINK images

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

11 years agoar71xx: image: use the new helpers for the Planex images
juhosg [Thu, 23 Aug 2012 12:33:25 +0000 (12:33 +0000)]
ar71xx: image: use the new helpers for the Planex images

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

11 years agoar71xx: image: use the new helpers for the PB4X images
juhosg [Thu, 23 Aug 2012 12:30:15 +0000 (12:30 +0000)]
ar71xx: image: use the new helpers for the PB4X images

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

11 years agoar71xx: image: use the new helpers for the OpenMesh images
juhosg [Thu, 23 Aug 2012 12:27:06 +0000 (12:27 +0000)]
ar71xx: image: use the new helpers for the OpenMesh images

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

11 years agoar71xx: image: use the new helpers for the Netgear images
juhosg [Thu, 23 Aug 2012 12:23:56 +0000 (12:23 +0000)]
ar71xx: image: use the new helpers for the Netgear images

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

11 years agoar71xx: image: use the new helpers for the MyLoader images
juhosg [Thu, 23 Aug 2012 12:20:46 +0000 (12:20 +0000)]
ar71xx: image: use the new helpers for the MyLoader images

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

11 years agoar71xx: image: use the new helpers for the DIR825B1 images
juhosg [Thu, 23 Aug 2012 12:17:36 +0000 (12:17 +0000)]
ar71xx: image: use the new helpers for the DIR825B1 images

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

11 years agoar71xx: image: use the new helpers for the CyberTAN images
juhosg [Thu, 23 Aug 2012 12:14:26 +0000 (12:14 +0000)]
ar71xx: image: use the new helpers for the CyberTAN images

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

11 years agoar71xx: image: use the new helpers for the Cameo933x images
juhosg [Thu, 23 Aug 2012 12:11:17 +0000 (12:11 +0000)]
ar71xx: image: use the new helpers for the Cameo933x images

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

11 years agoar71xx: image: use the new helpers for the Cameo913x images
juhosg [Thu, 23 Aug 2012 12:08:07 +0000 (12:08 +0000)]
ar71xx: image: use the new helpers for the Cameo913x images

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

11 years agoar71xx: image: use the new helpers for the Cameo7240 images
juhosg [Thu, 23 Aug 2012 12:04:57 +0000 (12:04 +0000)]
ar71xx: image: use the new helpers for the Cameo7240 images

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

11 years agoar71xx: image: use the new helpers for the AthGzip images
juhosg [Thu, 23 Aug 2012 12:01:47 +0000 (12:01 +0000)]
ar71xx: image: use the new helpers for the AthGzip images

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

11 years agoar71xx: image: use the new helpers for the AthLzma images
juhosg [Thu, 23 Aug 2012 11:58:37 +0000 (11:58 +0000)]
ar71xx: image: use the new helpers for the AthLzma images

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

11 years agoar71xx: image: use the new helpers for the ALFA images
juhosg [Thu, 23 Aug 2012 11:55:27 +0000 (11:55 +0000)]
ar71xx: image: use the new helpers for the ALFA images

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

11 years agoar71xx: image: add a few helper functions
juhosg [Thu, 23 Aug 2012 11:52:18 +0000 (11:52 +0000)]
ar71xx: image: add a few helper functions

These functions will be used to simplify the Makefile.

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

11 years agoar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
juhosg [Thu, 23 Aug 2012 11:49:07 +0000 (11:49 +0000)]
ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template

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

11 years ago[brcm47xx] update profiles
hauke [Wed, 22 Aug 2012 21:54:06 +0000 (21:54 +0000)]
[brcm47xx] update profiles

* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder

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

11 years agoar71xx: add profile and build image for the TEW-712BR
juhosg [Wed, 22 Aug 2012 20:18:44 +0000 (20:18 +0000)]
ar71xx: add profile and build image for the TEW-712BR

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

11 years agotools/firmware-utils: add a new tool for TEW-712BR firmware generation
juhosg [Wed, 22 Aug 2012 20:15:34 +0000 (20:15 +0000)]
tools/firmware-utils: add a new tool for TEW-712BR firmware generation

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

11 years agoar71xx: TEW-712BR user space support
juhosg [Wed, 22 Aug 2012 20:12:24 +0000 (20:12 +0000)]
ar71xx: TEW-712BR user space support

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

11 years agoar71xx: add support for the TRENDnet TEW-712BR board
juhosg [Wed, 22 Aug 2012 20:09:13 +0000 (20:09 +0000)]
ar71xx: add support for the TRENDnet TEW-712BR board

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

11 years agoar71xx: fix serial clock calculation on AR933x
juhosg [Wed, 22 Aug 2012 19:11:10 +0000 (19:11 +0000)]
ar71xx: fix serial clock calculation on AR933x

Closes #12031.

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

11 years agoramips: fix board parameter for the NBG-419N (#12061)
juhosg [Wed, 22 Aug 2012 17:55:12 +0000 (17:55 +0000)]
ramips: fix board parameter for the NBG-419N (#12061)

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

11 years ago[target] derive system from hostcc to allow building inside a chroot
blogic [Wed, 22 Aug 2012 15:07:32 +0000 (15:07 +0000)]
[target] derive system from hostcc to allow building inside a chroot

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

11 years agoar71xx: fix comment style in mach-tl-wr2543n.c
juhosg [Wed, 22 Aug 2012 12:42:59 +0000 (12:42 +0000)]
ar71xx: fix comment style in mach-tl-wr2543n.c

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

11 years agoar71xx: fix mtd layout of the AP113
juhosg [Wed, 22 Aug 2012 12:39:46 +0000 (12:39 +0000)]
ar71xx: fix mtd layout of the AP113

The 'mtdparts=' prefix and the name of the flash device is missing.

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

11 years agoramips: add profile for Allnet devices
juhosg [Wed, 22 Aug 2012 12:36:35 +0000 (12:36 +0000)]
ramips: add profile for Allnet devices

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33225 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add ALL0305 board alias
juhosg [Wed, 22 Aug 2012 12:33:22 +0000 (12:33 +0000)]
ar71xx: add ALL0305 board alias

For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add RSSI leds for uci-defaults for ALL0256N
juhosg [Wed, 22 Aug 2012 09:46:30 +0000 (09:46 +0000)]
ramips: add RSSI leds for uci-defaults for ALL0256N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33220 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add support for TP-Link TL-WDR3600
juhosg [Wed, 22 Aug 2012 09:43:18 +0000 (09:43 +0000)]
ar71xx: add support for TP-Link TL-WDR3600

The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[tools] tools/firmware-utils/ptgen option to use MB rounding
blogic [Wed, 22 Aug 2012 09:22:38 +0000 (09:22 +0000)]
[tools] tools/firmware-utils/ptgen option to use MB rounding

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

11 years agolantiq: dsl: fix status polling loop
blogic [Wed, 22 Aug 2012 09:19:11 +0000 (09:19 +0000)]
lantiq: dsl: fix status polling loop

doesn't need to do it 20 times all the time, missing loop condition check

Signed-off-by: Conor O'Gorman <i@conorogorman.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33217 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agodnsmasq: Set prefix on-link bit in RAs
blogic [Wed, 22 Aug 2012 09:14:42 +0000 (09:14 +0000)]
dnsmasq: Set prefix on-link bit in RAs

This is fix an issue with dnsmasq's RA that does not set the "on-link" bit, making all local IPv6 traffic go to the router then to the destination host, not directly to each other.

patch is from dnsmasq git

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

11 years agoadd led defintion for the WR2543 5GHz WLAN LED
blogic [Wed, 22 Aug 2012 09:10:24 +0000 (09:10 +0000)]
add led defintion for the WR2543 5GHz WLAN LED

Signed-off-by: Andy Leiserson <andy@leiserson.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33215 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] comgt: handle service mode for Huawai modems (#12039)
jow [Sun, 19 Aug 2012 15:59:24 +0000 (15:59 +0000)]
[package] comgt: handle service mode for Huawai modems (#12039)

It seems that the comgt package does not handle the Huawei 3G USB dongle E176 correctly (and probably other Huawei dongles too). My dongle appears as ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem and 3G/UMTS
connections work well. However, no connection is established if only 2G/GPRS is available: the pppd chat script fails with NO CARRIER although the dongle is registered to the network (via 2G). As outlined in  this wiki or  this
blog, Huawei chips use the AT^SYSCFG command to set 2G or 3G mode, which is not implemented in comgt at the moment. Thus I wrote a patch for /lib/network/3g.sh which adds support for the "service" option in the network
configuration with Huawei dongles. By default (if no "service" option is specified) also 2G is used when 3G is unavailable. The Huawei dongle is detected analogously to other chips (the output of gcom -d /dev/ttyUSB0 -s
/etc/gcom/getcardinfo.gcom is scanned for huawei).

Some further information: The AT^SYSCFG command seems to be respected only once after the dongle is attached (or after the host is powered up). Resetting the dongle seems to render the serial port unusable in some cases.
However, the patch sets a useful mode by default which should cover most use cases (3G preferred, but 2G allowed) and if 3G-only or 2G-only mode is required the device can be power cycled.

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

11 years ago[brcm47xx] remove unused file
hauke [Sat, 18 Aug 2012 15:45:18 +0000 (15:45 +0000)]
[brcm47xx] remove unused file

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

11 years ago[brcm47xx] make brcm47xx build only with bcma or only with ssb support.
hauke [Sat, 18 Aug 2012 14:08:35 +0000 (14:08 +0000)]
[brcm47xx] make brcm47xx build only with bcma or only with ssb support.

There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.

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

11 years ago[brcm47xx] update gpio patches
hauke [Sat, 18 Aug 2012 11:51:35 +0000 (11:51 +0000)]
[brcm47xx] update gpio patches

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

11 years agoramips: add board alias for the ALL0239-3G
juhosg [Fri, 17 Aug 2012 17:56:07 +0000 (17:56 +0000)]
ramips: add board alias for the ALL0239-3G

Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.

The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.

I'm working on implementing fixtrx for uImage in the mtd package to solve this.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33206 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add support for D-Link DIR-615 H1
juhosg [Fri, 17 Aug 2012 17:56:05 +0000 (17:56 +0000)]
ramips: add support for D-Link DIR-615 H1

rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.

[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotools/firmware-utils: add tool for DIR-651-H1 firmware generation
juhosg [Fri, 17 Aug 2012 17:56:02 +0000 (17:56 +0000)]
tools/firmware-utils: add tool for DIR-651-H1 firmware generation

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33204 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: setup WLAN LED for the TL-WA901ND v2
juhosg [Thu, 16 Aug 2012 07:11:30 +0000 (07:11 +0000)]
ar71xx: setup WLAN LED for the TL-WA901ND v2

Closes #11889.

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

11 years ago[package] acx-mac80211: depend on mipsel, not mips since AR7 is low endian
jow [Thu, 16 Aug 2012 01:24:46 +0000 (01:24 +0000)]
[package] acx-mac80211: depend on mipsel, not mips since AR7 is low endian

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

11 years agoiwinfo: add hwinfo for Rt3052
jow [Wed, 15 Aug 2012 20:22:35 +0000 (20:22 +0000)]
iwinfo: add hwinfo for Rt3052

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33200 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoiwinfo: add hw info support for Rt3xxx SoCs
jow [Wed, 15 Aug 2012 16:25:38 +0000 (16:25 +0000)]
iwinfo: add hw info support for Rt3xxx SoCs

This takes the device_id and subsystem_id from the EEPROM, I'll add
the info for other Rt3xxx chips in the next days.

[jow: minor whitespace changes]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33199 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath5k: add back a patch for fixing eeprom rate power parsing
nbd [Wed, 15 Aug 2012 14:49:59 +0000 (14:49 +0000)]
ath5k: add back a patch for fixing eeprom rate power parsing

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

11 years ago[buildroot] make static host utility linking default to off
jow [Wed, 15 Aug 2012 13:31:31 +0000 (13:31 +0000)]
[buildroot] make static host utility linking default to off

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

11 years ago[iamgebuilder] use bundle-libraries.sh to install required host utilities into imageb...
jow [Wed, 15 Aug 2012 13:28:26 +0000 (13:28 +0000)]
[iamgebuilder] use bundle-libraries.sh to install required host utilities into imagebuilder staging tree

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

11 years ago[scripts] add a helper script to bundle required libraries for host utilities
jow [Wed, 15 Aug 2012 13:28:23 +0000 (13:28 +0000)]
[scripts] add a helper script to bundle required libraries for host utilities

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

11 years agopackage/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx
juhosg [Wed, 15 Aug 2012 13:27:55 +0000 (13:27 +0000)]
package/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx

If the package is installed, it starts the watchdog daemon
on every ar71xx based board.

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

11 years agogeneric: extend pci_isable_usb_common_quirks patch
juhosg [Wed, 15 Aug 2012 13:26:51 +0000 (13:26 +0000)]
generic: extend pci_isable_usb_common_quirks patch

Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

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

11 years ago[x86] set xen images to gzip compression, fixes #11970
blogic [Wed, 15 Aug 2012 09:20:12 +0000 (09:20 +0000)]
[x86] set xen images to gzip compression, fixes #11970

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

11 years ago[mcs814x] MCS8140 actually selects CPU_ARM926T
florian [Tue, 14 Aug 2012 16:19:30 +0000 (16:19 +0000)]
[mcs814x] MCS8140 actually selects CPU_ARM926T

Should make inclusion for other MCS814x SoCs easier

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

11 years agoiwinfo: add some Atheros cards
jow [Tue, 14 Aug 2012 13:58:49 +0000 (13:58 +0000)]
iwinfo: add some Atheros cards

These are two Atheros modules we are using, just for the cosmetics to make them
show up with the proper names in LuCI.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33186 3c298f89-4303-0410-b956-a3cf2f4a3e73