Commit graph

9128 commits

Author SHA1 Message Date
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
Hauke Mehrtens
0818180715 activate failsafe on all ports of the switch and not just port 0.
Sometimes the port 0 was the WAN port or there could be some device
where the port 0 is not wired to an actual Ethernet port. Now telnet in
failsafe will listen on all ports of the switch so user do not have to
search for the correct port any more. This change will make the switch
leak traffic between the WAN and the LAN port, but you should not use
failsafe while connected to a untrusted network.

SVN-Revision: 33544
2012-09-25 14:04:59 +00:00
Gabor Juhos
ffc0ea6c5d ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boards
With these images, it is possible to use the 'unused'
partition of the flash. The 'fat' images can be installed
with the sysupgrade command. When a 'fat' image is
installed from a regular one, the platform specific
sysupgrade script copies the calibration data to the
end of the flash. Likewise, when a regular image is
installed  from the 'fat' version the sysupgrade script
copies the calibration data back to the original location.

SVN-Revision: 33540
2012-09-25 12:57:41 +00:00
Gabor Juhos
e7b1949d87 ar71xx: automatically find WLAN calibration data on TEW-673GRU
SVN-Revision: 33539
2012-09-25 12:57:40 +00:00
Gabor Juhos
8ed8e51e74 ar71xx: automatically find WLAN calibration data on DIR-825-B1
SVN-Revision: 33538
2012-09-25 12:57:38 +00:00
Gabor Juhos
e2504a977a ar71xx: add missing backslash to uci-defaults/leds (closes #12240)
SVN-Revision: 33537
2012-09-25 12:49:43 +00:00
John Crispin
394a560a9a unbreak port mapping detection
SVN-Revision: 33536
2012-09-25 09:51:48 +00:00
Gabor Juhos
e70ad61e44 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Felix Fietkau
493b7c7f3c x86: avoid using grub prepare when using grub2
SVN-Revision: 33525
2012-09-23 09:59:56 +00:00
Felix Fietkau
999252dccc x86-generic: enable a few more common kernel options/drivers
SVN-Revision: 33516
2012-09-22 23:29:20 +00:00
Felix Fietkau
b968dcd52e kernel: increase log buffer size
SVN-Revision: 33515
2012-09-22 23:10:42 +00:00
Felix Fietkau
0260262f0b x86: enable usb storage support for the generic subtarget to support booting from usb devices
SVN-Revision: 33514
2012-09-22 21:15:59 +00:00
Felix Fietkau
52e8ee0666 x86: add support for building grub2 images
SVN-Revision: 33513
2012-09-22 20:10:42 +00:00
Felix Fietkau
ce4244c8af x86: split generic image building into a separate script
SVN-Revision: 33511
2012-09-22 20:10:35 +00:00
Felix Fietkau
6c02dd2b04 x86: rename gen_image_x86.sh to gen_image_grub.sh
SVN-Revision: 33510
2012-09-22 20:10:31 +00:00
Felix Fietkau
d6ca46cd25 cns3xxx: fix ethernet driver tx completion and queue stop/start
SVN-Revision: 33504
2012-09-22 00:34:53 +00:00
Felix Fietkau
fb71465a4e cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
SVN-Revision: 33503
2012-09-22 00:34:49 +00:00
Imre Kaloz
ed3597d927 move gpio stuff into the right file
SVN-Revision: 33502
2012-09-21 05:40:04 +00:00
Imre Kaloz
a74cf6f9a8 refresh patches
SVN-Revision: 33501
2012-09-21 05:38:16 +00:00
Felix Fietkau
15159604d9 cns3xxx: add a small optimization for rx offload
SVN-Revision: 33500
2012-09-21 00:13:12 +00:00
Felix Fietkau
a1c016fe16 cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
SVN-Revision: 33499
2012-09-21 00:13:08 +00:00
Felix Fietkau
029aaf4514 cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
SVN-Revision: 33498
2012-09-20 20:27:18 +00:00
Felix Fietkau
c4a419b445 kernel: enable perf events when enabling profiling, fixes oprofile on arm
SVN-Revision: 33497
2012-09-20 20:27:14 +00:00
Hauke Mehrtens
fd7b2b5141 deactivate mips wait instruction for MIPS 74K on Broadcom SoCs
When not removing support for the wait instruction, when ruining on the
BCM4706 SoC the system stops after msleep() without an exception. I
haven't seen this problem on the other Broadcom SoCs with a 74K CPU,
but in the Broadcom SDK it is deactivated for all CPUs of this type.

SVN-Revision: 33496
2012-09-20 14:51:57 +00:00
Felix Fietkau
1067ccf9f7 cns3xxx: remove the broken flag
SVN-Revision: 33493
2012-09-19 23:50:25 +00:00
Felix Fietkau
2db9e9f624 cns3xxx: fix kernel config
SVN-Revision: 33492
2012-09-19 23:50:22 +00:00
Felix Fietkau
34d30654ae cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
SVN-Revision: 33491
2012-09-19 23:50:18 +00:00
Felix Fietkau
eff9405752 cns3xxx: fix ethernet tx checksum offload
SVN-Revision: 33490
2012-09-19 23:50:15 +00:00
Felix Fietkau
dd1fb8289f cns3xxx: merge ethernet driver changes from gateworks
SVN-Revision: 33489
2012-09-19 23:50:12 +00:00
Felix Fietkau
190b4344a3 cns3xxx: build images for the old boot loader and the new one (default to the new one)
SVN-Revision: 33488
2012-09-19 23:50:09 +00:00
Felix Fietkau
59b1d018b1 cns3xxx: fix the ethernet driver makefile
SVN-Revision: 33487
2012-09-19 23:50:06 +00:00
Felix Fietkau
c9139c150c cns3xxx: reorganize patches, fix pcie io space init order
SVN-Revision: 33486
2012-09-19 23:50:02 +00:00
Felix Fietkau
7cd4968d0e cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
SVN-Revision: 33485
2012-09-19 23:49:58 +00:00
Felix Fietkau
2f39fa872a cns3xxx: add missing callbacks for the laguna machine support
SVN-Revision: 33484
2012-09-19 23:49:50 +00:00
Florian Fainelli
57bd95734d brcm47xx/profiles/PS-1208MFG: remove reference to non-existing package
The package block-hotplug doesn't exist, refer to block-mount instead.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33474
2012-09-19 15:13:33 +00:00
Florian Fainelli
136eb6815c omap24xx/profiles/n810: remove reference to non-existing package
The package block-hotplug doesn't exist, removing reference to it.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33473
2012-09-19 15:13:30 +00:00
Hauke Mehrtens
db18fa388d update fix-boot patch.
Do not change the code any more but use the kconfig options

SVN-Revision: 33463
2012-09-19 10:18:36 +00:00
Hauke Mehrtens
eeb3ad1860 update gpio patches
SVN-Revision: 33462
2012-09-19 10:17:51 +00:00
Gabor Juhos
79ffd1032a ar71xx: fix a typo in TEW-637GRU image names
SVN-Revision: 33460
2012-09-18 14:32:25 +00:00
Gabor Juhos
9a11f882d7 ar71xx: revert DIR-825-B1 wholeflash image support.
It should be implemmented in a cleaner way.

This reverts the following commits:
[ar71xx] dir-825-b1: Fix wholeflash images
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash"

SVN-Revision: 33459
2012-09-18 14:30:57 +00:00
Florian Fainelli
ee16fea079 disable VFPv4 probing
This will make the kernel crash on systems using qemu < 1.1.0. Until fixed
disable VPFv4 capability probing.

SVN-Revision: 33458
2012-09-18 10:00:56 +00:00
Florian Fainelli
4d2fb44f0c partially revert r33403
The target CFLAGS were also accidentally changed

SVN-Revision: 33457
2012-09-18 10:00:46 +00:00
Gabor Juhos
a7c5c4390a ar71xx: register the NAND flash controller device on DB120
SVN-Revision: 33455
2012-09-17 20:30:57 +00:00
Gabor Juhos
7c85646176 ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
SVN-Revision: 33454
2012-09-17 20:30:55 +00:00
Gabor Juhos
3bdf0bc36f ar71xx: ar934x_nfc: increase DMA retry count
SVN-Revision: 33453
2012-09-17 20:30:54 +00:00
Gabor Juhos
b7cb43f6a6 ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
SVN-Revision: 33452
2012-09-17 20:30:53 +00:00
Gabor Juhos
96dde2e591 ar71xx: ar934x_nfc: fix RNDOUT operation
SVN-Revision: 33451
2012-09-17 20:30:51 +00:00
Gabor Juhos
338b698fb6 ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
SVN-Revision: 33450
2012-09-17 20:30:50 +00:00
Daniel Dickinson
0f254b4b67 dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
SVN-Revision: 33447
2012-09-17 14:17:12 +00:00
Felix Fietkau
e8893fdf7a ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
SVN-Revision: 33446
2012-09-17 11:17:29 +00:00
Felix Fietkau
ed14ffc7da ar71xx: fix WP543 image builds
SVN-Revision: 33413
2012-09-15 10:21:21 +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
Florian Fainelli
a2b29c591e partially revert r33403
SVN-Revision: 33409
2012-09-14 15:44:25 +00:00
Florian Fainelli
0d464a8ac3 set DEVICE_TYPE to developerboard
SVN-Revision: 33408
2012-09-14 15:37:51 +00:00
Florian Fainelli
42846febb9 fix sparc32 assembler failures with newer toolchains
SVN-Revision: 33407
2012-09-14 15:37:40 +00:00
Florian Fainelli
39ddc9105c refresh patches so they apply cleanly
SVN-Revision: 33406
2012-09-14 15:37:12 +00:00
Florian Fainelli
4128b8e189 set DEVICE_TYPE to developperboard
SVN-Revision: 33403
2012-09-14 15:36:33 +00:00
Florian Fainelli
2254fc2673 set DEVICE_TYPE to developperboard
SVN-Revision: 33402
2012-09-14 15:36:30 +00:00
Gabor Juhos
61dc6e65c0 ar71xx: merge machine support patches
SVN-Revision: 33389
2012-09-13 07:26:28 +00:00
Gabor Juhos
5804b9d1b7 ar71xx: register the NAND controller device on the RB2011
SVN-Revision: 33388
2012-09-13 07:26:26 +00:00
Gabor Juhos
4fd67c3cd4 ar71xx: add device registration code for the AR934x NAND flash controller
SVN-Revision: 33387
2012-09-13 07:26:25 +00:00
Gabor Juhos
10cd35c0e7 ar71xx: package the AR934x NAND driver module
SVN-Revision: 33386
2012-09-13 07:26:23 +00:00
Gabor Juhos
1e5fdbeae5 ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
SVN-Revision: 33385
2012-09-13 07:26:22 +00:00
Gabor Juhos
acaf597f4a generic: add MTD_NAND_AR934X symbol
SVN-Revision: 33384
2012-09-13 07:26:21 +00:00
Gabor Juhos
43147ffec5 generic: move GENERIC_PWM symbol into the generic config
SVN-Revision: 33383
2012-09-13 06:38:31 +00:00
Gabor Juhos
40a5f5c16e ar71xx: define NAND controller base address and register size for AR934X/QCA955x
SVN-Revision: 33382
2012-09-12 19:06:38 +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
Hauke Mehrtens
95c141aaac add gpio sysfs entries
This fixes #10256

SVN-Revision: 33369
2012-09-11 15:04:20 +00:00
Gabor Juhos
4ee5b528de ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
SVN-Revision: 33362
2012-09-10 14:38:01 +00:00
Gabor Juhos
2e0e38ad69 ar71xx: fix QCA955X_EHCI_SIZE
SVN-Revision: 33360
2012-09-10 14:32:54 +00:00
Florian Fainelli
a36bdb2417 fix ixp4xx_hss build failure (#12162)
SVN-Revision: 33356
2012-09-10 08:53:21 +00:00
Jo-Philipp Wich
caa66bd150 fix description of nand/Ath5k profile (#12149)
SVN-Revision: 33352
2012-09-09 21:40:26 +00:00
Gabor Juhos
aa2f4d4c8d ar71xx: add initial support for RB2011UAS-2HnD
SVN-Revision: 33349
2012-09-09 14:05:32 +00:00
Gabor Juhos
3686e18727 ar71xx: use routerboot_find_tag to find wlan data offset on RB751
SVN-Revision: 33348
2012-09-09 14:05:30 +00:00
Gabor Juhos
ccabe4a1b4 ar71xx: add RouterBoot related helper routines
SVN-Revision: 33347
2012-09-09 14:05:28 +00:00
Gabor Juhos
2323120d5e generic add WLAN calibration data ID to routerboot.h
SVN-Revision: 33346
2012-09-09 14:05:26 +00:00
Gabor Juhos
44bf7c7cc1 ar71xx: define MTD partitions for RB2011
SVN-Revision: 33345
2012-09-09 14:05:24 +00:00
Gabor Juhos
6ae5ec16e0 ar71xx: add preliminary support for Mikrotik RB2011L
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.

[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 33344
2012-09-09 14:05:22 +00:00
Gabor Juhos
94bac7366c ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
SVN-Revision: 33343
2012-09-09 14:05:20 +00:00
Gabor Juhos
7592057774 ar71xx: add dynamic MDIO clock calculation
SVN-Revision: 33342
2012-09-09 14:05:17 +00:00
Gabor Juhos
f3ecbea052 adm5120: move common routerboot definitions into a separate header file
Those will be used on the ar71xx platform as well.

SVN-Revision: 33341
2012-09-09 11:55:42 +00:00
Jonas Gorski
7708138183 bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Fixes booting the device with button hotplug enabled (#10785).

SVN-Revision: 33340
2012-09-09 11:54:56 +00:00
Gabor Juhos
88a5478781 ar71xx: use the RLE library for RB751
SVN-Revision: 33338
2012-09-08 17:51:56 +00:00
Gabor Juhos
73df240bb3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

SVN-Revision: 33337
2012-09-08 17:51:54 +00:00
Gabor Juhos
f4be8a76de ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
SVN-Revision: 33335
2012-09-08 13:39:09 +00:00
Gabor Juhos
70d00ac64e ar71xx: refresh kernel patches
SVN-Revision: 33334
2012-09-08 13:39:04 +00:00
Florian Fainelli
6771d63284 use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

SVN-Revision: 33330
2012-09-08 09:51:05 +00:00
Daniel Dickinson
c3b7139ab2 dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
SVN-Revision: 33326
2012-09-06 18:15:26 +00:00
Luka Perkov
4c76b3635b lantiq: fix sx76x default uci network configuration
SVN-Revision: 33324
2012-09-06 00:09:46 +00:00
Florian Fainelli
3730e6c794 add some ohci workarounds to make ohci work
SVN-Revision: 33323
2012-09-05 20:19:29 +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
John Crispin
f186bff0ef add missing kvm_guest kernel options
SVN-Revision: 33319
2012-09-05 19:38:42 +00:00
Gabor Juhos
069f544d2b ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
SVN-Revision: 33318
2012-09-05 19:26:50 +00:00
Gabor Juhos
81bb246a8d ar71xx: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33317
2012-09-05 19:22:51 +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
Florian Fainelli
94a45be66b enable CFI command set 0002 FORCE_WORD_WRITE
SVN-Revision: 33315
2012-09-03 20:25:51 +00:00
Florian Fainelli
19cbe80501 pad squashfs image
SVN-Revision: 33314
2012-09-03 20:25:46 +00:00
Florian Fainelli
1964753c22 add Generic and dLAN USB Extender profiles
SVN-Revision: 33313
2012-09-03 20:25:40 +00:00
Florian Fainelli
e88e20d975 nuport-mac: disable MAC RX and TX during interface close
Fixes sporadic crashes while reconfiguring the network interface.

SVN-Revision: 33312
2012-09-03 10:26:01 +00:00
Gabor Juhos
11c3392b7f Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
That was based on assumptions.

SVN-Revision: 33310
2012-08-29 10:37:55 +00:00
Gabor Juhos
eb9a97a360 ar71xx: all0315n: fix ethernet according to vendor info
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33309
2012-08-29 10:37:54 +00:00
Gabor Juhos
02cb5f9dcd ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
SVN-Revision: 33308
2012-08-29 10:37:53 +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
0c5688cc38 ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
SVN-Revision: 33295
2012-08-29 10:37:30 +00:00
Gabor Juhos
5fdbb33db4 ar71xx: Buffalo WZR-HP-AG300H LED support
An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 33294
2012-08-29 10:11:55 +00:00
Gabor Juhos
4405faae26 gemini: fix bus ids for PHY devices (closes: #12082)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33288
2012-08-27 18:09:57 +00:00
Gabor Juhos
f2030c3113 ar71xx: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33287
2012-08-27 14:55:38 +00:00
Gabor Juhos
d65c06c15c ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33286
2012-08-27 14:55:37 +00:00
Gabor Juhos
4079f3163f ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33285
2012-08-27 14:55:36 +00:00
Gabor Juhos
abffa4ecfb ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33284
2012-08-27 14:55:35 +00:00
Gabor Juhos
1d96b0275c ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33282
2012-08-27 14:55:32 +00:00
Gabor Juhos
eebdd633e4 ar71xx: add support for the Allnet ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33281
2012-08-27 14:55:31 +00:00
Gabor Juhos
cca873e8e0 ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33280
2012-08-27 14:55:26 +00:00
Gabor Juhos
fccf1f5105 generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.

SVN-Revision: 33275
2012-08-26 09:27:56 +00:00
Gabor Juhos
5a9c7fda3e ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
	| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
		grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33274
2012-08-26 08:15:11 +00:00
Gabor Juhos
f3d5edffdc ar71xx: image: fix TL-WR1043ND board id (#12079)
SVN-Revision: 33272
2012-08-26 06:30:37 +00:00
John Crispin
de3c3d7181 Enable eSATA sheevaplug
OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables
CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition
is compiled in.

Signed-off-by: Unai Uribarri <unaiur@gmail.com>

SVN-Revision: 33266
2012-08-24 06:15:06 +00:00
Gabor Juhos
773b33d7d2 ar71xx: image: group and sort {Single,Multi}Profiles
SVN-Revision: 33264
2012-08-23 13:17:47 +00:00
Gabor Juhos
a5e0eb0d95 ar71xx: image: group and sort mtdlayout definitions
SVN-Revision: 33263
2012-08-23 13:14:35 +00:00
Gabor Juhos
f0ad972aba ar71xx: image: use the MultiProfile helper for the Madwifi profile
SVN-Revision: 33262
2012-08-23 13:11:25 +00:00
Gabor Juhos
333f030b79 ar71xx: image: automatically build a list of SingleProfiles
Use that for Default/Minimal profiles.

SVN-Revision: 33261
2012-08-23 13:08:15 +00:00
Gabor Juhos
5dce77837f ar71xx: image: use the new helpers for the ZyXEL images
SVN-Revision: 33260
2012-08-23 13:05:05 +00:00
Gabor Juhos
be4be2d82a ar71xx: image: use the new helpers for the Zcomax images
SVN-Revision: 33259
2012-08-23 13:01:55 +00:00
Gabor Juhos
74bdb68ea4 ar71xx: image: use the new helpers for the WRT400 images
SVN-Revision: 33258
2012-08-23 12:58:45 +00:00
Gabor Juhos
8cf9a7b1c7 ar71xx: image: use the new helpers for the WZRHPG30XNH images
SVN-Revision: 33257
2012-08-23 12:55:35 +00:00
Gabor Juhos
c965d8ead8 ar71xx: image: use the new helpers for the WHRHPG300N images
SVN-Revision: 33256
2012-08-23 12:52:25 +00:00
Gabor Juhos
71af43a7c7 ar71xx: image: use the new helpers for the UBNTXM images
SVN-Revision: 33255
2012-08-23 12:49:15 +00:00
Gabor Juhos
097e9938b4 ar71xx: image: use the new helpers for the UBNT images
SVN-Revision: 33254
2012-08-23 12:46:06 +00:00
Gabor Juhos
216e9b7a92 ar71xx: image: use the new helpers for the TPLINKOLD images
SVN-Revision: 33253
2012-08-23 12:42:56 +00:00
Gabor Juhos
48d6081fa5 ar71xx: image: use the new helpers for the TPLINK-LZMA images
SVN-Revision: 33252
2012-08-23 12:39:46 +00:00
Gabor Juhos
8546e00157 ar71xx: image: use the new helpers for the TPLINK images
SVN-Revision: 33251
2012-08-23 12:36:35 +00:00
Gabor Juhos
27feea1070 ar71xx: image: use the new helpers for the Planex images
SVN-Revision: 33250
2012-08-23 12:33:25 +00:00
Gabor Juhos
4dbabe5c21 ar71xx: image: use the new helpers for the PB4X images
SVN-Revision: 33249
2012-08-23 12:30:15 +00:00
Gabor Juhos
bbaa0b9200 ar71xx: image: use the new helpers for the OpenMesh images
SVN-Revision: 33248
2012-08-23 12:27:06 +00:00
Gabor Juhos
4edc55f475 ar71xx: image: use the new helpers for the Netgear images
SVN-Revision: 33247
2012-08-23 12:23:56 +00:00
Gabor Juhos
d9f933b8b8 ar71xx: image: use the new helpers for the MyLoader images
SVN-Revision: 33246
2012-08-23 12:20:46 +00:00
Gabor Juhos
a409d0cf46 ar71xx: image: use the new helpers for the DIR825B1 images
SVN-Revision: 33245
2012-08-23 12:17:36 +00:00
Gabor Juhos
b7e05e3a59 ar71xx: image: use the new helpers for the CyberTAN images
SVN-Revision: 33244
2012-08-23 12:14:26 +00:00
Gabor Juhos
292f074ad7 ar71xx: image: use the new helpers for the Cameo933x images
SVN-Revision: 33243
2012-08-23 12:11:17 +00:00
Gabor Juhos
4c9a428614 ar71xx: image: use the new helpers for the Cameo913x images
SVN-Revision: 33242
2012-08-23 12:08:07 +00:00
Gabor Juhos
19d840980f ar71xx: image: use the new helpers for the Cameo7240 images
SVN-Revision: 33241
2012-08-23 12:04:57 +00:00
Gabor Juhos
ce91228e2b ar71xx: image: use the new helpers for the AthGzip images
SVN-Revision: 33240
2012-08-23 12:01:47 +00:00
Gabor Juhos
70e3dda99c ar71xx: image: use the new helpers for the AthLzma images
SVN-Revision: 33239
2012-08-23 11:58:37 +00:00
Gabor Juhos
31a88650d7 ar71xx: image: use the new helpers for the ALFA images
SVN-Revision: 33238
2012-08-23 11:55:27 +00:00
Gabor Juhos
2379e6f2a3 ar71xx: image: add a few helper functions
These functions will be used to simplify the Makefile.

SVN-Revision: 33237
2012-08-23 11:52:18 +00:00
Gabor Juhos
6ebc77af73 ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
SVN-Revision: 33236
2012-08-23 11:49:07 +00:00
Hauke Mehrtens
847afa343f update profiles
* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder

SVN-Revision: 33235
2012-08-22 21:54:06 +00:00
Gabor Juhos
a2f82cf7ec ar71xx: add profile and build image for the TEW-712BR
SVN-Revision: 33234
2012-08-22 20:18:44 +00:00
Gabor Juhos
8744f8d183 ar71xx: TEW-712BR user space support
SVN-Revision: 33232
2012-08-22 20:12:24 +00:00
Gabor Juhos
8b3d95bba9 ar71xx: add support for the TRENDnet TEW-712BR board
SVN-Revision: 33231
2012-08-22 20:09:13 +00:00
Gabor Juhos
4073317695 ar71xx: fix serial clock calculation on AR933x
Closes #12031.

SVN-Revision: 33230
2012-08-22 19:11:10 +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
2811d6c183 ar71xx: fix comment style in mach-tl-wr2543n.c
SVN-Revision: 33227
2012-08-22 12:42:59 +00:00
Gabor Juhos
dc13dc1d54 ar71xx: fix mtd layout of the AP113
The 'mtdparts=' prefix and the name of the flash device is missing.

SVN-Revision: 33226
2012-08-22 12:39:46 +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
5a694e09c8 ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33224
2012-08-22 12:33:22 +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
0517183b9c ar71xx: add support for TP-Link TL-WDR3600
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 33219
2012-08-22 09:43:18 +00:00
John Crispin
6c9d20d6e7 tools/firmware-utils/ptgen option to use MB rounding
SVN-Revision: 33218
2012-08-22 09:22:38 +00:00
John Crispin
968ac3fd03 add led defintion for the WR2543 5GHz WLAN LED
Signed-off-by: Andy Leiserson <andy@leiserson.org>

SVN-Revision: 33215
2012-08-22 09:10:24 +00:00
Hauke Mehrtens
3133d4d8de remove unused file
SVN-Revision: 33210
2012-08-18 15:45:18 +00:00
Hauke Mehrtens
9eaee85cc2 make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.

SVN-Revision: 33209
2012-08-18 14:08:35 +00:00
Hauke Mehrtens
f4d6baf498 update gpio patches
SVN-Revision: 33208
2012-08-18 11:51:35 +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
182a18a369 ar71xx: setup WLAN LED for the TL-WA901ND v2
Closes #11889.

SVN-Revision: 33202
2012-08-16 07:11:30 +00:00
Gabor Juhos
5d84dabf0f generic: extend pci_isable_usb_common_quirks patch
Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

SVN-Revision: 33193
2012-08-15 13:26:51 +00:00
John Crispin
76954dc8b0 set xen images to gzip compression, fixes #11970
SVN-Revision: 33192
2012-08-15 09:20:12 +00:00
Florian Fainelli
a183ced08e MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

SVN-Revision: 33188
2012-08-14 16:19:30 +00:00
John Crispin
5f8ffb8873 fixes gpio_dev un/reload balancing
Signed-off-by: SHI Bin <shibin@ctsing.com>

SVN-Revision: 33183
2012-08-14 12:32:11 +00:00
Florian Fainelli
25792cb971 generic: enhanced image Makefile
* Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build)
* Got rid of unneccessary padding of rootfs partition
* ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage
* Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines)
* Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323
* Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols
* Size check of kernel files to avoid builds that break devices
* Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use

Signed-off by: Matthias Buecher <mail@maddes.net>

SVN-Revision: 33174
2012-08-13 14:46:47 +00:00
Gabor Juhos
5fc4b7f5fd ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33165
2012-08-13 14:01:38 +00:00
Florian Fainelli
f164b71189 leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33158
2012-08-13 09:55:10 +00:00
Florian Fainelli
f0f10014a0 BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33157
2012-08-13 09:55:07 +00:00
Florian Fainelli
9b91c62917 nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33156
2012-08-13 09:55:04 +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
Gabor Juhos
b942309f4f generic: use __meminit annotation for crashlog_init_memblock
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

SVN-Revision: 33137
2012-08-12 10:30:41 +00:00
Florian Fainelli
2cf28cff7d only support 128KiB erase block sizes
SVN-Revision: 33131
2012-08-11 12:56:09 +00:00
Florian Fainelli
035b41bafb disable PCI support
None of the boards we support have PCI connectors

SVN-Revision: 33130
2012-08-11 12:56:00 +00:00
Florian Fainelli
639112f0d5 strip a bit more the kernel config
SVN-Revision: 33129
2012-08-11 12:55:51 +00:00
Florian Fainelli
0f91df4de6 properly advertise OHCI and EHCI capabilities
SVN-Revision: 33128
2012-08-11 12:55:41 +00:00
Florian Fainelli
43ddb1d7af change partition names to be more in line with other OpenWrt devices
SVN-Revision: 33127
2012-08-11 12:55:30 +00:00
Florian Fainelli
911a83dffc generate upgrade files suffixed with filesystem type
SVN-Revision: 33126
2012-08-11 12:55:15 +00:00
Florian Fainelli
c16bf519f1 nuport-mac: delay call to napi_start() until fully able to process RX
SVN-Revision: 33079
2012-08-10 07:04:21 +00:00
Florian Fainelli
0028429dfa set a compatible command-line to boot from flash
SVN-Revision: 33078
2012-08-10 07:04:16 +00:00
Gabor Juhos
5dd996bc2a generic: rtl8366_smi: increase delay after switch hw reset
SVN-Revision: 33077
2012-08-10 06:32:00 +00:00
Jo-Philipp Wich
c8a0166212 Fix hard reset of alix/soekris hardware under heavy NIC load
The following patch corrects a hard reset that occurs on alix and
soekris net5501 hardware. Specifically, this is an issue with the via
rhine NIC driver. Under periods of extreme load, the via rhine driver
can cause a reset of the entire system. When this happens no output is
seen on the console, the device simply reboots. This was reported in the
following ticket:

Consistent crash on Soekris NET5501
https://dev.openwrt.org/ticket/11882

I was able to reproduce the problem locally with numerous alix 2d13
platforms. Under heavy 64 byte frame size load from a Smartbits traffic
generator, the alix hardware will hard reset in under 5 minutes. The
same hardware, under the same load, on FreeBSD 9.0 does not reset.

The patch below backports most of the via rhine changes from kernel 3.5.
With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring
these changes in to avoid this serious issue.

I've tested this heavily in my test environment and was able to keep the
device stable under load for extended periods of time without any resets.

Also, a nice side effect of this change is that it significantly raises
the performance the platform. Without this patch the alix 2d13 can move
approximately 29,000 packets per second at 64 byte frame sizes. After
this patch the alix can move 52,000 packets per second at 64 byte frame
sizes.

I put this patch under the x86 patches as those are the only platforms
with via rhine hardware that I'm aware of. If it needs to go some place
else please let me know.

Thanks,
Adam

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 33072
2012-08-09 09:41:22 +00:00
Florian Fainelli
47380a4388 nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

SVN-Revision: 33071
2012-08-09 09:06:35 +00:00
Florian Fainelli
7f9bfa3fcd nuport-mac: rework PHY interrupt configuration to avoid races
SVN-Revision: 33070
2012-08-08 21:51:18 +00:00
Florian Fainelli
5e877f02b4 nuport-mac: close possible race condition during start
SVN-Revision: 33069
2012-08-08 21:51:13 +00:00
Florian Fainelli
35351a28b9 nuport-mac: unmap the DMA buffer when closing device
SVN-Revision: 33068
2012-08-08 21:51:09 +00:00
Florian Fainelli
b77494fa2f nuport-mac: check dma_map_single address return values
SVN-Revision: 33067
2012-08-08 21:51:04 +00:00
Florian Fainelli
798cc28d73 build a Devolo dLAN USB Extender specific image
The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

SVN-Revision: 33066
2012-08-08 21:51:00 +00:00
Florian Fainelli
f8386ecbc6 cleanup image generation
SVN-Revision: 33065
2012-08-08 21:50:55 +00:00
John Crispin
64b385dda7 pci gpio mapping
This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 33054
2012-08-08 12:14:43 +00:00
Jonas Gorski
4feeda756e bcm63xx: fix USB base registers and IRQs for BCM6328
SVN-Revision: 33005
2012-08-05 23:18:22 +00:00
Hauke Mehrtens
a0fb060211 update tg3 driver
SVN-Revision: 33004
2012-08-05 20:27:40 +00:00
Hauke Mehrtens
35661401da generate image for Linksys e3200
SVN-Revision: 33003
2012-08-05 13:14:00 +00:00
Hauke Mehrtens
a71f347c30 brcm47xx: update gpio patch
SVN-Revision: 33001
2012-08-05 12:40:05 +00:00
Hauke Mehrtens
1d40a652ee brcm47xx: fix patch which moves the flash struct in wgt634u code
SVN-Revision: 33000
2012-08-05 12:39:15 +00:00
John Crispin
5f438c3565 W502V/ARV4525 wireless mac bugfix
The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 32993
2012-08-04 20:14:52 +00:00
Hauke Mehrtens
0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
2012-08-04 19:46:25 +00:00
John Crispin
060b161ca6 cleanup patches
SVN-Revision: 32953
2012-08-03 08:53:02 +00:00
Florian Fainelli
162e272b4b nuport-mac: properly protect the phy interrupt handler
SVN-Revision: 32951
2012-08-02 18:13:17 +00:00
John Crispin
f45132d1d4 Codel: avoid a nul rec_inv_sqrt
One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.

codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.

Brought over from 3.5-stable

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>

SVN-Revision: 32950
2012-08-02 13:39:50 +00:00
John Crispin
c2d3274ffc fixes i2c clock enable
SVN-Revision: 32949
2012-08-02 13:29:49 +00:00
Gabor Juhos
e320a7e649 ar71xx: simplify misc IRQ handling
SVN-Revision: 32948
2012-08-02 11:25:49 +00:00
Gabor Juhos
3e1e52a524 ar71xx: fix AR934X_EHCI_SIZE
SVN-Revision: 32947
2012-08-02 11:25:46 +00:00
Gabor Juhos
b873051706 ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
SVN-Revision: 32946
2012-08-02 09:54:41 +00:00
Gabor Juhos
e29d6bec6f ar71xx: image: allow to use board specific code in the lzma-loader
SVN-Revision: 32945
2012-08-02 09:54:33 +00:00
Gabor Juhos
79a8660d67 ar71xx: init switch hw_reset on the TL-WR1043ND board
SVN-Revision: 32944
2012-08-02 09:54:28 +00:00
Gabor Juhos
e2782eae8e generic: rtl836x: add hw_reset field to struct rtl8366_smi
It will be used to start/stop the switch if that is
supported by the given board.

SVN-Revision: 32943
2012-08-02 09:54:21 +00:00
Gabor Juhos
614ca3cc9e generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
SVN-Revision: 32942
2012-08-02 09:54:13 +00:00
Florian Fainelli
9f011e7225 add missing netmask to the network config
SVN-Revision: 32941
2012-08-01 22:09:13 +00:00
Florian Fainelli
5133a44785 assume the link is up and full-duplex by default
SVN-Revision: 32940
2012-08-01 21:56:54 +00:00
Florian Fainelli
56aac45139 add a default and suitable network config file
SVN-Revision: 32939
2012-08-01 21:56:49 +00:00
Gabor Juhos
563400ef10 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32934
2012-08-01 12:24:57 +00:00
Gabor Juhos
8eabe64e6b ar71xx: ew-dorin: added USB support
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32933
2012-08-01 12:24:56 +00:00
Gabor Juhos
1af4fd7660 ar71xx: Buffalo WLAE-AG300N wireless led patch
Here is the uci-defaults version of the led support for
the Buffalo WLAE-AG300N.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32932
2012-08-01 12:24:54 +00:00
Gabor Juhos
010aec0619 ar71xx: Buffalo WLAE-AG300N initial support
The patch set for Buffalo WLAE-AG300N initial support.

There is another patch for wireless led support that
is posted separately.

Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.

[juhosg: fix coding style]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32931
2012-08-01 12:24:52 +00:00
Florian Fainelli
df48d71d72 resync defconfig enable XZ compression
SVN-Revision: 32930
2012-08-01 12:01:27 +00:00
Florian Fainelli
3cd753408d properly generate squashfs, jffs2 and initramfs images and kernels
SVN-Revision: 32927
2012-07-31 23:09:50 +00:00
Florian Fainelli
c0561a42e7 disable crashlog on ARM platforms for the moment
It is currently badly broken on ARM, until fixed, disable it

SVN-Revision: 32926
2012-07-31 23:09:46 +00:00
John Crispin
f5f36911f0 add lantiq svip support
SVN-Revision: 32925
2012-07-31 18:49:54 +00:00
Jonas Gorski
07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

SVN-Revision: 32924
2012-07-31 14:27:47 +00:00
Jonas Gorski
820c224029 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32923
2012-07-31 14:27:42 +00:00
Jonas Gorski
dcd339ac9d bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32922
2012-07-31 14:27:34 +00:00
Jonas Gorski
94d257a851 bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32921
2012-07-31 14:27:31 +00:00
Jonas Gorski
fa75bd977a bcm63xx: reorder patches
Fix the order and names of patches.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32920
2012-07-31 14:27:25 +00:00
Florian Fainelli
d1ab4df0d6 move i2c module to target modules.mk
SVN-Revision: 32910
2012-07-29 13:20:51 +00:00
Florian Fainelli
a5738c960a resync config
SVN-Revision: 32908
2012-07-29 13:20:39 +00:00
Florian Fainelli
17244dea00 use the same description as other omap platforms (without the dash)
SVN-Revision: 32907
2012-07-29 13:20:35 +00:00
John Crispin
ee0946a5f4 refresh pwm patch
SVN-Revision: 32905
2012-07-29 11:53:06 +00:00
John Crispin
101766fb00 clean up pwm patches and drivers
SVN-Revision: 32901
2012-07-28 20:47:08 +00:00
Hauke Mehrtens
f0fe59648a add config option CONFIG_I2C_MV64XXX to fix kirkwood build
SVN-Revision: 32898
2012-07-28 11:36:52 +00:00
Florian Fainelli
67891c26ec resync config
SVN-Revision: 32895
2012-07-27 15:35:15 +00:00
Florian Fainelli
a4d699ccf0 fix DVA-G3810BN image generation
Attached patch fixes a typo in the image Makefile, and overrides the
board name for DVA-G3810BN to set the correct board properties

Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32894
2012-07-27 15:35:12 +00:00
Florian Fainelli
c6813d33f3 add D-link DVA-G3810BN-TL-1 support
Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32893
2012-07-27 15:35:09 +00:00
Florian Fainelli
18206793b2 Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32892
2012-07-27 15:35:05 +00:00
Florian Fainelli
4acdbb1d87 Add brcmsmac profile
Add brcmsmac profile (kmod-brcmsmac + wpad-mini).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32890
2012-07-27 15:34:57 +00:00
John Crispin
0ba7b18cfd Add leds back after migration to sysfs
atheros trunk moved to full sysfs gpiolib, but the leds were forgotten.
This restores the wlan led that was missing after switching from backfire
to trunk.

Signed-off-by: Karl Palsson <karlp@remake.is>

SVN-Revision: 32885
2012-07-26 17:06:55 +00:00
Florian Fainelli
46611b2cbf add more missing config symbols
SVN-Revision: 32884
2012-07-26 17:03:08 +00:00
Florian Fainelli
ac30beaaa7 add more USB-related config symbols
SVN-Revision: 32883
2012-07-26 17:03:05 +00:00
Florian Fainelli
a077e785cf make sure target modules depend on the target
SVN-Revision: 32882
2012-07-26 17:03:02 +00:00
Hauke Mehrtens
0c75abf527 bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.

SVN-Revision: 32880
2012-07-26 15:42:18 +00:00
John Crispin
87a72d68f1 fix typo in modules.mk
This patch fixes a small typo in kmod-leds-wndr3700-usb description, where the board is for some reason made by NETGWR, not NETGEAR.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32870
2012-07-25 19:52:30 +00:00
Florian Fainelli
d359d46182 make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
SVN-Revision: 32869
2012-07-25 19:36:19 +00:00
Florian Fainelli
adc2b21be8 move isp116x driver to target specific modules.mk
SVN-Revision: 32865
2012-07-25 15:50:45 +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
Florian Fainelli
c7a69869f7 move ubsec-ssb driver to target specific modules.mk
SVN-Revision: 32863
2012-07-25 15:50:38 +00:00
Florian Fainelli
d1b2087a35 move ssb-gige to target specific modules.mk
SVN-Revision: 32862
2012-07-25 15:50:36 +00:00
Florian Fainelli
c14d907b8b move usb driver to target specific modules.mk
SVN-Revision: 32861
2012-07-25 15:50:33 +00:00
Florian Fainelli
3b5a8548f4 move mmc driver to target specific modules.mk
SVN-Revision: 32859
2012-07-25 15:50:26 +00:00
Florian Fainelli
18038c803c move ixp4xx-eth to target specific modules.mk
SVN-Revision: 32858
2012-07-25 15:50:23 +00:00
Florian Fainelli
4000de357e move crypto module to target specific modules.mk
SVN-Revision: 32856
2012-07-25 15:50:16 +00:00
Florian Fainelli
a282e37c09 move i2c driver to target modules.mk
SVN-Revision: 32855
2012-07-25 15:50:13 +00:00
Florian Fainelli
accbc20045 move watchdog driver to target specific modules.mk
SVN-Revision: 32854
2012-07-25 15:50:10 +00:00
Florian Fainelli
23ffbad602 move target specific spi modules
SVN-Revision: 32853
2012-07-25 15:50:04 +00:00
Florian Fainelli
1859500829 move target specific leds modules to ar71xx modules.mk
SVN-Revision: 32852
2012-07-25 15:50:02 +00:00
Florian Fainelli
c3b9a987b7 move leds modules back to target modules.mk
SVN-Revision: 32851
2012-07-25 15:49:57 +00:00
Florian Fainelli
bca45d6d8a move i2c modules back to target modules.mk
SVN-Revision: 32850
2012-07-25 15:49:54 +00:00
Florian Fainelli
2bfb2a797c move more x86-specific modules back to target modules.mk
SVN-Revision: 32848
2012-07-25 15:49:49 +00:00
Florian Fainelli
d973768580 move x86 specific ide/pata modules to x86' modules.mk
SVN-Revision: 32846
2012-07-25 15:49:42 +00:00
Hauke Mehrtens
e0837a51f0 brcm47xx: reorder patches so that the patches already in mainline linux will be applied at first.
SVN-Revision: 32845
2012-07-25 14:52:00 +00:00
Florian Fainelli
ab2cb9ce61 add yet another framebuffer symbol
SVN-Revision: 32844
2012-07-25 14:01:57 +00:00
Florian Fainelli
89a312bf48 split framebuffer helper modules to their own packages
SVN-Revision: 32843
2012-07-25 14:01:54 +00:00
Florian Fainelli
ba9f6a46b1 remove broken flag
SVN-Revision: 32842
2012-07-25 14:01:51 +00:00
Florian Fainelli
03c06178e3 package buttons driver separately
SVN-Revision: 32841
2012-07-25 14:01:49 +00:00
Florian Fainelli
83b7462ac9 package cobalt lcd as a module
SVN-Revision: 32840
2012-07-25 14:01:46 +00:00
John Crispin
7ee4798be2 add unset CONFIG_FB_XGI to fix fullbuilds
SVN-Revision: 32836
2012-07-25 09:05:23 +00:00
John Crispin
94a550cc87 cleanup config-3.3, remove =m
SVN-Revision: 32835
2012-07-25 09:05:18 +00:00
John Crispin
1cbfa0c0f5 laguna: fix eeprom read buffer size during platform configuration
Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna.  The model name read in is 16 bytes but the original buffer was only 8 bytes.

Signed-off-by: David Acker <dacker@rajant.com>

SVN-Revision: 32833
2012-07-25 08:01:38 +00:00
John Crispin
0e9e7dcd10 adds target used by rapsberry pi
Add support for Raspberry Pi / brcm2708 / 2835

Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

SVN-Revision: 32825
2012-07-24 20:39:17 +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
b891eec700 MI424WR - add rev D support
Add support for revision D of the MI424WR.
Rev D swaps LAN & WAN ports so this patch maintains
eth0 for LAN and eth1 for WAN. For details on rev D usage,
see http://wiki.openwrt.org/toh/actiontec/mi424wr

Signed-off-by: Jose Vasconcellos <jvasco@verizon.net>

SVN-Revision: 32820
2012-07-24 20:38:36 +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
Florian Fainelli
93dc8c8d1b move omap specific modules to modules.mk
SVN-Revision: 32810
2012-07-24 19:43:54 +00:00
Florian Fainelli
82c7e05d42 move n810 battery module to omap24 modules.mk
SVN-Revision: 32809
2012-07-24 19:43:49 +00:00
Florian Fainelli
25e20b0b57 move target specific modules to target's module.mk
SVN-Revision: 32808
2012-07-24 19:43:45 +00:00
Florian Fainelli
587f85ac20 package ep93xx framebuffer
SVN-Revision: 32807
2012-07-24 19:43:35 +00:00
Florian Fainelli
5915c85d80 remove crypto symbols override
SVN-Revision: 32806
2012-07-24 19:43:31 +00:00
Florian Fainelli
c238862651 add missing framebuffer related symbols
SVN-Revision: 32804
2012-07-24 19:43:23 +00:00
Florian Fainelli
9f55e6f954 remove broken flag, since it works
SVN-Revision: 32803
2012-07-24 19:43:19 +00:00
Florian Fainelli
c531ce0301 fix sound modules loading order and dependencies
SVN-Revision: 32802
2012-07-24 19:43:15 +00:00
Florian Fainelli
598ef2a2e0 package ep93xx touchscreen driver as a module
SVN-Revision: 32799
2012-07-24 19:42:49 +00:00
Florian Fainelli
0db5f35846 set DEVICE_TYPE to developerboard
SVN-Revision: 32798
2012-07-24 19:42:44 +00:00
John Crispin
5178c177dc rebase config-3.3
SVN-Revision: 32797
2012-07-24 17:28:25 +00:00
John Crispin
53a6946bb4 fix tantos patch properly
SVN-Revision: 32796
2012-07-24 17:28:12 +00:00
John Crispin
6fe32d72a2 make tantos switch select ETHERNET_PACKET_MANGLE
SVN-Revision: 32795
2012-07-24 16:50:14 +00:00
John Crispin
48869ef7c0 move CONFIG_ETHERNET_PACKET_MANGLE to a generic config file
This broke falcon builds

SVN-Revision: 32794
2012-07-24 15:33:01 +00:00
Felix Fietkau
b59bc92c6e crashlog: fix dependency, add memblock support
SVN-Revision: 32787
2012-07-22 16:39:33 +00:00
Felix Fietkau
b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Florian Fainelli
05340cc602 rename upgrade image to sysupgrade.bin for consistency
SVN-Revision: 32770
2012-07-17 16:47:57 +00:00
Florian Fainelli
d243c1e1f2 add missing configuration symbols
SVN-Revision: 32769
2012-07-17 16:40:28 +00:00
Florian Fainelli
f7dfd20f97 au1000: implement sysupgrade platform.sh
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32768
2012-07-17 16:40:24 +00:00
Florian Fainelli
ac6bf6d62f au1000: clean up profiles
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32767
2012-07-17 16:39:52 +00:00
Florian Fainelli
b2d76e1e05 au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific
idsel to work with newer kernels. Acutally I don't exactly understand why this
was not necessary before, but without the udelay, the MiniPCI adapter in slot 3
is not detected and set up correctly.

Also remove platform broken flag, it works.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32766
2012-07-17 16:39:47 +00:00
Gabor Juhos
21de1b9d85 ar71xx: enable I2C_GPIO, the PB44 board needs that
SVN-Revision: 32738
2012-07-15 17:52:52 +00:00
Gabor Juhos
7daf851adf ar71xx: fix PB44 board detection
SVN-Revision: 32737
2012-07-15 17:52:50 +00:00
Gabor Juhos
c7fa38484c ar71xx: use gpio_set_value_cansleep on sleeping GPIOs in ath79_spi
SVN-Revision: 32736
2012-07-15 17:52:48 +00:00
Luka Perkov
03a6d65c37 kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32732
2012-07-15 14:25:30 +00:00
Florian Fainelli
c727c2aacf set DEVICE_TYPE to other to avoid pulling unecessary packages
SVN-Revision: 32731
2012-07-15 14:10:03 +00:00
Florian Fainelli
a5d72815b5 add compatible property to pci node
SVN-Revision: 32730
2012-07-15 14:09:40 +00:00
Florian Fainelli
b5578d83d5 use ohci_err() instead of err()
SVN-Revision: 32729
2012-07-15 14:09:32 +00:00
Florian Fainelli
0e0b396663 make sure we properly unmap DMA mappings we created
SVN-Revision: 32728
2012-07-15 14:09:24 +00:00
Florian Fainelli
0f0e42f28e nuport-mac: add definitions of the various bits/masks used
SVN-Revision: 32727
2012-07-15 14:09:18 +00:00
Luka Perkov
c89e87d186 kirkwood: add support for seagate goflexnet and goflexhome
Signed-off-by: Martin Mueller <mm@sig21.net>

SVN-Revision: 32725
2012-07-15 12:18:29 +00:00
Luka Perkov
952ce3473d kirkwood: revert config changes from r32053
SVN-Revision: 32719
2012-07-15 00:08:52 +00:00
Gabor Juhos
33220828dc ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:

TL-WDR4300:
00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:
00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

[juhosg: change commit message, use a different model name]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>

SVN-Revision: 32683
2012-07-12 13:38:40 +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
Gabor Juhos
e9af340016 generic: ocf: restore terminating entry of pci_id_table in hifnHIPP
SVN-Revision: 32680
2012-07-12 08:34:23 +00:00
Gabor Juhos
d3c8852fd1 ar71xx: select ATH79_DEV_M25P80 for the WRT400N board
SVN-Revision: 32679
2012-07-12 08:34:22 +00:00
Gabor Juhos
c75c895d24 ar71xx: airrouter power led support
This patch adds support for power led to Unifi Airrouter AP.

[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32678
2012-07-12 08:34:21 +00:00
Gabor Juhos
466f010303 ar71xx: unifi reset button support
This patch adds support for reset button to Ubiquiti UniFi AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32677
2012-07-12 08:34:20 +00:00
Gabor Juhos
5ce9c90ca8 ar71xx: airrouter reset button support
This patch adds support for reset button to Ubiquiti Airrouter AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32676
2012-07-12 08:34:18 +00:00
Luka Perkov
283021ac15 ocf: update to version 20120127
SVN-Revision: 32672
2012-07-11 23:38:14 +00:00
Hauke Mehrtens
45d55161a6 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
SVN-Revision: 32670
2012-07-11 22:17:05 +00:00
Florian Fainelli
b94d9eb302 remove bcm63xx_pci_register() call in livebox board
SVN-Revision: 32661
2012-07-11 09:15:26 +00:00
Florian Fainelli
f8446c3d4c use physmap-flash on livebox (#8677)
SVN-Revision: 32660
2012-07-11 09:15:22 +00:00
Florian Fainelli
8765e49fbe nuport-mac: check netif_receive_skb() return value
We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

SVN-Revision: 32659
2012-07-11 08:29:01 +00:00
Florian Fainelli
93bf00ff36 fix typo on of_node_put()
SVN-Revision: 32653
2012-07-09 14:44:15 +00:00
Florian Fainelli
bb1488e5e7 Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32643
2012-07-06 22:10:37 +00:00
Gabor Juhos
fe015f399f ar71xx: swizzle address for PCI byte/word access on AR71xx
Closes #11683.

SVN-Revision: 32639
2012-07-06 16:33:12 +00:00
Gabor Juhos
b39df5bb81 ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
SVN-Revision: 32638
2012-07-06 11:12:02 +00:00
Gabor Juhos
e258367c19 ar71xx: merge new board patches into the generic patch
SVN-Revision: 32637
2012-07-06 11:12:01 +00:00
Gabor Juhos
b020a7e7c3 ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32635
2012-07-06 11:11:58 +00:00
Florian Fainelli
110fd3525a call of_node_put() on ethernet node
SVN-Revision: 32628
2012-07-05 18:46:55 +00:00
Florian Fainelli
a8fab2cb78 fix EPHY clock bit definition after r32489
SVN-Revision: 32627
2012-07-05 18:46:52 +00:00
Florian Fainelli
81681d7367 give an unique partition identifier for dLAN USB Extender Combined partition
SVN-Revision: 32626
2012-07-05 18:46:48 +00:00
Gabor Juhos
eabf96dc22 ar71xx: set firmware version for the TL-WR2543N
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.

SVN-Revision: 32617
2012-07-05 16:25:31 +00:00
Gabor Juhos
7c932579fa ar71xx: make 2.4GHz wlan LED work on the WR2543N
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

SVN-Revision: 32615
2012-07-05 16:25:26 +00:00
Gabor Juhos
b2f0476871 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32613
2012-07-05 08:26:57 +00:00
Gabor Juhos
797944d3f1 ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32611
2012-07-05 08:26:53 +00:00
Gabor Juhos
1ea2a3cfd8 ar71xx: add profile and build image for the Atheros AP136 reference board
SVN-Revision: 32609
2012-07-05 08:26:51 +00:00
Gabor Juhos
b219848bfc ar71xx: AP136 user-space support
SVN-Revision: 32608
2012-07-05 08:26:50 +00:00
Gabor Juhos
f0cda65bb6 ar71xx: add initial support for the Qualcomm Atheros AP136 board
SVN-Revision: 32607
2012-07-05 08:26:48 +00:00
Gabor Juhos
d1b237b335 ar71xx: add initial support for the QCA955X SoCs
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos
7284cf73d6 ar71xx: refactor PCI code to allow registering multiple PCI controllers
SVN-Revision: 32605
2012-07-05 08:26:45 +00:00
Gabor Juhos
6b8392eb12 generic: ar8216: start aneg on each PHY of the AR8327
SVN-Revision: 32604
2012-07-05 08:26:39 +00:00
Florian Fainelli
0fdac1102d add missing interrupts properties to some device nodes
SVN-Revision: 32603
2012-07-04 19:37:11 +00:00
Felix Fietkau
bfef2d17eb ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
SVN-Revision: 32599
2012-07-04 10:55:56 +00:00
Jonas Gorski
0a3e9c3148 bcm63xx: bcm63xx-spi does not depend on spi-bitbang
SVN-Revision: 32594
2012-07-03 21:42:17 +00:00
Jonas Gorski
fad888a85c bcm63xx: 96348A-122 improvements (Comtrend 5365)
1) Improve WLAN button.
2) Add 96348A-122 image.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32593
2012-07-03 21:42:15 +00:00
Jonas Gorski
0c7e676342 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

SVN-Revision: 32592
2012-07-03 21:42:12 +00:00
Jonas Gorski
988147111c bcm63xx: update patches to latest upstream versions
SVN-Revision: 32591
2012-07-03 21:42:07 +00:00
Jonas Gorski
1e2262df76 kernel: generic: spi: allow empty (un)prepare transfer
SVN-Revision: 32590
2012-07-03 21:42:03 +00:00
Gabor Juhos
b8618fd3f2 ar71xx: improve MDIO busy wait code
SVN-Revision: 32586
2012-07-03 15:24:02 +00:00
Gabor Juhos
86013d40d5 ar71xx: remove the built-in MTD map of the ALL0258N
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Florian Fainelli
4cdc4b1f36 refresh patches
SVN-Revision: 32581
2012-07-03 09:45:46 +00:00
Hauke Mehrtens
bd9fa13c73 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
SVN-Revision: 32580
2012-07-02 23:12:58 +00:00
Florian Fainelli
52bae2d2bd fix watchdog and rng drivers section mismatch (#11767)
SVN-Revision: 32522
2012-06-29 09:07:54 +00:00
Felix Fietkau
5570b76642 ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
SVN-Revision: 32520
2012-06-28 16:05:08 +00:00
Felix Fietkau
a5c684de26 kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.

(both need timestamps on to work well, besides)

TCP cubic is better maintained and understood than westwood,
also.

While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.

If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.

SVN-Revision: 32514
2012-06-27 22:32:47 +00:00
Florian Fainelli
1d7878a38b fix SPI clock frequency selection
SVN-Revision: 32512
2012-06-27 22:14:50 +00:00
Felix Fietkau
41909c6568 kernel: add missing config symbol
SVN-Revision: 32498
2012-06-24 20:21:27 +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
Florian Fainelli
81e8757da4 provide an early ioremap cookie of the system configuration register
SVN-Revision: 32489
2012-06-23 11:03:50 +00:00
Florian Fainelli
98b2bc9189 group SYSDBG register defines in mcs814x.h
SVN-Revision: 32488
2012-06-23 11:03:45 +00:00
Florian Fainelli
a8965f0005 make hardware.h a forward inclusion of mcs814x.h
mach/hardware.h is soon to be removed by upstream kernel

SVN-Revision: 32487
2012-06-23 11:03:40 +00:00
Florian Fainelli
7c984552ed remove platform specific initialization from ethernet driver
Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.

SVN-Revision: 32486
2012-06-23 11:03:35 +00:00
Florian Fainelli
2c47bbc199 regroup interrupt controller register definitions in hardware.h
SVN-Revision: 32485
2012-06-23 11:03:29 +00:00
Florian Fainelli
481c9faf20 remove handle_irq callback in board-mcs8140-dt.c
This should have been removed in r32470.

SVN-Revision: 32481
2012-06-21 12:20:47 +00:00
Florian Fainelli
4b33e0996e fix USB led triggers
SVN-Revision: 32474
2012-06-20 21:58:00 +00:00
Florian Fainelli
a98c74164e use generic uci defaults functions
SVN-Revision: 32473
2012-06-20 21:57:56 +00:00
Florian Fainelli
007fa4d638 remove uselss cache invalidations
SVN-Revision: 32472
2012-06-20 21:57:53 +00:00
Florian Fainelli
9a2367aa6d improve ethernet driver debugging
SVN-Revision: 32471
2012-06-20 21:57:49 +00:00
Florian Fainelli
3b0dba382b do not use MULTI_IRQ_HANDLER it is bogus on our platform
This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.

SVN-Revision: 32470
2012-06-20 21:57:45 +00:00
Mirko Vogt
f45cd30543 verified to work - remove broken flag
SVN-Revision: 32469
2012-06-20 19:04:35 +00:00
Vasilis Tsiligiannis
1978c07539 Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
2012-06-19 22:36:53 +00:00
Florian Fainelli
f4afa00862 add Moschip MSC814x support
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

SVN-Revision: 32462
2012-06-19 14:48:56 +00:00
Gabor Juhos
7c87391c55 ar71xx: create profile and build image for the TL-WDR4300 board
SVN-Revision: 32461
2012-06-19 11:51:20 +00:00
Gabor Juhos
2d97a52045 ar71xx: add user space support for the TL-WDR4300
SVN-Revision: 32460
2012-06-19 11:51:18 +00:00
Gabor Juhos
8b9931fd27 ar71xx: add support for the TL-WDR4300 board
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos
e6a10d5cdd ar71xx: refresh patches
SVN-Revision: 32458
2012-06-19 11:51:15 +00:00
Gabor Juhos
86c6543259 ar71xx: make AR8327 LEDs working on the DB120 board
SVN-Revision: 32457
2012-06-19 10:44:17 +00:00
Gabor Juhos
b934fa2f16 generic: ar8216: allow to configure AR8327 LEDs via platform data
SVN-Revision: 32456
2012-06-19 10:44:16 +00:00
Gabor Juhos
f509a87f2d ar71xx: remove superfluous include of asm/mach-ath79/pci.h
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos
1a1121158f ar71xx: add a common function to configure USB power GPIOs
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Gabor Juhos
27fea0b6d7 ar71xx: correctly detect NETGEAR WNDRMAC
This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32453
2012-06-19 10:13:38 +00:00