From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.sina.com.cn (smtp.sina.com.cn [202.108.3.233]) by ozlabs.org (Postfix) with ESMTP id C40FFDDE33 for ; Thu, 18 Oct 2007 12:19:22 +1000 (EST) Received: from neukxpax3m59t7 (unknown [58.154.193.229]) by smtp.sina.com.cn (SINAMAIL) with ESMTP id B74DE3B6B10 for ; Thu, 18 Oct 2007 10:19:13 +0800 (CST) From: =?gb2312?B?zfXW2A==?= To: References: Subject: Re: aty128fb PCI card on ppc 405ep taihu board Date: Thu, 18 Oct 2007 10:19:09 +0800 Message-ID: <6E33812279E8474394974D11898C2BE2@neukxpax3m59t7> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C81170.54846030" In-Reply-To: List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C81170.54846030 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Thanks Bill and thanks Wolfgang! VGA BIOS is the problem. I use scitechsoft videoboot to initialize the card. Videoboot is based on scitechsoft x86emu which could run x86 code on other platforms. Now I successfully initialized the card and get the framebuffer information. But the monitor still gets NO SIGNAL through the card. Serial console shows framebuffer is enabled: videoboot: Booting PCI video card bus 0, function 0, device 6 aty128fb: Found Intel x86 BIOS ROM Image aty128fb: Rage128 BIOS located aty128fb: Rage128 RK PCI [chip rev 0x2] 32M 64-bit SDR SGRAM (2:1) fb0: ATY Rage128 frame buffer device on Rage128 RK PCI Some information I get from framebuffer: id = ATY Rage128 depth = 16 smemlen = 33554432 line_length = 0 FB_TYPE_ = 0 type_aux = 0 FB_VISUAL_ = 3 xpanstep = 8 ypanstep = 1 ywrapstep = 0 mmio_start = bbffc0000d mmio_len = 8192 accel = 32 xres = 640 yres = 480 xres_virtul = 640 yres_virtul = 480 xoffset = 0 yoffset = 0 bits_per_pixel = 16 ------=_NextPart_000_0003_01C81170.54846030 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Thanks Bill and thanks Wolfgang! VGA BIOS is the problem. I use = scitechsoft videoboot to initialize the card. Videoboot is based on scitechsoft = x86emu which could run x86 code on other platforms. Now I successfully = initialized the card and get the framebuffer information. But the monitor still gets NO = SIGNAL through the card.

 

Serial console shows framebuffer is enabled: =

 

     videoboot: = Booting PCI video card bus 0, function 0, device 6

     aty128fb: = Found Intel x86 BIOS ROM Image

     aty128fb: = Rage128 BIOS located

     aty128fb: = Rage128 RK PCI [chip rev 0x2] 32M 64-bit SDR SGRAM (2:1)

     fb0: ATY = Rage128 frame buffer device on Rage128 RK PCI

 

Some information I get from = framebuffer:

 

     id =3D ATY = Rage128

     depth = =3D  16

       = smemlen =3D 33554432

       = line_length =3D 0

       = FB_TYPE_ =3D 0

     type_aux =3D = 0

     FB_VISUAL_ =3D = 3

     xpanstep =3D = 8

     ypanstep =3D = 1

     ywrapstep =3D = 0

     mmio_start =3D = bbffc0000d

     mmio_len =3D = 8192

     accel =3D = 32

     xres =3D = 640

     yres =3D = 480

     xres_virtul =3D = 640

     yres_virtul =3D = 480

     xoffset =3D = 0

     yoffset =3D = 0

     bits_per_pixel =3D = 16

 

------=_NextPart_000_0003_01C81170.54846030--