Commit graph

559 commits

Author SHA1 Message Date
Gabor Juhos
7f902c962b ramips: rt305x: add OHCI/EHCI registration code for RT3352
SVN-Revision: 31402
2012-04-21 12:30:48 +00:00
Gabor Juhos
1645928135 ramips: rt305x: fix CPU clock detection on RT3352
SVN-Revision: 31401
2012-04-21 12:30:47 +00:00
Gabor Juhos
fb69e28eaf ramips: rt305x: use different memory size setup for RT3352
SVN-Revision: 31400
2012-04-21 12:30:45 +00:00
Gabor Juhos
818aeba960 ramips: rt3883: add profile and build sysupgrade image for the RT-N56U
SVN-Revision: 31399
2012-04-21 12:30:44 +00:00
Gabor Juhos
6b677e1d22 ramips: add swconfig to the default package list
SVN-Revision: 31398
2012-04-21 12:30:43 +00:00
Gabor Juhos
ced031a0b2 ramips: build initramfs image for the Fonera 2.0N
SVN-Revision: 31397
2012-04-21 12:30:42 +00:00
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
2012-04-21 12:30:40 +00:00
Gabor Juhos
88b5827c52 ramips: remove hardcoded console parameter from kernel configs
SVN-Revision: 31395
2012-04-21 12:30:30 +00:00
Jonas Gorski
a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Jonas Gorski
d87efd8c3c kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
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
2012-03-29 16:03:04 +00:00
Gabor Juhos
d495277d9f ramips: rt305x: build image for the DIR-615 rev D boards
Patch from #10105.

SVN-Revision: 31101
2012-03-27 19:29:59 +00:00
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
2012-03-27 19:29:57 +00:00
Gabor Juhos
c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Gabor Juhos
18f7081e17 ramips: rt305x: add profile for the AZtech HW-5503G board
Patch from #11085.

SVN-Revision: 30907
2012-03-12 17:29:06 +00:00
Gabor Juhos
0f77d0b2ba ramips: add RT3350 detection
SVN-Revision: 30900
2012-03-12 16:12:13 +00:00
Gabor Juhos
05d3f559f5 ramips: rt305x: rewrite SoC detection
SVN-Revision: 30890
2012-03-11 19:05:59 +00:00
Gabor Juhos
8cf8ee8f9d ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
SVN-Revision: 30889
2012-03-11 19:05:57 +00:00
Gabor Juhos
acb4ad86e5 ramips: replace RALINK_SOC_* macros with global variables
SVN-Revision: 30888
2012-03-11 19:05:56 +00:00
Gabor Juhos
8cff770eb3 ramips: introduce ramips_soc_prom_init and move SoC detection into that
SVN-Revision: 30887
2012-03-11 19:05:53 +00:00
Gabor Juhos
6c51c47962 ramips: build initramfs image for DIR-{3,6}00 boards
SVN-Revision: 30882
2012-03-11 16:39:31 +00:00
Gabor Juhos
4e15457e0e ramips: allow to use DSP ASE on RT3xxx
SVN-Revision: 30879
2012-03-11 16:39:26 +00:00
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
2012-03-04 16:09:13 +00:00
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
2012-03-04 16:09:11 +00:00
Gabor Juhos
9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos
72599f0c61 ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
SVN-Revision: 30733
2012-02-26 10:54:13 +00:00
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
2012-02-26 10:54:12 +00:00
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
2012-02-26 10:54:10 +00:00
Gabor Juhos
30143b715c ramips: raeth: don't process disabled interrupts
Also rename the 'fe_int' variable.

