| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
SVN-Revision: 33383
|
|
|
|
| |
SVN-Revision: 33382
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This fixes #10256
SVN-Revision: 33369
|
|
|
|
| |
SVN-Revision: 33362
|
|
|
|
| |
SVN-Revision: 33360
|
|
|
|
| |
SVN-Revision: 33356
|
|
|
|
| |
SVN-Revision: 33352
|
|
|
|
| |
SVN-Revision: 33349
|
|
|
|
| |
SVN-Revision: 33348
|
|
|
|
| |
SVN-Revision: 33347
|
|
|
|
| |
SVN-Revision: 33346
|
|
|
|
| |
SVN-Revision: 33345
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 33343
|
|
|
|
| |
SVN-Revision: 33342
|
|
|
|
|
|
| |
Those will be used on the ar71xx platform as well.
SVN-Revision: 33341
|
|
|
|
|
|
| |
Fixes booting the device with button hotplug enabled (#10785).
SVN-Revision: 33340
|
|
|
|
| |
SVN-Revision: 33338
|
|
|
|
|
|
| |
It will be used for the MikroTik boards.
SVN-Revision: 33337
|
|
|
|
| |
SVN-Revision: 33335
|
|
|
|
| |
SVN-Revision: 33334
|
|
|
|
|
|
| |
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.
SVN-Revision: 33330
|
|
|
|
|
|
| |
flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
SVN-Revision: 33326
|
|
|
|
| |
SVN-Revision: 33324
|
|
|
|
| |
SVN-Revision: 33323
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 33319
|
|
|
|
| |
SVN-Revision: 33318
|
|
|
|
|
|
| |
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33317
|
|
|
|
|
|
| |
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33316
|
|
|
|
| |
SVN-Revision: 33315
|
|
|
|
| |
SVN-Revision: 33314
|
|
|
|
| |
SVN-Revision: 33313
|
|
|
|
|
|
| |
Fixes sporadic crashes while reconfiguring the network interface.
SVN-Revision: 33312
|
|
|
|
|
|
| |
That was based on assumptions.
SVN-Revision: 33310
|
|
|
|
|
|
| |
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33309
|
|
|
|
| |
SVN-Revision: 33308
|
|
|
|
| |
SVN-Revision: 33307
|
|
|
|
|
|
|
|
| |
This allows them to transparently communicate with an external VLAN switch.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33305
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 33295
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|