Commit Graph

495 Commits (1ae8b7c43369ac9a91dc6614355ec9ba17d11261)

Author SHA1 Message Date
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
13 years ago
Gabor Juhos 59b474732c ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30433
13 years ago
Gabor Juhos 7298ef2456 ramips: rt305x: add profile for the Belkin f5d8235v2
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30432
13 years ago
Gabor Juhos 0430194cc3 ramips: fix compiler warning in prom.c
SVN-Revision: 30424
13 years ago
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
13 years ago
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
13 years ago
Gabor Juhos 02e77c6ae1 ramips: generate sysupgrade image for the ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29884
13 years ago
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
13 years ago
Gabor Juhos 1932a7205c ramips: add kernel support for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29882
13 years ago
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
13 years ago
Gabor Juhos 809fe38e41 ramips fix f5d8235-v1 diag LED support
SVN-Revision: 29857
13 years ago
Gabor Juhos e9d8deaaed ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

SVN-Revision: 29847
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Gabor Juhos f50b02b559 ramips: rt288x: change base address and window size of flash bank 0
SVN-Revision: 29616
13 years ago
Gabor Juhos 98437278c4 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
SVN-Revision: 29615
13 years ago
Gabor Juhos 723d8dd74f ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
13 years ago
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
13 years ago
Gabor Juhos 2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
13 years ago
Gabor Juhos 03bce34384 ramips: define firmware partition for Omnima MiniEMBWiFi
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>

SVN-Revision: 29602
13 years ago
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
13 years ago
Gabor Juhos 43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
13 years ago
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
13 years ago
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
13 years ago
Gabor Juhos b5d7b359b2 ramips: use ramips_get_mac_* functions in the preinit script
SVN-Revision: 29452
13 years ago
Gabor Juhos 4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
13 years ago
Gabor Juhos cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
13 years ago
Gabor Juhos b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
13 years ago
Gabor Juhos 56c9b50006 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29422
13 years ago
Gabor Juhos 3fccc3b376 ramips: enable sysupgrade on the RT-N15 board
SVN-Revision: 29393
13 years ago
Gabor Juhos 4b2d1c3ad3 ramips: wrap long line in platform upgrade script
SVN-Revision: 29392
13 years ago
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
13 years ago
Gabor Juhos 3a9e02fa41 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390
13 years ago
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
13 years ago
Gabor Juhos 80221fcd2a ramips: remove default network configuration, and generate that from uci-defaults
SVN-Revision: 29387
13 years ago
Gabor Juhos 4f6c58adac ramips: use /lib/functions/uci-defaults.sh
SVN-Revision: 29386
13 years ago
Gabor Juhos 569d8de6d6 ramips: simplify uci-defaults/network script
SVN-Revision: 29383
13 years ago
Gabor Juhos 66c9a351dd ramips: setup mac and network interfaces from separate functions
SVN-Revision: 29382
13 years ago
Gabor Juhos 62d18e9f9a 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>

SVN-Revision: 29381
13 years ago
Gabor Juhos 2dd79d55c7 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>

SVN-Revision: 29380
13 years ago
Gabor Juhos 7c678e7511 ramips: fix package name of kmod-input-gpio-buttons
Based on a patch from Omnima Limited.

SVN-Revision: 29379
13 years ago
Gabor Juhos 2ed38b24a8 ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29378
13 years ago
Gabor Juhos 295e04084c ramips: setup bc2 mac addresses from the generic network script
SVN-Revision: 29377
13 years ago
Gabor Juhos 02f95d4fb3 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>

SVN-Revision: 29376
13 years ago
Vasilis Tsiligiannis 17ccd4aec4 rt305x: Create factory image for Fonera 2.0n
SVN-Revision: 28689
13 years ago
Gabor Juhos ee8077f0fe 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>

SVN-Revision: 28571
13 years ago
Gabor Juhos 18452a753b 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>

SVN-Revision: 28570
13 years ago
Gabor Juhos 68a01c0180 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>

