* Graphic Card on Freescale MPC837x-rdb @ 2008-06-24 17:17 Bizhan Gholikhamseh (bgholikh) 2008-06-24 17:32 ` Kumar Gala 2008-06-25 7:37 ` Anatolij Gustschin 0 siblings, 2 replies; 5+ messages in thread From: Bizhan Gholikhamseh (bgholikh) @ 2008-06-24 17:17 UTC (permalink / raw) To: linuxppc-embedded, linuxppc-dev [-- Attachment #1: Type: text/plain, Size: 178 bytes --] HI all, Has anyone tried using a Graphic card on Freescale MPC837x-rdb board? If so I appreciate any hints and information that I can use. Many thanks in advance, Bizhan [-- Attachment #2: Type: text/html, Size: 826 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Graphic Card on Freescale MPC837x-rdb 2008-06-24 17:17 Graphic Card on Freescale MPC837x-rdb Bizhan Gholikhamseh (bgholikh) @ 2008-06-24 17:32 ` Kumar Gala 2008-06-24 22:32 ` Benjamin Herrenschmidt 2008-06-25 7:37 ` Anatolij Gustschin 1 sibling, 1 reply; 5+ messages in thread From: Kumar Gala @ 2008-06-24 17:32 UTC (permalink / raw) To: Bizhan Gholikhamseh; +Cc: linuxppc-dev, linuxppc-embedded On Jun 24, 2008, at 12:17 PM, Bizhan Gholikhamseh (bgholikh) wrote: > HI all, > Has anyone tried using a Graphic card on Freescale MPC837x-rdb > board? If so I appreciate any hints and information that I can use. Nope, but you'll most likely need some form of x86 emulation for the video bios init. - k ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Graphic Card on Freescale MPC837x-rdb 2008-06-24 17:32 ` Kumar Gala @ 2008-06-24 22:32 ` Benjamin Herrenschmidt 0 siblings, 0 replies; 5+ messages in thread From: Benjamin Herrenschmidt @ 2008-06-24 22:32 UTC (permalink / raw) To: Kumar Gala; +Cc: linuxppc-dev, Bizhan Gholikhamseh, linuxppc-embedded On Tue, 2008-06-24 at 12:32 -0500, Kumar Gala wrote: > On Jun 24, 2008, at 12:17 PM, Bizhan Gholikhamseh (bgholikh) wrote: > > > HI all, > > Has anyone tried using a Graphic card on Freescale MPC837x-rdb > > board? If so I appreciate any hints and information that I can use. > > Nope, but you'll most likely need some form of x86 emulation for the > video bios init. Yup. There's something in u-boot, though I don't know how well it works with newer cards. if it's based on x86emu tho, it might be worth looking at backporting some of the recent fixes/additions (such as bswap and rtdsc instructions support) to it. Once you get the card bootstrapped... I've been working lately with Dave Airlie to get the X radeon driver work on powerpc (ie endian fixes) on r5xx and r6xx cards. It should already work with older cards. The new cards use some "interesting" interface to various tables & pseudo-code scripts in the cards ROM (called AtomBios) and the code for that, contributed by ATI, has serious endian bugs which I'm working on fixing as we speak. For nvidia, you can use the free "nv" driver which provides some level of 2D acceleration and mode setting but no more. Or you may want to try the reverse engineered "nouveau" drivers whose level of features might or might not suit you depending on what you need and what card model you have. There's some work on getting recent XGI cards (such has XP 10) to work as well, though there are still issues with the driver. It mostly depends on what features you need. If you can get ATI to sell you an "embedded" chip using one of their old families (r1xx/2xx or even 3xx) it's likely to just work provided you can bootstrap it. Finally, in the ATI case (and to some extend nVidia but I don't know how well that works), the card can also be bootstrapped without an x86 BIOS emulation using some of those "scripts" in the ROM. This should be working with the ATI AtomBios (r5xx/6xx) once I'm done with it, and we have some code for older ATI BIOSes too but I haven't tried it and so it might well not work (it's more tricky for various reasons). This code can fairly easily be pulled out of the X server if you want your firmware to be able to bootstrap the cards earlier. I have no info about other card vendors. Cheers, Ben. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Graphic Card on Freescale MPC837x-rdb 2008-06-24 17:17 Graphic Card on Freescale MPC837x-rdb Bizhan Gholikhamseh (bgholikh) 2008-06-24 17:32 ` Kumar Gala @ 2008-06-25 7:37 ` Anatolij Gustschin 2008-07-02 13:34 ` Bizhan Gholikhamseh (bgholikh) 1 sibling, 1 reply; 5+ messages in thread From: Anatolij Gustschin @ 2008-06-25 7:37 UTC (permalink / raw) To: Bizhan Gholikhamseh (bgholikh); +Cc: linuxppc-dev, linuxppc-embedded Bizhan Gholikhamseh (bgholikh) wrote: > HI all, > Has anyone tried using a Graphic card on Freescale MPC837x-rdb board? If > so I appreciate any hints and information that I can use. take a look at these patches and info in the readme under: http://www.scitechsoft.com/ftp/snap/linux/videoboot/ it is pretty easy to get them working with older ATI Cards (R2xx) on powerpc. Best regards, Anatolij ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Graphic Card on Freescale MPC837x-rdb 2008-06-25 7:37 ` Anatolij Gustschin @ 2008-07-02 13:34 ` Bizhan Gholikhamseh (bgholikh) 0 siblings, 0 replies; 5+ messages in thread From: Bizhan Gholikhamseh (bgholikh) @ 2008-07-02 13:34 UTC (permalink / raw) To: Anatolij Gustschin; +Cc: linuxppc-dev, linuxppc-embedded > -----Original Message----- > From: Anatolij Gustschin [mailto:agust@denx.de]=20 > Sent: Wednesday, June 25, 2008 12:37 AM > To: Bizhan Gholikhamseh (bgholikh) > Cc: linuxppc-embedded@ozlabs.org; linuxppc-dev@ozlabs.org > Subject: Re: Graphic Card on Freescale MPC837x-rdb >=20 > Bizhan Gholikhamseh (bgholikh) wrote: > > HI all, > > Has anyone tried using a Graphic card on Freescale=20 > MPC837x-rdb board?=20 > > If so I appreciate any hints and information that I can use. >=20 > take a look at these patches and info in the readme under: > http://www.scitechsoft.com/ftp/snap/linux/videoboot/ >=20 > it is pretty easy to get them working with older ATI Cards=20 > (R2xx) on powerpc. >=20 Hi Do I need to change the DT file for add-on graphic cards? Regards, Bizhan=20 > Best regards, > Anatolij >=20 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-02 13:34 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-06-24 17:17 Graphic Card on Freescale MPC837x-rdb Bizhan Gholikhamseh (bgholikh) 2008-06-24 17:32 ` Kumar Gala 2008-06-24 22:32 ` Benjamin Herrenschmidt 2008-06-25 7:37 ` Anatolij Gustschin 2008-07-02 13:34 ` Bizhan Gholikhamseh (bgholikh)
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).