Commit graph

175 commits

Author SHA1 Message Date
John Crispin
2370126b9b ramips: Fix initial network configuration for few boards
Argus ATP52B:      ethernet didn't work because of unconfigured switch
Sparklan WCR150GN: add switch config and make single port to be LAN
Dlink DIR-645:     seems to be a redundant case

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

SVN-Revision: 38960
2013-11-30 08:36:56 +00:00
John Crispin
93e9a71538 base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38909
2013-11-25 08:34:55 +00:00
John Crispin
5b437e204f ralink: set the mac addr via the dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38902
2013-11-25 08:33:42 +00:00
John Crispin
d175740783 ralink: set wmr-300 mac properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38872
2013-11-19 21:13:24 +00:00
John Crispin
82e6242798 ralink: add support for ralink mt7620 nand eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38848
2013-11-18 09:35:41 +00:00
John Crispin
9d4eb0ac91 ralink: make all none 3x5x boards default to a vlan1/2 setup
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38845
2013-11-18 09:35:14 +00:00
John Crispin
5c2e867460 ramips: fix wmr300 network detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38828
2013-11-17 13:14:46 +00:00
John Crispin
dce9b292bf ralink: add mt7620n support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38823
2013-11-16 20:28:52 +00:00
John Crispin
3de4bdc36f ralink: revert 38348 as it breaks network on the hame-mpr
https://dev.openwrt.org/changeset/38348
https://dev.openwrt.org/ticket/14403#comment:1

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

SVN-Revision: 38669
2013-11-07 12:45:52 +00:00
John Crispin
43de7c1cfa ralink: add support for 2 new mt7620 boards made by buffalo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38550
2013-10-28 06:47:31 +00:00
John Crispin
b93e5498ae ralink: fixes mpr a1/a2 network setup
Signed-off-by: Suschman <suschman@gmx.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38348
2013-10-09 10:08:52 +00:00
John Crispin
c903de043e ralink: fix asiarf image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38324
2013-10-07 15:02:44 +00:00
John Crispin
420c62205b ralink: DIR610A1 Fix remaining issues
This patch fixes:

 - Ethernet and Wireless LEDs
 - Wireless MAC Address
 - Remove whitespaces from dts file

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 38321
2013-10-07 15:02:31 +00:00
John Crispin
52fe1211b3 ralink: fix DIR-320-B1 board detection
https://dev.openwrt.org/ticket/14226

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

SVN-Revision: 38264
2013-09-30 20:48:34 +00:00
John Crispin
c0f6bf05f4 ralink: add support for dalink dcs930l ipcam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38053
2013-09-19 05:56:46 +00:00
John Crispin
5722b32acf ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
https://dev.openwrt.org/ticket/14129

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

SVN-Revision: 38040
2013-09-18 16:31:37 +00:00
John Crispin
dc7164d4ef ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37785
2013-08-14 19:35:27 +00:00
John Crispin
97a7daa72f ramips: fix typo in network uci_defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37784
2013-08-14 19:08:55 +00:00
John Crispin
36e3424fa5 ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37780
2013-08-14 18:15:35 +00:00
John Crispin
169e184521 ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37640
2013-08-01 14:31:15 +00:00
John Crispin
ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
2013-08-01 14:31:09 +00:00
John Crispin
54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
2013-08-01 14:31:04 +00:00
John Crispin
0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
2013-08-01 14:30:58 +00:00
John Crispin
23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
2013-08-01 14:30:53 +00:00
John Crispin
8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
2013-07-27 09:23:52 +00:00
John Crispin
3ad136d9e3 ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
http://www.asiarf.com/Smallest-Tiny-Ralink-802-11n-Wireless-AP-Router-Module-Board-AWM002-product-view-375.html

Signed-off-by Jon Smirl <jonsmirl@gmail.com>

SVN-Revision: 37521
2013-07-24 08:54:41 +00:00
John Crispin
3f3cac6136 ramips: fix HG255D VLAN initial detect issue
Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37517
2013-07-23 13:07:00 +00:00
John Crispin
0cc1e2acb4 ramips: Add support for Huawei HG255D in trunk
HG255D is a kind of popular low-end home gateway in China, this patch bring the the trunk support for it. It is adapted from a local Chinese community (www.right.com.cn), so credit should given to them.

This patch is tested to work except trivial LED issues.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37505
2013-07-22 15:36:39 +00:00
John Crispin
8028fb8096 ramips: add sysupgarde support for wl-330n3g
https://dev.openwrt.org/ticket/13891

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

SVN-Revision: 37376
2013-07-17 09:44:57 +00:00
Felix Fietkau
5986a18c16 ramips: update wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37112
2013-06-30 21:03:48 +00:00
John Crispin
5063f712a6 ramips: move ESW reset to preinit on RT305x/RT5350
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet
interface, otherwise the driver will panic.
As we already init the ethernet in preinit we therefor need to reset the switch
before that.

