<div>hi,all</div>
<div> </div>
<div>I compiled linux-2.6.12 for mpc8540 with DENX eldk4.0, my plabtform is custom mpc8540 board, mb86296 video card, eldk4.0 ppc_85xx file sysytem. Accelerated driver is x11_mb86290 <span>offered by DENX .</span> I compiled XFree86 4.3.0, then I ran startx, the screen was black for a few seconds and it turned to text mode.</div>
<div> </div>
<div>there are some hints in XFree86.0.log:</div>
<div> </div>
<div>
<p>fbdevHW: MapVidmem 0<br> fbdevHW: LinearOffset 0<br> fbdevHW: Save 0<br> fbdevHW: ModeInit 0<br> xfree init mode: 50000 1024 1024 1024 1024 768 768 768 768<br> fbdev init mode: 20000 1024 0 0 0 768 0 0 0 16 5:5:5<br>
fbdevHW: AdjustFrame 0<br> (==) MB86290(0): Backing store disabled<br> (II) MB86290(0): Using XFree86 Acceleration Architecture (XAA)<br> Screen to screen bit blits<br> Solid filled rectangles<br> 8x8 mono pattern filled rectangles<br>
Indirect CPU to Screen color expansion<br> Solid Lines<br> Dashed Lines<br> (II) MB86290(0): Acceleration enabled<br> fbdevHW: ModeInit 0</p>
<p> Fatal server error:<br> AddScreen/ScreenInit failed for driver 0</p>
<p><br> When reporting a problem related to a server crash, please send<br> the full server output, not just the last messages.<br> This can be found in the log file "/var/log/XFree86.0.log".<br> Please report problems to <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:xfree86@xfree86.org" target="_blank">xfree86@xfree86.org</a>.</p>
<p> fbdevHW: LeaveVT 0<br> fbdevHW: Restore 0<br></p>
<p>then I changed configuration file as follows:</p>
<p>Section "Device"</p>
<p><br> Identifier "CoralP"<br> Driver "mb86290"<br> Option "Video" "no" --forbid I2c bus</p>
<p>EndSection</p>
<p>then I run startx, the screen was black forever and there was no MousePointer, and here is output of XFree86.0.log:</p>
<p>XFree86 Version 4.3.0<br>Release Date: 27 February 2003<br>X Protocol Version 11, Revision 0, Release 6.6<br>Build Operating System: Linux <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://2.6.12.6/" target="_blank">2.6.12.6</a> ppc [ELF] <br>
Build Date: 17 March 2008<br> Before reporting problems, check <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.xfree86.org/" target="_blank">http://www.XFree86.Org/</a><br> to make sure that you have the latest version.<br>
Module Loader present<br>Markers: (--) probed, (**) from config file, (==) default setting,<br> (++) from command line, (!!) notice, (II) informational,<br> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br>
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Mar 19 17:24:36 2008<br>(==) Using config file: "/etc/X11/XF86Config-4"<br>(==) ServerLayout "Default Layout"<br>(**) |-->Screen "Default Screen" (0)<br>
(**) | |-->Monitor "Generic Monitor"<br>(**) | |-->Device "CoralP"<br>(**) |-->Input Device "Generic Keyboard"<br>(**) Option "XkbRules" "xfree86"<br>(**) XKB: rules: "xfree86"<br>
(**) Option "XkbModel" "macintosh"<br>(**) XKB: model: "macintosh"<br>(**) Option "XkbLayout" "us"<br>(**) XKB: layout: "us"<br>(==) Keyboard: CustomKeycode disabled<br>
(**) |-->Input Device "Configured Mouse"<br>(WW) The directory "/usr/lib/X11/fonts/misc" does not exist.<br> Entry deleted from font path.<br>(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.<br>
Entry deleted from font path.<br>(WW) The directory "/usr/lib/X11/fonts/100dpi/" does not exist.<br> Entry deleted from font path.<br>(WW) The directory "/usr/lib/X11/fonts/75dpi/" does not exist.<br>
Entry deleted from font path.<br>(WW) The directory "/usr/lib/X11/fonts/Type1" does not exist.<br> Entry deleted from font path.<br>(WW) The directory "/usr/lib/X11/fonts/CID" does not exist.<br> Entry deleted from font path.<br>
(WW) The directory "/usr/lib/X11/fonts/Speedo" does not exist.<br> Entry deleted from font path.<br>(WW) The directory "/usr/lib/X11/fonts/100dpi" does not exist.<br> Entry deleted from font path.<br>(WW) The directory "/usr/lib/X11/fonts/75dpi" does not exist.<br>
Entry deleted from font path.<br>(WW) FontPath is completely invalid. Using compiled-in default.<br>(==) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"<br>
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"<br>(==) ModulePath set to "/usr/X11R6/lib/modules"<br>(--) using VT number 2</p>
<p>(WW) Open APM failed (/dev/apm_bios) (No such file or directory)<br>(II) Module ABI versions:<br> XFree86 ANSI C Emulation: 0.2<br> XFree86 Video Driver: 0.6<br> XFree86 XInput driver : 0.4<br> XFree86 Server Extension : 0.2<br>
XFree86 Font Renderer : 0.4<br>(II) Loader running on linux<br>(II) LoadModule: "bitmap"<br>(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a<br>(II) Module bitmap: vendor="The XFree86 Project"<br>
compiled for 4.3.0, module version = 1.0.0<br> Module class: XFree86 Font Renderer<br> ABI class: XFree86 Font Renderer, version 0.4<br>(II) Loading font Bitmap<br>(II) LoadModule: "pcidata"<br>(II) Loading /usr/X11R6/lib/modules/libpcidata.a<br>
(II) Module pcidata: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.0.0<br> ABI class: XFree86 Video Driver, version 0.6<br>(II) PCI: PCI scan (all values are in hex)<br>(II) PCI: 00:12:0: chip 10cf,201e card 0000,0000 rev 01 class 03,80,00 hdr 00<br>
(II) PCI: 00:13:0: chip 1095,0680 card 1095,0680 rev 02 class 01,01,85 hdr 00<br>(II) PCI: 00:14:0: chip 10b5,6540 card 0000,0000 rev cb class 06,04,00 hdr 01<br>(II) PCI: End of PCI scan<br>(II) PCI-to-PCI bridge:<br>(II) Bus 1: bridge is at (0:20:0), (0,1,1), BCTRL: 0x0000 (VGA_EN is cleared)<br>
(II) Bus 1 I/O range:<br> [0] -1 0 0x00ffe000 - 0x00ffefff (0x1000) IX[B]<br>(II) Bus 1 non-prefetchable memory range:<br> [0] -1 0 0x9be00000 - 0x9befffff (0x100000) MX[B]<br>(II) Bus 1 prefetchable memory range:<br> [0] -1 0 0x9bd00000 - 0x9bdfffff (0x100000) MX[B]<br>
(II) Host-to-PCI bridge:<br>(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x0008 (VGA_EN is set)<br>(II) Bus 0 I/O range:<br> [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]<br>(II) Bus 0 non-prefetchable memory range:<br>
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]<br>(II) Bus 0 prefetchable memory range:<br> [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]<br>(--) PCI:*(0:18:0) unknown vendor (0x10cf) unknown chipset (0x201e) rev 1, Mem @ 0x9c000000/26<br>
(II) Addressable bus resource ranges are<br> [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]<br> [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]<br>(II) OS-reported resource ranges:<br> [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]<br>
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]<br> [2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]<br> [3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]<br>(II) Active PCI resource ranges:<br> [0] -1 0 0x9bffff00 - 0x9bffffff (0x100) MX[B]<br>
[1] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)<br> [2] -1 0 0x00ffffd0 - 0x00ffffdf (0x10) IX[B]<br> [3] -1 0 0x00ffffe4 - 0x00ffffe7 (0x4) IX[B]<br> [4] -1 0 0x00ffffe8 - 0x00ffffef (0x8) IX[B]<br> [5] -1 0 0x00fffff4 - 0x00fffff7 (0x4) IX[B]<br>
[6] -1 0 0x00fffff8 - 0x00ffffff (0x8) IX[B]<br>(II) Active PCI resource ranges after removing overlaps:<br> [0] -1 0 0x9bffff00 - 0x9bffffff (0x100) MX[B]<br> [1] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)<br> [2] -1 0 0x00ffffd0 - 0x00ffffdf (0x10) IX[B]<br>
[3] -1 0 0x00ffffe4 - 0x00ffffe7 (0x4) IX[B]<br> [4] -1 0 0x00ffffe8 - 0x00ffffef (0x8) IX[B]<br> [5] -1 0 0x00fffff4 - 0x00fffff7 (0x4) IX[B]<br> [6] -1 0 0x00fffff8 - 0x00ffffff (0x8) IX[B]<br>(II) OS-reported resource ranges after removing overlaps with PCI:<br>
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]<br> [1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]<br> [2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]<br> [3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]<br>(II) All system resource ranges:<br>
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]<br> [1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]<br> [2] -1 0 0x9bffff00 - 0x9bffffff (0x100) MX[B]<br> [3] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)<br> [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]<br>
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]<br> [6] -1 0 0x00ffffd0 - 0x00ffffdf (0x10) IX[B]<br> [7] -1 0 0x00ffffe4 - 0x00ffffe7 (0x4) IX[B]<br> [8] -1 0 0x00ffffe8 - 0x00ffffef (0x8) IX[B]<br> [9] -1 0 0x00fffff4 - 0x00fffff7 (0x4) IX[B]<br>
[10] -1 0 0x00fffff8 - 0x00ffffff (0x8) IX[B]<br>(II) LoadModule: "bitmap"<br>(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a<br>(II) Loading font Bitmap<br>(II) LoadModule: "dbe"<br>(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a<br>
(II) Module dbe: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.0.0<br> Module class: XFree86 Server Extension<br> ABI class: XFree86 Server Extension, version 0.2<br>(II) Loading extension DOUBLE-BUFFER<br>
(II) LoadModule: "ddc"<br>(II) Loading /usr/X11R6/lib/modules/libddc.a<br>(II) Module ddc: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.0.0<br> ABI class: XFree86 Video Driver, version 0.6<br>
(II) LoadModule: "extmod"<br>(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a<br>(II) Module extmod: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.0.0<br> Module class: XFree86 Server Extension<br>
ABI class: XFree86 Server Extension, version 0.2<br>(II) Loading extension SHAPE<br>(II) Loading extension MIT-SUNDRY-NONSTANDARD<br>(II) Loading extension BIG-REQUESTS<br>(II) Loading extension SYNC<br>(II) Loading extension MIT-SCREEN-SAVER<br>
(II) Loading extension XC-MISC<br>(II) Loading extension XFree86-VidModeExtension<br>(II) Loading extension XFree86-Misc<br>(II) Loading extension XFree86-DGA<br>(II) Loading extension DPMS<br>(II) Loading extension FontCache<br>
(II) Loading extension TOG-CUP<br>(II) Loading extension Extended-Visual-Information<br>(II) Loading extension XVideo<br>(II) Loading extension XVideo-MotionCompensation<br>(II) Loading extension X-Resource<br>(II) LoadModule: "freetype"<br>
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a<br>(II) Module freetype: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 2.0.2<br> Module class: XFree86 Font Renderer<br> ABI class: XFree86 Font Renderer, version 0.4<br>
(II) Loading font FreeType<br>(II) LoadModule: "speedo"<br>(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a<br>(II) Module speedo: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.0.1<br>
Module class: XFree86 Font Renderer<br> ABI class: XFree86 Font Renderer, version 0.4<br>(II) Loading font Speedo<br>(II) LoadModule: "type1"<br>(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a<br>(II) Module type1: vendor="The XFree86 Project"<br>
compiled for 4.3.0, module version = 1.0.2<br> Module class: XFree86 Font Renderer<br> ABI class: XFree86 Font Renderer, version 0.4<br>(II) Loading font Type1<br>(II) LoadModule: "vbe"<br>(II) Loading /usr/X11R6/lib/modules/libvbe.a<br>
(II) Module vbe: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.1.0<br> ABI class: XFree86 Video Driver, version 0.6<br>(II) LoadModule: "mb86290"<br>(II) Loading /usr/X11R6/lib/modules/drivers/mb86290_drv.o<br>
(II) Module mb86290: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 0.1.0<br> Module class: XFree86 Video Driver<br> ABI class: XFree86 Video Driver, version 0.6<br>(II) LoadModule: "mouse"<br>
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o<br>(II) Module mouse: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.0.0<br> Module class: XFree86 XInput Driver<br> ABI class: XFree86 XInput driver, version 0.4<br>
(II) MB86290: Fujitsu chip: mb86290<br>(II) Primary Device is: PCI 00:12:0<br>(II) Loading sub module "fbdevhw"<br>(II) LoadModule: "fbdevhw"<br>(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a<br>
(II) Module fbdevhw: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 0.0.2<br> ABI class: XFree86 Video Driver, version 0.6<br>(--) Assigning device section with no busID to primary device<br>
(--) Chipset mb86290 found<br>(II) resource ranges after xf86ClaimFixedResources() call:<br> [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]<br> [1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]<br> [2] -1 0 0x9bffff00 - 0x9bffffff (0x100) MX[B]<br>
[3] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)<br> [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]<br> [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]<br> [6] -1 0 0x00ffffd0 - 0x00ffffdf (0x10) IX[B]<br> [7] -1 0 0x00ffffe4 - 0x00ffffe7 (0x4) IX[B]<br>
[8] -1 0 0x00ffffe8 - 0x00ffffef (0x8) IX[B]<br> [9] -1 0 0x00fffff4 - 0x00fffff7 (0x4) IX[B]<br> [10] -1 0 0x00fffff8 - 0x00ffffff (0x8) IX[B]<br>(II) resource ranges after probing:<br> [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]<br>
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]<br> [2] -1 0 0x9bffff00 - 0x9bffffff (0x100) MX[B]<br> [3] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)<br> [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]<br> [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]<br>
[6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]<br> [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]<br> [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]<br> [9] -1 0 0x00ffffd0 - 0x00ffffdf (0x10) IX[B]<br> [10] -1 0 0x00ffffe4 - 0x00ffffe7 (0x4) IX[B]<br>
[11] -1 0 0x00ffffe8 - 0x00ffffef (0x8) IX[B]<br> [12] -1 0 0x00fffff4 - 0x00fffff7 (0x4) IX[B]<br> [13] -1 0 0x00fffff8 - 0x00ffffff (0x8) IX[B]<br> [14] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]<br> [15] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]<br>
(II) Setting vga for screen 0.<br>fbdevHW: Init 0<br>(==) MB86290(0): Depth 15, (==) framebuffer bpp 16<br>(==) MB86290(0): RGB weight 555<br>(==) MB86290(0): Default visual is TrueColor<br>(==) MB86290(0): Using gamma correction (1.0, 1.0, 1.0)<br>
(**) MB86290(0): Option "accel" "no"<br>(**) MB86290(0): Option "video" "no"<br>fbdevHW: UseBuildinMode 0<br>(--) MB86290(0): Virtual size is 1024x768 (pitch 1024)<br>(**) MB86290(0): Built-in mode "current": 50.0 MHz, 48.8 kHz, 63.6 Hz<br>
(II) MB86290(0): Modeline "current" 50.00 1024 1024 1024 1024 768 768 768 768 -hsync -vsync -csync<br>(==) MB86290(0): DPI set to (75, 75)<br>(II) Loading sub module "mb86290_fb"<br>(II) LoadModule: "mb86290_fb"<br>
(II) Loading /usr/X11R6/lib/modules/libmb86290_fb.a<br>(II) Module mb86290_fb: vendor="The XFree86 Project"<br> compiled for 4.3.0, module version = 1.0.0<br> ABI class: XFree86 ANSI C Emulation, version 0.2<br>
(II) do I need RAC? No, I don't.<br>(II) resource ranges after preInit:<br> [0] 0 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B]<br> [1] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]<br> [2] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]<br>
[3] -1 0 0x9bffff00 - 0x9bffffff (0x100) MX[B]<br> [4] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)<br> [5] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]<br> [6] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]<br> [7] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]<br>
[8] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]<br> [9] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]<br> [10] -1 0 0x00ffffd0 - 0x00ffffdf (0x10) IX[B]<br> [11] -1 0 0x00ffffe4 - 0x00ffffe7 (0x4) IX[B]<br> [12] -1 0 0x00ffffe8 - 0x00ffffef (0x8) IX[B]<br>
[13] -1 0 0x00fffff4 - 0x00fffff7 (0x4) IX[B]<br> [14] -1 0 0x00fffff8 - 0x00ffffff (0x8) IX[B]<br> [15] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]<br> [16] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]<br>fbdevHW: MapVidmem 0<br>
fbdevHW: LinearOffset 0<br>fbdevHW: Save 0<br>fbdevHW: ModeInit 0<br>xfree init mode: 50000 1024 1024 1024 1024 768 768 768 768<br>fbdev init mode: 20000 1024 0 0 0 768 0 0 0 16 5:5:5<br>fbdevHW: AdjustFrame 0<br>
(==) MB86290(0): Backing store disabled<br>(II) MB86290(0): Acceleration disabled<br>fbdevHW: ModeInit 0<br></p>
<p>Thanks,</p>
<p>liuxs</p></div>