Gabor Juhos
3a4d0ebd5c
kernel: update linux 3.6 to 3.6.8
...
Also refresh the affected patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Gabor Juhos
57b7879a4e
ramips: ramips_eth: use Kconfig definition to enable debug
...
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34332
2012-11-25 14:25:54 +00:00
Gabor Juhos
21d5df8700
ramips: add DIR-615 D userspace support
...
Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.
An IRC user reported these changes allowed him to use wifi on his hardware.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34331
2012-11-25 14:25:27 +00:00
Gabor Juhos
dd092fd10c
ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34270
2012-11-20 07:19:10 +00:00
Gabor Juhos
ff1e854511
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34227
2012-11-18 08:41:31 +00:00
John Crispin
dd8c625424
previous commit pushed 1 file too many ;)
...
SVN-Revision: 34179
2012-11-12 21:36:23 +00:00
John Crispin
ced0cf3a94
move ethernet hw init to init/uninit functions
...
This should fix the stalled irq problem seen by several people.
This is not the real fix, but rather moves the bug to the un/init patch of the driver.
The real bug still needs to be fixed, but this workaround should be suffcient to make
the ethernet stable.
SVN-Revision: 34177
2012-11-12 21:35:01 +00:00
John Crispin
6090ddc896
adds fon20n profile
...
SVN-Revision: 34112
2012-11-07 20:26:31 +00:00
John Crispin
3991526989
ramips: use kernel 3.6.6
...
## Booting image at 80800000 ...
Image Name: MIPS OpenWrt Linux-3.6.6
Created: 2012-11-06 14:19:54 UTC
System Control Status = 0x20440000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3560768 Bytes = 3.4 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
[ 0.000000] Linux version 3.6.6 (daniel@localhost.localdomain ) (gcc version 4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #2 Tue Nov 6 16:19:48 IST 2012
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Ralink RT3052 id:1 rev:2 running at 384.00 MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS1,57600n8 board=ALL0239-3G mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Writing ErrCtl register=0000c388
[ 0.000000] Readback ErrCtl register=0000c388
[ 0.000000] Memory: 27048k/32768k available (2015k kernel code, 5720k reserved, 498k data, 2676k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:48
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[ 0.090000] pid_max: default: 32768 minimum: 301
[ 0.100000] Mount-cache hash table entries: 512
[ 0.110000] NET: Registered protocol family 16
[ 0.120000] MIPS: machine is Allnet ALL0239-3G
[ 0.140000] bio: create slab <bio-0> at 0
[ 0.150000] Switching to clocksource MIPS
[ 0.160000] NET: Registered protocol family 2
[ 0.170000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.200000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.210000] TCP: reno registered
[ 0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.240000] NET: Registered protocol family 1
[ 5.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 5.470000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 5.490000] msgmni has been set to 52
[ 5.500000] io scheduler noop registered
[ 5.510000] io scheduler deadline registered (default)
[ 5.520000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 5.530000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 5.550000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 5.560000] physmap platform flash device: 00800000 at bf000000
[ 5.580000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001000
[ 5.600000] Amd/Fujitsu Extended Query Table at 0x0040
[ 5.610000] Amd/Fujitsu Extended Query version 1.3.
[ 5.620000] number of CFI chips: 1
[ 5.620000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[ 5.640000] Creating 6 MTD partitions on "physmap-flash.0":
[ 5.650000] 0x000000000000-0x000000030000 : "u-boot"
[ 5.660000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 5.680000] 0x000000040000-0x000000050000 : "factory"
[ 5.690000] 0x000000050000-0x000000130000 : "kernel"
[ 5.700000] 0x000000130000-0x000000800000 : "rootfs"
[ 5.710000] mtd: partition "rootfs" set to be root filesystem
[ 5.730000] split_squashfs: error occured while reading from "physmap-flash.0"
[ 5.740000] 0x000000050000-0x000000800000 : "firmware"
[ 5.760000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33
[ 5.780000] TCP: cubic registered
[ 5.780000] NET: Registered protocol family 17
[ 5.790000] 8021q: 802.1Q VLAN Support v1.8
[ 5.820000] Freeing unused kernel memory: 2676k freed
[ 6.490000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -
Please press Enter to activate this console. [ 10.150000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 10.170000] Backport based on wireless-testing.git master-2012-09-07
[ 10.180000] compat.git: wireless-testing.git
[ 10.210000] cfg80211: Calling CRDA to update world regulatory domain
[ 10.230000] cfg80211: World regulatory domain updated:
[ 10.240000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.250000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.270000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.280000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.300000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.310000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.430000] NET: Registered protocol family 10
[ 10.760000] PPP generic driver version 2.4.2
[ 10.820000] l2tp_core: L2TP core driver, V2.0
[ 10.840000] l2tp_netlink: L2TP netlink interface
[ 10.870000] sit: IPv6 over IPv4 tunneling driver
[ 10.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.060000] NET: Registered protocol family 24
[ 11.090000] nf_conntrack version 0.5.0 (464 buckets, 1856 max)
[ 11.230000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 11.410000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 14.510000] device eth0.1 entered promiscuous mode
[ 14.520000] device eth0 entered promiscuous mode
[ 14.530000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 14.550000] br-lan: port 1(eth0.1) entered forwarding state
[ 14.560000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.560000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.600000] ramips-wdt: timeout value 60 must be 0 < timeout <= 33, using 33
BusyBox v1.19.4 (2012-11-06 13:40:37 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r34079)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#
SVN-Revision: 34111
2012-11-07 20:26:21 +00:00
John Crispin
480892226d
ramips: add HAVE_CLK to Kconfig on all ramips socs
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 34110
2012-11-07 20:26:04 +00:00
John Crispin
feb31be6af
ramips: add linux-3.6 configuration for ramips socs
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
create mode 100644 target/linux/ramips/rt288x/config-3.6
create mode 100644 target/linux/ramips/rt305x/config-3.6
create mode 100644 target/linux/ramips/rt3883/config-3.6
SVN-Revision: 34109
2012-11-07 20:25:55 +00:00
John Crispin
ca1fcaed5b
ramips: port patches to linux-3.6
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
create mode 100644 target/linux/ramips/patches-3.6/001-mips-add-cp0-compare-irq-function.patch
create mode 100644 target/linux/ramips/patches-3.6/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch
create mode 100644 target/linux/ramips/patches-3.6/011-mtd-cfi_cmdset_0002-force-word-write.patch
create mode 100644 target/linux/ramips/patches-3.6/100-mips-ralink-core.patch
create mode 100644 target/linux/ramips/patches-3.6/101-rt288x_serial_driver_hack.patch
create mode 100644 target/linux/ramips/patches-3.6/102-rt288x-pci-driver-hook.patch
create mode 100644 target/linux/ramips/patches-3.6/103-ethernet.patch
create mode 100644 target/linux/ramips/patches-3.6/104-ramips-watchdog-driver.patch
create mode 100644 target/linux/ramips/patches-3.6/105-ramips-spi-driver.patch
create mode 100644 target/linux/ramips/patches-3.6/105-usb_dwc_otg.patch
create mode 100644 target/linux/ramips/patches-3.6/106-rt3883-pci-support.patch
create mode 100644 target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch
create mode 100644 target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch
SVN-Revision: 34108
2012-11-07 20:25:34 +00:00
Gabor Juhos
a0dd47bbed
ramips: enable USB power on the DIR-645
...
Closes #12422 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34082
2012-11-05 11:04:45 +00:00
Gabor Juhos
829aaedcbf
ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 34078
2012-11-05 06:58:53 +00:00
Gabor Juhos
e91dc2e5b3
target: refresh all target configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33987
2012-10-29 10:11:05 +00:00
Gabor Juhos
db5eea6acd
ramips: use correct key code for the RFKILL switch on the TEW-691GR
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33943
2012-10-26 18:53:44 +00:00
Gabor Juhos
b530d9d2b3
ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33864
2012-10-19 17:42:22 +00:00
Gabor Juhos
6ca2970e4b
ramips: add profile and build image for the TEW-691GR board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33852
2012-10-18 07:23:13 +00:00
Gabor Juhos
21180e29f7
ramips: add user-space support for TEW-691GR
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33851
2012-10-18 07:23:12 +00:00
Gabor Juhos
25d53c4c28
ramips: rt3883: add initial support for the TRENDnet TEW-691GR board
...
No wireless support.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33850
2012-10-18 07:23:11 +00:00
Gabor Juhos
462a53c367
ramips: add profile and build image for the TEW-692GR board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33849
2012-10-18 07:23:10 +00:00
Gabor Juhos
d3c368c324
ramips: add user-space support for the TEW-692GR board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33847
2012-10-18 07:23:07 +00:00
Gabor Juhos
7f8b7207c9
ramips: rt3883: add initial support for TRENDnet TEW-692GR board
...
No wireless support.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33846
2012-10-18 07:23:06 +00:00
Gabor Juhos
bf9ae9432b
ramips: add profile and build image for the DIR-645 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33845
2012-10-18 07:23:04 +00:00
Gabor Juhos
06edafd079
ramips: add user space support for the DIR-645
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33844
2012-10-18 07:23:03 +00:00
Gabor Juhos
d1a253a2fd
ramips: rt3883: add inital support for the DIR-645 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33843
2012-10-18 07:23:02 +00:00
Gabor Juhos
e962c16a88
ramips: use get_magic_long in sysupgrade image check
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33842
2012-10-18 07:23:00 +00:00
Gabor Juhos
d832cd11f8
ramips: add image for ALL0256N-8M
...
The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB.
In order to expose the whole amount of flash, add another image which contains
the corresponding GENERIC_8M mtdparts.
[juhosg: change suffix from '8m' to '8M']
Patch by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33614
2012-10-04 06:34:09 +00:00
Gabor Juhos
e3bcbeb427
ramips: add memory detection code for RT5350
...
SVN-Revision: 33571
2012-09-27 10:18:15 +00:00
Gabor Juhos
80d2da9f0f
ramips: allow to use custom code for memory size detection
...
SVN-Revision: 33570
2012-09-27 10:18:14 +00:00
John Crispin
d8c04821c3
make uci-defaults switch detection work on rt5350
...
SVN-Revision: 33549
2012-09-25 14:47:18 +00:00
John Crispin
34d57ebd8b
add ethernet support for rt5350
...
SVN-Revision: 33548
2012-09-25 14:47:08 +00:00
John Crispin
af0cd76937
make ramips ethernet use a register mapping table
...
SVN-Revision: 33547
2012-09-25 14:46:58 +00:00
John Crispin
394a560a9a
unbreak port mapping detection
...
SVN-Revision: 33536
2012-09-25 09:51:48 +00:00
John Crispin
223db72385
D-Link DAP-1350; Avoid bricking esw config
...
This is a patch to connect eth0.1 (lan) to the only
ethernet connector available.
D-Link DAP-1350 goes bricked with AA 12.09-beta.
This is because the current esw configuration for the
board connects eth0.2 (wan) to the *ONE and ONLY*
ethernet connector available, preventing initial access
to the board through 192.168.1.1 on eth0.1 after flashing,
effectively bricking the board.
There are things that should be done to make this board
really useful, but for AA 12.09, this one liner is
indispensable.
Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 33411
2012-09-15 09:28:28 +00:00
John Crispin
bf355f8ee9
ramips/rt3883: fix a typo in the ASUS profile
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33410
2012-09-15 09:20:50 +00:00
Gabor Juhos
0a42b02126
ramips/rt305x: add initial support for Rt5350 SoC
...
Somehow detecting the RAM size in common/setup.c doesn't
work here, it always detects 64M and then crashes on devices
with less RAM.
Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how
it could be, for now I use the mem=32M kernel parameter to get
stuff working.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33381
2012-09-12 19:03:12 +00:00
Gabor Juhos
d8b2fef763
ramips: Add missing andmask to ramips_esw register read for recv_good value.
...
Add missing andmask to ramips_esw register read for recv_good value.
Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33322
2012-09-05 20:08:43 +00:00
Gabor Juhos
04c6143ca9
ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
...
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.
Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.
Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.
Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.
I did some tests regarding maximum packet size and did not see any
difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33321
2012-09-05 20:08:42 +00:00
Gabor Juhos
6c7b776ae0
ramips: add rssileds to package set in profile for devices which got them.
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33316
2012-09-05 19:22:48 +00:00
Gabor Juhos
b0da5b73b8
ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
...
SVN-Revision: 33307
2012-08-29 10:37:51 +00:00
Gabor Juhos
54d8a55eed
ramips: make built-in switch transparent for ALL0256N and ALL5002
...
This allows them to transparently communicate with an external VLAN switch.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33305
2012-08-29 10:37:47 +00:00
Gabor Juhos
bc4763a399
ramips: Power down phy on disabled switch ports
...
Power down phy on disabled switch ports.
Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.
[juhosg: fix checkpatch warning]
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33304
2012-08-29 10:37:45 +00:00
Gabor Juhos
1617f226a9
ramips: Add support for 8devices Carambola dev board.
...
Add support for 8devices Carambola dev board.
The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33303
2012-08-29 10:37:43 +00:00
Gabor Juhos
bb0785880a
ramips: Rename POC registers
...
Rename POC registers.
The current code uses POC1-POC3.
The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2
So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33302
2012-08-29 10:37:41 +00:00
Gabor Juhos
f1b9d77912
ramips: Minor ramips_esw.c cleanup
...
Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33301
2012-08-29 10:37:40 +00:00
Gabor Juhos
1f3400d3b4
ramips: Add switch setup to uci network defaults
...
Add switch setup to uci network defaults.
The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33300
2012-08-29 10:37:38 +00:00
Gabor Juhos
3b17f1deb8
ramips: Add swconfig support to ramips_esw.c
...
Add swconfig support to ramips_esw.c
This patch adds swconfig support for ramips_esw:
Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.
The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33299
2012-08-29 10:37:36 +00:00
Gabor Juhos
358c7e47f2
ramips: ramips_esw.c indentation cleanup
...
Minor indentation cleanup.
Prepare for the main swconfig patch by cleaning up indentation a bit.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33298
2012-08-29 10:37:35 +00:00
Gabor Juhos
cebaa557be
ramips: fix board parameter for the NBG-419N ( #12061 )
...
SVN-Revision: 33229
2012-08-22 17:55:12 +00:00
Gabor Juhos
eb54a05e89
ramips: add profile for Allnet devices
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33225
2012-08-22 12:36:35 +00:00
Gabor Juhos
d77418d67e
ramips: add RSSI leds for uci-defaults for ALL0256N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33220
2012-08-22 09:46:30 +00:00
Gabor Juhos
67e6461ad7
ramips: add board alias for the ALL0239-3G
...
Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.
The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.
I'm working on implementing fixtrx for uImage in the mtd package to solve this.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33206
2012-08-17 17:56:07 +00:00
Gabor Juhos
89606b61b1
ramips: add support for D-Link DIR-615 H1
...
rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.
[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]
Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>
SVN-Revision: 33205
2012-08-17 17:56:05 +00:00
Gabor Juhos
82759a1716
ramips: rename rt3352 usb platform devices
...
In order to get OHCI/EHCI working on the Rt3352, the platform device must be
named so rt3883-?hci will recognize it.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33145
2012-08-12 12:48:31 +00:00
Gabor Juhos
1525620b0e
ramips: watchdog: use maximum possible timeout by default
...
As the userspace has no means to determine the maximum possible timeout, use
that as the default and let the userspace lower it when necessary.
As the result the usual OpenWrt install (with busybox's watchdog trying to set
the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at
384MHz instead of the current 20s default.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33144
2012-08-12 12:48:28 +00:00
Gabor Juhos
615a619bc7
ramips: provide means to specify custom "image name" for uImages, use for DIR-620
...
D-Link's DIR-620 allows to flash a uImage directly from its web-interface but
for that the image name should be set to DIR_620.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33143
2012-08-12 12:48:26 +00:00
Gabor Juhos
9365113040
ramips: add D-Link DIR-620 A1 support
...
Full functionality runtime tested, installation via OEM web-interface requires
a follow-up patch.
Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing
bits (including the antiparallel wps led).
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33142
2012-08-12 12:48:24 +00:00
Florian Fainelli
1627b2bb4b
move rt305x-dwc driver to target specific modules.mk
...
SVN-Revision: 32864
2012-07-25 15:50:42 +00:00
John Crispin
5e52619b76
DWC otg usb: compilation fixes and trivial bugfix in slave mode
...
Signed-of-by: Nikolai Zhubr <n-a-zhubr@yandex.ru>
SVN-Revision: 32823
2012-07-24 20:38:55 +00:00
John Crispin
799d6deab0
D-Link DAP-1350 initial support
...
The initial support for the D-Link DAP-1350.
USB related functionality is not tested.
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 32821
2012-07-24 20:38:43 +00:00
John Crispin
03be8d08ac
initial LED configuration for Fonera 2.0n
...
Setup initial configuration for Wifi and USB LEDS of a Fonera 2.0n (ramips)
Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
SVN-Revision: 32819
2012-07-24 20:38:31 +00:00
John Crispin
2d2479a033
add ALL5002 userspace support
...
detect EEPROM, MAC addresses and support sysupgrade for the ALL5002
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32816
2012-07-24 20:38:14 +00:00
John Crispin
e219c3ac3a
enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.
...
Hope that this works, didn't have a chance to actually test it...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32815
2012-07-24 20:38:08 +00:00
John Crispin
a65eee9ac3
add image build for ALL5002
...
add image build for ALL5002
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32814
2012-07-24 20:38:03 +00:00
John Crispin
0a08a776fb
add support for Allnet ALL5002 to kernel
...
support ALL5002 in ramips/rt305x branch of the kernel.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32813
2012-07-24 20:37:56 +00:00
John Crispin
6641024f50
uart_clk on Rt3352F is always 40MHz
...
Currently, sys_clk/10 is used which is just wrong.
cpu_clk/10 would work for systems with 400MHz CPU clock.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32812
2012-07-24 20:37:50 +00:00
Gabor Juhos
372945185d
ramips: rt305x: add support for Edimax 3G-6200N
...
Support for Edimax 3G-6200N router with USB.
Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>
SVN-Revision: 32682
2012-07-12 13:29:46 +00:00
Vasilis Tsiligiannis
eee358338c
ramips: mac address detection for Fonera 2.0n
...
Detect and apply MAC address of a Fonera 2.0n (ramips)
Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 32490
2012-06-23 13:58:29 +00:00
Gabor Juhos
833b4af816
ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
...
This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w
Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>
SVN-Revision: 32450
2012-06-19 09:52:15 +00:00
John Crispin
a4d96aae8d
bump to 3.3.8
...
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
ffbb4f88a9
ramips: use the generic uci-default functions for initial LED setup
...
SVN-Revision: 31993
2012-05-29 16:39:18 +00:00
Gabor Juhos
c71838faa1
ramips: WAN LED for D-Link DIR-300-B1
...
Add led devices for D-Link DIR-300-B1 WAN LED.
Note that the GPIO state is also ANDed with the esw switch port 4
LED state, which is why I've set the amber LED to default-on.
Closes: https://dev.openwrt.org/ticket/11326
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
[ juhosg:
- fix comment style in mach-dir-300-revb.c,
- remove the PPP specific LED setup, not everyone uses a PPP connection
on the WAN interface]
SVN-Revision: 31989
2012-05-29 16:39:03 +00:00
Gabor Juhos
1c552ba8e5
ramips: rt3883: add device registration code for the SPI controller
...
SVN-Revision: 31922
2012-05-27 17:10:00 +00:00
Gabor Juhos
9c241983fc
ramips: allow to use the SPI driver on RT3662/RT3883
...
SVN-Revision: 31921
2012-05-27 17:09:58 +00:00
Gabor Juhos
78a750dcce
ramips: rt3883: fix GPIO reservation for the SPI pins
...
SVN-Revision: 31920
2012-05-27 17:09:56 +00:00
Gabor Juhos
0622fdd82c
ramips: rt305x: remove superfluous controller_data assignment
...
SVN-Revision: 31919
2012-05-27 17:09:52 +00:00
Gabor Juhos
7f5bec0642
ramips: make rt2x00 firmware extraction quiet
...
SVN-Revision: 31918
2012-05-27 17:09:50 +00:00
Gabor Juhos
2ae5581447
kernel: update linux 3.3 to 3.3.7
...
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
e4720dfa95
ramips: Add byte queue limits support to net/ethernet/ramips_main.c
...
Add byte queue limits support to net/ethernet/ramips_main.c
"Byte queue limits are a mechanism to limit the size of the transmit
hardware queue on a NIC by number of bytes. The goal of these byte
limits is too reduce latency (HOL blocking) caused by excessive
queuing in hardware (aka buffer bloat) without sacrificing
throughput."
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31844
2012-05-23 21:05:23 +00:00
Gabor Juhos
1d286fd755
ramips: Enable sysupgrade for Sitecom WL-351
...
Sysupgrade works just fine on my Sitecom WL-351 after adding this
oneliner.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31843
2012-05-23 21:05:22 +00:00
Gabor Juhos
39994008cb
linux: move certain disabled symbols to the generic configs
...
* CONFIG_ARCH_DMA_ADDR_T_64BIT
* CONFIG_ARCH_HAS_ILOG2_U32
* CONFIG_ARCH_HAS_ILOG2_U64
* CONFIG_ARCH_PHYS_ADDR_T_64BIT
* CONFIG_ARCH_SUPPORTS_MSI
* CONFIG_GENERIC_CPU_DEVICES
* CONFIG_HWMON_DEBUG_CHIP
* CONFIG_I2C_PXA_PCI
* CONFIG_LEDS_GPIO
* CONFIG_MINIX_FS_NATIVE_ENDIAN
* CONFIG_MLX4_CORE
* CONFIG_POWER_SUPPLY
* CONFIG_POWER_SUPPLY_DEBUG
* CONFIG_QUOTACTL
* CONFIG_SDIO_UART
* CONFIG_SENSORS_K10TEMP
* CONFIG_SENSORS_SCH56XX_COMMON
* CONFIG_SENSORS_VIA_CPUTEMP
* CONFIG_SERIO_AMBAKMI
* CONFIG_SERIO_I8042
* CONFIG_SERIO_LIBPS2
* CONFIG_SERIO_PCIPS2
* CONFIG_SERIO_RAW
* CONFIG_SERIO_SERPORT
* CONFIG_SPI_BITBANG
* CONFIG_SPI_GPIO
SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e
kernel: update linux 3.3 to 3.3.6
...
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
34018a630f
kernel: update linux 3.3 to 3.3.5
...
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Gabor Juhos
b0449ccf04
ramips: W306R V2.0 - GPIO and Network fixes
...
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
removing a line(default is correct), and reversed the
Lan/wan layout LLLLW to WLLLL.
Added: image/Makefile now builds -factory.bin files. I am
unsure of the accepted way to change the makefile but
the name of the image needs to be 'linkn Kernel Image'
in order to be accepted by the OEM firmware.
Known issue: eth0 (internal switch i think has mac address:
00:11:22:33:44:55 but i think it should be same as
the lan).
Known issue: Pressing the reset button has no noticable effect,
i would expect the router to boot failsafe if being
pressed on boot, reboot if short press and reset all
to default if long press.
[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]
Signed-off-by: David Pearce <david_18051985@hotmail.com>
SVN-Revision: 31557
2012-05-02 19:17:59 +00:00
Gabor Juhos
90e99b9fe8
ramips: Make serial console for DIR-300-B1 work again
...
Make serial console for DIR-300-B1 work again.
With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.
Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31556
2012-05-02 19:17:58 +00:00
Gabor Juhos
cbfce53831
kernel: update linux 3.3 to 3.3.4
...
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Gabor Juhos
8e06682fb7
ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UN
...
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>
SVN-Revision: 31507
2012-04-29 07:36:33 +00:00
Jonas Gorski
8fd383ae2e
kernel: update linux 3.3 to 3.3.3
...
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Gabor Juhos
1ab80c7817
ramips: rt305x: add support for the UR-336UN board
...
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>
SVN-Revision: 31451
2012-04-23 16:56:06 +00:00
Gabor Juhos
3626444c6d
ramips: rt305x: add support for the Asus WL-330N3G board
...
This patch adds support for the ASUS WL-330N3G
Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led.
The bi-color led is driven by 2 gpio.
I don't know how to handle this, so I simply made 2 leds : one red, one blue.
But the red light takes precedence over the blue one according to the chart below.
r = led is red
b = led is blue
0 = led is off
xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness
initial state action led gpio state
r0 b0 r0->r1 r r0 b0
r0 b0 b0->b1 b r0 b1
r1 b0 r1->r0 0 r0 b0
r1 b0 b0->b1 r r1 *b1*
r1 b1 r1->r0 b r0 b1
r1 b1 b1->b0 r r1 b0
r0 b1 r0->r1 r r1 *b1*
r0 b1 b1->b0 0 r0 r0
Signed-off-by: Frédéric Leroy <fredo@starox.org>
SVN-Revision: 31450
2012-04-23 16:56:05 +00:00
Gabor Juhos
5024ffb976
ramips: nuke 3.2 suport
...
SVN-Revision: 31405
2012-04-21 12:30:53 +00:00
Gabor Juhos
6c8ca78067
ramips: switch to 3.3.2
...
SVN-Revision: 31404
2012-04-21 12:30:51 +00:00
Gabor Juhos
5c325b0057
ramips: add support for 3.3
...
SVN-Revision: 31403
2012-04-21 12:30:50 +00:00
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
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
Gabor Juhos
c9f3e7082f
ramips: disable watchdog on sysupgrade
...
SVN-Revision: 27380
2011-07-03 15:01:43 +00:00
Gabor Juhos
e70e6f6848
ramips: swap target check in image generation
...
SVN-Revision: 27379
2011-07-03 15:01:42 +00:00
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
2011-07-03 15:01:41 +00:00
Gabor Juhos
3099ffe414
ramips: set cp0_perfcount_irq for RT305X
...
SVN-Revision: 27377
2011-07-03 15:01:40 +00:00
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
2011-04-04 08:43:07 +00:00
Hauke Mehrtens
50c743e79e
kernel: Update to version 2.6.37.6
...
Thank you Peter Wagner for the patch
SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Gabor Juhos
87f5872f35
ramips: remove 2.6.36 stuff
...
SVN-Revision: 26329
2011-03-27 19:20:06 +00:00
Gabor Juhos
90d37adb8d
ramips: switch to 2.6.37
...
SVN-Revision: 26328
2011-03-27 19:20:04 +00:00
Gabor Juhos
1844ea6c7b
ramips: UPF_FIXED_TYPE must be set for the serial ports
...
SVN-Revision: 26327
2011-03-27 19:20:03 +00:00
Gabor Juhos
9ef4785364
ramips: define GPIO chips separately for each SoCs
...
SVN-Revision: 26326
2011-03-27 19:19:59 +00:00
Gabor Juhos
37d6d88869
ramips: move GPIO definitions into a separate header file
...
SVN-Revision: 26325
2011-03-27 19:19:57 +00:00
Gabor Juhos
251a367fb4
ramips: setup GPIO chip functions on the fly
...
SVN-Revision: 26324
2011-03-27 19:19:51 +00:00
Gabor Juhos
b03f2dfcee
ramips: use separate register base for GPIO chips
...
SVN-Revision: 26323
2011-03-27 19:19:48 +00:00
Gabor Juhos
8770359f17
ramips: fix dir-300 mtd layout
...
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 26322
2011-03-27 19:19:45 +00:00
Gabor Juhos
f599459abb
ramips: enable MDIO on the HW550-3G board
...
SVN-Revision: 26321
2011-03-27 19:19:41 +00:00
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
2011-03-27 19:19:40 +00:00
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
2011-03-26 01:07:12 +00:00
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
2011-03-13 16:34:52 +00:00
Florian Fainelli
45c9f5e75e
update to kernel 2.6.36.4
...
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Gabor Juhos
1c92e047c8
ramips: register watchdog device on the rt288x boards
...
SVN-Revision: 25130
2011-01-26 20:48:52 +00:00
Gabor Juhos
2b50cecea6
ramips: add watchdog device for RT288x
...
SVN-Revision: 25129
2011-01-26 20:48:50 +00:00
Gabor Juhos
764aa3fe9c
ramips: register watchdog device on the rt305x boards
...
SVN-Revision: 25128
2011-01-26 20:48:47 +00:00
Gabor Juhos
42e36cf732
ramips: add watchdog device for RT305x
...
SVN-Revision: 25127
2011-01-26 20:48:46 +00:00
Gabor Juhos
16366feafb
ramips: add watchdog driver
...
SVN-Revision: 25126
2011-01-26 20:48:41 +00:00
Gabor Juhos
f38367fcb4
ramips: implement clock API for RT288x
...
SVN-Revision: 25125
2011-01-26 20:48:39 +00:00
Gabor Juhos
b0ffa70248
ramips: implement clock API for RT305X
...
SVN-Revision: 25124
2011-01-26 20:48:35 +00:00
Gabor Juhos
f9e74383a9
ramips: remove extern and __init from function prototypes
...
SVN-Revision: 25123
2011-01-26 20:48:33 +00:00
Gabor Juhos
b99a637795
ramips: ramips_esw: fix typos
...
Patch from #8577 .
SVN-Revision: 24898
2011-01-04 13:44:05 +00:00
Gabor Juhos
d2fdd1dbe1
ramips: remove 2.6.3[24] support
...
SVN-Revision: 24562
2010-12-14 08:00:31 +00:00
Gabor Juhos
1403850be1
ramips: switch to 2.6.36
...
SVN-Revision: 24561
2010-12-14 08:00:29 +00:00
Gabor Juhos
f9898e30fb
ramips: handle OTG interrupt on the RT305x SoC
...
SVN-Revision: 24560
2010-12-14 08:00:25 +00:00
Felix Fietkau
5a351509aa
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
...
SVN-Revision: 24540
2010-12-13 08:01:21 +00:00
Gabor Juhos
502d21dc2a
ramips: ramips_esw: add more definitions
...
SVN-Revision: 24340
2010-12-08 10:15:33 +00:00
Gabor Juhos
bf58ef7c6d
ramips: ramips_esw: add helper function to set pvid
...
SVN-Revision: 24339
2010-12-08 10:15:28 +00:00
Gabor Juhos
692d379b50
ramips: ramips_esw: add helper function to set vlan members
...
SVN-Revision: 24338
2010-12-08 10:15:25 +00:00
Gabor Juhos
f7c3f91074
ramips: ramips_esw: add helper function to set VLAN id
...
SVN-Revision: 24337
2010-12-08 10:15:22 +00:00
Gabor Juhos
0d2ad7a816
ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
...
SVN-Revision: 24336
2010-12-08 10:15:16 +00:00
Gabor Juhos
7b878dde4b
ramips: ramips_esw: use rt305x_esw prefix in function names
...
SVN-Revision: 24335
2010-12-08 10:15:14 +00:00
Gabor Juhos
0fcedc7bda
ramips: ramips_esw: coding style cleanup
...
SVN-Revision: 24334
2010-12-08 10:15:12 +00:00
Gabor Juhos
48e6a31812
ramips: ramips_esw: add defines for switch register offsets
...
SVN-Revision: 24333
2010-12-08 10:15:07 +00:00
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
2010-12-08 10:15:04 +00:00
Gabor Juhos
3b9a6adc7d
ramips: ramips_esw: convert it to be a platform driver
...
SVN-Revision: 24331
2010-12-08 10:15:00 +00:00
Gabor Juhos
889729df01
ramips: ramips_esw: move hardware initialization into a separate function
...
SVN-Revision: 24330
2010-12-08 10:14:58 +00:00
Gabor Juhos
8957f39064
ramips: ramips_esw: use a private structure for the functions
...
SVN-Revision: 24329
2010-12-08 10:14:54 +00:00
Gabor Juhos
0449d92dd7
ramips: add support for 2.6.36
...
SVN-Revision: 24270
2010-12-05 20:14:38 +00:00
Gabor Juhos
01a5cb48c8
ramips: default profile fix
...
Fix package names in default profiles.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 24269
2010-12-05 20:14:35 +00:00
Gabor Juhos
47dd3b9fea
ramips: use tabs instead of spaces in mach-f5d8235-v2.c
...
SVN-Revision: 24268
2010-12-05 20:14:30 +00:00
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
2010-11-24 10:01:23 +00:00
Gabor Juhos
64b16b9f34
ramips: Use NET_IP_ALIGN instead of hardcoding 2
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24124
2010-11-24 10:01:18 +00:00
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
2010-11-24 10:01:16 +00:00
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
2010-11-24 10:01:12 +00:00
Gabor Juhos
c6e4124855
ramips: Remove unnecessary skb_put
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24121
2010-11-24 10:01:08 +00:00
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
2010-10-05 14:10:34 +00:00
Imre Kaloz
5f9a6a5431
upgrade kernel versions to the latest stable ones
...
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
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
2010-09-27 14:43:34 +00:00
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
2010-09-27 14:42:07 +00:00
Hauke Mehrtens
09e05d833d
kernel: update kernel version to 2.6.34.5
...
SVN-Revision: 22759
2010-08-22 13:26:06 +00:00
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
2010-08-15 09:43:07 +00:00
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
2010-07-31 11:42:17 +00:00
Gabor Juhos
1ca67cba7f
ramips: enable ethernet driver for rt288x
...
SVN-Revision: 22214
2010-07-15 19:45:49 +00:00
Gabor Juhos
2e45ce264d
ramips: register ethernet device on the RT-N15
...
SVN-Revision: 22213
2010-07-15 19:45:46 +00:00
Gabor Juhos
c2ebadc504
ramips: add generic ethernet device for the RT288x
...
SVN-Revision: 22212
2010-07-15 19:45:43 +00:00
Gabor Juhos
0d8c036e56
ramips: add mdio_cfg configuration for the ethernet driver
...
SVN-Revision: 22211
2010-07-15 19:45:40 +00:00
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
2010-07-13 16:52:07 +00:00
Gabor Juhos
27375c5139
ramips: protect GPIO register access with a spinlock
...
SVN-Revision: 22171
2010-07-13 16:52:04 +00:00
Gabor Juhos
9ee8b1f8c6
ramips: sync kernel config
...
SVN-Revision: 22170
2010-07-13 16:52:02 +00:00
Hauke Mehrtens
e2ce2feedb
kernel: update to kernel 2.6.34.1
...
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Alexandros C. Couloumbis
cd2069a57c
fix commit r21994 (thanks juhosg)
...
SVN-Revision: 21995
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis
0409c64e34
fix commit r21993
...
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Gabor Juhos
2dfcdb9465
generic: merge mips multi machine update to generic patches for 2.6.34
...
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
383bd396fa
generic: merge mips multi machine update to generic patches for 2.6.32
...
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00
John Crispin
971b7ff50e
Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
...
Signed-off-by: Helmut Schaa
SVN-Revision: 21643
2010-05-31 11:57:32 +00:00
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
2010-05-30 03:21:00 +00:00
Gabor Juhos
c24397b385
ramips: merge slab patch
...
SVN-Revision: 21607
2010-05-28 19:45:28 +00:00
Gabor Juhos
7ac21ada55
ramips: use COMMAND_LINE_SIZE directly
...
SVN-Revision: 21606
2010-05-28 19:45:24 +00:00
Gabor Juhos
178e4e9927
ramips: add missing 2.6.34 config files
...
SVN-Revision: 21605
2010-05-28 19:45:21 +00:00
Gabor Juhos
b86455a7ec
ramips: refresh 2.6.34 patches
...
SVN-Revision: 21604
2010-05-28 19:45:16 +00:00
Gabor Juhos
fdf1561386
ramips: sync 2.6.32 config
...
SVN-Revision: 21603
2010-05-28 19:45:10 +00:00
John Crispin
0ab7d18462
update to 2.6.34, signed of by russiane39, thx
...
SVN-Revision: 21573
2010-05-26 15:53:05 +00:00
Hauke Mehrtens
b18a1d217b
kernel: update kernel to version 2.6.32.13 and 2.6.33.4
...
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Alexandros C. Couloumbis
fdac9ae836
sync to kernel 2.6.32.12
...
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Nicolas Thill
37b02afe6a
package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
...
SVN-Revision: 21137
2010-04-24 14:08:49 +00:00
Gabor Juhos
60cbdbb686
ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
...
SVN-Revision: 21083
2010-04-22 09:25:37 +00:00
Nicolas Thill
3162bc1ecf
target/ramips: fix another typo from [20834] ( closes : #7182 )
...
SVN-Revision: 21012
2010-04-19 01:14:29 +00:00
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
2010-04-12 23:15:56 +00:00
Gabor Juhos
de18353622
ramips: nuke clocksource init patch
...
SVN-Revision: 20802
2010-04-11 17:47:30 +00:00
Gabor Juhos
b4bb5ebfaa
ramips: generate sysupgrade images for the rt305x devices
...
SVN-Revision: 20801
2010-04-11 17:47:28 +00:00
Gabor Juhos
7581054e93
ramips: add sysupgrade support
...
SVN-Revision: 20800
2010-04-11 17:47:25 +00:00
Gabor Juhos
09aec474af
ramips: add diag support
...
SVN-Revision: 20799
2010-04-11 17:47:23 +00:00
Gabor Juhos
2872bade69
ramips: enable image commandline hack and cmdline partition parsing
...
SVN-Revision: 20798
2010-04-11 17:47:20 +00:00
Gabor Juhos
af05b16c98
ramips: add default profiles
...
SVN-Revision: 20797
2010-04-11 17:47:17 +00:00
Gabor Juhos
0abc7e6d53
ramips: add wpad-mini to the default packages
...
SVN-Revision: 20632
2010-03-31 09:58:33 +00:00
Gabor Juhos
a423c3abee
ramips: annotate device register function prototypes with __init
...
SVN-Revision: 20627
2010-03-31 08:40:28 +00:00
Gabor Juhos
a9f313edea
ramips: register wifi device for the RT2880 based boards
...
SVN-Revision: 20625
2010-03-31 08:40:23 +00:00
Gabor Juhos
9f3d673dbc
ramips: add wifi device for the RT2880 as well
...
SVN-Revision: 20624
2010-03-31 08:40:20 +00:00
Gabor Juhos
1c25cfcde0
ramips: register wifi device on the rt305x based boards
...
SVN-Revision: 20616
2010-03-30 21:24:10 +00:00
Gabor Juhos
ce2ac05602
ramips: sync kernel config
...
SVN-Revision: 20614
2010-03-30 21:24:05 +00:00
John Crispin
6f4052abe0
The ralink rt305x board has a wireless card that can be used with the rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
...
SVN-Revision: 20599
2010-03-30 12:04:05 +00:00
John Crispin
3ad14f304e
Fix the base address of the wireless card. Otherwise it is not possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
...
SVN-Revision: 20596
2010-03-30 10:06:05 +00:00
Gabor Juhos
e66a368bd1
kernel: update to 2.6.32.10
...
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Felix Fietkau
2d305bdc23
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
...
SVN-Revision: 20149
2010-03-11 18:48:50 +00:00
Nicolas Thill
e1863691d9
do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
...
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Hauke Mehrtens
0c7b285613
kernel: update to kernel 2.6.32.9
...
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Travis Kemen
5c75e1dd02
update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
...
SVN-Revision: 19591
2010-02-12 01:12:11 +00:00
Imre Kaloz
825b37cc56
clean up handling of some kernel symbols
...
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Imre Kaloz
0a52bc58f8
re-sort all target and subtarget config files
...
SVN-Revision: 19580
2010-02-11 08:55:15 +00:00
Gabor Juhos
1e4e3b21fb
ramips: nuke 2.6.30 support
...
SVN-Revision: 19466
2010-01-31 17:56:41 +00:00
Gabor Juhos
bdc1565554
ramips: enable RTL8366SR driver for the RT288x devices
...
SVN-Revision: 19465
2010-01-31 17:56:38 +00:00
Gabor Juhos
4267623e2e
ramips_eth: cleanup mac_address changing
...
SVN-Revision: 19464
2010-01-31 17:56:36 +00:00
Gabor Juhos
b16aaf5fac
ramips_eth: update register offsets
...
SVN-Revision: 19463
2010-01-31 17:56:33 +00:00
Gabor Juhos
72b08b729a
ramips_eth: pass sys_clk via platform_data
...
SVN-Revision: 19462
2010-01-31 17:56:30 +00:00
Gabor Juhos
9ab88ce62d
ramips_eth: add helper functions to {ed,dis}able interrupts
...
SVN-Revision: 19446
2010-01-31 12:48:53 +00:00
Gabor Juhos
224edd2575
ramips_eth: remove unnecessary typecasts
...
SVN-Revision: 19445
2010-01-31 12:48:51 +00:00
Gabor Juhos
8aceaf96be
ramips_eth: simplify tx_next computation
...
SVN-Revision: 19444
2010-01-31 12:48:48 +00:00
Gabor Juhos
21b06bd2c0
ramips_eth: simplify tx descriptor initialization
...
SVN-Revision: 19443
2010-01-31 12:48:46 +00:00
Gabor Juhos
d0fb66e3a4
ramips_eth: pass 'raeth_priv' struct directly to dma specific functions
...
SVN-Revision: 19442
2010-01-31 12:48:43 +00:00
Gabor Juhos
c9d8869d1b
ramips: switch to 2.6.32
...
SVN-Revision: 19441
2010-01-31 12:48:41 +00:00
Gabor Juhos
f0be6ab20c
ramips_eth: convert to use netdev_ops
...
SVN-Revision: 19440
2010-01-31 12:48:38 +00:00
Gabor Juhos
d37975f6b2
ramips_eth: fix invalid register writes
...
SVN-Revision: 19417
2010-01-30 15:26:02 +00:00
Gabor Juhos
43e1dd85c2
ramips_eth: move memset call out from the loop
...
SVN-Revision: 19416
2010-01-30 15:25:59 +00:00
Gabor Juhos
ea4ce3b6fd
ramips_eth: header file cleanup
...
SVN-Revision: 19415
2010-01-30 15:25:57 +00:00
Gabor Juhos
67cd819da6
ramips_eth: coding style cleanup
...
SVN-Revision: 19414
2010-01-30 15:25:55 +00:00
Gabor Juhos
a4e85bbceb
ramips: register gpio buttons on the Fonera 2.0N board
...
SVN-Revision: 19413
2010-01-30 15:25:52 +00:00
Gabor Juhos
8823482a02
ramips: register gpio buttons on the WHR-G300N board
...
SVN-Revision: 19412
2010-01-30 15:25:49 +00:00
Gabor Juhos
35f47a3654
ramips: register gpio buttons on the V22RW-2x2 board
...
SVN-Revision: 19411
2010-01-30 15:25:47 +00:00
Gabor Juhos
30a397fd5e
ramips: register gpio buttons on the DIR-300 revB board
...
SVN-Revision: 19410
2010-01-30 15:25:44 +00:00
Gabor Juhos
f9b053e87f
ramips: fix wrong base addresses for the RT288x
...
SVN-Revision: 19409
2010-01-30 15:25:41 +00:00
Gabor Juhos
8448caa6ad
ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
...
SVN-Revision: 19408
2010-01-30 15:25:36 +00:00
Gabor Juhos
94c9590e91
ramips: rename dev_gpio_leds.h to dev-gpio-leds.h
...
SVN-Revision: 19407
2010-01-30 15:25:33 +00:00
Gabor Juhos
55185915de
ramips: cleanup WZR-AGL300NH board support file
...
SVN-Revision: 19406
2010-01-30 15:25:29 +00:00
Gabor Juhos
0530dd9849
ramips: register gpio-buttons on the RT-N15 board
...
SVN-Revision: 19405
2010-01-30 15:25:25 +00:00
Gabor Juhos
9327f02b7b
ramips: add common gpio-buttons device
...
SVN-Revision: 19404
2010-01-30 15:25:20 +00:00
Gabor Juhos
4af1f533bb
ramips: register rtl8366s device on the RT-N15 board
...
SVN-Revision: 19403
2010-01-30 15:25:16 +00:00
Gabor Juhos
e2dde81ead
ramips: sanitize return value of ramips_gpio_get
...
SVN-Revision: 19401
2010-01-30 15:25:08 +00:00
Gabor Juhos
af9f40e60d
ramips: update mips multi-machine stuff
...
SVN-Revision: 19400
2010-01-30 15:25:03 +00:00
Gabor Juhos
b34feab713
ramips: add preliminary support for 2.6.32
...
SVN-Revision: 19343
2010-01-26 09:57:38 +00:00
Gabor Juhos
c5ac3f64ab
ramips: refresh patches
...
SVN-Revision: 19342
2010-01-26 09:57:34 +00:00
Gabor Juhos
03aa95b791
ramips: sync kernel config
...
SVN-Revision: 19341
2010-01-26 09:57:32 +00:00
Jo-Philipp Wich
6351d88e29
add initial support for the WZR-AGL300NH - patch by Joonas Lahtinen <joonas.lahtinen@gmail.com>
...
SVN-Revision: 19321
2010-01-24 23:31:49 +00:00
Florian Fainelli
a47b8566a1
update to 2.6.30, refresh patches
...
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Imre Kaloz
6b280112f2
some more Kconfig symbol move..
...
SVN-Revision: 18371
2009-11-11 11:52:41 +00:00
Imre Kaloz
1d62d9a95c
another round of kernel config cleanups
...
SVN-Revision: 18370
2009-11-11 11:42:24 +00:00
Imre Kaloz
ef42fb4c13
sort all target config files
...
SVN-Revision: 18367
2009-11-11 09:27:13 +00:00
Gabor Juhos
b624dec41b
ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
...
SVN-Revision: 18229
2009-10-30 15:15:41 +00:00
John Crispin
9364f83dbc
missing header file changes, and fix mtu value
...
SVN-Revision: 18220
2009-10-30 09:18:40 +00:00
John Crispin
ff5deeef08
fixes rx path for eth, spinlock it, increases buffer size, board now survives ping -f
...
SVN-Revision: 18212
2009-10-29 21:08:11 +00:00
John Crispin
135111a05b
hopefully fixes dma issues seen on ethernet driver when under high load
...
SVN-Revision: 18203
2009-10-29 12:51:45 +00:00
Gabor Juhos
bc59e3da51
ramips: move 'arch/mips/include/asm/mach-ralink/eth.h' to 'drivers/net/ramips_eth.h'
...
SVN-Revision: 18176
2009-10-26 17:17:51 +00:00
Gabor Juhos
5dd653a6bd
ramips: use definitions from rt305x_regs, and nuke the duplicated ones
...
SVN-Revision: 18175
2009-10-26 17:17:48 +00:00
Gabor Juhos
c170980c4f
ramips: move ramips_eth_platform_data into a separate file
...
SVN-Revision: 18174
2009-10-26 17:17:45 +00:00
Gabor Juhos
b98fa096a6
ramips: request_irq prior to dma allocation, and handle the case if it fails
...
SVN-Revision: 18173
2009-10-26 17:17:42 +00:00
Gabor Juhos
08f77d2e7e
ramips: add error handling to ramips_alloc_dma
...
SVN-Revision: 18172
2009-10-26 17:17:39 +00:00
Gabor Juhos
941c1dae2c
ramips: free allocated skbs in ramips_cleanup_dma
...
SVN-Revision: 18171
2009-10-26 17:17:37 +00:00
Gabor Juhos
82cc25d5f0
ramips: add ramips_setup_dma helper to the ethernet driver
...
SVN-Revision: 18170
2009-10-26 17:17:34 +00:00
Gabor Juhos
f69b042df9
ramips: add ramips_cleanup_dma helper
...
SVN-Revision: 18169
2009-10-26 17:17:29 +00:00
Gabor Juhos
defb7c0059
ramips: remove unnecessary includes in the ethernet driver
...
SVN-Revision: 18168
2009-10-26 17:17:26 +00:00
Gabor Juhos
36cb733d4f
ramips: fix dma api usage in the ethernet driver
...
SVN-Revision: 18167
2009-10-26 17:17:22 +00:00
Gabor Juhos
69a3298ab5
ramips: use resource to pass irq and base address to the ethernet driver
...
SVN-Revision: 18166
2009-10-26 17:17:18 +00:00
Gabor Juhos
7c7f004875
ramips: add error-path handling to the ramips_eth_plat_probe
...
SVN-Revision: 18165
2009-10-26 17:17:13 +00:00
John Crispin
1729f7bdc1
use gpio_led package rather than staticly linking it into the kernel
...
SVN-Revision: 18154
2009-10-25 18:08:16 +00:00
John Crispin
f1ad6d3768
fixes licenses
...
SVN-Revision: 18152
2009-10-25 17:41:01 +00:00
John Crispin
6a56b1186e
select CONFIG_LEDS_GPIO per default
...
SVN-Revision: 18151
2009-10-25 17:06:01 +00:00
John Crispin
6f63d7baf2
clean up dma api of ethernet driver
...
SVN-Revision: 18150
2009-10-25 16:58:00 +00:00
John Crispin
9126be5b6e
fixes dma bug in eth driver, that was caused under high net load. the dma ring was not initialized on time
...
SVN-Revision: 18149
2009-10-25 14:34:55 +00:00
Gabor Juhos
984fe7992a
ramips: nuke net_device stats from the private data of the ethernet driver
...
SVN-Revision: 18147
2009-10-25 09:37:30 +00:00
Gabor Juhos
ec836476b0
ramips: remove unnecessary type-castings in the ethernet driver
...
SVN-Revision: 18146
2009-10-25 09:37:27 +00:00
Gabor Juhos
ac92dc42d4
ramips: change debug message levels, and add missing LFs
...
SVN-Revision: 18145
2009-10-25 09:37:24 +00:00
Gabor Juhos
0fe967f6e6
ramips: make ethernet fuctions static
...
SVN-Revision: 18144
2009-10-25 09:37:21 +00:00
Gabor Juhos
7af7711f9f
ramips: register ethernet device on the DIR-300 board
...
SVN-Revision: 18143
2009-10-25 09:37:17 +00:00
Gabor Juhos
2ad69183a8
ramips: change prom code to accept 'board=FOOBAR' from the command line
...
SVN-Revision: 18142
2009-10-25 07:10:16 +00:00
Gabor Juhos
d681005ce3
ramips: modify {read,write}_config helpers
...
SVN-Revision: 18141
2009-10-25 07:10:14 +00:00
Gabor Juhos
ebde2e4c90
ramips: nuke config_access helper
...
SVN-Revision: 18140
2009-10-25 07:10:11 +00:00
John Crispin
c23f92244c
fixes dma hangups in eth
...
SVN-Revision: 18139
2009-10-25 00:11:08 +00:00
John Crispin
c7db1ecc33
select fon20n mach
...
SVN-Revision: 18137
2009-10-24 23:08:06 +00:00
John Crispin
eff75d868b
make ethernet a platform device
...
SVN-Revision: 18135
2009-10-24 20:58:41 +00:00
John Crispin
5c399c6f20
missing define to make mach for fonera20n work
...
SVN-Revision: 18134
2009-10-24 20:57:59 +00:00
John Crispin
81e5a2d14b
make default llll/w vlan setup in esw
...
SVN-Revision: 18133
2009-10-24 20:56:31 +00:00
John Crispin
e4e4aa90d3
adds mach type for fonera20n
...
SVN-Revision: 18132
2009-10-24 20:55:36 +00:00
John Crispin
5b2c123b60
fixes commit 18128, wrong patch :)
...
SVN-Revision: 18129
2009-10-23 16:52:48 +00:00
John Crispin
d95163658c
adds ethernet driver, esw needs to be moved to swconfig, driver is missing rt288x support, not a platform device yet
...
SVN-Revision: 18128
2009-10-23 16:51:51 +00:00
Florian Fainelli
d4b251bdb8
update to 2.6.30.9
...
SVN-Revision: 18126
2009-10-23 12:10:25 +00:00
Gabor Juhos
279c5dad25
ramips: add preliminary support for the DIR-300 revB board
...
SVN-Revision: 18058
2009-10-18 08:48:07 +00:00
Gabor Juhos
9a65c14678
ramips: sync rt288x kernel config
...
SVN-Revision: 17976
2009-10-07 11:37:15 +00:00
Gabor Juhos
3b9cb8b673
ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
...
SVN-Revision: 17975
2009-10-07 11:37:12 +00:00
Gabor Juhos
13be9155c5
ramips: remove obsolete 'pcibios_fixups' from the rt288x pci code
...
SVN-Revision: 17974
2009-10-07 11:37:10 +00:00
Gabor Juhos
f2470f7590
ramips: add rt2880_pci_get_cfgaddr helper
...
SVN-Revision: 17973
2009-10-07 11:37:07 +00:00
Gabor Juhos
fe360a232b
ramips: use switch statement instead of multiple if-else-if in the rt288x pci code
...
SVN-Revision: 17972
2009-10-07 11:37:03 +00:00
Gabor Juhos
37f5a64938
ramips: protect rt288x pci config accesses with a spinlock
...
SVN-Revision: 17971
2009-10-07 11:37:00 +00:00
Gabor Juhos
84e2f22465
ramips: make rt2880_pci_base static
...
SVN-Revision: 17970
2009-10-07 11:36:57 +00:00
Gabor Juhos
ca82f13970
ramips: define some magic values in the rt288x pci code
...
SVN-Revision: 17969
2009-10-07 11:36:53 +00:00
Gabor Juhos
6a54d033fc
ramips: add copyright header to the rt288x pci code
...
SVN-Revision: 17968
2009-10-07 11:36:49 +00:00
Gabor Juhos
7f3d685eec
ramips: make {read,write}_config static
...
SVN-Revision: 17920
2009-10-05 18:44:24 +00:00
Gabor Juhos
2739177201
ramips: convert 'config_access' function to void
...
SVN-Revision: 17919
2009-10-05 18:44:22 +00:00
Gabor Juhos
5b07caf121
ramips: add register access functions into the rt288x pci code
...
SVN-Revision: 17918
2009-10-05 18:44:19 +00:00
Gabor Juhos
0f51ed2723
ramips: fix RT2880_PCI_BASE definition
...
SVN-Revision: 17917
2009-10-05 18:44:16 +00:00
Gabor Juhos
5a37945317
ramips: rt288x pci code cleanup
...
SVN-Revision: 17916
2009-10-05 18:44:13 +00:00
Gabor Juhos
0e0e945e33
ramips: cleanup coding-style of the rt288x pci code
...
SVN-Revision: 17915
2009-10-05 18:44:10 +00:00
Gabor Juhos
6ceea98b0a
ramips: merge ops-rt288x.c and rt288x_pci.h into pci-rt288x.c
...
SVN-Revision: 17914
2009-10-05 18:44:06 +00:00
Andy Boyett
c85a89348f
move IMAGE_CMDLINE_HACK default to generic from targets
...
SVN-Revision: 17905
2009-10-05 17:05:34 +00:00
Gabor Juhos
c8489ba3f8
ramips: remove unneccesary ifdefs from the rt288x pci code
...
SVN-Revision: 17862
2009-10-05 09:06:16 +00:00
Gabor Juhos
e555522b95
ramips: remove unneccesary includes from the rt288x pci code
...
SVN-Revision: 17861
2009-10-05 09:06:13 +00:00
Gabor Juhos
f992f34277
ramips: add Kbuild patch for the rt288x pci code, and fix invalid header file paths
...
SVN-Revision: 17860
2009-10-05 09:06:10 +00:00
Gabor Juhos
e4741622cc
ramips: add missing config option
...
SVN-Revision: 17859
2009-10-05 09:04:43 +00:00
John Crispin
a70ef0c337
adds pci support for rt288x
...
SVN-Revision: 17855
2009-10-04 19:53:17 +00:00
Gabor Juhos
054c54512f
kernel: upgrade to 2.6.30.8 and refresh patches
...
SVN-Revision: 17804
2009-10-01 10:07:32 +00:00
Felix Fietkau
dc12314e83
ramips: since both subtargets are marked as broken, move FEATURES to the main target and mark the whole target as broken. avoids unnecessary user confusion about inexplicable build failures
...
SVN-Revision: 17728
2009-09-25 21:01:42 +00:00
Imre Kaloz
85fcc97a13
update to latest 2.6.27 and 2.6.30 kernels
...
SVN-Revision: 17602
2009-09-17 11:22:33 +00:00
Gabor Juhos
47c0d7419f
kernel: get rid of the simple_prom_emulator, it is not really useful
...
SVN-Revision: 17567
2009-09-10 18:30:20 +00:00
Gabor Juhos
d59f5b3a98
kernel: add generic image_cmdline hack to MIPS targets
...
SVN-Revision: 17563
2009-09-10 18:30:01 +00:00
Florian Fainelli
3ce53b8d92
update to 2.6.30.6, compile tested on some targets only
...
SVN-Revision: 17549
2009-09-09 07:35:06 +00:00
Gabor Juhos
28250aaa31
add missing GPIO register offsets
...
SVN-Revision: 17513
2009-09-04 15:08:29 +00:00
Gabor Juhos
8d8a4e7274
add GPIO configuration feature
...
SVN-Revision: 17512
2009-09-04 15:08:26 +00:00
Gabor Juhos
b5e6d76dea
fix a typo
...
SVN-Revision: 17474
2009-09-02 15:31:03 +00:00
Gabor Juhos
09677bf748
initial support for the AP-R3052-V22RW-2X2 board
...
SVN-Revision: 17473
2009-09-02 15:31:00 +00:00
Gabor Juhos
c4385d3282
use common code for early_serial setup
...
SVN-Revision: 17467
2009-09-02 12:44:17 +00:00
Gabor Juhos
73b20f8194
share prom code
...
SVN-Revision: 17466
2009-09-02 10:04:12 +00:00
Gabor Juhos
552e298755
initial support for Asus RT-N15
...
SVN-Revision: 17463
2009-09-01 19:34:27 +00:00
Gabor Juhos
01657335b9
cache_line_size is 16 on rt288x
...
SVN-Revision: 17462
2009-09-01 19:34:24 +00:00
Gabor Juhos
2dbe6d0e6f
remove unused *_MACH_GENERIC config options
...
SVN-Revision: 17461
2009-09-01 19:34:21 +00:00
Gabor Juhos
d685777386
fix a typo
...
SVN-Revision: 17460
2009-09-01 19:34:18 +00:00
Gabor Juhos
298202afb8
share machine registration code
...
SVN-Revision: 17456
2009-08-31 18:53:34 +00:00
Gabor Juhos
aec7426483
use common get_system_type function
...
SVN-Revision: 17455
2009-08-31 18:53:31 +00:00
Gabor Juhos
f4afb9a4f9
share memory size detection code
...
SVN-Revision: 17454
2009-08-31 18:53:26 +00:00
Gabor Juhos
3cc0bc9038
add common setup code
...
SVN-Revision: 17453
2009-08-31 18:53:22 +00:00
Gabor Juhos
4dd57199a2
rt288x: readd RT2880_INTC_BASE definition
...
SVN-Revision: 17452
2009-08-31 15:35:54 +00:00
Gabor Juhos
f62337417c
rt288x: fix serial console
...
SVN-Revision: 17450
2009-08-31 09:34:07 +00:00
Gabor Juhos
ff92681121
register GPIO LEDs on the WHR-G300N board
...
SVN-Revision: 17449
2009-08-31 09:14:18 +00:00
Gabor Juhos
19a462c9e3
add common GPIO LED support
...
SVN-Revision: 17448
2009-08-31 09:14:14 +00:00
Gabor Juhos
cf10d5fa39
rt305x: remove HW_HAS_PCI config option
...
SVN-Revision: 17447
2009-08-31 08:29:23 +00:00
Gabor Juhos
73ef265227
fix GPIOLIB support
...
SVN-Revision: 17446
2009-08-31 08:29:19 +00:00
Gabor Juhos
15b832c0b7
rt288x: fix build error
...
SVN-Revision: 17444
2009-08-30 20:13:13 +00:00
Gabor Juhos
9eaea39ae5
platform.h is rt288x specific, move it
...
SVN-Revision: 17443
2009-08-30 20:13:10 +00:00
Gabor Juhos
8049111b19
rt288x: generic machine code cleanup
...
SVN-Revision: 17442
2009-08-30 19:55:55 +00:00
Gabor Juhos
d034b4246e
header cleanup
...
SVN-Revision: 17441
2009-08-30 19:55:53 +00:00
Gabor Juhos
6b482c872b
share common INTC code
...
SVN-Revision: 17440
2009-08-30 19:15:58 +00:00
Gabor Juhos
051c44e0c5
initial support for RT288x/RT305x
...
SVN-Revision: 17439
2009-08-30 19:15:51 +00:00