SVN-Revision: 30713
2012-02-25 11:59:19 +00:00
Gabor Juhos
6990f66861 ramips: fix FONERA20N image generation
SVN-Revision: 30710
2012-02-24 16:18:46 +00:00
Gabor Juhos
9afeeae65e ramips: image: increase minimum kernel partition size to 896k
SVN-Revision: 30706
2012-02-23 19:58:16 +00:00
Gabor Juhos
7089b5213e ramips: image: cleanup and sort templates/profiles
SVN-Revision: 30705
2012-02-23 19:58:15 +00:00
Gabor Juhos
c8718a220b ramips: image: use GENERIC_4M template for the ALL0256N board
SVN-Revision: 30704
2012-02-23 19:58:14 +00:00
Gabor Juhos
507c7d30f5 ramips: image: introduce mkmtd/{,phys,spi} helpers
SVN-Revision: 30703
2012-02-23 19:58:12 +00:00
Gabor Juhos
5f63ea18aa ramips: image: pass mtdlayout variables by value
SVN-Revision: 30702
2012-02-23 19:58:11 +00:00
Gabor Juhos
49e53c06b9 ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
2012-02-23 19:58:10 +00:00
Gabor Juhos
00e7277a4c ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
SVN-Revision: 30700
2012-02-23 19:58:07 +00:00
Gabor Juhos
554010d55b ramips: image: introduce mkcmdline helper
SVN-Revision: 30699
2012-02-23 19:58:06 +00:00
Gabor Juhos
32c6d63acf ramips: image: use the GENERIC_4M template for the V11ST-FE board
SVN-Revision: 30698
2012-02-23 19:58:04 +00:00
Gabor Juhos
ab65053cf0 ramips: image: simplify Makefile a bit
SVN-Revision: 30697
2012-02-23 19:58:03 +00:00
Gabor Juhos
9017fce3a2 ramips: image: add MkImageLzma wrapper
SVN-Revision: 30696
2012-02-23 19:58:02 +00:00
Gabor Juhos
c9d8f471fc ramips: image: allow to build board specific initramfs images
SVN-Revision: 30695
2012-02-23 19:58:01 +00:00
Gabor Juhos
c0974b46a5 ramips: merge identical switch configuration entries
SVN-Revision: 30688
2012-02-22 19:46:19 +00:00
Gabor Juhos
a9101a144c ramips: use unified switch identifiers in uci-defaults/network
SVN-Revision: 30687
2012-02-22 19:46:17 +00:00
Gabor Juhos
b6522f372f ramips: fix VLAN config of the RT-N15
SVN-Revision: 30686
2012-02-22 19:46:15 +00:00
Gabor Juhos
a18a821733 ramips: raeth: show interrupt statistics in debugfs
SVN-Revision: 30681
2012-02-22 13:06:44 +00:00
Gabor Juhos
214216c04d ramips: raeth: add debugfs support
SVN-Revision: 30680
2012-02-22 13:06:42 +00:00
Gabor Juhos
c1e4d709fa ramips: raeth: rename main source file
SVN-Revision: 30679
2012-02-22 13:06:41 +00:00
Gabor Juhos
5e6bc97d0c ramips: raeth: add missing Kconfig and Makefile
SVN-Revision: 30671
2012-02-21 09:44:30 +00:00
Gabor Juhos
3ba0f4e1ca ramips: move the ethernet driver into a separate directory
Also clean up the Kconfig symbols.

