No subject
Mon Aug 24 09:56:15 EDT 2009
default address (arch/arm/mach-kirkwood/pcie.c:kirkwood_pcie_setup) and
when initilizing the memory windows, it's remapping the i/o port address
to 0 (arch/arm/mach-kirkwood/addr-map.c:kirkwood_setup_cpu_mbus). If I
remove the mapping, the framebuffer driver is sort-of working. I've
something on the screen but it's garbled.
As I don't have a lot of confidence in the framebuffer driver, I don't
know if the problem comes from the driver or from an other bug in the
pci support for the kirkwood :(
Can someone test this patch (obviously, need a pci card using I/O port)
and report ? If it's successfull, I'll submit it again with proper
s-o-b.
Also, I'm surprised to see that the pci express bus is used like a
normal pci bus, which means no MSI/ASPM/AER. Does someone know if it's
in the work ? [ this is an open question, I'm not sure I'll be able to
use and test them on the OpenRD-client board ].
Thanks,
Arnaud
--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=kirkwood_pcie_fix.patch
Index: linux-2.6/arch/arm/mach-kirkwood/include/mach/kirkwood.h
===================================================================
--- linux-2.6.orig/arch/arm/mach-kirkwood/include/mach/kirkwood.h
+++ linux-2.6/arch/arm/mach-kirkwood/include/mach/kirkwood.h
@@ -35,7 +35,7 @@
#define KIRKWOOD_PCIE_IO_PHYS_BASE 0xf2000000
#define KIRKWOOD_PCIE_IO_VIRT_BASE 0xfef00000
-#define KIRKWOOD_PCIE_IO_BUS_BASE 0x00000000
+#define KIRKWOOD_PCIE_IO_BUS_BASE -1
#define KIRKWOOD_PCIE_IO_SIZE SZ_1M
#define KIRKWOOD_REGS_PHYS_BASE 0xf1000000
--=-=-=--
More information about the linux-arm-kernel
mailing list