SVN-Revision: 28569
13 years ago
Gabor Juhos 72e117ec79 ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
13 years ago
Gabor Juhos 4b96d3af2a ramips: rt305x: remove unused defines from mach-nw718.c
SVN-Revision: 28077
13 years ago
Gabor Juhos 462ca22e9c ramips: sort Makefile entries
SVN-Revision: 28076
13 years ago
Gabor Juhos d50494f3bb ramips: sort RAMIPS_MACH_* defines
SVN-Revision: 28075
13 years ago
Gabor Juhos 90686691ce ramips: fix wireless firmware extraction for wr512-3gn
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28073
13 years ago
Gabor Juhos f0049824b9 ramips: remove 'default [yn]' keywords from machine Kconfig entries
SVN-Revision: 28054
13 years ago
Gabor Juhos 6720025497 ramips: rt305x: fix wr512n image generation
SVN-Revision: 28053
13 years ago
Gabor Juhos 9085b05d9e ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28052
13 years ago
Gabor Juhos 46b101ad0a ramips: register usb on Belkin F5D8235 v2 and Argus ATP-52-B routers
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 28051
13 years ago
Gabor Juhos 05209860da 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>

SVN-Revision: 28050
13 years ago
Gabor Juhos f8ab604eb6 ramips: fix typo in default packages
Fix fivebytepypo - there is no such kernel module wpad-mini :)

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

SVN-Revision: 28049
13 years ago
Hauke Mehrtens 09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
13 years ago
Gabor Juhos ace8ce0845 ramips: use maccalc instead of hexdump + sed
SVN-Revision: 28007
13 years ago
Gabor Juhos bfc47ffead ramips: rt305x: fix mac addresses on the Netcore NW718 board
SVN-Revision: 28006
13 years ago
Gabor Juhos 17c041cd0b ramips: add maccalc to the default package list
SVN-Revision: 28005
13 years ago
Gabor Juhos 67e480971c ramips: add input drivers to the default package list
SVN-Revision: 28003
13 years ago
Gabor Juhos 35ecf12059 ramips: rt305x: make config and factory partitions read-only on the ATP-52B
SVN-Revision: 28002
13 years ago
Gabor Juhos 75e2360ab3 ramips: add uci-defaults scripts to preconfigure USB LEDs
SVN-Revision: 28000
13 years ago
Gabor Juhos e1b176de82 ramips: rt305x: add some USB modules to the default profile
SVN-Revision: 27999
13 years ago
Gabor Juhos 169d68c98c ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net>

SVN-Revision: 27997
13 years ago
Gabor Juhos 0ca16a4600 ramips: rt305x: register the dwc_otg device on the relevant boards
SVN-Revision: 27996
13 years ago
Gabor Juhos addc86fdbd ramips: rt305x: add dwc_otg platform device
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 27995
13 years ago
Gabor Juhos 6ef87ff5e6 ramips: sync kernel config
SVN-Revision: 27993
13 years ago
Gabor Juhos 4ee4fc9725 ramips: load the input drivers during preinit
SVN-Revision: 27992
13 years ago
Gabor Juhos a3c7e71ae1 ramips: add support for Argus ATP-52B
[The ESW related changes has been removed - juhosg]

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

SVN-Revision: 27991
13 years ago
Gabor Juhos 1ebcf03789 ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27990
13 years ago
Gabor Juhos ea211c4d90 ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
13 years ago
Gabor Juhos 437e184484 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

SVN-Revision: 27812
13 years ago
Gabor Juhos 7193f29d96 ramips: rt305x: enable M25P80 driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27811
13 years ago
Gabor Juhos c6db514de8 ramips: rt305x: introduce rt305x_register_spi helper
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27810
13 years ago
Gabor Juhos 57122e7ccc ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27809
13 years ago
Gabor Juhos 3f986df05f ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
13 years ago
Gabor Juhos 857c1028ac ramips: rt305x: change machine id for DIR-300
SVN-Revision: 27807
13 years ago
Gabor Juhos 42d3a55347 ramips: rt305x: rename LEDs on the DIR-300-B1
SVN-Revision: 27806
13 years ago
Gabor Juhos 39689b648f ramips: rt305x: sort Kconfig/Makefile entries
SVN-Revision: 27805
13 years ago
Gabor Juhos 32c0534516 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>