SVN-Revision: 30670
2012-02-21 09:26:43 +00:00
Gabor Juhos
a6d904b1d6 ramips: rename the spi driver
SVN-Revision: 30669
2012-02-21 09:26:41 +00:00
Gabor Juhos
dd001a4b0f ramips: rt3883: make rt3883_nand_data visible
SVN-Revision: 30655
2012-02-19 19:40:37 +00:00
Gabor Juhos
62f213eab9 ramips: merge 3.2 fixes
SVN-Revision: 30652
2012-02-19 17:52:23 +00:00
Gabor Juhos
18fdaee00b ramips: nuke 2.6.39 support
SVN-Revision: 30651
2012-02-19 17:52:20 +00:00
Gabor Juhos
e2ea72515f ramips: rt305x: nuke built-in MTD partition maps
SVN-Revision: 30650
2012-02-19 17:52:15 +00:00
Gabor Juhos
de6405c898 ramips: rt288x: nuke built-in MTD partition maps
SVN-Revision: 30649
2012-02-19 17:52:11 +00:00
Gabor Juhos
e7f59b9326 ramips: build sysupgrade image for the V11ST-FE board
SVN-Revision: 30648
2012-02-19 17:52:08 +00:00
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
2012-02-19 16:44:49 +00:00
Gabor Juhos
990ed96a2a ralink: rt3883: disable the 2GHz band on the RT-N56U
SVN-Revision: 30632
2012-02-18 17:36:21 +00:00
Gabor Juhos
5710530c41 ramips: rt3883: make rt3883_wlan_data visible
SVN-Revision: 30631
2012-02-18 17:36:16 +00:00
Gabor Juhos
e17a3ffbbd ramips: extract eeprom for the built-in wlan module on the RT-N56U
SVN-Revision: 30604
2012-02-16 20:06:22 +00:00
Gabor Juhos
dabca24361 ramips: rt3883: change eeprom file name
SVN-Revision: 30603
2012-02-16 20:06:21 +00:00
Gabor Juhos
00d963999d ramips: select HW_HAS_PCI on per-board basis
SVN-Revision: 30576
2012-02-16 08:17:54 +00:00
Gabor Juhos
fc967295ec ramips: rt3883: remove a stray character from rt3883.h
SVN-Revision: 30575
2012-02-16 08:17:53 +00:00
Gabor Juhos
b4af07d5c0 ramips: rt288x: don't register the PCI controller on each board
SVN-Revision: 30574
2012-02-16 08:17:52 +00:00
Gabor Juhos
f8a56dc8df ramips: raeth: separate ring allocation and setup
SVN-Revision: 30573
2012-02-16 08:17:50 +00:00
Gabor Juhos
49fc54be3d ramips: rt288x: fix PCI resource conflict
SVN-Revision: 30563
2012-02-15 21:19:02 +00:00
Florian Fainelli
37f8c19028 correct PCI IO/Mem resource swapping
SVN-Revision: 30562
2012-02-15 21:13:21 +00:00
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
2012-02-15 21:13:11 +00:00
Gabor Juhos
8b8d9a8336 ramips: raeth: add a helper function for skb allocation
SVN-Revision: 30555
2012-02-15 18:33:42 +00:00
Gabor Juhos
e57546de83 ramips: raeth: use netdev_alloc_skb
SVN-Revision: 30554
2012-02-15 18:33:41 +00:00
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
2012-02-15 18:33:40 +00:00
Gabor Juhos
8c95385d78 ramips: raeth: use 're' instead of 'priv' everywhere
SVN-Revision: 30552
2012-02-15 18:33:38 +00:00
Gabor Juhos
b3b79365f3 ramips: raeth: force link down in ramips_phy_stop
SVN-Revision: 30550
2012-02-15 13:47:52 +00:00
Gabor Juhos
3e7b461431 ramips: raeth: serialize ramips_link_adjust calls
SVN-Revision: 30549
2012-02-15 13:47:50 +00:00
Gabor Juhos
dcb13d4098 ramips: raeth: add PHYLIB support
SVN-Revision: 30547
2012-02-15 06:47:12 +00:00
Gabor Juhos
02a01a16c7 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
SVN-Revision: 30529
2012-02-14 17:32:45 +00:00
Gabor Juhos
43d1a2c3ab ramips: rt3883: enable PCI on the RT-N56U board
SVN-Revision: 30528
2012-02-14 17:32:44 +00:00
Gabor Juhos
784be92e39 ramips: rt3883: add PCI support
SVN-Revision: 30527
2012-02-14 17:32:42 +00:00
Gabor Juhos
10f00dc48b ramips: rt3883: sync 2.6.39 config
SVN-Revision: 30526
2012-02-14 17:32:41 +00:00
Gabor Juhos
ed79921fe5 ramips: use SoC specific irq.h
SVN-Revision: 30525
2012-02-14 17:32:40 +00:00
Gabor Juhos
8d5dfa75e6 ramips: rt3883: update package list in the default profile
SVN-Revision: 30499
2012-02-13 15:18:05 +00:00
Gabor Juhos
99c019fb0d ramips: add preliminary support for the Asus RT-N56U board
SVN-Revision: 30498
2012-02-13 15:18:04 +00:00
Gabor Juhos
97e641a0e6 ramips: raeth: enable MDIO code for RT3883
SVN-Revision: 30497
2012-02-13 15:18:03 +00:00
Gabor Juhos
e532fa5fd4 ramips: add preliminary support for the RT3662/RT3883 SoCs
SVN-Revision: 30495
2012-02-13 15:17:59 +00:00
Gabor Juhos
22ec8b4839 ramips: use GENERIC_{4,8}M image template for WR5123GN
SVN-Revision: 30483
2012-02-12 18:04:47 +00:00
Gabor Juhos
b7f129e19b ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
SVN-Revision: 30482
2012-02-12 18:04:46 +00:00
Gabor Juhos
a287c60a61 ramips: add initial support for 3.2
SVN-Revision: 30476
2012-02-12 12:52:14 +00:00
Gabor Juhos
388013b0ce ramips: include 'linux/module.h' in the ramips_spi driver
SVN-Revision: 30475
2012-02-12 12:52:13 +00:00
Gabor Juhos
faae4235c4 ramips: rt288x: remove per-board physmap_flash_data instances
SVN-Revision: 30474
2012-02-12 12:52:12 +00:00
Gabor Juhos
3502e2b93f ramips: rt305x: remove per-board physmap_flash_data instances
SVN-Revision: 30473
2012-02-12 12:52:10 +00:00
Gabor Juhos
3a11dcdaa8 ramips: load gpio-polled keys module
SVN-Revision: 30463
2012-02-11 20:37:34 +00:00
Gabor Juhos
323ece9474 ramips: remove yet another CONFIG_MTD_PARTITION ifdef
SVN-Revision: 30462
2012-02-11 19:37:11 +00:00
Gabor Juhos
32b9e8c750 ramips: use gpio-keys-polled instead of gpio-buttons
SVN-Revision: 30461
2012-02-11 19:37:06 +00:00
Gabor Juhos
80b40497de ramips: add MIPS platform file
SVN-Revision: 30459
2012-02-11 18:16:11 +00:00
Gabor Juhos
4e1b870f3e ramips: add MDIO bus support for RT288X
SVN-Revision: 30455
2012-02-11 16:49:56 +00:00
Gabor Juhos
34a9ccf544 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30452
2012-02-11 15:31:18 +00:00
Gabor Juhos
8916c02b47 ramips: raeth: make debugging messages configurable
SVN-Revision: 30450
2012-02-11 15:12:10 +00:00
Gabor Juhos
aac3ad4c0e ramips: raeth: use device pointer in DMA API calls
SVN-Revision: 30449
2012-02-11 15:12:08 +00:00
Gabor Juhos
1fd8724e94 ramips: raeth: add netdev pointer to private structure
SVN-Revision: 30448
2012-02-11 15:12:06 +00:00
Gabor Juhos
c6fa11d00f ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
SVN-Revision: 30447
2012-02-11 15:12:05 +00:00
Gabor Juhos
2d055f130e ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
SVN-Revision: 30446
2012-02-11 15:12:04 +00:00
Gabor Juhos
7bd7ddcf4e ramips: raeth: add rx_dma array to store the DMA address of the rx packets
SVN-Revision: 30445
2012-02-11 15:12:02 +00:00
Gabor Juhos
647af823d9 ramips: raeth: use dma_addr_t for the descriptors
SVN-Revision: 30444
2012-02-11 15:12:01 +00:00
Gabor Juhos
df5892d1f1 ramips: raeth: unmap DMA memory when a packet is received
SVN-Revision: 30443
2012-02-11 15:11:56 +00:00
Gabor Juhos
617954ca5d ramips: raeth: add a temporary pktlen variable
SVN-Revision: 30442
2012-02-11 15:11:55 +00:00
Gabor Juhos
d1d492eaf9 ramips: raeth: protect macro parameters
SVN-Revision: 30441
2012-02-11 15:11:50 +00:00
Gabor Juhos
8250692359 ramips: raeth: indicate dropped packets in stats
SVN-Revision: 30440
2012-02-11 15:11:49 +00:00
Gabor Juhos
c67adbbddb ramips: raeth: use the NUM_TX_DESC for the tx_skb array
SVN-Revision: 30439
2012-02-11 15:11:47 +00:00
Gabor Juhos
a2c8789578 ramips: use uncached address in detect_mem_size
SVN-Revision: 30438
2012-02-11 15:11:45 +00:00
Gabor Juhos
ba4c9b3a8f ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30437
2012-02-11 15:11:43 +00:00
Gabor Juhos
f2dd67dc09 ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30436
2012-02-11 15:11:41 +00:00
Gabor Juhos
d6b9f88743 ramips: refresh patches
SVN-Revision: 30435
2012-02-11 15:11:40 +00:00
Gabor Juhos
9cde29f1a7 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>

SVN-Revision: 30434
2012-02-11 15:11:36 +00:00
Gabor Juhos
59b474732c ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30433
2012-02-11 15:11:34 +00:00
Gabor Juhos
7298ef2456 ramips: rt305x: add profile for the Belkin f5d8235v2
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30432
2012-02-11 15:11:32 +00:00
Gabor Juhos
0430194cc3 ramips: fix compiler warning in prom.c
SVN-Revision: 30424
2012-02-10 17:38:46 +00:00
Gabor Juhos
44ed690cb3 ramips: change vlan_config for the ALFA W502U board
This change moves the WAN port into a separate VLAN.

SVN-Revision: 29969
2012-01-31 18:34:10 +00:00
Gabor Juhos
b3fdd931d1 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>

SVN-Revision: 29910
2012-01-26 10:44:23 +00:00
Gabor Juhos
02e77c6ae1 ramips: generate sysupgrade image for the ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29884
2012-01-24 11:48:48 +00:00
Gabor Juhos
944c8aacdb 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>

SVN-Revision: 29883
2012-01-24 11:48:47 +00:00
Gabor Juhos
1932a7205c ramips: add kernel support for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29882
2012-01-24 11:48:45 +00:00
Gabor Juhos
9cf1d4e06e 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>

SVN-Revision: 29871
2012-01-23 10:23:32 +00:00
Gabor Juhos
809fe38e41 ramips fix f5d8235-v1 diag LED support
SVN-Revision: 29857
2012-01-22 18:11:39 +00:00
Gabor Juhos
e9d8deaaed ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

