Gabor Juhos
b0449ccf04
ramips: W306R V2.0 - GPIO and Network fixes
...
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
13 years ago
Gabor Juhos
1ab80c7817
ramips: rt305x: add support for the UR-336UN board
...
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>
SVN-Revision: 31451
13 years ago
Gabor Juhos
3626444c6d
ramips: rt305x: add support for the Asus WL-330N3G board
...
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
13 years ago
Gabor Juhos
7f902c962b
ramips: rt305x: add OHCI/EHCI registration code for RT3352
...
SVN-Revision: 31402
13 years ago
Gabor Juhos
1645928135
ramips: rt305x: fix CPU clock detection on RT3352
...
SVN-Revision: 31401
13 years ago
Gabor Juhos
fb69e28eaf
ramips: rt305x: use different memory size setup for RT3352
...
SVN-Revision: 31400
13 years ago
Gabor Juhos
fc88a363c0
ramips: rt305x: add initial support for Tenda W306R V2.0
...
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
13 years ago
Jo-Philipp Wich
e9c4d3d1f2
ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation
...
SVN-Revision: 31144
13 years ago
Gabor Juhos
d495277d9f
ramips: rt305x: build image for the DIR-615 rev D boards
...
Patch from #10105 .
SVN-Revision: 31101
13 years ago
Gabor Juhos
e4e24c5512
ramips: rt305x: add add support for the Asus WL-330N board
...
[juhosg: reorder several lines in order to keep things sorted
alphabetically]
Signed-off-by: Frédéric Leroy <fredo@starox.org>
SVN-Revision: 31100
13 years ago
Gabor Juhos
0f77d0b2ba
ramips: add RT3350 detection
...
SVN-Revision: 30900
13 years ago
Gabor Juhos
05d3f559f5
ramips: rt305x: rewrite SoC detection
...
SVN-Revision: 30890
13 years ago
Gabor Juhos
8cf8ee8f9d
ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
...
SVN-Revision: 30889
13 years ago
Gabor Juhos
acb4ad86e5
ramips: replace RALINK_SOC_* macros with global variables
...
SVN-Revision: 30888
13 years ago
Gabor Juhos
8cff770eb3
ramips: introduce ramips_soc_prom_init and move SoC detection into that
...
SVN-Revision: 30887
13 years ago
Gabor Juhos
4e15457e0e
ramips: allow to use DSP ASE on RT3xxx
...
SVN-Revision: 30879
13 years ago
Gabor Juhos
0e486d2fd2
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>
SVN-Revision: 30809
13 years ago
Gabor Juhos
44c8b396f9
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>
SVN-Revision: 30808
13 years ago
Gabor Juhos
72599f0c61
ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
...
SVN-Revision: 30733
13 years ago
Gabor Juhos
100f76a010
ramips: raeth: add rx_info structure
...
This helps to reduce code size on RX path:
add/remove: 0/0 grow/shrink: 3/1 up/down: 68/-56 (12)
function old new delta
ramips_eth_open 1104 1144 +40
ramips_ring_free 212 232 +20
ramips_eth_stop 400 408 +8
ramips_eth_rx_hw 648 592 -56
SVN-Revision: 30732
13 years ago
Gabor Juhos
32e7b1c7d9
ramips: raeth: add tx_info structure
...
This helps to reduce code size on TX path:
add/remove: 0/0 grow/shrink: 1/4 up/down: 56/-92 (-36)
function old new delta
ramips_eth_open 1048 1104 +56
ramips_eth_tx_housekeeping 156 148 -8
ramips_ring_free 224 212 -12
ramips_eth_stop 420 400 -20
ramips_eth_hard_start_xmit 480 428 -52
SVN-Revision: 30731
13 years ago
Gabor Juhos
30143b715c
ramips: raeth: don't process disabled interrupts
...
Also rename the 'fe_int' variable.
SVN-Revision: 30713
13 years ago
Gabor Juhos
a18a821733
ramips: raeth: show interrupt statistics in debugfs
...
SVN-Revision: 30681
13 years ago
Gabor Juhos
214216c04d
ramips: raeth: add debugfs support
...
SVN-Revision: 30680
13 years ago
Gabor Juhos
c1e4d709fa
ramips: raeth: rename main source file
...
SVN-Revision: 30679
13 years ago
Gabor Juhos
5e6bc97d0c
ramips: raeth: add missing Kconfig and Makefile
...
SVN-Revision: 30671
13 years ago
Gabor Juhos
3ba0f4e1ca
ramips: move the ethernet driver into a separate directory
...
Also clean up the Kconfig symbols.
SVN-Revision: 30670
13 years ago
Gabor Juhos
a6d904b1d6
ramips: rename the spi driver
...
SVN-Revision: 30669
13 years ago
Gabor Juhos
dd001a4b0f
ramips: rt3883: make rt3883_nand_data visible
...
SVN-Revision: 30655
13 years ago
Gabor Juhos
62f213eab9
ramips: merge 3.2 fixes
...
SVN-Revision: 30652
13 years ago
Gabor Juhos
e2ea72515f
ramips: rt305x: nuke built-in MTD partition maps
...
SVN-Revision: 30650
13 years ago
Gabor Juhos
de6405c898
ramips: rt288x: nuke built-in MTD partition maps
...
SVN-Revision: 30649
13 years ago
Gabor Juhos
3489515a7e
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>
SVN-Revision: 30645
13 years ago
Gabor Juhos
990ed96a2a
ralink: rt3883: disable the 2GHz band on the RT-N56U
...
SVN-Revision: 30632
13 years ago
Gabor Juhos
5710530c41
ramips: rt3883: make rt3883_wlan_data visible
...
SVN-Revision: 30631
13 years ago
Gabor Juhos
dabca24361
ramips: rt3883: change eeprom file name
...
SVN-Revision: 30603
13 years ago
Gabor Juhos
00d963999d
ramips: select HW_HAS_PCI on per-board basis
...
SVN-Revision: 30576
13 years ago
Gabor Juhos
fc967295ec
ramips: rt3883: remove a stray character from rt3883.h
...
SVN-Revision: 30575
13 years ago
Gabor Juhos
b4af07d5c0
ramips: rt288x: don't register the PCI controller on each board
...
SVN-Revision: 30574
13 years ago
Gabor Juhos
f8a56dc8df
ramips: raeth: separate ring allocation and setup
...
SVN-Revision: 30573
13 years ago
Gabor Juhos
49fc54be3d
ramips: rt288x: fix PCI resource conflict
...
SVN-Revision: 30563
13 years ago
Florian Fainelli
37f8c19028
correct PCI IO/Mem resource swapping
...
SVN-Revision: 30562
13 years ago
Florian Fainelli
3ceebbba14
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
SVN-Revision: 30561
13 years ago
Gabor Juhos
8b8d9a8336
ramips: raeth: add a helper function for skb allocation
...
SVN-Revision: 30555
13 years ago
Gabor Juhos
e57546de83
ramips: raeth: use netdev_alloc_skb
...
SVN-Revision: 30554
13 years ago
Gabor Juhos
064855314b
ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
...
This helps GCC to generare more efficient code.
SVN-Revision: 30553
13 years ago
Gabor Juhos
8c95385d78
ramips: raeth: use 're' instead of 'priv' everywhere
...
SVN-Revision: 30552
13 years ago
Gabor Juhos
b3b79365f3
ramips: raeth: force link down in ramips_phy_stop
...
SVN-Revision: 30550
13 years ago
Gabor Juhos
3e7b461431
ramips: raeth: serialize ramips_link_adjust calls
...
SVN-Revision: 30549
13 years ago
Gabor Juhos
dcb13d4098
ramips: raeth: add PHYLIB support
...
SVN-Revision: 30547
13 years ago