SVN-Revision: 27804
13 years ago
Gabor Juhos 57663ce25b ramips: fix PWH2004 image generation
SVN-Revision: 27803
13 years ago
Felix Fietkau 1afe8a0726 rtl8366: unify rtl8366s and rtl8366rb platform data
SVN-Revision: 27754
13 years ago
Gabor Juhos abb1ca01a7 ramips: fix buffalo image generation
SVN-Revision: 27495
13 years ago
Gabor Juhos 1a4e7153b6 ramips: add diag support for RT-N15 and PWH2004
Also sort the board names alphabetically.

SVN-Revision: 27478
13 years ago
Gabor Juhos d6985f5b46 ramips: use the 'router' LED for diagnostic on the WHR-G300N board
SVN-Revision: 27477
13 years ago
Gabor Juhos 2cc346b8e0 ramips: create tftp image for the WHR-G300N board
SVN-Revision: 27476
13 years ago
Gabor Juhos 0dc18d8586 ramips: create factory image for the WHR-G300N board
SVN-Revision: 27474
13 years ago
Gabor Juhos e9c8218375 ramips: create factory image for DIR-300-B1
SVN-Revision: 27439
13 years ago
Gabor Juhos 6e7b802297 ramips: merge 2.6.39 patches
SVN-Revision: 27399
13 years ago
Gabor Juhos 646f64d389 ramips: remove 2.6.37 stuff
SVN-Revision: 27398
13 years ago
Gabor Juhos 2fc6be00f4 ramips: switch to 2.6.39.2
SVN-Revision: 27397
13 years ago
Gabor Juhos 0fde070cf9 ramips: add 2.6.39 support
Based on the patches from #9625

