florian
e2f7aae0b9
[realview] set DEVICE_TYPE to developperboard
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:36:33 +00:00
florian
79df2ee02b
[malta] set DEVICE_TYPE to developperboard
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:36:30 +00:00
juhosg
f74bd75daa
ar71xx: merge machine support patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:28 +00:00
juhosg
e9a522de9e
ar71xx: register the NAND controller device on the RB2011
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:26 +00:00
juhosg
39bdbbc7fc
ar71xx: add device registration code for the AR934x NAND flash controller
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:25 +00:00
juhosg
8788b410ee
ar71xx: package the AR934x NAND driver module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:23 +00:00
juhosg
ce47c98d07
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:22 +00:00
juhosg
9edd5a0ba0
generic: add MTD_NAND_AR934X symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:21 +00:00
juhosg
93a698140f
generic: move GENERIC_PWM symbol into the generic config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
juhosg
e96ea88268
ar71xx: define NAND controller base address and register size for AR934X/QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:06:38 +00:00
juhosg
de071d14f7
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:03:12 +00:00
hauke
c96bed78c2
[brcm47xx]: add gpio sysfs entries
...
This fixes #10256
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-11 15:04:20 +00:00
juhosg
29f447b9fd
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:38:01 +00:00
juhosg
e1ee097247
ar71xx: fix QCA955X_EHCI_SIZE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:32:54 +00:00
florian
405e94ce42
[generic] fix ixp4xx_hss build failure ( #12162 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 08:53:21 +00:00
jow
20856122c5
[ar71xx] fix description of nand/Ath5k profile ( #12149 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:40:26 +00:00
juhosg
4b7be33ba5
ar71xx: add initial support for RB2011UAS-2HnD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:32 +00:00
juhosg
25dbd4639c
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:30 +00:00
juhosg
d0d14675bb
ar71xx: add RouterBoot related helper routines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:28 +00:00
juhosg
2622bc18da
generic add WLAN calibration data ID to routerboot.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:26 +00:00
juhosg
4834938a89
ar71xx: define MTD partitions for RB2011
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:24 +00:00
juhosg
775e69dfac
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:22 +00:00
juhosg
527f8049cd
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:20 +00:00
juhosg
c4b6e540e4
ar71xx: add dynamic MDIO clock calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:17 +00:00
juhosg
38ca354ccc
adm5120: move common routerboot definitions into a separate header file
...
Those will be used on the ar71xx platform as well.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:55:42 +00:00
jogo
5e5c7d5aa1
bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
...
Fixes booting the device with button hotplug enabled (#10785 ).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:54:56 +00:00
juhosg
3868d762d1
ar71xx: use the RLE library for RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:56 +00:00
juhosg
6142d590e3
ar71xx: add library code for RLE decoding
...
It will be used for the MikroTik boards.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:54 +00:00
juhosg
41be3a0bd3
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:09 +00:00
juhosg
6f0a45267a
ar71xx: refresh kernel patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:04 +00:00
florian
08b17128a1
[mcs814x] use the recommended ARM I/O accessors
...
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 09:51:05 +00:00
cshore
60244743f9
[ar71xx] 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.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 18:15:26 +00:00
luka
507c46269b
lantiq: fix sx76x default uci network configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 00:09:46 +00:00
florian
d6378b5278
[mcs814x] add some ohci workarounds to make ohci work
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:19:29 +00:00
juhosg
dddb52eedf
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:08:43 +00:00
juhosg
07073dcb27
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:08:42 +00:00
blogic
e937e774c9
[x86] add missing kvm_guest kernel options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:38:42 +00:00
juhosg
34d7147aef
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:26:50 +00:00
juhosg
b4336504ba
ar71xx: add rssileds to package set in profile for devices which got them.
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:51 +00:00
juhosg
cb29036b4a
ramips: add rssileds to package set in profile for devices which got them.
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:48 +00:00
florian
8e3e58e908
[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:51 +00:00
florian
902cbf7fcc
[mcs814x] pad squashfs image
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:46 +00:00
florian
cfcbecc91d
[mcs814x] add Generic and dLAN USB Extender profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:40 +00:00
florian
cfcb04f63c
[mcs814x] nuport-mac: disable MAC RX and TX during interface close
...
Fixes sporadic crashes while reconfiguring the network interface.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 10:26:01 +00:00
juhosg
311f77fe3e
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
...
That was based on assumptions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:55 +00:00
juhosg
32b0679079
ar71xx: all0315n: fix ethernet according to vendor info
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:54 +00:00
juhosg
ddc3f6ec51
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:53 +00:00
juhosg
0802aeffc1
ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:51 +00:00
juhosg
c4ce5d343d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:47 +00:00
juhosg
2a86045d51
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:45 +00:00