kirkwood pci support
Hi,
I've been playing with an OpenRD-client machine and tried to get working a more recent kernel than the default 2.6.22. Unfortunately, looks like there's some issues with the PCI support. The machine has a XGI Z11 card and the xgi framebuffer driver has not been able to initialise the card.
After some debugging I've made the patch I'm joining to this mail.
Arnaud Patard (Rtp) <[email protected]> writes:
Hi,
[replying to self ]
Quoted 9 lines
Hi,
I've been playing with an OpenRD-client machine and tried to get working a more recent kernel than the default 2.6.22. Unfortunately, looks like there's some issues with the PCI support. The machine has a XGI Z11 card and the xgi framebuffer driver has not been able to initialise the card.
After some debugging I've made the patch I'm joining to this mail.Quoted 1 line
From what I understand, the pci i/o port stuff is configured to use the
Quoted 8 lines
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 :(
It turns out that it was a bug in the framebuffer driver. I used the version available at :
http://groups.google.com/group/openrd/browse_thread/thread/9432b69171a15629#
with my patch and now I've the fb console and X (using the fbdev driver not xgi driver).
Arnaud