SVN-Revision: 27396
13 years ago
Gabor Juhos c8010517d5 ramips: add hotplug script to extract eeprom for the rt2x00 driver
SVN-Revision: 27393
13 years ago
Gabor Juhos 3334d0604e ramips: specify eeprom file name on RT305X
SVN-Revision: 27392
13 years ago
Gabor Juhos f53cc4c439 ramips: specify eeprom file name on RT288X
SVN-Revision: 27391
13 years ago
Gabor Juhos 521e495f4b ramips: add all supported boards to lib/ramips.sh
SVN-Revision: 27389
13 years ago
Gabor Juhos 6f54df889a ramips: check the size of the uImage in image generation
SVN-Revision: 27388
13 years ago
Gabor Juhos 575a5286c8 ramips: use lowercase partiion names on the WCR150GN board
SVN-Revision: 27387
13 years ago
Gabor Juhos 31facf0b75 ramips: use different partition names in the DIR-300-B1 image
SVN-Revision: 27386
13 years ago
Gabor Juhos dbe55f08f0 ramips: force word write on flashes with AMD cmdset (#9252)
SVN-Revision: 27385
13 years ago
Gabor Juhos f1cf43d468 ramips: update partition map for DIR-300-B1
Patch by Layne Edwards from #9252.

SVN-Revision: 27384
13 years ago
Gabor Juhos 641c87b127 ramips: consistently use 'firmware' name for sysupgrade partitions
SVN-Revision: 27383
13 years ago
Gabor Juhos 381d7f05af ramips: fix a section mismatch warning
SVN-Revision: 27382
13 years ago
Gabor Juhos 16ad91d69f ramips: remove unused include from the common GPIO code
SVN-Revision: 27381
13 years ago
Gabor Juhos c9f3e7082f ramips: disable watchdog on sysupgrade
SVN-Revision: 27380
13 years ago
Gabor Juhos e70e6f6848 ramips: swap target check in image generation
SVN-Revision: 27379
13 years ago
Gabor Juhos affb57ee27 ramips: update HW550-3G mtd partitions
This patch updates the mtd partitions for the Aztech HW550-3G

Signed-off-by: Layne Edwards <ledwards@astrumtech.net>

SVN-Revision: 27378
13 years ago
Gabor Juhos 3099ffe414 ramips: set cp0_perfcount_irq for RT305X
SVN-Revision: 27377
13 years ago
Gabor Juhos d5a7e2f5c1 ramips: initial board support for MOFI3500-3GN
This patch adds initial board support for the MoFi Network MOFI3500-3GN
(Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG).  This
router is basically the NA version of the HW550-3G.

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26466
13 years ago
Hauke Mehrtens 50c743e79e kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch

SVN-Revision: 26441
13 years ago
Gabor Juhos 87f5872f35 ramips: remove 2.6.36 stuff
SVN-Revision: 26329
13 years ago
Gabor Juhos 90d37adb8d ramips: switch to 2.6.37
SVN-Revision: 26328
13 years ago
Gabor Juhos 1844ea6c7b ramips: UPF_FIXED_TYPE must be set for the serial ports
SVN-Revision: 26327
13 years ago
Gabor Juhos 9ef4785364 ramips: define GPIO chips separately for each SoCs
SVN-Revision: 26326
13 years ago
Gabor Juhos 37d6d88869 ramips: move GPIO definitions into a separate header file
SVN-Revision: 26325
13 years ago
Gabor Juhos 251a367fb4 ramips: setup GPIO chip functions on the fly
SVN-Revision: 26324
13 years ago
Gabor Juhos b03f2dfcee ramips: use separate register base for GPIO chips
SVN-Revision: 26323
13 years ago
Gabor Juhos 8770359f17 ramips: fix dir-300 mtd layout
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 26322
13 years ago
Gabor Juhos f599459abb ramips: enable MDIO on the HW550-3G board
SVN-Revision: 26321
13 years ago
Gabor Juhos d701a72760 ramips: add sysupgrade and status LED support for HW550-3G
This patch adds sysupgrade and status LED support for the Aztech
HW550-3G. Some LED GPIOs were changed for clarity.

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26320
13 years ago
Felix Fietkau 335877a2b3 global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
SVN-Revision: 26300
13 years ago
Gabor Juhos 23518bb2e4 ramips: initial board support for Aztech HW550-3G
This patch adds initial support for the Aztech HW550-3G (Ralink
RT3052f SoC, 8MB flash, 32MB dram).  Ethernet is not working yet.
Wireless appears to work fine.  USB does not work yet (as with other
Ralink boards).

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26123
14 years ago
Florian Fainelli 45c9f5e75e update to kernel 2.6.36.4
SVN-Revision: 25580
14 years ago
Gabor Juhos 1c92e047c8 ramips: register watchdog device on the rt288x boards
SVN-Revision: 25130
14 years ago
Gabor Juhos 2b50cecea6 ramips: add watchdog device for RT288x
SVN-Revision: 25129
14 years ago
Gabor Juhos 764aa3fe9c ramips: register watchdog device on the rt305x boards
SVN-Revision: 25128
14 years ago
Gabor Juhos 42e36cf732 ramips: add watchdog device for RT305x
SVN-Revision: 25127
14 years ago
Gabor Juhos 16366feafb ramips: add watchdog driver
SVN-Revision: 25126
14 years ago
Gabor Juhos f38367fcb4 ramips: implement clock API for RT288x
SVN-Revision: 25125
14 years ago
Gabor Juhos b0ffa70248 ramips: implement clock API for RT305X
SVN-Revision: 25124
14 years ago
Gabor Juhos f9e74383a9 ramips: remove extern and __init from function prototypes
SVN-Revision: 25123
14 years ago
Gabor Juhos b99a637795 ramips: ramips_esw: fix typos
Patch from #8577.

SVN-Revision: 24898
14 years ago
Gabor Juhos d2fdd1dbe1 ramips: remove 2.6.3[24] support
SVN-Revision: 24562
14 years ago
Gabor Juhos 1403850be1 ramips: switch to 2.6.36
SVN-Revision: 24561
14 years ago
Gabor Juhos f9898e30fb ramips: handle OTG interrupt on the RT305x SoC
SVN-Revision: 24560
14 years ago
Felix Fietkau 5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
SVN-Revision: 24540
14 years ago
Gabor Juhos 502d21dc2a ramips: ramips_esw: add more definitions
SVN-Revision: 24340
14 years ago
Gabor Juhos bf58ef7c6d ramips: ramips_esw: add helper function to set pvid
SVN-Revision: 24339
14 years ago
Gabor Juhos 692d379b50 ramips: ramips_esw: add helper function to set vlan members
SVN-Revision: 24338
14 years ago
Gabor Juhos f7c3f91074 ramips: ramips_esw: add helper function to set VLAN id
SVN-Revision: 24337
14 years ago
Gabor Juhos 0d2ad7a816 ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
SVN-Revision: 24336
14 years ago
Gabor Juhos 7b878dde4b ramips: ramips_esw: use rt305x_esw prefix in function names
SVN-Revision: 24335
14 years ago
Gabor Juhos 0fcedc7bda ramips: ramips_esw: coding style cleanup
SVN-Revision: 24334
14 years ago
Gabor Juhos 48e6a31812 ramips: ramips_esw: add defines for switch register offsets
SVN-Revision: 24333
14 years ago
Gabor Juhos 74c13f06df ramips: ramips_esw: don't touch GPIO_PURPOSE register
It must have been set by the board initialization code.

SVN-Revision: 24332
14 years ago
Gabor Juhos 3b9a6adc7d ramips: ramips_esw: convert it to be a platform driver
SVN-Revision: 24331
14 years ago
Gabor Juhos 889729df01 ramips: ramips_esw: move hardware initialization into a separate function
SVN-Revision: 24330
14 years ago
Gabor Juhos 8957f39064 ramips: ramips_esw: use a private structure for the functions
SVN-Revision: 24329
14 years ago
Gabor Juhos 0449d92dd7 ramips: add support for 2.6.36
SVN-Revision: 24270
14 years ago
Gabor Juhos 01a5cb48c8 ramips: default profile fix
Fix package names in default profiles.

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

SVN-Revision: 24269
14 years ago
Gabor Juhos 47dd3b9fea ramips: use tabs instead of spaces in mach-f5d8235-v2.c
SVN-Revision: 24268
14 years ago
Gabor Juhos 21c8d63505 ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

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

SVN-Revision: 24126
14 years ago
Gabor Juhos 64b16b9f34 ramips: Use NET_IP_ALIGN instead of hardcoding 2
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24124
14 years ago
Gabor Juhos 624cfc5c91 ramips: DMA map the correct RX skb size
The skb_reserve call prior to DMA mapping the RX skb reduced the skb
data len by 2. To not allow DMA to write behind the skb we should pass
the correct skb data len to the device.

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

SVN-Revision: 24123
14 years ago
Gabor Juhos f833e399f2 ramips: Don't trigger BUG_ON due to skb allocation failure
Instead just drop the rx'ed frame silently and reuse the already
available buffer.

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

SVN-Revision: 24122
14 years ago
Gabor Juhos c6e4124855 ramips: Remove unnecessary skb_put
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24121
14 years ago
Gabor Juhos 69355ee10e ramips: Allow ethernet interface to be taken down and up again
Taking the ramips ethernet interface down and up again resulted in the
driver not receiving any frames anymore. Fix this by correctly disabling
interrupts in the hw on ifdown.

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

SVN-Revision: 23243
14 years ago
Imre Kaloz 5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
14 years ago
Gabor Juhos e5b081335e ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205)
The attached patch adds a preliminary support for Prolink PWH2004 board
(Ralink RT305x based). LAN and flash appear to work. However, the USB
port and WLAN I have not managed to activate properly yet, but that
problem appears to be present with other rt305x targets as well(?).