Signed-off-by: Felix Kaechele <felix@fetzig.org>

SVN-Revision: 37027
2013-06-24 12:39:28 +00:00
John Crispin
67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
2013-06-21 16:53:47 +00:00
John Crispin
e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
2013-06-21 16:53:43 +00:00
John Crispin
fc9532aeaa ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>

SVN-Revision: 36898
2013-06-10 08:24:56 +00:00
John Crispin
30786d2dd0 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 36897
2013-06-10 08:24:50 +00:00
John Crispin
eddd7f5773 ramips: Update ARC Freestation profile
These devices are actually built around the 8devices Carambola dev board.

ARC FreeStation, Flex mARC, iFlex, and SplitStation devices are
supported with this image, see "ARCFlex Firmware Downloads":
http://www.antennas.com/wiki/index.php?title=ARC-OS_Firmware_Downloads_and_Revision_History

Funnily enough if present the external USB wlan ends up being wlan-0, with the
SoC device being wlan-1.

- Invert port map so special handling of vlan config can be removed.
- Add LED config similar to original ArcOS firmware.
- Add GPIO export for enabling PoE passthrough from ethernet port 0 to port 1
- Get MACs from factory partition.
- Update description to list supported devices.
- Carambola uses RT3050 (not RT3052), though my Carambola CPU
  actually reports itself as being an RT3350 while still having
  RT3050F markings.

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

SVN-Revision: 36564
2013-05-06 16:45:35 +00:00
John Crispin
e141b73f9d ramips: remove now unneeded user-space board detection
Now that ALL5002 and ALL5003 each got their own DTS and board names, remove
the now no longer needed user-space part which previously differentiated between
ALL5002 and ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3558/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36436
2013-04-25 19:03:05 +00:00
John Crispin
cf3885eb0f ramips: introduce DTS for ALL5003
Prior to the switch to 3.8, ALL5002 and ALL5003 boards shared mach-all5002.c.
With the change to DTS, this is no longer accurate, as ALL5002 is based on
Rt3352 SoC while ALL5003 is based on Rt5350 SoC, therefore the corresponding
rt5350.dtsi need to be included for ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3557/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36435
2013-04-25 19:03:01 +00:00
John Crispin
978567a89e ramips: set preinit interface to eth0 by default.
This makes any ramips device accessible via ethernet in failsafe mode.

Based on: https://dev.openwrt.org/changeset/36322

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3567/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36434
2013-04-25 19:02:57 +00:00
John Crispin
7bfab6e308 ramips: Add Alpha ASL-26555 support.
This board uses a TrendChip SOC with its own RAM/Flash for ADSL support.
We know both SOCs are connected through ethernet and use some kind of protocol for UART communication, but due to the lack of GPL sources we couldn't get it to work. For this reason the network is configured only for LAN.

There are two versions (Chile 8MB and Spain 16MB).

Wiki: http://wiki.openwrt.org/toh/alpha/asl26555

Signed-off-by: Esteban Benito <estebanjbs@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3571/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36433
2013-04-25 19:02:53 +00:00
John Crispin
c7216d0cab ramips: Add support of D-link DIR-620D1
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36432
2013-04-25 19:02:48 +00:00
John Crispin
48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

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

SVN-Revision: 36289
2013-04-09 14:19:33 +00:00
John Crispin
df7af06f1f fix dir-615 h1 network config
http://patchwork.openwrt.org/patch/3527/

Signed-off-by: Daniel Petre <dani@ip6.ro>

SVN-Revision: 36213
2013-04-05 23:37:45 +00:00
John Crispin
93899a1329 add profile for tenda w150m board
http://patchwork.openwrt.org/patch/3371/

Signed-off-by: Chi Zhang <zhangchi866@gmail.com>

SVN-Revision: 36176
2013-04-03 10:00:21 +00:00
John Crispin
910b705155 add Huawei D105
http://patchwork.openwrt.org/patch/3510/

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

SVN-Revision: 36173
2013-04-03 10:00:08 +00:00
John Crispin
c1710901c5 add profile for the Edimax 3g-6200NL board
http://patchwork.openwrt.org/patch/3214/

Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net>

SVN-Revision: 36172
2013-04-03 10:00:03 +00:00
John Crispin
f3643374c4 there is no ttyS1 console
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36171
2013-04-03 09:59:59 +00:00
John Crispin
b22cbac68f make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35988
2013-03-12 13:52:40 +00:00
Gabor Juhos
d543f4b771 ramips: add user-space support for the Upvel UR-326N4G board
[juhosg: fix mac address setup]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35971
2013-03-11 21:02:43 +00:00
Gabor Juhos
59ad675ef1 ramips: add user-space detection for ALL5002/ALL5003
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35852
2013-03-03 12:47:28 +00:00