summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/diag.sh
Commit message (Collapse)AuthorAgeFilesLines
* ramips: Add Alpha ASL-26555 support.John Crispin2013-04-251-0/+3
| | | | | | | | | | | | | | | | 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
* ramips: Add support of D-link DIR-620D1John Crispin2013-04-251-1/+1
| | | | | | | Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> Acked-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36432
* Add Netgear WNCE2001 (OF version)John Crispin2013-04-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add profile for tenda w150m boardJohn Crispin2013-04-031-1/+1
| | | | | | | | http://patchwork.openwrt.org/patch/3371/ Signed-off-by: Chi Zhang <zhangchi866@gmail.com> SVN-Revision: 36176
* add Huawei D105John Crispin2013-04-031-0/+3
| | | | | | | | http://patchwork.openwrt.org/patch/3510/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 36173
* make sure errors get sent to /dev/nullJohn Crispin2013-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 35988
* ramips: add user-space support for the Upvel UR-326N4G boardGabor Juhos2013-03-111-0/+3
| | | | | | | | | [juhosg: fix mac address setup] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35971
* ramips: migrate to common led helper functionsGabor Juhos2013-02-181-28/+4
| | | | | | | | | [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
* ramips: add user-space support for the Omnima EMB HPM boardGabor Juhos2013-02-021-1/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35467
* ramips: add userspace support for the Edimax BR-6425Gabor Juhos2013-02-021-0/+3
| | | | | | | | | [juhosg: remove sysupgrade changes] Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35463
* ramips: add user-space support for the Tenda 3G300MGabor Juhos2013-01-191-0/+3
| | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35245
* adds support for Edimax BR-6524NJohn Crispin2013-01-061-0/+3
| | | | | | | | fixes #12754 Signed-off-by: <rq@akl.lt> SVN-Revision: 35020
* ramips: add user-space support for the Planex MZK-W300NH2 RouterGabor Juhos2012-12-291-0/+3
| | | | | | | | 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
* ramips: rt305x: add user-space support for the Asus RT-N13UGabor Juhos2012-11-291-0/+3
| | | | | | | Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34406
* ramips: add DIR-615 D userspace supportGabor Juhos2012-11-251-1/+1
| | | | | | | | | | | | | | | Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and Makefile changes to build images for this target. However, without the userspace bits a ramips machine can't use wifi as the necessary "eeprom" data is to be extracted by a hotplug script; also, sysupgrade support and default led configuration are missing. An IRC user reported these changes allowed him to use wifi on his hardware. Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34331
* ramips: add user-space support for TEW-691GRGabor Juhos2012-10-181-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33851
* ramips: add user-space support for the TEW-692GR boardGabor Juhos2012-10-181-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33847
* ramips: add user space support for the DIR-645Gabor Juhos2012-10-181-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33844
* ramips: add board alias for the ALL0239-3GGabor Juhos2012-08-171-0/+1
| | | | | | | | | | | | | | 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> SVN-Revision: 33206
* ramips: add support for D-Link DIR-615 H1Gabor Juhos2012-08-171-1/+1
| | | | | | | | | | | | 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> SVN-Revision: 33205
* ramips: add D-Link DIR-620 A1 supportGabor Juhos2012-08-121-1/+1
| | | | | | | | | | | | Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits (including the antiparallel wps led). Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 33142
* D-Link DAP-1350 initial supportJohn Crispin2012-07-241-0/+3
| | | | | | | | | The initial support for the D-Link DAP-1350. USB related functionality is not tested. Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> SVN-Revision: 32821
* ramips: rt305x: add support for Edimax 3G-6200NGabor Juhos2012-07-121-0/+3
| | | | | | | | Support for Edimax 3G-6200N router with USB. Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com> SVN-Revision: 32682
* ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA RouterGabor Juhos2012-06-191-0/+3
| | | | | | | | | | This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router. The platform is based on Ralink RT3052. http://wiki.openwrt.org/toh/petatel/psr-680w Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru> SVN-Revision: 32450
* ramips: W306R V2.0 - GPIO and Network fixesGabor Juhos2012-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by removing a line(default is correct), and reversed the Lan/wan layout LLLLW to WLLLL. Added: image/Makefile now builds -factory.bin files. I am unsure of the accepted way to change the makefile but the name of the image needs to be 'linkn Kernel Image' in order to be accepted by the OEM firmware. Known issue: eth0 (internal switch i think has mac address: 00:11:22:33:44:55 but i think it should be same as the lan). Known issue: Pressing the reset button has no noticable effect, i would expect the router to boot failsafe if being pressed on boot, reboot if short press and reset all to default if long press. [juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead] Signed-off-by: David Pearce <david_18051985@hotmail.com> SVN-Revision: 31557
* ramips: rt305x: add support for the UR-336UN boardGabor Juhos2012-04-231-0/+3
| | | | | | Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> SVN-Revision: 31451
* ramips: rt305x: add support for the Asus WL-330N3G boardGabor Juhos2012-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the ASUS WL-330N3G Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led. The bi-color led is driven by 2 gpio. I don't know how to handle this, so I simply made 2 leds : one red, one blue. But the red light takes precedence over the blue one according to the chart below. r = led is red b = led is blue 0 = led is off xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness initial state action led gpio state r0 b0 r0->r1 r r0 b0 r0 b0 b0->b1 b r0 b1 r1 b0 r1->r0 0 r0 b0 r1 b0 b0->b1 r r1 *b1* r1 b1 r1->r0 b r0 b1 r1 b1 b1->b0 r r1 b0 r0 b1 r0->r1 r r1 *b1* r0 b1 b1->b0 0 r0 r0 Signed-off-by: Frédéric Leroy <fredo@starox.org> SVN-Revision: 31450
* ramips: rt305x: add initial support for Tenda W306R V2.0Gabor Juhos2012-04-211-0/+3
| | | | | | | | | | More device info at: http://wiki.openwrt.org/toh/tenda/w306r Signed-off-by: David Pearce <David_18051985@hotmail.com.au> [juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages from the profile, change broken GPIO number] SVN-Revision: 31396
* ramips: rt305x: add add support for the Asus WL-330N boardGabor Juhos2012-03-271-1/+1
| | | | | | | | | [juhosg: reorder several lines in order to keep things sorted alphabetically] Signed-off-by: Frédéric Leroy <fredo@starox.org> SVN-Revision: 31100
* ramips: add support for unbranded XDX-RN502J boardGabor Juhos2012-03-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | This patch adds support for routers using a PCB marked XDX-RN502J V2.0, such as some unbranded routers like this: http://www.mediafire.com/?8acv87h6snn9fj6 http://www.mediafire.com/?do7xonw7scor4kn http://www.mediafire.com/?1ad49zvx3e7jyix http://www.mediafire.com/?i46cqiq66maa197 http://www.aliexpress.com/product-fm/516397994-Free-Shipping-300M-3G-WAN-Wireless-N-WiFi-USB-AP-Router-2-Antennas-wholesalers.html some reports also state the Aceex 22Y uses the same board. more information can be found in the following openwrt forum post https://forum.openwrt.org/viewtopic.php?id=34878 [juhosg: fix checkpatch warnings, use the GENERIC_4M template] Signed-off-by: bruno schwander <bruno@tinkerbox.org> SVN-Revision: 30809
* ramips: board support for Asus RT-N10+Gabor Juhos2012-03-041-0/+3
| | | | | | | | | [juhosg: fix indentation in platform scripts, and remove debug messages from 06_set_iface_mac] Signed-off-by: Patrick van Staveren <trick@vanstaveren.us> SVN-Revision: 30808
* ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G routerGabor Juhos2012-02-191-0/+3
| | | | | | | | | | | | | [juhosg: - don't switch back to 2.6.39 - update config-3.2 - change machine id to SL-R7205 - reorder case entries in platform scripts - remove button hotplug script] Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com> SVN-Revision: 30645
* add Ralink V11ST-FE board supportFlorian Fainelli2012-02-151-0/+3
| | | | | | | | | | This board is equipped with: - 4MB of NOR Flash - 32MB of SDRAM - IC+ IP175C switch - one Mini-PCI slot SVN-Revision: 30561
* ramips: add preliminary support for the Asus RT-N56U boardGabor Juhos2012-02-131-0/+3
| | | | SVN-Revision: 30498
* ramips: scripts updatesGabor Juhos2012-01-231-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 29871
* ramips fix f5d8235-v1 diag LED supportGabor Juhos2012-01-221-1/+1
| | | | SVN-Revision: 29857
* ramips: add sysled and sysupgrade to wr512-3gnGabor Juhos2012-01-221-0/+3
| | | | | | Patch from #10035. SVN-Revision: 29847
* ramips: rt288x: add support for the Belkin F5D8235-4 v1 boardGabor Juhos2011-12-281-0/+3
| | | | | | Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 29617
* ramips: rt305x: add support for the ALFA Networks W502U (R36) boardGabor Juhos2011-12-281-0/+3
| | | | SVN-Revision: 29615
* ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N boardGabor Juhos2011-12-271-0/+3
| | | | SVN-Revision: 29612
* ramips: initial support for Sitecom WL-351 v1 002Gabor Juhos2011-12-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 29604
* ramips: add support for the Senao/EnGenius ESR-9753 boardGabor Juhos2011-12-231-0/+3
| | | | | | Signed-off-by: Artur Wronowski <arteqw@gmail.com> SVN-Revision: 29603
* ramips: add support for Omnima MiniEMBWiFi boardGabor Juhos2011-12-141-0/+3
| | | | | | | | | This patch adds support for the Omnima MiniEMBWiFi Ralink RT3050F based board. Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk> SVN-Revision: 29533
* ramips: rt305x: add support for the ZyXEL NBG-419N boardGabor Juhos2011-08-221-0/+3
| | | | SVN-Revision: 28078
* ramips: rt305x: add support for the Netcore NW718 boardGabor Juhos2011-07-281-0/+3
| | | | SVN-Revision: 27813
* ramips: rt305x: add support for the DIR-600 B1,B2 boardsGabor Juhos2011-07-281-1/+1
| | | | SVN-Revision: 27808
* ramips: rt305x: rename LEDs on the DIR-300-B1Gabor Juhos2011-07-281-1/+1
| | | | SVN-Revision: 27806
* ramips: add diag support for RT-N15 and PWH2004Gabor Juhos2011-07-061-6/+12
| | | | | | Also sort the board names alphabetically. SVN-Revision: 27478
* ramips: use the 'router' LED for diagnostic on the WHR-G300N boardGabor Juhos2011-07-061-1/+1
| | | | SVN-Revision: 27477
* ramips: initial board support for MOFI3500-3GNGabor Juhos2011-04-041-0/+3
| | | | | | | | | | This patch adds initial board support for the MoFi Network MOFI3500-3GN (Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG). This router is basically the NA version of the HW550-3G. Signed-off-by: Layne Edwards <ledwards76@gmail.com> SVN-Revision: 26466