aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
Commit message (Collapse)AuthorAgeFilesLines
* ramips: update wlan firmware hotplug script for new eeprom sizeFelix Fietkau2013-06-301-7/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move ESW reset to preinit on RT305x/RT5350John Crispin2013-06-242-12/+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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: input/button drivers get loaded before preinit by procdJohn Crispin2013-06-211-12/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: diag does not need to insmod any drivers, procd already did it ↵John Crispin2013-06-211-1/+0
| | | | | | | | for us Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add HAME MPR-A2 supportJohn Crispin2013-06-108-0/+25
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for belkin F7C027 wemo/homeautomatisation plugJohn Crispin2013-06-104-0/+8
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Update ARC Freestation profileJohn Crispin2013-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove now unneeded user-space board detectionJohn Crispin2013-04-251-20/+0
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: introduce DTS for ALL5003John Crispin2013-04-255-3/+10
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add Alpha ASL-26555 support.John Crispin2013-04-257-0/+25
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support of D-link DIR-620D1John Crispin2013-04-257-1/+11
| | | | | | | Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> Acked-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] Add Netgear WNCE2001 (OF version)John Crispin2013-04-098-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix dir-615 h1 network configJohn Crispin2013-04-051-1/+1
| | | | | | | | http://patchwork.openwrt.org/patch/3527/ Signed-off-by: Daniel Petre <dani@ip6.ro> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add profile for tenda w150m boardJohn Crispin2013-04-036-1/+9
| | | | | | | | http://patchwork.openwrt.org/patch/3371/ Signed-off-by: Chi Zhang <zhangchi866@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add Huawei D105John Crispin2013-04-037-0/+15
| | | | | | | | http://patchwork.openwrt.org/patch/3510/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add profile for the Edimax 3g-6200NL boardJohn Crispin2013-04-036-0/+10
| | | | | | | | http://patchwork.openwrt.org/patch/3214/ Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] there is no ttyS1 consoleJohn Crispin2013-04-031-1/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] make sure errors get sent to /dev/nullJohn Crispin2013-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Upvel UR-326N4G boardGabor Juhos2013-03-115-0/+16
| | | | | | | | | [juhosg: fix mac address setup] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space detection for ALL5002/ALL5003Gabor Juhos2013-03-031-0/+19
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: indicate support for ALL5003Gabor Juhos2013-03-031-1/+1
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enhance user-space board detectionGabor Juhos2013-03-032-3/+24
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix whitespace in /lib/ramips.shGabor Juhos2013-03-031-3/+3
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use the new macaddr_* helpers instead of maccalcGabor Juhos2013-02-162-18/+13
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use the mtd_get_mac_* helpersGabor Juhos2013-02-163-66/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Omnima EMB HPM boardGabor Juhos2013-02-027-1/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add userspace support for the Edimax BR-6425Gabor Juhos2013-02-025-0/+11
| | | | | | | | | [juhosg: remove sysupgrade changes] Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: reset switch on single-port devicesJohn Crispin2013-01-281-0/+1
| | | | | | Signed-off-by: Daniel Gole <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Tenda 3G300MGabor Juhos2013-01-197-0/+14
| | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all targets: use numerically prefixed uci-defaults file names to better ↵Jo-Philipp Wich2013-01-183-0/+0
| | | | | | control order of execution git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] adds support for Edimax BR-6524NJohn Crispin2013-01-065-0/+11
| | | | | | | | fixes #12754 Signed-off-by: <rq@akl.lt> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Planex MZK-W300NH2 RouterGabor Juhos2012-12-297-0/+20
| | | | | | | | Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3077/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for Airlive AIR3GIIGabor Juhos2012-12-295-0/+10
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/2913/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34923 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: unify eeprom file name for the built-in wireless MACGabor Juhos2012-12-221-3/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵Mirko Vogt2012-12-192-2/+2
| | | | | | /lib/functions.sh) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add support for Hauppauge BroadwayJohn Crispin2012-12-106-1/+13
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add user-space support for the Asus RT-N13UGabor Juhos2012-11-296-0/+10
| | | | | | | Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add DIR-615 D userspace supportGabor Juhos2012-11-255-1/+7
| | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for TEW-691GRGabor Juhos2012-10-185-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the TEW-692GR boardGabor Juhos2012-10-185-0/+20
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user space support for the DIR-645Gabor Juhos2012-10-186-0/+50
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use get_magic_long in sysupgrade image checkGabor Juhos2012-10-181-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] make uci-defaults switch detection work on rt5350John Crispin2012-09-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] unbreak port mapping detectionJohn Crispin2012-09-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make built-in switch transparent for ALL0256N and ALL5002Gabor Juhos2012-08-291-1/+4
| | | | | | | | This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for 8devices Carambola dev board.Gabor Juhos2012-08-295-0/+7
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73