ATI Rage XL with no BIOS support
From: Alan Carvalho <hidden>
Date: 2006-02-21 21:29:17
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