1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 16:26:15 +02:00
Commit Graph

341 Commits

Author SHA1 Message Date
juhosg
b623047424 ramips: change vlan_config for the ALFA W502U board
This change moves the WAN port into a separate VLAN.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:34:10 +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
f57ff12b98 ramips: generate sysupgrade image for the ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 11:48:48 +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
ad3e5bb078 ramips: add kernel support for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 11:48:45 +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
blogic
03810204dc ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 11:23:11 +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
71c649d097 ramips: rt288x: change base address and window size of flash bank 0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:36 +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
f3c0d1bebb ramips: define firmware partition for Omnima MiniEMBWiFi
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 14:27:05 +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
974654e8c5 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-04 15:24:57 +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
7a1df0165f ramips: add profile for the Asus RT-N15
This uses previously submitted rtl8366 kernel packages.

[juhosg: The kmod-gpio-dev package has been removed from the package list.]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:55 +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
53a1653b16 ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
It is needed by the RT-N15 board.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:53 +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
bee289fa27 ramips: fix Asus RT-N15 board support
Fix Asus RT-N15 flash partitions and make an image.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:42 +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
dbcdc67e0e ramips: fix package name of kmod-input-gpio-buttons
Based on a patch from Omnima Limited.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:39 +00:00
juhosg
63abf5ef7d ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:38 +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
acinonyx
893d0c6df4 [ramips] rt305x: Create factory image for Fonera 2.0n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-31 09:23:44 +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
b1f6b4ed8f ramips: fix switch-port assignment for HW550-3G
WAN is on swtich port 0 for Aztech HW550-3G.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:32 +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
b1b7fcb8bd ramips: rt305x: remove unused defines from mach-nw718.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-22 20:41:48 +00:00
juhosg
55a2482132 ramips: sort Makefile entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-22 20:41:47 +00:00
juhosg
1be8b8ebcd ramips: sort RAMIPS_MACH_* defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-22 20:41:45 +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