aty128fb PCI card on ppc 405ep taihu board

王重 lacrimosa02 at sina.com
Sun Oct 14 15:24:40 EST 2007


Hi,

 

         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
¡°video=aty128fb:640x480-16 at 70¡± 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¡¯s 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 ¡°lspci¡± in serial console. Below is the output:

 

         #lspci

         00:06.0 Class 0300: 1002:524b

00:07.0 Class 0607: 104c:ac56

 

#lspci ¨Cv

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=64M]

        I/O ports at e8021f00 [size=256]

        Memory at 00000000bbffc000 (32-bit, non-prefetchable) [size=16K]

        Expansion ROM at <unassigned> [disabled] [size=128K]

        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=4K]

        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176

        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¡¯t recognize it is an
ATI graphics card, framebuffer didn¡¯t 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20071014/14a7066c/attachment.htm 


More information about the Linuxppc-embedded mailing list