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
Gabor Juhos
4f6c58adac
ramips: use /lib/functions/uci-defaults.sh
...
SVN-Revision: 29386
2011-12-01 22:48:48 +00:00
Gabor Juhos
569d8de6d6
ramips: simplify uci-defaults/network script
...
SVN-Revision: 29383
2011-12-01 22:48:45 +00:00
Gabor Juhos
66c9a351dd
ramips: setup mac and network interfaces from separate functions
...
SVN-Revision: 29382
2011-12-01 22:48:43 +00:00
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
2011-12-01 22:48:42 +00:00
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
2011-12-01 22:48:41 +00:00
Gabor Juhos
7c678e7511
ramips: fix package name of kmod-input-gpio-buttons
...
Based on a patch from Omnima Limited.
SVN-Revision: 29379
2011-12-01 22:48:39 +00:00
Gabor Juhos
2ed38b24a8
ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29378
2011-12-01 22:48:38 +00:00
Gabor Juhos
295e04084c
ramips: setup bc2 mac addresses from the generic network script
...
SVN-Revision: 29377
2011-12-01 22:48:37 +00:00
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
2011-12-01 22:48:35 +00:00
Vasilis Tsiligiannis
17ccd4aec4
rt305x: Create factory image for Fonera 2.0n
...
SVN-Revision: 28689
2011-10-31 09:23:44 +00:00
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
2011-10-24 21:49:36 +00:00
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
2011-10-24 21:49:32 +00:00
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
2011-10-24 21:49:31 +00:00
Gabor Juhos
72e117ec79
ramips: rt305x: add support for the ZyXEL NBG-419N board
...
SVN-Revision: 28078
2011-08-22 20:41:49 +00:00
Gabor Juhos
4b96d3af2a
ramips: rt305x: remove unused defines from mach-nw718.c
...
SVN-Revision: 28077
2011-08-22 20:41:48 +00:00
Gabor Juhos
462ca22e9c
ramips: sort Makefile entries
...
SVN-Revision: 28076
2011-08-22 20:41:47 +00:00
Gabor Juhos
d50494f3bb
ramips: sort RAMIPS_MACH_* defines
...
SVN-Revision: 28075
2011-08-22 20:41:45 +00:00
Gabor Juhos
90686691ce
ramips: fix wireless firmware extraction for wr512-3gn
...
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>
SVN-Revision: 28073
2011-08-22 18:08:45 +00:00
Gabor Juhos
f0049824b9
ramips: remove 'default [yn]' keywords from machine Kconfig entries
...
SVN-Revision: 28054
2011-08-19 15:55:12 +00:00
Gabor Juhos
6720025497
ramips: rt305x: fix wr512n image generation
...
SVN-Revision: 28053
2011-08-19 15:55:11 +00:00
Gabor Juhos
9085b05d9e
ramips: rt305x: support for wr512-3gn-like routers
...
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>
SVN-Revision: 28052
2011-08-19 15:55:10 +00:00
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
2011-08-19 15:55:08 +00:00
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
2011-08-19 15:55:07 +00:00
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
2011-08-19 15:55:05 +00:00
Hauke Mehrtens
09b1073f9b
kernel: update kernel to version 2.6.39.4
...
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Gabor Juhos
ace8ce0845
ramips: use maccalc instead of hexdump + sed
...
SVN-Revision: 28007
2011-08-15 19:00:23 +00:00
Gabor Juhos
bfc47ffead
ramips: rt305x: fix mac addresses on the Netcore NW718 board
...
SVN-Revision: 28006
2011-08-15 18:55:53 +00:00
Gabor Juhos
17c041cd0b
ramips: add maccalc to the default package list
...
SVN-Revision: 28005
2011-08-15 18:55:52 +00:00
Gabor Juhos
67e480971c
ramips: add input drivers to the default package list
...
SVN-Revision: 28003
2011-08-15 18:55:50 +00:00
Gabor Juhos
35ecf12059
ramips: rt305x: make config and factory partitions read-only on the ATP-52B
...
SVN-Revision: 28002
2011-08-15 18:55:48 +00:00
Gabor Juhos
75e2360ab3
ramips: add uci-defaults scripts to preconfigure USB LEDs
...
SVN-Revision: 28000
2011-08-15 14:12:00 +00:00
Gabor Juhos
e1b176de82
ramips: rt305x: add some USB modules to the default profile
...
SVN-Revision: 27999
2011-08-15 14:11:58 +00:00
Gabor Juhos
169d68c98c
ramips: rt305x: add dwc_otg driver
...
Based on a patch by Layne Edwards <ledwards@astrumtech.net>
SVN-Revision: 27997
2011-08-15 14:11:55 +00:00
Gabor Juhos
0ca16a4600
ramips: rt305x: register the dwc_otg device on the relevant boards
...
SVN-Revision: 27996
2011-08-15 14:11:52 +00:00
Gabor Juhos
addc86fdbd
ramips: rt305x: add dwc_otg platform device
...
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 27995
2011-08-15 14:11:51 +00:00
Gabor Juhos
6ef87ff5e6
ramips: sync kernel config
...
SVN-Revision: 27993
2011-08-15 14:11:48 +00:00
Gabor Juhos
4ee4fc9725
ramips: load the input drivers during preinit
...
SVN-Revision: 27992
2011-08-15 14:11:47 +00:00
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
2011-08-15 14:11:45 +00:00
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
2011-08-15 14:11:43 +00:00
Gabor Juhos
ea211c4d90
ramips: rt305x: add support for the Netcore NW718 board
...
SVN-Revision: 27813
2011-07-28 10:56:32 +00:00
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
2011-07-28 10:56:30 +00:00
Gabor Juhos
7193f29d96
ramips: rt305x: enable M25P80 driver
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27811
2011-07-28 10:56:28 +00:00
Gabor Juhos
c6db514de8
ramips: rt305x: introduce rt305x_register_spi helper
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27810
2011-07-28 10:56:27 +00:00
Gabor Juhos
57122e7ccc
ramips: add SPI controller driver
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27809
2011-07-28 10:56:25 +00:00
Gabor Juhos
3f986df05f
ramips: rt305x: add support for the DIR-600 B1,B2 boards
...
SVN-Revision: 27808
2011-07-28 10:56:24 +00:00
Gabor Juhos
857c1028ac
ramips: rt305x: change machine id for DIR-300
...
SVN-Revision: 27807
2011-07-28 10:56:22 +00:00
Gabor Juhos
42d3a55347
ramips: rt305x: rename LEDs on the DIR-300-B1
...
SVN-Revision: 27806
2011-07-28 10:56:21 +00:00
Gabor Juhos
39689b648f
ramips: rt305x: sort Kconfig/Makefile entries
...
SVN-Revision: 27805
2011-07-28 10:56:19 +00:00
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
2011-07-28 10:56:18 +00:00
Gabor Juhos
57663ce25b
ramips: fix PWH2004 image generation
...
SVN-Revision: 27803
2011-07-28 10:56:15 +00:00
Felix Fietkau
1afe8a0726
rtl8366: unify rtl8366s and rtl8366rb platform data
...
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Gabor Juhos
abb1ca01a7
ramips: fix buffalo image generation
...
SVN-Revision: 27495
2011-07-06 16:46:33 +00:00
Gabor Juhos
1a4e7153b6
ramips: add diag support for RT-N15 and PWH2004
...
Also sort the board names alphabetically.
SVN-Revision: 27478
2011-07-06 08:05:00 +00:00
Gabor Juhos
d6985f5b46
ramips: use the 'router' LED for diagnostic on the WHR-G300N board
...
SVN-Revision: 27477
2011-07-06 08:04:55 +00:00
Gabor Juhos
2cc346b8e0
ramips: create tftp image for the WHR-G300N board
...
SVN-Revision: 27476
2011-07-06 08:04:54 +00:00
Gabor Juhos
0dc18d8586
ramips: create factory image for the WHR-G300N board
...
SVN-Revision: 27474
2011-07-06 08:04:52 +00:00
Gabor Juhos
e9c8218375
ramips: create factory image for DIR-300-B1
...
SVN-Revision: 27439
2011-07-04 06:48:45 +00:00
Gabor Juhos
6e7b802297
ramips: merge 2.6.39 patches
...
SVN-Revision: 27399
2011-07-03 15:02:10 +00:00
Gabor Juhos
646f64d389
ramips: remove 2.6.37 stuff
...
SVN-Revision: 27398
2011-07-03 15:02:09 +00:00
Gabor Juhos
2fc6be00f4
ramips: switch to 2.6.39.2
...
SVN-Revision: 27397
2011-07-03 15:02:07 +00:00
Gabor Juhos
0fde070cf9
ramips: add 2.6.39 support
...
Based on the patches from #9625
SVN-Revision: 27396
2011-07-03 15:02:06 +00:00
Gabor Juhos
c8010517d5
ramips: add hotplug script to extract eeprom for the rt2x00 driver
...
SVN-Revision: 27393
2011-07-03 15:02:01 +00:00
Gabor Juhos
3334d0604e
ramips: specify eeprom file name on RT305X
...
SVN-Revision: 27392
2011-07-03 15:02:00 +00:00
Gabor Juhos
f53cc4c439
ramips: specify eeprom file name on RT288X
...
SVN-Revision: 27391
2011-07-03 15:01:59 +00:00
Gabor Juhos
521e495f4b
ramips: add all supported boards to lib/ramips.sh
...
SVN-Revision: 27389
2011-07-03 15:01:56 +00:00
Gabor Juhos
6f54df889a
ramips: check the size of the uImage in image generation
...
SVN-Revision: 27388
2011-07-03 15:01:55 +00:00
Gabor Juhos
575a5286c8
ramips: use lowercase partiion names on the WCR150GN board
...
SVN-Revision: 27387
2011-07-03 15:01:53 +00:00
Gabor Juhos
31facf0b75
ramips: use different partition names in the DIR-300-B1 image
...
SVN-Revision: 27386
2011-07-03 15:01:52 +00:00
Gabor Juhos
dbe55f08f0
ramips: force word write on flashes with AMD cmdset ( #9252 )
...
SVN-Revision: 27385
2011-07-03 15:01:51 +00:00
Gabor Juhos
f1cf43d468
ramips: update partition map for DIR-300-B1
...
Patch by Layne Edwards from #9252 .
SVN-Revision: 27384
2011-07-03 15:01:49 +00:00
Gabor Juhos
641c87b127
ramips: consistently use 'firmware' name for sysupgrade partitions
...
SVN-Revision: 27383
2011-07-03 15:01:48 +00:00
Gabor Juhos
381d7f05af
ramips: fix a section mismatch warning
...
SVN-Revision: 27382
2011-07-03 15:01:46 +00:00
Gabor Juhos
16ad91d69f
ramips: remove unused include from the common GPIO code
...
SVN-Revision: 27381
2011-07-03 15:01:44 +00:00