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

485 Commits

Author SHA1 Message Date
juhosg
d0794e0d35 ramips: raeth: force link down in ramips_phy_stop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:52 +00:00
juhosg
815334db9c ramips: raeth: serialize ramips_link_adjust calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:50 +00:00
juhosg
d214321c8c ramips: raeth: add PHYLIB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 06:47:12 +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
073aa05f36 ramips: rt3883: enable PCI on the RT-N56U board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:44 +00:00
juhosg
0dad89e259 ramips: rt3883: add PCI support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:42 +00:00
juhosg
34acde8e5f ramips: rt3883: sync 2.6.39 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:41 +00:00
juhosg
5775cc2b9c ramips: use SoC specific irq.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:40 +00:00
juhosg
e95d1bebf7 ramips: rt3883: update package list in the default profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:05 +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
10a983eea1 ramips: raeth: enable MDIO code for RT3883
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:03 +00:00
juhosg
07c8d27309 ramips: add preliminary support for the RT3662/RT3883 SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:17:59 +00:00
juhosg
71da0d9534 ramips: use GENERIC_{4,8}M image template for WR5123GN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:47 +00:00
juhosg
85b1ee0e18 ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:46 +00:00
juhosg
dd584f3173 ramips: add initial support for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:14 +00:00
juhosg
c9a5f3f810 ramips: include 'linux/module.h' in the ramips_spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:13 +00:00
juhosg
4c24144f1f ramips: rt288x: remove per-board physmap_flash_data instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:12 +00:00
juhosg
40c07f37d9 ramips: rt305x: remove per-board physmap_flash_data instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:10 +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
e24fe32095 ramips: remove yet another CONFIG_MTD_PARTITION ifdef
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:11 +00:00
juhosg
d33e1ea7fd ramips: use gpio-keys-polled instead of gpio-buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:06 +00:00
juhosg
baa5c31303 ramips: add MIPS platform file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:11 +00:00
juhosg
a6fcd662b4 ramips: add MDIO bus support for RT288X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 16:49:56 +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
3120faed8b ramips: raeth: make debugging messages configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:10 +00:00
juhosg
ad0b8c49bf ramips: raeth: use device pointer in DMA API calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:08 +00:00
juhosg
5b41176cdc ramips: raeth: add netdev pointer to private structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:06 +00:00
juhosg
1e38789510 ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:05 +00:00
juhosg
9b2ee01ff5 ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:04 +00:00
juhosg
606588b4e9 ramips: raeth: add rx_dma array to store the DMA address of the rx packets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:02 +00:00
juhosg
bbc71f5154 ramips: raeth: use dma_addr_t for the descriptors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:01 +00:00
juhosg
cce4c079c4 ramips: raeth: unmap DMA memory when a packet is received
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:56 +00:00
juhosg
cd69289b3e ramips: raeth: add a temporary pktlen variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:55 +00:00
juhosg
0e485dd80d ramips: raeth: protect macro parameters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:50 +00:00
juhosg
202c4f386c ramips: raeth: indicate dropped packets in stats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:49 +00:00
juhosg
b10ad5f4e0 ramips: raeth: use the NUM_TX_DESC for the tx_skb array
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:47 +00:00
juhosg
f9626b56d5 ramips: use uncached address in detect_mem_size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:45 +00:00
juhosg
a88c8014e5 ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:43 +00:00
juhosg
2a62a21658 ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:41 +00:00
juhosg
21cf4e76e0 ramips: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:40 +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
2cc897979d ramips: rt305x: add profile for the Belkin f5d8235v2
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:32 +00:00
juhosg
3218c675a1 ramips: fix compiler warning in prom.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:38:46 +00:00
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
juhosg
04b0603f45 ramips: remove 'default [yn]' keywords from machine Kconfig entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-19 15:55:12 +00:00
juhosg
a813bfb92b ramips: rt305x: fix wr512n image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-19 15:55:11 +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
8aeb045406 ramips: register usb on Belkin F5D8235 v2 and Argus ATP-52-B routers
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-19 15:55:08 +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
d227d34e1f ramips: fix typo in default packages
Fix fivebytepypo - there is no such kernel module wpad-mini :)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-19 15:55:05 +00:00
hauke
4bf096096c kernel: update kernel to version 2.6.39.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +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
juhosg
f64a3c8610 ramips: rt305x: fix mac addresses on the Netcore NW718 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:53 +00:00
juhosg
649cff937e ramips: add maccalc to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:52 +00:00
juhosg
9822240003 ramips: add input drivers to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:50 +00:00
juhosg
76a008f572 ramips: rt305x: make config and factory partitions read-only on the ATP-52B
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:48 +00:00
juhosg
4a471f8a39 ramips: add uci-defaults scripts to preconfigure USB LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:12:00 +00:00
juhosg
3571551891 ramips: rt305x: add some USB modules to the default profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:58 +00:00
juhosg
a6ff6c1f36 ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:55 +00:00
juhosg
bf5f735641 ramips: rt305x: register the dwc_otg device on the relevant boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:52 +00:00
juhosg
5f106959f5 ramips: rt305x: add dwc_otg platform device
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:51 +00:00
juhosg
8ab9233b7b ramips: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:48 +00:00
juhosg
b73e813a88 ramips: load the input drivers during preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:47 +00:00
juhosg
ef3572bede ramips: add support for Argus ATP-52B
[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
2011-08-15 14:11:45 +00:00
juhosg
8b59aa7786 ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:43 +00:00
juhosg
ea7f49d513 ramips: rt305x: add support for the Netcore NW718 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:32 +00:00
juhosg
793574f571 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:30 +00:00
juhosg
23e474a920 ramips: rt305x: enable M25P80 driver
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:28 +00:00
juhosg
1e8820b752 ramips: rt305x: introduce rt305x_register_spi helper
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:27 +00:00
juhosg
501b3f6109 ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:25 +00:00
juhosg
2ba08ae27e ramips: rt305x: add support for the DIR-600 B1,B2 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:24 +00:00
juhosg
ce72e8dfb5 ramips: rt305x: change machine id for DIR-300
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:22 +00:00
juhosg
8583804fdd ramips: rt305x: rename LEDs on the DIR-300-B1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:21 +00:00
juhosg
f8afb5e291 ramips: rt305x: sort Kconfig/Makefile entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:19 +00:00
juhosg
4a7f515821 ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
to user space via /proc/cpuinfo.)
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B

