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 9FE77DDDFE for ; Sun, 14 Oct 2007 15:51:20 +1000 (EST) Received: from neukxpax3m59t7 (unknown [58.154.193.229]) by smtp.sina.com.cn (SINAMAIL) with ESMTP id 682393B60C6 for ; Sun, 14 Oct 2007 13:24:41 +0800 (CST) From: =?gb2312?B?zfXW2A==?= To: Subject: aty128fb PCI card on ppc 405ep taihu board Date: Sun, 14 Oct 2007 13:24:40 +0800 Message-ID: <616984B041004305BF2F004AEC6B3BA5@neukxpax3m59t7> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C80E65.94739E30" 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_0000_01C80E65.94739E30 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi, =20 I got a taihu board. Now I want to display graphics (based on = Qt) through an ATI 128RAGE PCI card. The kernel is DENX Linux Kernel 2.6.19. = I found aty128fb framebuffer driver in menu configuration and build-in = kernel. Then I compile the boot logo into the kernel. I append =A1=B0video=3Daty128fb:640x480-16@70=A1=B1 to the kernel command line to = enable framebuffer. When the kernel is booting, there should be a penguin logo = on the VGA display (a CRT), but there=A1=AFs noting. The display got no = signal all the time.=20 Bootloader is U-Boot 1.1.4. It can recognize the PCI device: =20 PCI: Bus Dev VenId DevId Class Int 00 06 1002 524b 0300 19 00 07 104c ac56 0607 1b =20 The first line is my card, VenId and DevId are correct. Then the kernel is booting, but output nothing to VGA display. = I type =A1=B0lspci=A1=B1 in serial console. Below is the output: =20 #lspci 00:06.0 Class 0300: 1002:524b 00:07.0 Class 0607: 104c:ac56 =20 #lspci =A8Cv 00:06.0 Class 0300: 1002:524b Subsystem: 1002:524c Flags: bus master, stepping, medium devsel, latency 128, IRQ 25 Memory at 00000000bc000000 (32-bit, prefetchable) [size=3D64M] I/O ports at e8021f00 [size=3D256] Memory at 00000000bbffc000 (32-bit, non-prefetchable) = [size=3D16K] Expansion ROM at [disabled] [size=3D128K] Capabilities: [5c] Power Management version 1 =20 00:07.0 Class 0607: 104c:ac56 Flags: bus master, medium devsel, latency 168, IRQ 26 Memory at 00000000bbffb000 (32-bit, non-prefetchable) = [size=3D4K] Bus: primary=3D00, secondary=3D01, subordinate=3D04, = sec-latency=3D176 Memory window 0: bbbfb000-bbffa000 (prefetchable) Memory window 1: 80000000-803ff000 I/O window 0: 0000bf00-0000feff I/O window 1: 00001000-000011ff 16-bit legacy interface ports at 0001 =20 It seems that the board found the PCI device but didn=A1=AFt recognize = it is an ATI graphics card, framebuffer didn=A1=AFt start up at all. When I run a = Qt application compiled for ppc_4xx, the serial console displays: =20 Can't open framebuffer device /dev/fb0 : driver cannot connect =20 How can I enable framebuffer? Should I modify the aty128fb driver or something? Thanks a lot! =20 Best Regards, Wang Zhong =20 ------=_NextPart_000_0000_01C80E65.94739E30 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Hi,<= /p>

 

     = ;    I got a taihu board. Now I want to display graphics (based on Qt) = through an ATI 128RAGE PCI card. The kernel is DENX Linux Kernel 2.6.19. I found aty128fb framebuffer driver in menu configuration and build-in = kernel. Then I compile the boot logo into the kernel. I append =A1=B0video=3Daty128fb:640x480-16@70=A1=B1 to the kernel command line to enable framebuffer. When the kernel is = booting, there should be a penguin logo on the VGA display (a CRT), but = there=A1=AFs noting. The display got no signal all the time.

     = ;    Bootloader is U-Boot 1.1.4. It can = recognize the PCI device:

 

PCI:   Bus Dev =  VenId  DevId  Class Int

     = ;   00  06  1002  524b  0300  = 19

     = ;   00  07  104c  ac56  0607  1b

 

     = ;    The first line is my card, VenId and DevId are = correct.

     = ;    Then the kernel is booting, but output nothing to VGA display. I type = =A1=B0lspci=A1=B1 in serial console. Below is the output:

 

     = ;    #lspci

     = ;    00:06.0 Class 0300: 1002:524b

00:07.0 Class 0607: 104c:ac56

 

#lspci =A8Cv

00:06.0 Class 0300: 1002:524b

     = ;   Subsystem: 1002:524c

     = ;   Flags: bus master, stepping, medium devsel, latency 128, IRQ = 25

     = ;   Memory at 00000000bc000000 (32-bit, prefetchable) [size=3D64M]

     = ;   I/O ports at e8021f00 [size=3D256]

     = ;   Memory at 00000000bbffc000 (32-bit, non-prefetchable) = [size=3D16K]

     = ;   Expansion ROM at <unassigned> [disabled] = [size=3D128K]

     = ;   Capabilities: [5c] Power Management version 1

 

00:07.0 Class 0607: 104c:ac56

     = ;   Flags: bus master, medium devsel, latency 168, IRQ = 26

     = ;   Memory at 00000000bbffb000 (32-bit, non-prefetchable) = [size=3D4K]

     = ;   Bus: primary=3D00, secondary=3D01, subordinate=3D04, = sec-latency=3D176

     = ;   Memory window 0: bbbfb000-bbffa000 = (prefetchable)

     = ;   Memory window 1: 80000000-803ff000

        I/O window 0: = 0000bf00-0000feff

     = ;   I/O window 1: 00001000-000011ff

     = ;   16-bit legacy interface ports at 0001

 

It seems that the board found the PCI device but didn=A1=AFt recognize it = is an ATI graphics card, framebuffer didn=A1=AFt start up at all. When I run a Qt = application compiled for ppc_4xx, the serial console displays:

 

Can't open framebuffer device /dev/fb0

: driver cannot connect

 

How can I enable framebuffer? Should I modify the aty128fb driver or = something?

Thanks a lot!

 

Best = Regards,

Wang = Zhong

 

------=_NextPart_000_0000_01C80E65.94739E30--