aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/hotplug.d
Commit message (Collapse)AuthorAgeFilesLines
* ramips: add support for DLINK DWR-921-C1Giuseppe Lippolis2018-04-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DWR-921-C1 Wireless Routers with LTE embedded modem is based on the MT7620N SoC. Specification: * MediaTek MT7620N (580 Mhz) * 64 MB of RAM * 16 MB of FLASH * 802.11bgn radio * 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) * 2x external, detachable (LTE) antennas * UART header on PCB (57600 8n1) * 6x LED (GPIO-controlled) * 1x bi-color Signal Strength LED (GPIO-controlled) * 2x button * JBOOT bootloader The status led has been assigned to the dwr-921-c1:green:sigstrength (lte signal strength) led. At the end of the boot it is switched off and is available for lte operation. Work correctly also during sysupgrade operation. Installation: Apply factory image via d-link http web-gui. How to revert to OEM firmware: 1.) Push the reset button and turn on the power. Wait until LED start blinking (~10sec.) 2.) Upload original factory image via JBOOT http (IP: 192.168.123.254) 3.) If http doesn't work, it can be done with curl command: curl -F FN=@XXXXX.bin http://192.168.123.254/upg where XXXXX.bin is name of firmware file. Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* ramips: add support for D-Link DWR-116-A1/2Pawel Dembicki2018-03-181-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | The DWR-116-A1/2 Wireless Router is based on the MT7620N SoC. Specification: MediaTek MT7620N (580 Mhz) 32 MB of RAM 8 MB of FLASH 802.11bgn radio 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) 2x external, non-detachable antennas UART (J1 in A1, JP1 in A2) header on PCB (57600 8n1) 6x LED (GPIO-controlled), 2x button JBOOT bootloader Known issues: WAN LED is drived by uartl tx pin. I decide to use this pin as uartlite tx pin. Installation: Apply factory image via http web-gui. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* treewide: use the generic board_name functionMathias Kresin2017-07-151-4/+2
| | | | | | Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use the ralink,mtd-eeprom device tree propertyMathias Kresin2016-11-091-14/+3
| | | | | | | | | | | | | | | | | | | | | Use the ralink,mtd-eeprom instead of invoking the userspace firmware loader. Set the label and compatible string according to the the PCI binding documentation. Use the wifi@0,0 label and the pci0,0 compatible string in case the PCI vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). This commit might fixes the PCIe wireless for the Buffalo WHR-600D. This board was mentioned in the board 10-rt2x00-eeprom firmware hotplug script but never had the correct eeprom name set to trigger the firmware from flash extraction. Use the usual eeprom for the soc wmac of the Dovado Tiny AC. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: do not "local" variables outside of a functionMartin Blumenstingl2016-09-241-1/+1
| | | | | | | | | Older busybox versions allowed using the local keyword outside of functions, whereas 1.25.0 (which was introduced in 06fa1c46fc32) do not allow this anymore (leading to the following error when executing the script: "file: local: line nn: not in a function"). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* ramips: add support for Dovado tiny ACJohn Crispin2015-11-021-0/+5
| | | | | | | | | | | | | | | | Add support for Dovado tiny AC wifi router. Soc: mt7620a ram: 64MB flash: 8MB 1x usb 2.0 two gigabit lan ports 5ghz wlan is not supported on this board since there is no gpl driverfor mt7610e wifi chip. Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> SVN-Revision: 47348
* ramips: add function to change rt2x00 wifi eeprom macJohn Crispin2015-11-021-0/+12
| | | | | | | | | Some boards like dovado tiny ac have generic ralink mac in onflash wifi eeprom. Add eeprom_set_macaddr function to rt2x00 eeprom extract script which changes mac addr insde eeprom dump. Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> SVN-Revision: 47347
* ramips: update BR-6475ND dtsJohn Crispin2015-01-081-1/+1
| | | | | | | | Update firmware location for 2.4GHz radio on the Edimax BR-6475nD. Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org> SVN-Revision: 43881
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-141-1/+1
| | | | | | | | | | | | | | [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
* ramips: soc wmac eeprom cleanupJohn Crispin2014-07-171-105/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ramips: basic support for Planex MZK-750DHPJohn Crispin2014-07-141-0/+1
| | | | | | | | some gpios are still missing. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41654
* ramips: add support for WR8305RT boardJohn Crispin2014-07-121-0/+1
| | | | | | | Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41584
* ralink: add Wansview NCS601W IP CameraJohn Crispin2014-07-021-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41453
* ralink: register wifi firmware for WRTnodeJohn Crispin2014-07-011-0/+1
| | | | | | | | | 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
* ramips: add WHR-1166 supportJohn Crispin2014-07-011-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41447
* ramips: add asiarf awapn2403 supportJohn Crispin2014-06-131-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41177
* ralink: Add support for samsung cy-swr1100 wireless routerJohn Crispin2014-06-021-0/+4
| | | | | | | | | | | | 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
* ramips: Support for Teltonika RUT5XXJohn Crispin2014-06-021-0/+1
| | | | | | | | | | | | 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
* ralink: add dir-645 to the eeprom hotplug scriptJohn Crispin2014-04-231-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40561
* ramips: Add support for the 7Links PX-4885 wireless router.John Crispin2014-04-221-0/+1
| | | | | | | | | | | | | 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
* ramips: Add userspace support for the Edimax BR-6475nDJohn Crispin2014-01-151-0/+1
| | | | | | | | | The rt2x00 wifi driver may still need updating to function with this device. Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org> SVN-Revision: 39298
* ralink: fix eeprom loadingJohn Crispin2014-01-121-1/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39245
* ralink: add HLK-RM04 supportJohn Crispin2014-01-121-0/+1
| | | | | | | | https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39237
* base-files: allow users to delect debug level during bootJohn Crispin2013-11-251-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38909
* ralink: add support for 2 new mt7620 boards made by buffaloJohn Crispin2013-10-281-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38550
* ralink: DIR610A1 Fix remaining issuesJohn Crispin2013-10-071-1/+1
| | | | | | | | | | | | 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
* ralink: add support for dalink dcs930l ipcamJohn Crispin2013-09-191-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38053
* ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350John Crispin2013-09-181-0/+2
| | | | | | | | https://dev.openwrt.org/ticket/14129 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38040
* ramips: DIR-610-A1 SupportJohn Crispin2013-08-141-0/+1
| | | | | | | | http://patchwork.openwrt.org/patch/3933/ Signed-off-by: Flavio Silveira <fggs@terra.com.br> SVN-Revision: 37785
* ramips: add MPR-A1 supportJohn Crispin2013-07-271-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37568
* ramips: Basic support for the AsiaRF RT5350 based AWM002 module and ↵John Crispin2013-07-241-0/+1
| | | | | | | | | | | 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
* ramips: Add support for Huawei HG255D in trunkJohn Crispin2013-07-221-1/+2
| | | | | | | | | | 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
* ramips: update wlan firmware hotplug script for new eeprom sizeFelix Fietkau2013-06-301-7/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37112
* ramips: add HAME MPR-A2 supportJohn Crispin2013-06-101-0/+1
| | | | | | | | | | 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
* ramips: add support for belkin F7C027 wemo/homeautomatisation plugJohn Crispin2013-06-101-0/+1
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 36897
* ramips: introduce DTS for ALL5003John Crispin2013-04-251-0/+1
| | | | | | | | | | | | | 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
* ramips: Add Alpha ASL-26555 support.John Crispin2013-04-251-0/+1
| | | | | | | | | | | | | | | | 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-0/+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/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+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/+1
| | | | | | | | http://patchwork.openwrt.org/patch/3510/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 36173
* add profile for the Edimax 3g-6200NL boardJohn Crispin2013-04-031-0/+1
| | | | | | | | http://patchwork.openwrt.org/patch/3214/ Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net> SVN-Revision: 36172
* ramips: add user-space support for the Upvel UR-326N4G boardGabor Juhos2013-03-111-0/+1
| | | | | | | | | [juhosg: fix mac address setup] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35971
* ramips: add user-space support for the Omnima EMB HPM boardGabor Juhos2013-02-021-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35467
* ramips: add userspace support for the Edimax BR-6425Gabor Juhos2013-02-021-0/+1
| | | | | | | | | [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/+1
| | | | | | | 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/+1
| | | | | | | | 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/+1
| | | | | | | | 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: add user-space support for Airlive AIR3GIIGabor Juhos2012-12-291-0/+1
| | | | | | | | 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
* ramips: fix wifi EEPROM extraction on DIR-615-Dx modelsGabor Juhos2012-12-241-2/+2
| | | | | | | | Patch from #12636. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34876