Commit graph

231 commits

Author SHA1 Message Date
Felix Fietkau
07754ac297 ramips: enable sysupgrade for whr-600d, whr-1166d
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43213
2014-11-08 12:18:58 +00:00
John Crispin
cadf517107 ralink: add support for mt7628
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43197
2014-11-06 09:31:31 +00:00
Imre Kaloz
d738d22bf8 add support for the Linksys E1700
SVN-Revision: 43186
2014-11-05 14:37:13 +00:00
John Crispin
cc142739f2 ralink: fix wan port on whr-1166
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43171
2014-11-03 20:20:40 +00:00
John Crispin
cc5194cf03 ramips: add support for Airlink101 AR670W
This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader
is a hacked u-Boot that reads an LZMA image directly, so we skip
generating the uImage header and enable the lzma mtdsplit parser.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43153
2014-11-03 08:00:13 +00:00
John Crispin
0b64dca49d ralink: load mt7530 driver on the 3 buffalo units
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43119
2014-10-30 10:10:51 +00:00
John Crispin
c0bf47232a ralink: fix switch config on mt7530 evb
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43105
2014-10-29 18:51:02 +00:00
John Crispin
d0bf15f235 ramips: add support for A5-V11 board (resubmit)
(Reposted due to an issue with the patchwork server during original submission)

Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key)

Signed-off-by: Gareth Bryan <gareth@mx9.org>

SVN-Revision: 43102
2014-10-29 11:01:17 +00:00
John Crispin
7bac455a4c ramips: add support for Nexx WT3020 devices
SVN-Revision: 42983
2014-10-20 06:28:48 +00:00
John Crispin
5b40a150ea ramips: sort boards in upgrade/platform.sh alphabetically
SVN-Revision: 42982
2014-10-20 06:28:39 +00:00
John Crispin
20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
John Crispin
af1207b58c ramips: add support for Nexx WT1520
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 42867
2014-10-10 08:56:43 +00:00
John Crispin
d76b7e0221 ramips: D-Link DIR-810L: make led naming consistent with other boards
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 42789
2014-10-06 04:52:36 +00:00
John Crispin
b04bb3eea7 ramips: Support for RAMIPS based Tripmate HT-TM02 board
Provides support for the Tripmate HT-TM02 personal router including LEDs and
reset button. “Mode” switch is not supported. New profile includes full set
of packages required to enable LEDs, USB, and LUCI. Patches were applied
against trunk snapshot r42649. Functionality has been tested in AP, basic wifi
client, wifi router, and routed client modes - all good.

Signed-off-by: Ron Curry <wingspinner@gmail.com>

SVN-Revision: 42785
2014-10-06 04:52:07 +00:00
John Crispin
d4cc995c53 ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
SVN-Revision: 42619
2014-09-19 11:07:08 +00:00
John Crispin
ff3ea02772 ramips: add omni plug leds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42201
2014-08-18 16:09:21 +00:00
John Crispin
d04cab8dfc ramips: Add support for Omnima MiniPlug
This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash

Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk>

SVN-Revision: 42200
2014-08-18 16:06:48 +00:00
John Crispin
be6bbc7975 ramips: fix switch config for Edimax 3G-6200n
Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 42194
2014-08-18 13:10:04 +00:00
John Crispin
bb9a23aca2 ramips: Hame: change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 42190
2014-08-18 13:09:39 +00:00
John Crispin
0fc4383d69 ramips: make use of the new board detection layer
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42186
2014-08-18 13:09:20 +00:00
John Crispin
3a9752bbd2 ramips: add a workaround to fix failsafe on RT5350
Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 42179
2014-08-18 13:08:52 +00:00
John Crispin
04e4ff282a ramips:support Lenovo AC1200 Wireless router
Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.

Signed-off-by: Lintel <lintel.huang@gmail.com>

SVN-Revision: 41961
2014-08-03 11:13:52 +00:00
John Crispin
21845cb45d ramips: Add support for VoCore
This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 41939
2014-08-01 20:51:24 +00:00
John Crispin
9efd7ebd34 ramips: add support for easyacc wizard8800
Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de>