SVN-Revision: 29847
2012-01-22 13:43:23 +00:00
Gabor Juhos
557cf076b4 ramips: sysupgrade for ESR-9753
This patch add sysupgrade for Engenius ESR-9753

Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29824
2012-01-20 10:49:26 +00:00
John Crispin
a2708d11e8 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>

SVN-Revision: 29762
2012-01-17 11:23:11 +00:00
Gabor Juhos
244c322d25 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29617
2011-12-28 08:43:43 +00:00
Gabor Juhos
f50b02b559 ramips: rt288x: change base address and window size of flash bank 0
SVN-Revision: 29616
2011-12-28 08:43:36 +00:00
Gabor Juhos
98437278c4 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
SVN-Revision: 29615
2011-12-28 08:43:32 +00:00
Gabor Juhos
723d8dd74f ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
2011-12-27 16:56:30 +00:00
Gabor Juhos
7b1e525b56 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>

SVN-Revision: 29604
2011-12-23 14:27:16 +00:00
Gabor Juhos
2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
2011-12-23 14:27:10 +00:00
Gabor Juhos
03bce34384 ramips: define firmware partition for Omnima MiniEMBWiFi
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>

SVN-Revision: 29602
2011-12-23 14:27:05 +00:00
Gabor Juhos
0c38d36488 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>

SVN-Revision: 29533
2011-12-14 20:51:26 +00:00
Gabor Juhos
43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Gabor Juhos
5ef6ec4a31 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

SVN-Revision: 29454
2011-12-05 17:27:07 +00:00
Gabor Juhos
750d560767 ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29453
2011-12-05 17:27:06 +00:00
Gabor Juhos
b5d7b359b2 ramips: use ramips_get_mac_* functions in the preinit script
SVN-Revision: 29452
2011-12-05 17:27:04 +00:00
Gabor Juhos
4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos
cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos
b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
Gabor Juhos
56c9b50006 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29422
2011-12-04 15:24:57 +00:00
Gabor Juhos
3fccc3b376 ramips: enable sysupgrade on the RT-N15 board
SVN-Revision: 29393
2011-12-01 22:48:58 +00:00
Gabor Juhos
4b2d1c3ad3 ramips: wrap long line in platform upgrade script
SVN-Revision: 29392
2011-12-01 22:48:57 +00:00
Gabor Juhos
d622263588 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>

SVN-Revision: 29391
2011-12-01 22:48:55 +00:00
Gabor Juhos
3a9e02fa41 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390
2011-12-01 22:48:54 +00:00
Gabor Juhos
fc61c107f0 ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
It is needed by the RT-N15 board.

SVN-Revision: 29389
2011-12-01 22:48:53 +00:00
Gabor Juhos
80221fcd2a ramips: remove default network configuration, and generate that from uci-defaults
SVN-Revision: 29387
2011-12-01 22:48:51 +00:00