Signed-off-by: Esa Hyytia <esa at netlab.tkk.fi>

SVN-Revision: 23129
14 years ago
Gabor Juhos 39c57eeb31 ramips: allow USB
The current defaults for ramips rt305x does not allow the USB
subsystem to be selected/built.

This patch is just a small step in that direction.

Signed-off-by: Luis Correia <luis.f.correia@gmail.com>

SVN-Revision: 23128
14 years ago
Hauke Mehrtens 09e05d833d kernel: update kernel version to 2.6.34.5
SVN-Revision: 22759
14 years ago
Gabor Juhos 462dabc7f5 ramips: add support for Sparklan WCR-150GN board
This patch adds support for Sparklan WCR-150GN board.
Network configuration should be tweaked to make it work fully. The
reason it's not in this patch is that ramips target should be modified
to support different /etc/config/network files for different boards.

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

SVN-Revision: 22658
14 years ago
Florian Fainelli 781c091ea5 fix jffs2 64k and 128k images overwrite each other
When trying to build images with jffs2 filesystem for ramips platform
there is only one jffs2 image produced instead of two (64k and 128k).

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

SVN-Revision: 22435
14 years ago
Gabor Juhos 1ca67cba7f ramips: enable ethernet driver for rt288x
SVN-Revision: 22214
14 years ago
Gabor Juhos 2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
14 years ago
Gabor Juhos c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
14 years ago
Gabor Juhos 0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
14 years ago
Gabor Juhos d14e9e706e ramips: Fix bridging in ramips ethernet driver
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.