Signed-off-by: Slawomir Cygan <wiewior@wiewior.eu.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:18 +00:00
juhosg
53c9a5ce63 ramips: fix PWH2004 image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:15 +00:00
nbd
de95026813 rtl8366: unify rtl8366s and rtl8366rb platform data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:23 +00:00
juhosg
90433b3461 ramips: fix buffalo image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 16:46:33 +00:00
juhosg
b016341cf1 ramips: add diag support for RT-N15 and PWH2004
Also sort the board names alphabetically.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:05:00 +00:00
juhosg
6451badb13 ramips: use the 'router' LED for diagnostic on the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:55 +00:00
juhosg
eaafa6fa91 ramips: create tftp image for the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:54 +00:00
juhosg
c96ab0c002 ramips: create factory image for the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:52 +00:00
juhosg
f3959aee0f ramips: create factory image for DIR-300-B1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 06:48:45 +00:00
juhosg
f2053cb231 ramips: merge 2.6.39 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:10 +00:00
juhosg
e98854a51f ramips: remove 2.6.37 stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:09 +00:00
juhosg
748af8b575 ramips: switch to 2.6.39.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:07 +00:00
juhosg
f7ed0bfe29 ramips: add 2.6.39 support
Based on the patches from #9625

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:06 +00:00
juhosg
a728a666aa ramips: add hotplug script to extract eeprom for the rt2x00 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:01 +00:00
juhosg
88b8c44b87 ramips: specify eeprom file name on RT305X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:00 +00:00
juhosg
556577659d ramips: specify eeprom file name on RT288X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:59 +00:00
juhosg
a6e5da490d ramips: add all supported boards to lib/ramips.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:56 +00:00
juhosg
f9e19ce202 ramips: check the size of the uImage in image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:55 +00:00
juhosg
cf68680797 ramips: use lowercase partiion names on the WCR150GN board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:53 +00:00
juhosg
f1d6b8e6a9 ramips: use different partition names in the DIR-300-B1 image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:52 +00:00
juhosg
a46ef02052 ramips: force word write on flashes with AMD cmdset (#9252)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:51 +00:00
juhosg
db3a7e64a2 ramips: update partition map for DIR-300-B1
Patch by Layne Edwards from #9252.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:49 +00:00
juhosg
f65d6ac4d9 ramips: consistently use 'firmware' name for sysupgrade partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:48 +00:00
juhosg
45b5e79de8 ramips: fix a section mismatch warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:46 +00:00
juhosg
17d001231c ramips: remove unused include from the common GPIO code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:44 +00:00
juhosg
9589c35dd3 ramips: disable watchdog on sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:43 +00:00