Re: Linux-fbdev-devel digest, Vol 1 #1975 - 3 msgs
From: Alan Carvalho <hidden>
Date: 2006-02-22 13:01:12
Hi Jay and Richard, thank you very much. Jay, I can not execute it because may hardware is powerpc (well I am testing it on PC before make it work on ppc), then it don't apply, an option is use x86 emulator, but it is become complicated. Richard, I don't understant very well, what mother board V1? This source code is not generic to work on all mother board? The best option will be contact ATI and ask they about this information, but I don't believe they will supply me :-( Unhappy common video card is bad to use on embedded system because old PC XT legacy. I need a PCI 3.3V video card to use on Lite5200 board, I know Fujitsu Coral P support it, but this board can not be found easy on market. I don't know any other video card that initialize automatic without BIOS support. Att. Alan On 2/22/06, linux-fbdev-devel-request@lists.sourceforge.net < linux-fbdev-devel-request@lists.sourceforge.net> wrote:
Send Linux-fbdev-devel mailing list submissions to linux-fbdev-devel@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel or, via email, send a message with subject or body 'help' to linux-fbdev-devel-request@lists.sourceforge.net You can reach the person managing the list at linux-fbdev-devel-admin@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Linux-fbdev-devel digest..." Today's Topics: 1. ATI Rage XL with no BIOS support (Alan Carvalho) 2. Re: ATI Rage XL with no BIOS support (Jay Cotton) 3. Re: ATI Rage XL with no BIOS support (Richard Smith) --__--__-- Message: 1 Date: Tue, 21 Feb 2006 18:29:05 -0300 From: "Alan Carvalho" <redacted> To: linux-fbdev-devel@lists.sourceforge.net Subject: [Linux-fbdev-devel] ATI Rage XL with no BIOS support Reply-To: linux-fbdev-devel@lists.sourceforge.net ------=_Part_3256_7744977.1140557345070 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, I want use ATI Rage XL on an embedded hardware, I see Linux kernel 2.6.xha= s support to initialize this board although Geert Uytterhoeven say me it will be removed from Linux kernel because it don't work or is broken. Anyway I am using kernel 2.6.12, it have support initialize Rage XL. I do some tests, but it don't work, kernel crash (it just stop) at "aty_st_pll_ct(VCLK0_FB_DIV, 0xDA, par)", I think it is because my board parameters is incorrect. I want know how to found all parameter to struct xl_card_cfg_t (xlinit.c) t= o make my board work? static const struct xl_card_cfg_t { int ref_crystal; // 10^4 Hz int mem_type; int mem_size; u32 mem_cntl; u32 ext_mem_cntl; u32 mem_addr_config; u32 bus_cntl; u32 dac_cntl; u32 hw_debug; u32 custom_macro_cntl; u8 dll2_cntl; u8 pll_yclk_cntl; } This is my board: Vendor: 1002 Device: 4752 0000:01:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) (prog-if 00 [VGA]) Subsystem: ATI Technologies Inc Rage XL Flags: bus master, stepping, medium devsel, latency 32, IRQ 9 Memory at f0000000 (32-bit, non-prefetchable) [size=3D16M] I/O ports at a000 [size=3D256] Memory at f2000000 (32-bit, non-prefetchable) [size=3D4K] Capabilities: [5c] Power Management version 2 Thank you very much, Alan ------=_Part_3256_7744977.1140557345070 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all,<br> I want use ATI Rage XL on an embedded hardware, I see Linux kernel 2.6.x has support to initialize this board although Geert Uytterhoeven say me it will be removed from Linux kernel because it don't work or is broken.<br> <br> Anyway I am using kernel 2.6.12, it have support initialize Rage XL. I do some tests, but it don't work, kernel crash (it just stop) at "aty_st_pll_ct(VCLK0_FB_DIV, 0xDA, par)", I think it is because m= y board parameters is incorrect.<br> <br> I want know how to found all parameter to struct xl_card_cfg_t (xlinit.c) t= o make my board work?<br> <br> static const struct xl_card_cfg_t {<br> int ref_crystal; // 10^4 Hz<br> int mem_type;<br> int mem_size;<br> u32 mem_cntl;<br> u32 ext_mem_cntl;<br> u32 mem_addr_config;<br> u32 bus_cntl;<br> u32 dac_cntl;<br> u32 hw_debug;<br> u32 custom_macro_cntl;<br> u8 dll2_cntl;<br> u8 pll_yclk_cntl;<br> }<br> <br> This is my board:<br> Vendor: 1002<br> Device: 4752<br> 0000:01:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 2= 7) (prog-if 00 [VGA])<br> Subsystem: ATI Technologies Inc = Rage XL<br> Flags: bus master, stepping, med= ium devsel, latency 32, IRQ 9<br> Memory at f0000000 (32-bit, non-= prefetchable) [size=3D16M]<br> I/O ports at a000 [size=3D256]<b= r> Memory at f2000000 (32-bit, non-= prefetchable) [size=3D4K]<br> Capabilities: [5c] Power Managem= ent version 2<br> <br> Thank you very much,<br> <br> Alan<br> <br> <br> <br> ------=_Part_3256_7744977.1140557345070-- --__--__-- Message: 2 Date: Tue, 21 Feb 2006 12:45:38 -0800 From: Jay Cotton <redacted> Subject: Re: [Linux-fbdev-devel] ATI Rage XL with no BIOS support To: linux-fbdev-devel@lists.sourceforge.net Reply-To: linux-fbdev-devel@lists.sourceforge.net Basically you are screwed. There is a way to fix this, but the code is closed source and ATI will not allow it out of there control. So, unless you can read the bios prom into memory and execute the first 1024 bytes in 16bit mode, you will not be able to recover. sorry JC Alan Carvalho wrote:quoted
Hi all, I want use ATI Rage XL on an embedded hardware, I see Linux kernel 2.6.x has support to initialize this board although Geert Uytterhoeven say me it will be removed from Linux kernel because it don't work or is broken. Anyway I am using kernel 2.6.12, it have support initialize Rage XL. I do some tests, but it don't work, kernel crash (it just stop) at "aty_st_pll_ct(VCLK0_FB_DIV, 0xDA, par)", I think it is because my board parameters is incorrect. I want know how to found all parameter to struct xl_card_cfg_t (xlinit.c) to make my board work? static const struct xl_card_cfg_t { int ref_crystal; // 10^4 Hz int mem_type; int mem_size; u32 mem_cntl; u32 ext_mem_cntl; u32 mem_addr_config; u32 bus_cntl; u32 dac_cntl; u32 hw_debug; u32 custom_macro_cntl; u8 dll2_cntl; u8 pll_yclk_cntl; } This is my board: Vendor: 1002 Device: 4752 0000:01:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) (prog-if 00 [VGA]) Subsystem: ATI Technologies Inc Rage XL Flags: bus master, stepping, medium devsel, latency 32, IRQ 9 Memory at f0000000 (32-bit, non-prefetchable) [size=16M] I/O ports at a000 [size=256] Memory at f2000000 (32-bit, non-prefetchable) [size=4K] Capabilities: [5c] Power Management version 2 Thank you very much, Alan-- Jay Cotton Jay.Cotton@sun.com MPK17-2348 x80841 Sun Microsystems Inc. - X11 Server Group Operating Platform Group --__--__-- Message: 3 Date: Tue, 21 Feb 2006 16:53:49 -0600 From: "Richard Smith" <redacted> To: linux-fbdev-devel@lists.sourceforge.net Subject: Re: [Linux-fbdev-devel] ATI Rage XL with no BIOS support Reply-To: linux-fbdev-devel@lists.sourceforge.net T24gMi8yMS8wNiwgQWxhbiBDYXJ2YWxobyA8YWxhbmNhcmJyQGdtYWlsLmNvbT4gd3JvdGU6Cj4g SGkgYWxsLAo+IEkgd2FudCB1c2UgQVRJIFJhZ2UgWEwgb24gYW4gZW1iZWRkZWQgaGFyZHdhcmUs IEkgc2VlIExpbnV4IGtlcm5lbCAyLjYueCBoYXMKPiBzdXBwb3J0IHRvIGluaXRpYWxpemUgdGhp cyBib2FyZCBhbHRob3VnaCBHZWVydCBVeXR0ZXJob2V2ZW4gc2F5IG1lIGl0IHdpbGwKPiBiZSBy ZW1vdmVkIGZyb20gTGludXgga2VybmVsIGJlY2F1c2UgaXQgZG9uJ3Qgd29yayBvciBpcyBicm9r ZW4uCgpZZXAuICBJdCdzIGJyb2tlbiBhbmQgaGFzIGJlZW4gZm9yIHNvbWUgdGltZS4KClRoYXQg Y29kZSB3YXMgb3JnaW5hbGx5IGNyZWF0ZWQgYnkgYSBwZXJzb24gd2l0aCBhIFBDSSBidXMgYW5h bHlzZXIuIApIZSBjYXB0dXJlZCBlYWNoIGFjY2VzcyB0aGUgYmlvcyBtYWRlIHRvIHRoZSB0aGUg Y2FyZCBhbmQgdGhlbiB3cm90ZSBhCmRyaXZlciB0aGF0IHdhcyBlc3NlbnRpYWxseSBhIGJ1bmNo IG9mIElPJ3MgdGhhdCB3b3VsZCBicmluZyB0aGUgY2hpcAp0byBsaWZlLgoKVGhhdCBkcml2ZXIg d2FzIHRoZW4gY29udmVydGVkIGludG8gdGhlIEFUWSBmb3JtYXQgb2YgdGhpbmdzIGZvciAyLjYu eApidXQgSSBkb24ndCBiZWxpZXZlIGl0IGhhcyBldmVyIHdvcmtlZCBzaW5jZSB0aGVuLiAgIEFu ZCBubyBvbmUgaGFzCmV2ZXIgZml4ZWQgaXQuCgo+IEkgd2FudCBrbm93IGhvdyB0byBmb3VuZCBh bGwgcGFyYW1ldGVyIHRvIHN0cnVjdCB4bF9jYXJkX2NmZ190ICh4bGluaXQuYykgdG8KPiBtYWtl IG15IGJvYXJkIHdvcms/CgpTb21ld2hlcmUgaW4gdGhlIGFyY2hpdmVzIChWMSBJIHRoaW5rKSBp cyBhIG1vdGhlciBib2FyZCB0aGF0IGhhcyB0aGUKb3JnaW5hbCB3b3JraW5nIGNvcHkgb2YgeGxp bml0LmMuICBZb3UgY2FuIGFsc28gZ28gZ2V0IGl0IG91dCBvZiB0aGUKMi40Lngga2VybmVsLgoK QW5vdGhlciBvcHRpb24gaXMgdG8gcmVnaXN0ZXIgYXMgYSBkZXZlbG9wZXIgb24gQVRJJ3Mgc2l0 ZSBhbmQgZ2V0IHRoZQpkb2NzIGZvciB0aGUgUmFnZSBYTC4gIFRoYXQgY291cGxlZCB3aXRoIHRo ZSB4bGluaXQuYyBzaG91bGQgYWxsb3cgeW91CmZpeHVwIHlvdXIgcHJvYmxlbXMuCgotLQpSaWNo YXJkIEEuIFNtaXRoCg== --__--__-- _______________________________________________ Linux-fbdev-devel mailing list Linux-fbdev-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel End of Linux-fbdev-devel Digest