The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.

Fix this by using skb_put to correctly set skb->len and skb->tail.

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

SVN-Revision: 22172
14 years ago
Gabor Juhos 27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
14 years ago
Gabor Juhos 9ee8b1f8c6 ramips: sync kernel config
SVN-Revision: 22170
14 years ago
Hauke Mehrtens e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
14 years ago
Alexandros C. Couloumbis cd2069a57c fix commit r21994 (thanks juhosg)
SVN-Revision: 21995
14 years ago
Alexandros C. Couloumbis 0409c64e34 fix commit r21993
SVN-Revision: 21994
14 years ago
Gabor Juhos 2dfcdb9465 generic: merge mips multi machine update to generic patches for 2.6.34
SVN-Revision: 21675
14 years ago
Gabor Juhos 383bd396fa generic: merge mips multi machine update to generic patches for 2.6.32
SVN-Revision: 21673
14 years ago
John Crispin 971b7ff50e Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa

SVN-Revision: 21643
14 years ago
Daniel Dickinson ba2b75f710 ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced
SVN-Revision: 21635
14 years ago
Gabor Juhos c24397b385 ramips: merge slab patch
SVN-Revision: 21607
14 years ago
Gabor Juhos 7ac21ada55 ramips: use COMMAND_LINE_SIZE directly
SVN-Revision: 21606
14 years ago
Gabor Juhos 178e4e9927 ramips: add missing 2.6.34 config files
SVN-Revision: 21605
14 years ago
Gabor Juhos b86455a7ec ramips: refresh 2.6.34 patches
SVN-Revision: 21604
14 years ago
Gabor Juhos fdf1561386 ramips: sync 2.6.32 config
SVN-Revision: 21603
14 years ago
John Crispin 0ab7d18462 update to 2.6.34, signed of by russiane39, thx
SVN-Revision: 21573
14 years ago
Hauke Mehrtens b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
14 years ago
Alexandros C. Couloumbis fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
14 years ago
Nicolas Thill 37b02afe6a package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
SVN-Revision: 21137
14 years ago
Gabor Juhos 60cbdbb686 ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21083
14 years ago
Nicolas Thill 3162bc1ecf target/ramips: fix another typo from [20834] (closes: #7182)
SVN-Revision: 21012
14 years ago
Nicolas Thill e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
14 years ago
Gabor Juhos de18353622 ramips: nuke clocksource init patch
SVN-Revision: 20802
14 years ago
Gabor Juhos b4bb5ebfaa ramips: generate sysupgrade images for the rt305x devices
SVN-Revision: 20801
14 years ago
Gabor Juhos 7581054e93 ramips: add sysupgrade support
SVN-Revision: 20800
14 years ago
Gabor Juhos 09aec474af ramips: add diag support
SVN-Revision: 20799
14 years ago
Gabor Juhos 2872bade69 ramips: enable image commandline hack and cmdline partition parsing
SVN-Revision: 20798
14 years ago
Gabor Juhos af05b16c98 ramips: add default profiles
SVN-Revision: 20797
14 years ago