summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib/preinit
Commit message (Collapse)AuthorAgeFilesLines
* ramips: add a workaround to fix failsafe on RT5350John Crispin2014-08-181-1/+18
| | | | | | | | | 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
* ramips: ethernet mac cleanupJohn Crispin2014-07-261-109/+0
| | | | | | | | | 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
* ramips: add support for WR8305RT boardJohn Crispin2014-07-121-1/+2
| | | | | | | Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41584
* ramips: RT-N56U support fixes and factory image creationJohn Crispin2014-06-161-2/+15
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com> SVN-Revision: 41224
* ralink: Add support for samsung cy-swr1100 wireless routerJohn Crispin2014-06-021-0/+1
| | | | | | | | | | | | 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: 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/+4
| | | | | | | | | 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: 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
* ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350John Crispin2013-09-181-1/+3
| | | | | | | | 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-1/+2
| | | | | | | | http://patchwork.openwrt.org/patch/3933/ Signed-off-by: Flavio Silveira <fggs@terra.com.br> SVN-Revision: 37785
* ramips: add Poray IP2202 supportJohn Crispin2013-08-011-0/+1
| | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37640
* ramips: add Poray X8 supportJohn Crispin2013-08-011-1/+2
| | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37639
* ramips: add Poray X5/X6 SupportJohn Crispin2013-08-011-1/+2
| | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37638
* ramips: add Poray M4 4M/8M supportJohn Crispin2013-08-011-1/+2
| | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37637
* ramips: add Poray M3 supportJohn Crispin2013-08-011-0/+5
| | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37636
* 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: move ESW reset to preinit on RT305x/RT5350John Crispin2013-06-241-11/+4
| | | | | | | | | | | 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
* base-files: input/button drivers get loaded before preinit by procdJohn Crispin2013-06-211-12/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37000
* ramips: add HAME MPR-A2 supportJohn Crispin2013-06-102-0/+13
| | | | | | | | | | 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: 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: set preinit interface to eth0 by default.John Crispin2013-04-251-0/+12
| | | | | | | | | | | | 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
* 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-092-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: enhance user-space board detectionGabor Juhos2013-03-031-0/+2
| | | | | | | | | | 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
* ramips: use the new macaddr_* helpers instead of maccalcGabor Juhos2013-02-161-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35615
* ramips: use the mtd_get_mac_* helpersGabor Juhos2013-02-161-8/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35613
* 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 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
* 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: fix ASUS WL-330N3G MAC addressGabor Juhos2012-12-241-3/+3
| | | | | | | | | | | | | | | 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
* add support for Hauppauge BroadwayJohn Crispin2012-12-101-0/+1
| | | | | | | | | | | 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
* ramips: rt305x: add user-space support for the Asus RT-N13UGabor Juhos2012-11-291-0/+1
| | | | | | | Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34406
* 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/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33847
* ramips: add user space support for the DIR-645Gabor Juhos2012-10-181-0/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33844
* ramips: Add support for 8devices Carambola dev board.Gabor Juhos2012-08-291-0/+1
| | | | | | | | | | | | Add support for 8devices Carambola dev board. The Carambola is a small RT3050-based development board with two ethernet ports, on-board chip antenna, usb and plenty of accessible gpio ports, sold by 8devices. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> SVN-Revision: 33303
* 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/+2
| | | | | | | | | | | | 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-0/+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/+4
| | | | | | | | | 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
* add ALL5002 userspace supportJohn Crispin2012-07-241-0/+1
| | | | | | | | detect EEPROM, MAC addresses and support sysupgrade for the ALL5002 Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 32816
* ramips: rt305x: add support for Edimax 3G-6200NGabor Juhos2012-07-121-0/+4
| | | | | | | | Support for Edimax 3G-6200N router with USB. Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com> SVN-Revision: 32682
* ramips: mac address detection for Fonera 2.0nVasilis Tsiligiannis2012-06-231-0/+1
| | | | | | | | | Detect and apply MAC address of a Fonera 2.0n (ramips) Signed-off-by: Malte Forkel <malte.forkel@berlin.de> Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> SVN-Revision: 32490
* ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA RouterGabor Juhos2012-06-191-0/+1
| | | | | | | | | | 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: rt305x: add support for the Asus WL-330N3G boardGabor Juhos2012-04-231-0/+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