1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-04 19:29:42 +02:00
Commit Graph

74 Commits

Author SHA1 Message Date
juhosg
a88314062b ramips: add support for unbranded XDX-RN502J board
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
2012-03-04 16:09:13 +00:00
juhosg
6e1646817e ramips: board support for Asus RT-N10+
[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
2012-03-04 16:09:11 +00:00
juhosg
f8f3c2b274 ramips: merge identical switch configuration entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:19 +00:00
juhosg
180721623a ramips: use unified switch identifiers in uci-defaults/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:17 +00:00
juhosg
88c727bd85 ramips: fix VLAN config of the RT-N15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:15 +00:00
juhosg
f6ba1d4f8c ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[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
2012-02-19 16:44:49 +00:00
juhosg
c2da468a0c ramips: extract eeprom for the built-in wlan module on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 20:06:22 +00:00
florian
62c0190fa5 [ramips] add Ralink V11ST-FE board support
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
2012-02-15 21:13:11 +00:00
juhosg
d54a0c39e1 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:45 +00:00
juhosg
2223374185 ramips: add preliminary support for the Asus RT-N56U board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:04 +00:00
juhosg
129f9cacb9 ramips: load gpio-polled keys module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 20:37:34 +00:00
juhosg
3613a73356 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:31:18 +00:00
juhosg
7a5c327fcf ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
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
2012-02-11 15:11:36 +00:00
juhosg
d69d16fbbd ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:34 +00:00
juhosg
57ffcdaccd ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
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
2012-01-26 10:44:23 +00:00
juhosg
64435afc83 ramips: add user-space support for ALL0256N
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
2012-01-24 11:48:47 +00:00
juhosg
20d9fd2c16 ramips: scripts updates
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
2012-01-23 10:23:32 +00:00
juhosg
608335c636 ramips fix f5d8235-v1 diag LED support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 18:11:39 +00:00
juhosg
a40700d373 ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:43:23 +00:00
juhosg
1047651f0e ramips: sysupgrade for ESR-9753
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
2012-01-20 10:49:26 +00:00
juhosg
c1be681672 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:43 +00:00
juhosg
0cbcd33f32 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:32 +00:00
juhosg
66769bfe50 ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:56:30 +00:00
juhosg
b95eb02775 ramips: initial support for Sitecom WL-351 v1 002
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
2011-12-23 14:27:16 +00:00
juhosg
a46cfc6bcc ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 14:27:10 +00:00
juhosg
2b913567e8 ramips: add support for Omnima MiniEMBWiFi board
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
2011-12-14 20:51:26 +00:00
juhosg
9de4cb5314 ramips: fix mac addresses on the DIR-300/600 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 20:06:08 +00:00
juhosg
6f27fcc4b0 ramips: set mac addresses for the NBG-419N
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
2011-12-05 17:27:07 +00:00
juhosg
0a03c64116 ramips: set preinit interface mac on the hw550-3g board
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
2011-12-05 17:27:06 +00:00
juhosg
d7a5a32c17 ramips: use ramips_get_mac_* functions in the preinit script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:04 +00:00
juhosg
e595553be8 ramips: move ramips_get_mac_* functions to lib/ramips.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:03 +00:00
juhosg
5db41b5518 ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:02 +00:00
juhosg
8b0e381068 ramips: fix network configuration setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 16:54:48 +00:00
juhosg
216fce04c3 ramips: enable sysupgrade on the RT-N15 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:58 +00:00
juhosg
a24e101ea6 ramips: wrap long line in platform upgrade script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:57 +00:00
juhosg
3c681484c2 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:54 +00:00
juhosg
52d2b347d2 ramips: remove default network configuration, and generate that from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:51 +00:00
juhosg
a0f4e5c8de ramips: use /lib/functions/uci-defaults.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:48 +00:00
juhosg
0c608fa18a ramips: simplify uci-defaults/network script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:45 +00:00
juhosg
a77cc3e6c0 ramips: setup mac and network interfaces from separate functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:43 +00:00
juhosg
fc0b7d945e ramips: Sparklan wcr-150gn board fixes
* 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:41 +00:00
juhosg
1fe43c4a68 ramips: setup bc2 mac addresses from the generic network script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:37 +00:00
juhosg
f9f721e5ba ramips: combine network setup for all boards in one file
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:35 +00:00
juhosg
ab4232bf2d ramips: Support for NexAira BC2
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
2011-10-24 21:49:36 +00:00
juhosg
0f217d1398 ramips: combine led setup for all boards in one file
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:31 +00:00
juhosg
fbf0dc1df6 ramips: rt305x: add support for the ZyXEL NBG-419N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-22 20:41:49 +00:00
juhosg
3e6b1ff9dc ramips: fix wireless firmware extraction for wr512-3gn
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-22 18:08:45 +00:00
juhosg
2d61da5a90 ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-19 15:55:10 +00:00
juhosg
094c8b4e78 ramips: fix wireless on Belkin F5D8235 v2
Fix wireless firmware extract from flash for Belkin F5D8235 v2.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-19 15:55:07 +00:00
juhosg
36991e8520 ramips: use maccalc instead of hexdump + sed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 19:00:23 +00:00