linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ELDK 3.1.1: PCI Video Cards on Lite5200B
@ 2007-01-10  0:09 Michael Carey
  2007-01-10  0:55 ` Wolfgang Denk
  2007-01-11  7:49 ` Roman Fietze
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Carey @ 2007-01-10  0:09 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Ed_ Jubenville, Dan Slater, Craig Javid

Has anyone gotten a pci video card to work on a Lite5200B board?

I have tried several types of ATI PCI cards in our board (based on
Lite5200B reference design).

The simplest card I have tried is a Ati Rage XL.  Its Vendor ID and
Device ID are 1002 & 474D.  I was able to find references to it in
devlist.h and pci_ids.h but I could not find anything in atyfb_base.c. 
I created an entry in atychips[] which was based on a hopefully similar
device ID = 4752.

When I booted linux with this configuration, I got the following debug
sequence:
The MJC messages are my debug output messages.
**************************
MJC: chr_dev_init in mem.c:770
MJC: registering devfs chrdev. chr_dev_init in mem.c:771
MJC: registering memory devfs. chr_dev_init in mem.c:774
MJC: memory_devfs_register in mem.c:756
MJC: rand initializing. chr_dev_init in mem.c:776
MJC: initing fbmem. chr_dev_init in mem.c:783
MJC: fbmem_init in drivers/video/fbmem.c:936
MJC: initing pref funcs. fbmem_init in drivers/video/fbmem.c:954
MJC: initing fb drivers. fbmem_init in drivers/video/fbmem.c:958
mjc: atyfb_init in drivers/video/aty/atyfb_base.c:2475
mjc: pci_find_device in drivers/pci/pci.c:129
mjc: pci_find_subsys in drivers/pci/pci.c:100
             pdev->device=474d, i=21, pci_id=474d
mjc: kmalloc workd; info points in memory: atyfb_init in
drivers/video/aty/atyfb_base.c:2522
rp->start=0:0
mjc:  apparently not a IORESOURCE_IO: atyfb_init in
drivers/video/aty/atyfb_base.c:2543
mjc: pci_find_device in drivers/pci/pci.c:129
mjc: pci_find_subsys in drivers/pci/pci.c:100
mjc: atyfb_init in drivers/video/aty/atyfb_base.c:3066
mjc: done: atyfb_init in drivers/video/aty/atyfb_base.c:3123
mjc: aty128fb_init in drivers/video/aty128fb.c:2013
mjc: pci_find_device in drivers/pci/pci.c:129
mjc: pci_find_subsys in drivers/pci/pci.c:100
mjc: aty128_pci_register in drivers/video/aty128fb.c:2046
mjc: pci_enable_device in drivers/pci/pci.c:416
mjc: pci_enable_device_bars in drivers/pci/pci.c:398
mjc: pci_set_power_state in drivers/pci/pci.c:274
mjc: pci_find_capability in drivers/pci/pci.c:192
MJC: pcibios_enable_device in arch/ppc/kernel/pci.c:1549
aty128fb: cannot reserve frame buffer memory
Trying to free nonexistent resource <00000000-ffffffff>
mjc: pci_find_device in drivers/pci/pci.c:129
mjc: pci_find_subsys in drivers/pci/pci.c:100
*************************
I realize that I was just guessing by adding an entry into atychips[],
and I am not tied to that video card.  I have tried an ATI  7500 card as
it seems to be supported although EXPERIMENTAL ly, but u-boot doesnt
seem to recognize its configuration space or at least report a card
present. 

Has anyone had success in trying to get 2D graphics or even text to
display from a pci video card on a Lite5200B board?

Thanks in advance for any help or information you could provide.

Michael Carey

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-11  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10  0:09 ELDK 3.1.1: PCI Video Cards on Lite5200B Michael Carey
2007-01-10  0:55 ` Wolfgang Denk
2007-01-11  7:49 ` Roman Fietze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).