summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
Commit message (Collapse)AuthorAgeFilesLines
* [ramips] Add Netgear WNCE2001 (OF version)blogic2013-04-094-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 configblogic2013-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 boardblogic2013-04-033-1/+4
| | | | | | | | 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 D105blogic2013-04-034-0/+10
| | | | | | | | 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 boardblogic2013-04-033-0/+5
| | | | | | | | 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 consoleblogic2013-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/nullblogic2013-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 boardjuhosg2013-03-113-0/+12
| | | | | | | | | [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: migrate to common led helper functionsjuhosg2013-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 maccalcjuhosg2013-02-161-16/+11
| | | | | | 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_* helpersjuhosg2013-02-161-21/+21
| | | | | | 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 boardjuhosg2013-02-024-1/+13
| | | | | | 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-6425juhosg2013-02-024-0/+8
| | | | | | | | | [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 devicesblogic2013-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 3G300Mjuhosg2013-01-194-0/+9
| | | | | | | 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 ↵jow2013-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-6524Nblogic2013-01-064-0/+8
| | | | | | | | 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 Routerjuhosg2012-12-294-0/+15
| | | | | | | | 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 AIR3GIIjuhosg2012-12-293-0/+6
| | | | | | | | 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 wifi EEPROM extraction on DIR-615-Dx modelsjuhosg2012-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 MACjuhosg2012-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 -> ↵mirko2012-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 Broadwayblogic2012-12-103-1/+8
| | | | | | | | | | | 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-N13Ujuhosg2012-11-293-0/+5
| | | | | | | 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 supportjuhosg2012-11-253-1/+3
| | | | | | | | | | | | | | | 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-691GRjuhosg2012-10-182-0/+7
| | | | | | 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 boardjuhosg2012-10-182-0/+15
| | | | | | 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-645juhosg2012-10-183-0/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] make uci-defaults switch detection work on rt5350blogic2012-09-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] unbreak port mapping detectionblogic2012-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 ALL5002juhosg2012-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.juhosg2012-08-292-0/+2
| | | | | | | | | | | | 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
* ramips: Add switch setup to uci network defaultsjuhosg2012-08-291-1/+26
| | | | | | | | | | | | | | Add switch setup to uci network defaults. The 'lan' attribute is used to decide into which vlan to put the port. Currently 'disable' is never set, but the intention is to use this for devices like the 8devices Carambola, which only has two ports hooked up to the SoC. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add RSSI leds for uci-defaults for ALL0256Njuhosg2012-08-221-0/+4
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add board alias for the ALL0239-3Gjuhosg2012-08-174-2/+6
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for D-Link DIR-615 H1juhosg2012-08-174-2/+9
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add D-Link DIR-620 A1 supportjuhosg2012-08-124-3/+12
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] D-Link DAP-1350 initial supportblogic2012-07-242-0/+7
| | | | | | | | | The initial support for the D-Link DAP-1350. USB related functionality is not tested. Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] initial LED configuration for Fonera 2.0nblogic2012-07-241-1/+2
| | | | | | | | Setup initial configuration for Wifi and USB LEDS of a Fonera 2.0n (ramips) Signed-off-by: Malte Forkel <malte.forkel@berlin.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32819 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add ALL5002 userspace supportblogic2012-07-242-1/+4
| | | | | | | | detect EEPROM, MAC addresses and support sysupgrade for the ALL5002 Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for Edimax 3G-6200Njuhosg2012-07-124-1/+10
| | | | | | | | Support for Edimax 3G-6200N router with USB. Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mac address detection for Fonera 2.0nacinonyx2012-06-231-0/+5
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Routerjuhosg2012-06-193-0/+6
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use the generic uci-default functions for initial LED setupjuhosg2012-05-291-41/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: WAN LED for D-Link DIR-300-B1juhosg2012-05-291-0/+24
| | | | | | | | | | | | | | | | | | Add led devices for D-Link DIR-300-B1 WAN LED. Note that the GPIO state is also ANDed with the esw switch port 4 LED state, which is why I've set the amber LED to default-on. Closes: https://dev.openwrt.org/ticket/11326 Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> [ juhosg: - fix comment style in mach-dir-300-revb.c, - remove the PPP specific LED setup, not everyone uses a PPP connection on the WAN interface] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make rt2x00 firmware extraction quietjuhosg2012-05-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: W306R V2.0 - GPIO and Network fixesjuhosg2012-05-022-2/+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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UNjuhosg2012-04-291-0/+1
| | | | | | Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the UR-336UN boardjuhosg2012-04-232-0/+12
| | | | | | Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Asus WL-330N3G boardjuhosg2012-04-232-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31450 3c298f89-4303-0410-b956-a3cf2f4a3e73