Radeon 9000 on a linux 2.4.18 kernel.
Hello, ...
I am trying to use a Radeon 9000 on my pegasos board, and had the same success with it as with the matrox millenium II i used previously. Well, it is even worse, since radeonfb doesn't even output a bit in the boot log.
After a bit of thinking, i realize that this is quite normal, sine i have to use a 2.4.18 kernel, which knows nothing of the Radeon 9000, since it did not exist at that time.
So, my questions are :
1) is it ok to just add the Radeon 9000 pci ids and whatever to the 2.4.28 kernel and hope it works. (Maybe not, but then the Radeon 9000 and the Radeon 8500 are supposed to be really similar).
2) Does anyone know how to check the pci ids of such a card from OF ?
3) Are the 2.5.x kernel working on powerpc, and if yes, is the radeonfb driver ported ?
Friendly,
Sven Luther
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 1 line · Sven Luther
2) Does anyone know how to check the pci ids of such a card from OF ?
dev /<path_to_device> (use dev' and ls' to find out) .properties
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 5 lines · Geert Uytterhoeven
Quoted 1 line · Sven Luther
2) Does anyone know how to check the pci ids of such a card from OF ?
dev /<path_to_device> (use
dev' andls' to find out) .properties
Ok, thanks, will try, it is much easier (i guess) than blindly typing stuff in the the display less linux, and moving the disk (and the pci scsi card) between boxes. I already broke a pin of the vga connector attached to my monitor by doing this and had to buy a new monitor.
Friendly,
Sven Luther
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 11 lines · Sven Luther
Quoted 5 lines · Geert Uytterhoeven
Quoted 1 line · Sven Luther
2) Does anyone know how to check the pci ids of such a card from OF ?
dev /<path_to_device> (use
dev' andls' to find out) .propertiesOk, thanks, will try, it is much easier (i guess) than blindly typing stuff in the the display less linux, and moving the disk (and the pci scsi card) between boxes. I already broke a pin of the vga connector attached to my monitor by doing this and had to buy a new monitor.
Serial console is still not working?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 8 lines · Geert Uytterhoeven
Quoted 7 lines · Sven Luther
Quoted 5 lines · Geert Uytterhoeven
Quoted 1 line · Sven Luther
2) Does anyone know how to check the pci ids of such a card from OF ?
dev /<path_to_device> (use
dev' andls' to find out) .properties
Quoted 6 lines
Quoted 4 lines
Ok, thanks, will try, it is much easier (i guess) than blindly typing stuff in the the display less linux, and moving the disk (and the pci scsi card) between boxes. I already broke a pin of the vga connector attached to my monitor by doing this and had to buy a new monitor.
Serial console is still not working?
Yes, for boot log output, but it hangs after i get the first debian screen. I guess it is a problem with the the debian boot floppies i use, i think i should create a root partition with a serial console enabling inittab, or something such, i didn't had time to work much at this right now though.
Friendly,
Sven Luther
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 11 lines · Sven Luther
Hello, ...
I am trying to use a Radeon 9000 on my pegasos board, and had the same success with it as with the matrox millenium II i used previously. Well, it is even worse, since radeonfb doesn't even output a bit in the boot log.
After a bit of thinking, i realize that this is quite normal, sine i have to use a 2.4.18 kernel, which knows nothing of the Radeon 9000, since it did not exist at that time.
Quoted 5 lines
So, my questions are :
1) is it ok to just add the Radeon 9000 pci ids and whatever to the 2.4.28 kernel and hope it works. (Maybe not, but then the Radeon 9000 and the Radeon 8500 are supposed to be really similar).
Mmm, i got the info from the 2.5.x radeonfb, and added it to the 2.4.18 radeonfb (just the pll thingies and the chip detection, as i didn't see anything else specific in the 2.5.X radeonfb.c).
but the kernel dies with :
Oops: kernel access of bad area, sig: 11 NIP: C012DD40 XER: 20000000 LR: C012DD40 SP: C07F7E90 REGS: c07f7de0 TRAP:
0300 Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000000, DSISR: 40000000
TASK = c07f6000[1] 'swapper' Last syscall: 120
last math 00000000 last altivec 00000000
GPR00: C012DD40 C07F7E90 C07F6000 00000000 C01E1DF0 C02ADF4C C07DA299 00000003
GPR08: C01E1AC4 00000001 00000006 00000000 82002022 FFFC507C 00000034 00000014
GPR16: FFFFFFFF FDFFFDF7 FFFFDFFF FFFFFFFF 003FF000 C07DA299 00EFFF48 00EFFF4C
GPR24: 00000000 002AF8FC 40010000 C07DA288 C07EC000 C07DA000 C07EC000 C07DA000 Call backtrace:
C012DD40 C012D364 C012CD9C C0122598 C012262C C023EF64 C023E114 C0236294 C02267B0 C02267FC C0003F1C C0006AB4
the call trace corresponds to :
radeon_read_OFradeon_get_pllinforadoenfb_pci_register
...
I suppose there is something wrong with the data passed from OF, but may be wrong. I will now try to dump the content of the OF that is created by the kernel in the begining, just to check it is ok. Any hint on how to best do this ?
Friendly,
Sven Luther
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Try patching your 2.4.18 with
http://gate.crashing.org/~ajoshi/radeonfb-0.1.6.diff.gz
(I forget which kernel I made this diff against, but it shouldn't complain much.)
ani
Quoted 29 lines · Sven Luther
Hello, ...
I am trying to use a Radeon 9000 on my pegasos board, and had the same success with it as with the matrox millenium II i used previously. Well, it is even worse, since radeonfb doesn't even output a bit in the boot log.
After a bit of thinking, i realize that this is quite normal, sine i have to use a 2.4.18 kernel, which knows nothing of the Radeon 9000, since it did not exist at that time.
So, my questions are :
1) is it ok to just add the Radeon 9000 pci ids and whatever to the 2.4.28 kernel and hope it works. (Maybe not, but then the Radeon 9000 and the Radeon 8500 are supposed to be really similar).
2) Does anyone know how to check the pci ids of such a card from OF ?
3) Are the 2.5.x kernel working on powerpc, and if yes, is the radeonfb driver ported ?
Friendly,
Sven Luther
Quoted 9 lines
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 7 lines · Ani Joshi
Try patching your 2.4.18 with
http://gate.crashing.org/~ajoshi/radeonfb-0.1.6.diff.gz
(I forget which kernel I made this diff against, but it shouldn't complain much.)
It is a diff against 2.4.20, but i managed to apply the needed changes from 2.4.18->2.4.19->2.4.20, so it didn't complain much. Still, there were some stuff missing, but i think i got it right.
Anyway i built the kernel and launched it, it now recognize my radeon 9000, but my DVI connected monitor complains about wrong timings (it say 18,5KHz & 23Hz, which is not supported by the monitor). Anyway, here is the relevant output :
radeonfb: ref_clk=2700, ref_div=12, xclk=25000 defaults
radeonfb: detected DFP panel size from registers: 1024x768
Console: switching to colour frame buffer device 80x30
radeonfb: ATI Radeon 9000 If DDR SGRAM 64 MB
radeonfb: DVI port DFP monitor connected
radeonfb: CRT port no monitor connected
Tell me if another part of the log is needed.
I will try connecting a analog monitor and see what happens.
Friendly,
Sven Luther
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 3 lines
3) Are the 2.5.x kernel working on powerpc, and if yes, is the radeonfb driver ported ?
Yes and yes to the last time I checked.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Quoted 5 lines · James Simmons
Quoted 3 lines
3) Are the 2.5.x kernel working on powerpc, and if yes, is the radeonfb driver ported ?
Yes and yes to the last time I checked.
:)))
Now, i only need that the POP patches are ported to 2.5.x.
Friendly,
Sven Luther
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com