[ELDK] Xorg 7.0 on "Sequoia" Board

Abdul Basit abasit at bnet6.net
Tue Jul 8 05:29:16 CEST 2008


Hi Folks,

I am trying to get Xorg running on AMCC 440EPx "Sequoia" Board which has
36-bit PCI addressing but 32-bit CPU, the problem is :-

.. X does the following:-

1) Get PCI I/O address via syscall(__NR_pciconfig_iobase), on 440EPX it
is 0x1E8000000 (36 bit), X long type is 32-bits so the address is
truncated, then the X try to mmap(..) using this PCI/IO address which is
truncated and hence became invalid causing a kernel machine check
exception when later it try to write to it.

(xorg-server/hw/xfree86/os-support/linux/lnx_video.c)


2) Do the similar thing for PCI MEM which is 0x100000000

(xorg-server/hw/xfree86/os-support/bus/linuxPci.c)

Did anyone here get X to work with CPU that has 36-bit PCI?
I can see that the ELDK 4.1 does not list Xorg in it's package list.

one more thing, is it possible to mask the ERPN bits to 0x00 0x00
instead of 0x00 0x01? so that the effective address became 0x0E8000000
instead of 0x1E8000000 so even when if it is truncated it would be fine.

Please help !!

thanks,
basit




More information about the eldk mailing list