summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
Commit message (Collapse)AuthorAgeFilesLines
* ramips: Enable sysupgrade for Sitecom WL-351juhosg2012-05-231-0/+1
| | | | | | | | | Sysupgrade works just fine on my Sitecom WL-351 after adding this oneliner. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the UR-336UN boardjuhosg2012-04-232-0/+4
| | | | | | 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-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ramips: rt305x: add initial support for Tenda W306R V2.0juhosg2012-04-213-0/+5
| | | | | | | | | | 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] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN ↵jow2012-03-293-0/+5
| | | | | | network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add add support for the Asus WL-330N boardjuhosg2012-03-273-0/+5
| | | | | | | | | [juhosg: reorder several lines in order to keep things sorted alphabetically] Signed-off-by: Frédéric Leroy <fredo@starox.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for unbranded XDX-RN502J boardjuhosg2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: board support for Asus RT-N10+juhosg2012-03-043-0/+8
| | | | | | | | | [juhosg: fix indentation in platform scripts, and remove debug messages from 06_set_iface_mac] Signed-off-by: Patrick van Staveren <trick@vanstaveren.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G routerjuhosg2012-02-193-1/+6
| | | | | | | | | | | | | [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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add Ralink V11ST-FE board supportflorian2012-02-151-0/+3
| | | | | | | | | | This board is equipped with: - 4MB of NOR Flash - 32MB of SDRAM - IC+ IP175C switch - one Mini-PCI slot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add preliminary support for the Asus RT-N56U boardjuhosg2012-02-133-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: load gpio-polled keys modulejuhosg2012-02-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GNjuhosg2012-02-113-1/+6
| | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boardsjuhosg2012-01-263-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for ALL0256Njuhosg2012-01-243-1/+8
| | | | | | | | This adds uci-defaults and sysupgrade support for the ALL0256N. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: scripts updatesjuhosg2012-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add sysled and sysupgrade to wr512-3gnjuhosg2012-01-221-1/+2
| | | | | | Patch from #10035. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: sysupgrade for ESR-9753juhosg2012-01-201-0/+1
| | | | | | | | This patch add sysupgrade for Engenius ESR-9753 Signed-off-by: Artur Wronowski <arteqw@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: add support for the Belkin F5D8235-4 v1 boardjuhosg2011-12-281-0/+3
| | | | | | Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the ALFA Networks W502U (R36) boardjuhosg2011-12-283-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N boardjuhosg2011-12-272-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: initial support for Sitecom WL-351 v1 002juhosg2011-12-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for the Senao/EnGenius ESR-9753 boardjuhosg2011-12-232-1/+4
| | | | | | Signed-off-by: Artur Wronowski <arteqw@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Omnima MiniEMBWiFi boardjuhosg2011-12-143-1/+6
| | | | | | | | | This patch adds support for the Omnima MiniEMBWiFi Ralink RT3050F based board. Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix mac addresses on the DIR-300/600 boardsjuhosg2011-12-061-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set mac addresses for the NBG-419Njuhosg2011-12-051-1/+2
| | | | | | Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set preinit interface mac on the hw550-3g boardjuhosg2011-12-051-0/+4
| | | | | | Based on a patch by Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use ramips_get_mac_* functions in the preinit scriptjuhosg2011-12-051-18/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move ramips_get_mac_* functions to lib/ramips.shjuhosg2011-12-051-0/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable sysupgrade on the RT-N15 boardjuhosg2011-12-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: wrap long line in platform upgrade scriptjuhosg2011-12-011-1/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Support for NexAira BC2juhosg2011-10-243-2/+5
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the ZyXEL NBG-419N boardjuhosg2011-08-222-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix wireless firmware extraction for wr512-3gnjuhosg2011-08-221-1/+1
| | | | | | Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: support for wr512-3gn-like routersjuhosg2011-08-191-0/+3
| | | | | | Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: fix mac addresses on the Netcore NW718 boardjuhosg2011-08-151-0/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: load the input drivers during preinitjuhosg2011-08-151-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Argus ATP-52Bjuhosg2011-08-151-0/+3
| | | | | | | | [The ESW related changes has been removed - juhosg] Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Netcore NW718 boardjuhosg2011-07-282-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Asus RT-G32 B1 boardjuhosg2011-07-282-1/+4
| | | | | | Based on a patch by: Sergiy <piratfm@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the DIR-600 B1,B2 boardsjuhosg2011-07-282-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: change machine id for DIR-300juhosg2011-07-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add all supported boards to lib/ramips.shjuhosg2011-07-031-5/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: disable watchdog on sysupgradejuhosg2011-07-031-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: initial board support for MOFI3500-3GNjuhosg2011-04-042-1/+4
| | | | | | | | | | This patch adds initial board support for the MoFi Network MOFI3500-3GN (Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG). This router is basically the NA version of the HW550-3G. Signed-off-by: Layne Edwards <ledwards76@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add sysupgrade and status LED support for HW550-3Gjuhosg2011-03-271-1/+1
| | | | | | | | | This patch adds sysupgrade and status LED support for the Aztech HW550-3G. Some LED GPIOs were changed for clarity. Signed-off-by: Layne Edwards <ledwards76@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: initial board support for Aztech HW550-3Gjuhosg2011-03-131-0/+3
| | | | | | | | | | | This patch adds initial support for the Aztech HW550-3G (Ralink RT3052f SoC, 8MB flash, 32MB dram). Ethernet is not working yet. Wireless appears to work fine. USB does not work yet (as with other Ralink boards). Signed-off-by: Layne Edwards <ledwards76@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Added preinit scriptlet to set vars based on cpuinfo during ↵cshore2010-05-301-0/+7
| | | | | | preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add sysupgrade supportjuhosg2010-04-111-0/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add diag supportjuhosg2010-04-111-0/+31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20799 3c298f89-4303-0410-b956-a3cf2f4a3e73