aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
Commit message (Collapse)AuthorAgeFilesLines
* ramips: use the generic uci-default functions for initial LED setupGabor Juhos2012-05-291-41/+8
| | | | SVN-Revision: 31993
* ramips: WAN LED for D-Link DIR-300-B1Gabor Juhos2012-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] SVN-Revision: 31989
* ramips: make rt2x00 firmware extraction quietGabor Juhos2012-05-271-1/+1
| | | | SVN-Revision: 31918
* ramips: W306R V2.0 - GPIO and Network fixesGabor Juhos2012-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> SVN-Revision: 31557
* ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UNGabor Juhos2012-04-291-0/+1
| | | | | | Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> SVN-Revision: 31507
* ramips: rt305x: add support for the UR-336UN boardGabor Juhos2012-04-232-0/+12
| | | | | | Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> SVN-Revision: 31451
* ramips: rt305x: add support for the Asus WL-330N3G boardGabor Juhos2012-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> SVN-Revision: 31450
* ramips: rt305x: add initial support for Tenda W306R V2.0Gabor Juhos2012-04-214-0/+13
| | | | | | | | | | 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: add support for the ARC FreeStation5 board, also fix WCR-150GN ↵Jo-Philipp Wich2012-03-292-1/+3
| | | | | | network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation SVN-Revision: 31144
* ramips: rt305x: add add support for the Asus WL-330N boardGabor Juhos2012-03-273-2/+4
| | | | | | | | | [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-042-1/+5
| | | | | | | | | | | | | | | | | | | | | | | 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-042-0/+4
| | | | | | | | | [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: merge identical switch configuration entriesGabor Juhos2012-02-221-23/+5
| | | | SVN-Revision: 30688
* ramips: use unified switch identifiers in uci-defaults/networkGabor Juhos2012-02-221-12/+12
| | | | SVN-Revision: 30687
* ramips: fix VLAN config of the RT-N15Gabor Juhos2012-02-221-2/+8
| | | | SVN-Revision: 30686
* ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G routerGabor Juhos2012-02-194-0/+9
| | | | | | | | | | | | | [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
* ramips: extract eeprom for the built-in wlan module on the RT-N56UGabor Juhos2012-02-161-1/+3
| | | | SVN-Revision: 30604
* add Ralink V11ST-FE board supportFlorian Fainelli2012-02-154-0/+14
| | | | | | | | | | This board is equipped with: - 4MB of NOR Flash - 32MB of SDRAM - IC+ IP175C switch - one Mini-PCI slot SVN-Revision: 30561
* ramips: extract eeprom for the PCIe wlan module on the RT-N56UGabor Juhos2012-02-141-4/+12
| | | | SVN-Revision: 30529
* ramips: add preliminary support for the Asus RT-N56U boardGabor Juhos2012-02-132-0/+15
| | | | SVN-Revision: 30498
* ramips: fix Belkin F5D8235-v2 VLAN setupGabor Juhos2012-02-111-4/+10
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 30452
* ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GNGabor Juhos2012-02-112-2/+4
| | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Accton WR6202 Mini 3G broadband router. Full details for this device are available at http://www.awbnetworks.com/products03.php?Fullkey=19. This device is identical to the SMCWBR11S-3GN: http://www.smc-asia.com/products03.php?Fullkey=210 It's also worth noting that this board has a GPIO line to control the power to the USB port. [juhosg: - fix checkpatch warnings, - reorder Kconfig entry, - merge the sysupgrade patch, - add GPL header] Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com> SVN-Revision: 30434
* ramips: rt305x: merge duplicated mac address setupGabor Juhos2012-02-111-6/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 30433
* ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boardsGabor Juhos2012-01-262-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Sitecom WL-341 v3 and other Sercomm IP1006RRv2 based boards for sysupgrade support and for the initial flash through pushbutton initiated recovery mode with the special partition table and fixes for the quirks and things required by the modified bootloader. There is a known bug, Wi-Fi is not working on my board probably because of the lack of RAM (the board only has 16MiB ram -- half of the normal amount for non rebadged versions, but there is an empty slot for another ram chip,) but I don't know for sure. The driver loads but hostapd fails to load so I think it's not related to the specific device except for the lack of RAM. Moreover, only 7 of the 11 onboard leds are confirmed working, it seems that one of the others is always on and the remaining ones are connected to the wireless card leds already recognized by OpenWrt [juhosg: reordered some parts in order to keep things sorted alphabetically] Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com> SVN-Revision: 29910
* ramips: add user-space support for ALL0256NGabor Juhos2012-01-243-0/+12
| | | | | | | | This adds uci-defaults and sysupgrade support for the ALL0256N. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 29883
* ramips: scripts updatesGabor Juhos2012-01-233-18/+42
| | | | | | | | | | | | | | | | | | | | | | | | 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-283-0/+6
| | | | | | Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 29617
* ramips: rt305x: add support for the ALFA Networks W502U (R36) boardGabor Juhos2011-12-284-1/+15
| | | | SVN-Revision: 29615
* ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N boardGabor Juhos2011-12-273-0/+13
| | | | SVN-Revision: 29612
* ramips: initial support for Sitecom WL-351 v1 002Gabor Juhos2011-12-233-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-234-0/+22
| | | | | | Signed-off-by: Artur Wronowski <arteqw@gmail.com> SVN-Revision: 29603
* ramips: add support for Omnima MiniEMBWiFi boardGabor Juhos2011-12-142-0/+4
| | | | | | | | | 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: fix mac addresses on the DIR-300/600 boardsGabor Juhos2011-12-061-0/+7
| | | | SVN-Revision: 29471
* ramips: set mac addresses for the NBG-419NGabor Juhos2011-12-051-0/+5
| | | | | | Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net> SVN-Revision: 29454
* ramips: move ramips_get_mac_* functions to lib/ramips.shGabor Juhos2011-12-051-33/+0
| | | | SVN-Revision: 29451
* ramips: add ramips_ prefix to get_mac_{binary,nvram} functionsGabor Juhos2011-12-051-6/+6
| | | | SVN-Revision: 29450
* ramips: fix network configuration setupGabor Juhos2011-12-051-3/+3
| | | | SVN-Revision: 29448
* ramips: setup default network configuration for RT-N15Gabor Juhos2011-12-011-1/+9
| | | | | | Based on a patch by Roman Yeryomin <roman@advem.lv> SVN-Revision: 29390
* ramips: remove default network configuration, and generate that from ↵Gabor Juhos2011-12-011-1/+8
| | | | | | uci-defaults SVN-Revision: 29387
* ramips: use /lib/functions/uci-defaults.shGabor Juhos2011-12-011-26/+12
| | | | SVN-Revision: 29386
* ramips: simplify uci-defaults/network scriptGabor Juhos2011-12-011-50/+13
| | | | SVN-Revision: 29383
* ramips: setup mac and network interfaces from separate functionsGabor Juhos2011-12-011-8/+30
| | | | SVN-Revision: 29382
* ramips: Sparklan wcr-150gn board fixesGabor Juhos2011-12-011-1/+1
| | | | | | | | | | | | * Fix partition sizes. * Add buttons and leds. * Register usb. * Remove unnecessary stuff from image Makefile * Fix rt2x00 eeprom extract. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 29380
* ramips: setup bc2 mac addresses from the generic network scriptGabor Juhos2011-12-012-36/+1
| | | | SVN-Revision: 29377
* ramips: combine network setup for all boards in one fileGabor Juhos2011-12-012-39/+116
| | | | | | | | | | | | | Inspired by the patch from Roman Yeryomin. Thanks, Roman! This removes unnecessary duplication and simplifies network setup for new boards. It would be a one line change most likely. [juhosg: setup lan and wan interfaces for unspecified rt3x0x based boards in order to avoid regression] Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> SVN-Revision: 29376
* ramips: Support for NexAira BC2Gabor Juhos2011-10-243-0/+40
| | | | | | | | | The preconfiguration of the USB LED has benn move to the /etc/uci-defaults/leds script. [juhosg] Signed-off-by: Adam Porter <porter.adam at gmail.com> SVN-Revision: 28571
* ramips: combine led setup for all boards in one fileGabor Juhos2011-10-245-85/+34
| | | | | | | | | This removes unnecessary duplication and simplifies led setup for new boards. It would be a one line change most likely. Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> SVN-Revision: 28569
* ramips: rt305x: add support for the ZyXEL NBG-419N boardGabor Juhos2011-08-222-0/+4
| | | | SVN-Revision: 28078