From: 王重 <lacrimosa02@sina.com>
To: <linuxppc-embedded@ozlabs.org>
Subject: aty128fb PCI card on ppc 405ep taihu board
Date: Sun, 14 Oct 2007 13:24:40 +0800 [thread overview]
Message-ID: <616984B041004305BF2F004AEC6B3BA5@neukxpax3m59t7> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 2450 bytes --]
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@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
[-- Attachment #2: Type: text/html, Size: 14632 bytes --]
next reply other threads:[~2007-10-14 5:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-14 5:24 王重 [this message]
2007-10-16 0:37 ` aty128fb PCI card on ppc 405ep taihu board Bill F
[not found] <mailman.3.1192500005.32221.linuxppc-embedded@ozlabs.org>
2007-10-18 2:19 ` 王重
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=616984B041004305BF2F004AEC6B3BA5@neukxpax3m59t7 \
--to=lacrimosa02@sina.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox