Commit Graph

155 Commits (ce4228b41708ddc3a76d81c5837b619071585a99)

Author SHA1 Message Date
John Crispin ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
11 years ago
John Crispin 54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
11 years ago
John Crispin 0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
11 years ago
John Crispin 23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
11 years ago
John Crispin 8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
11 years ago
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
11 years ago
John Crispin 3f3cac6136 ramips: fix HG255D VLAN initial detect issue
Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37517
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau 5986a18c16 ramips: update wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37112
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
John Crispin 30786d2dd0 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 36897
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
John Crispin 910b705155 add Huawei D105
http://patchwork.openwrt.org/patch/3510/

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

SVN-Revision: 36173
11 years ago
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
11 years ago
John Crispin f3643374c4 there is no ttyS1 console
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36171
11 years ago
John Crispin b22cbac68f make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35988
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos 50e51e5ecc ramips: indicate support for ALL5003
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35851
11 years ago
Gabor Juhos 367ab0a40f ramips: enhance user-space board detection
Similar to ar71xx, detect only once and cache the strings in
/tmp/sysinfo/model and /tmp/sysinfo/boardname.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35850
11 years ago
Gabor Juhos 1ba2272ca5 ramips: fix whitespace in /lib/ramips.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35849
11 years ago
Gabor Juhos 90011a99f3 ramips: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35652
12 years ago
Gabor Juhos 7fd8525853 ramips: use the new macaddr_* helpers instead of maccalc
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35615
12 years ago
Gabor Juhos 753d713e92 ramips: use the mtd_get_mac_* helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35613
12 years ago
Gabor Juhos 813aec6796 ramips: add user-space support for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35467
12 years ago
Gabor Juhos b99b2ff553 ramips: add userspace support for the Edimax BR-6425
[juhosg: remove sysupgrade changes]

Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35463
12 years ago
John Crispin d93706154b ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de>

SVN-Revision: 35356
12 years ago
Gabor Juhos 9891603eb5 ramips: add user-space support for the Tenda 3G300M
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35245
12 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
John Crispin f2f9332350 adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

SVN-Revision: 35020
12 years ago
Gabor Juhos 8b1ac2ae37 ramips: add user-space support for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34926
12 years ago
Gabor Juhos 3aad9b4c9b ramips: add user-space support for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34923
12 years ago
Gabor Juhos 69da894432 ramips: fix ASUS WL-330N3G MAC address
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34877
12 years ago
Gabor Juhos c5a36f13f0 ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Patch from #12636.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34876
12 years ago
Gabor Juhos 8105c6badd ramips: unify eeprom file name for the built-in wireless MAC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34860
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
John Crispin c2ae0ec02a add support for Hauppauge Broadway
This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway
platform.  It doesn't deal with the TV tuner or transcoder at this point,
but the core functionality is working (Ethernet, wireless, USB, buttons,
LEDs, etc).

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>

SVN-Revision: 34595
12 years ago
Gabor Juhos d3994b7408 ramips: rt305x: add user-space support for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34406
12 years ago