SVN-Revision: 41936
2014-08-01 11:19:50 +00:00
John Crispin
c6674722b9 ramips: Fix LEDs on the Kingston MLW221
LED Fix up for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 41933
2014-08-01 11:19:39 +00:00
John Crispin
5b4abf87d7 ramips: add support for Kingston MLW221
This patch adds support for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 41841
2014-07-26 20:36:22 +00:00
John Crispin
b77e92e020 ramips: ethernet mac cleanup
Compile tested all subtargets and profiles.
Unfortunately I don't own any board affected by these changes, so no run tests.

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

SVN-Revision: 41839
2014-07-26 20:36:09 +00:00
John Crispin
443aee86bf ramips: fix vlan configuration for asiarf avm003
The earlier r41797 change was missing this part, to enable the right
vlan configuration.

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

SVN-Revision: 41838
2014-07-26 20:36:01 +00:00
John Crispin
08fb5fb326 ramips: fix sysupgrade for asiarf awm003
Since the earlier r41797 change, the board_name for awm003 has been
miscalculated, and sysupgrade has been broken.  This seems to fix it.

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

SVN-Revision: 41837
2014-07-26 20:35:46 +00:00
John Crispin
e5d4e5dee3 ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 41810
2014-07-23 07:49:50 +00:00
John Crispin
f44d3f9980 ramips: soc wmac eeprom cleanup
Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board

Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN

Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)

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

SVN-Revision: 41680
2014-07-17 10:55:31 +00:00
John Crispin
74db9511dc ramips: basic support for Planex MZK-750DHP
some gpios are still missing.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41654
2014-07-14 17:10:39 +00:00
John Crispin
4af1b51ec3 ramips: extract default lan_mac from eth0
The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts.
But lan_mac is not set by default, this results in lan and wan having the same mac.

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

SVN-Revision: 41632
2014-07-14 07:38:23 +00:00
John Crispin
ba3988fb16 ramips: add support for WR8305RT board
Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41584
2014-07-12 06:54:03 +00:00
John Crispin
03faf4618e ramips: add support for Zbtlink WA05 router
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41579
2014-07-10 22:02:28 +00:00
John Crispin
3d81a4ef82 ralink: add Wansview NCS601W IP Camera
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41453
2014-07-02 07:42:44 +00:00
John Crispin
c749b310ed ralink: register wifi firmware for WRTnode
After r41444 wifi working on WRTnode. Tested.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41452
2014-07-01 18:17:55 +00:00
John Crispin
4ddc0f9ff3 ramips: add WHR-1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41447
2014-07-01 10:26:42 +00:00
John Crispin
dc5fe5f73f ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

SVN-Revision: 41224
2014-06-16 18:57:20 +00:00
John Crispin
2fe435081d ramips: add vlan configuration for asiarf awm002-evb
Without this, the ports all end up on vlan 1.  This enables a separate
WAN port that works.

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

SVN-Revision: 41216
2014-06-16 18:54:48 +00:00
John Crispin
6d213a644d ramips: add asiarf awapn2403 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41177
2014-06-13 09:16:15 +00:00
John Crispin
3306a4f9ab ralink: fix asiarf/awm002 switch setup
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40939
2014-06-02 12:44:57 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
John Crispin
9b728bebfb ramips: fix not set lan/wan mac address
The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40910
2014-06-02 12:43:04 +00:00
John Crispin
813a7c3827 ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40908
2014-06-02 12:42:52 +00:00
John Crispin
efd09832fe ramips: Support for Teltonika RUT5XX
Hi Hartmut,

Thanks for your feedback, I have reformated the patch accordingly.

Added support for Teltonika RUT5XX hardware.

Signed-off-by: Steffen Weinreich <steve@weinreich.org>

SVN-Revision: 40907
2014-06-02 12:42:48 +00:00
John Crispin
4a7a0d2536 ralink: add dir-645 to the eeprom hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40561
2014-04-23 07:52:56 +00:00
John Crispin
cd5f3584e2 ramips: Add support for the 7Links PX-4885 wireless router.
The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>

SVN-Revision: 40554
2014-04-22 08:08:51 +00:00
John Crispin
cb91087991 ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40550
2014-04-22 08:08:35 +00:00
John Crispin
96fa58bafd ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39786
2014-03-07 09:54:59 +00:00