pm3fb driver is ok in 2.5.24
Hello, ...
I have compiled a 2.5.24 kernel and added the few things needed to make the pm3fb work (basically, i had to patch Config.in and Config.help so i could enable it in the configuration process).
Is there a reason why it was not enabled previously, or is it just forgetting the these two files (which probably did not patch correctly due to the Config.in and Config.help location and format change).
Anyway, it works fine (well as good as with the 2.4.x kernel), there still is problem with the copying of the text console data at bootup, but apart from that everything is fine.
Should i send over a patch for adding it to the Config.xxx files ?
Friendly,
Sven Luther
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 3 lines · Sven Luther
I have compiled a 2.5.24 kernel and added the few things needed to make the pm3fb work (basically, i had to patch Config.in and Config.help so i could enable it in the configuration process).
Could you send me the patch please ?
Quoted 3 lines
Is there a reason why it was not enabled previously, or is it just forgetting the these two files (which probably did not patch correctly due to the Config.in and Config.help location and format change).
I though the old-format drivers wouldn't work so I never bothered submitting for inclusion.
Quoted 5 lines
Anyway, it works fine (well as good as with the 2.4.x kernel), there still is problem with the copying of the text console data at bootup, but apart from that everything is fine.
Should i send over a patch for adding it to the Config.xxx files ?
Please send me the patch, I'll submit them for inclusion
Thanks for the help,
Signature · 10 lines
DOLBEAU Romain | I witness a time and a place that never dies, ENS Cachan / Ker Lann | still frozen in time, this darkness the only Thesard IRISA / CAPS | place that I can hide. I witness, a dream. [email protected]| -- Black Sabbath, 'I Witness' ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 7 lines
Quoted 5 lines
still is problem with the copying of the text console data at bootup, but apart from that everything is fine.
Should i send over a patch for adding it to the Config.xxx files ?
Please send me the patch, I'll submit them for inclusion
Good news. I already included Config.help and Config.in entries for the PM3 driver. As a note please consider porting it over to the new fbgen api. I'm going to removal the old fbgen code soon.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 3 lines · James Simmons
Good news. I already included Config.help and Config.in entries for the PM3 driver. As a note please consider porting it over to the new fbgen api. I'm going to removal the old fbgen code soon.
It's on my TODO list, and has been for months. But I still can't get 2.5.x to compile, much less work, on my PPC box. So there's not much I can do ATM.
Signature · 10 lines
DOLBEAU Romain | Who'd believe we'd spend more ENS Cachan / Ker Lann | Shippin' drugs and guns Thesard IRISA / CAPS | Than to educate our sons? [email protected] | -- Megadeth, 'Youthanasia' ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 10 lines · James Simmons
Quoted 7 lines
Quoted 5 lines
still is problem with the copying of the text console data at bootup, but apart from that everything is fine.
Should i send over a patch for adding it to the Config.xxx files ?
Please send me the patch, I'll submit them for inclusion
Good news. I already included Config.help and Config.in entries for the PM3 driver. As a note please consider porting it over to the new fbgen
nice :)))
Quoted 1 line
api. I'm going to removal the old fbgen code soon.
how soon, and is there documentation or sample code for the changed api ?
BTW, i suppose now it will be easier to implement dual head with a dual output board ?
Friendly,
Sven Luther
Quoted 1 line
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 4 lines · Sven Luther
Quoted 1 line
api. I'm going to removal the old fbgen code soon.
how soon, and is there documentation or sample code for the changed api ?
According from a recent message by James Simmons on LKML:
Quoted 3 lines
Note I removed the old fbgen stuff so some drivers are going to
break. Well with time running out I need to push ahead. Sorry but I have to choose.
So pm3fb won't work anymore I guess (due to the ultimate brokenness of linux on PowerPC I haven't yet ported pm3fb to the new API).
Signature · 10 lines
DOLBEAU Romain | Nothing is real but the way that I feel ENS Cachan / Ker Lann | And I feel like going down, down, down Thesard IRISA / CAPS | -- Rainbow, [email protected] | 'Self Portrait' ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 7 lines · Romain Dolbeau
Quoted 4 lines · Sven Luther
Quoted 1 line
api. I'm going to removal the old fbgen code soon.
how soon, and is there documentation or sample code for the changed api ?
Quoted 8 lines
According from a recent message by James Simmons on LKML:
Quoted 3 lines
Note I removed the old fbgen stuff so some drivers are going to
break. Well with time running out I need to push ahead. Sorry but I have to choose.So pm3fb won't work anymore I guess (due to the ultimate brokenness of linux on PowerPC I haven't yet ported pm3fb to the new API).
But it works fine right now on linus's 2.5.24, with the above sent patch.
But it does need porting, i guess.
Friendly,
Sven Luther
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 3 lines
So pm3fb won't work anymore I guess (due to the ultimate brokenness of linux on PowerPC I haven't yet ported pm3fb to the new API).
Have you tried the BK ppc tree for 2.5.X? Dose it work? I noticed there were some updates just a few hours ago.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
Quoted 6 lines · James Simmons
Quoted 3 lines
So pm3fb won't work anymore I guess (due to the ultimate brokenness of linux on PowerPC I haven't yet ported pm3fb to the new API).
Have you tried the BK ppc tree for 2.5.X? Dose it work? I noticed there were some updates just a few hours ago.
My usual tree (BenH) has a 2.5 variant, locked a 2.5.8pre3... I'm willing to try another one, but I'm still disapointed that regular Linus kernel can't even compile main.c on PPC.
Just tried: all rsync access seems locked on 2.5.8pre3, and of course debian doesn't have bitkeeper in packages. And bitkeeper download site isn't really user-friendly (guess the "let's register yourself before download" attitude explain why it's not in debian, and not on my system either).Xorsis (ppckernel.org) has nothing beyond 2.4 ATM.
Well, I'm still waiting for an accessible, ppc-usable 2.5.[something big enough] before I can port pm3fb.
Signature · 10 lines
DOLBEAU Romain | Who'd believe we'd spend more ENS Cachan / Ker Lann | Shippin' drugs and guns Thesard IRISA / CAPS | Than to educate our sons? [email protected] | -- Megadeth, 'Youthanasia' ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Bringing you mounds of caffeinated joy. http://thinkgeek.com/sf
Quoted 2 lines · Romain Dolbeau
Well, I'm still waiting for an accessible, ppc-usable 2.5.[something big enough] before I can port pm3fb.
For accessibility, try rsync source.mvista.com::linuxppc-2.5 .
Don't know about usability yet though. :)
Signature · 9 lines
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 7 lines · Michel Dänzer
Quoted 2 lines · Romain Dolbeau
Well, I'm still waiting for an accessible, ppc-usable 2.5.[something big enough] before I can port pm3fb.
For accessibility, try rsync source.mvista.com::linuxppc-2.5 .
It's the one I tried, last time I checked (around 2.5.23), it was still in 2.5.8pre3 (i.e., w/o the new framebuffer layer).
Thanks for the tip anyway, I'll try it again, just in case.
Signature · 10 lines
DOLBEAU Romain | For a hill, men would kill, ENS Cachan / Ker Lann | Why ? They do not know. Thesard IRISA / CAPS | -- Metallica, [email protected] | 'For Whom The Bell Tolls' ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 11 lines · Romain Dolbeau
Quoted 7 lines · Michel Dänzer
Quoted 2 lines · Romain Dolbeau
Well, I'm still waiting for an accessible, ppc-usable 2.5.[something big enough] before I can port pm3fb.
For accessibility, try rsync source.mvista.com::linuxppc-2.5 .
It's the one I tried, last time I checked (around 2.5.23), it was still in 2.5.8pre3 (i.e., w/o the new framebuffer layer).
It's at 2.5.30 now at least.
Signature · 9 lines
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 1 line · Michel Dänzer
It's at 2.5.30 now at least.
Thanks, but this doesn't help: beside the not really needed serial ports and floppy drive, the SCSI drivers also don't compile. And this box has no IDE channel.
It's better than it once was, but it still 2.4.x only for me :-(
Thanks for the help,
Signature · 10 lines
DOLBEAU Romain | I tell you to enjoy life, ENS Cachan / Ker Lann | I wish I could Thesard IRISA / CAPS | but it's too late. [email protected] | -- Black Sabbath, 'Paranoid' ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 4 lines · Romain Dolbeau
Thanks, but this doesn't help: beside the not really needed serial ports and floppy drive, the SCSI drivers also don't compile. And this box has no IDE channel.
Good news: Only 53c94 doesn't compile, but MESH is OK,
and linux is on the internal bus (w/ MESH)
Bad news: arch/ppc/kernel/process.c doesn't compile.
So the conlusion stand: 2.4.x only for my box ATM
Signature · 10 lines
DOLBEAU Romain | I witness a time and a place that never dies, ENS Cachan / Ker Lann | still frozen in time, this darkness the only Thesard IRISA / CAPS | place that I can hide. I witness, a dream. [email protected]| -- Black Sabbath, 'I Witness' ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 5 lines
Quoted 2 lines
api. I'm going to removal the old fbgen code soon.
how soon, and is there documentation or sample code for the changed api ?
In the next few days. Take a look at several drivers that have been ported over. Plus take a look at skeletonfb.c. It details alot. If you have furthur questions feel free to ask.
Quoted 2 lines
BTW, i suppose now it will be easier to implement dual head with a dual output board ?
Yes :-) ON struct fb_info for each framebuffer and a struct xxx_par for the hardware. In this case your xxx_par struct would be shared betweem each struct fb_info.
Quoted 6 lines
Friendly,
Sven Luther
Quoted 1 line
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
Quoted 9 lines · James Simmons
Quoted 5 lines
Quoted 2 lines
api. I'm going to removal the old fbgen code soon.
how soon, and is there documentation or sample code for the changed api ?
In the next few days. Take a look at several drivers that have been ported over. Plus take a look at
skeletonfb.c. It details alot. If you have furthur questions feel free to ask.
Well, the only problem is that i don't have much time :(((
But i will have a look at it.
do i need to get the bk tree, or can i start working with the 2.5.24 linus tree i now have ?
Maybe there is a patch available somewhere ?
Quoted 6 lines
Quoted 2 lines
BTW, i suppose now it will be easier to implement dual head with a dual output board ?
Yes :-) ON struct
fb_infofor each framebuffer and a structxxx_parfor the hardware. In this case yourxxx_parstruct would be shared betweem each structfb_info.
:)))
Friendly,
Sven Luther
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
Quoted 11 lines
Quoted 4 lines
In the next few days. Take a look at several drivers that have been ported over. Plus take a look at
skeletonfb.c. It details alot. If you have furthur questions feel free to ask.Well, the only problem is that i don't have much time :(((
But i will have a look at it.
do i need to get the bk tree, or can i start working with the 2.5.24 linus tree i now have ?
You can use Linus tree now.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
Quoted 7 lines · Romain Dolbeau
Quoted 3 lines · Sven Luther
I have compiled a 2.5.24 kernel and added the few things needed to make the pm3fb work (basically, i had to patch Config.in and Config.help so i could enable it in the configuration process).
Could you send me the patch please ?
Ok, but they are triviel (attached here ...)
Quoted 6 lines
Quoted 3 lines
Is there a reason why it was not enabled previously, or is it just forgetting the these two files (which probably did not patch correctly due to the Config.in and Config.help location and format change).
I though the old-format drivers wouldn't work so I never bothered submitting for inclusion.
:)))
Quoted 7 lines
Quoted 5 lines
Anyway, it works fine (well as good as with the 2.4.x kernel), there still is problem with the copying of the text console data at bootup, but apart from that everything is fine.
Should i send over a patch for adding it to the Config.xxx files ?
Please send me the patch, I'll submit them for inclusion
Ok, ...
Friendly,
Sven Luther
drivers/video/Config.in renamed from drivers/video/Config.in.orig +1 -0
@@ -22,6 +22,7 @@ bool ' Phase5 CVisionPPC/BVisionPPC support' CONFIG_FB_PM2_CVPPC fi fi + tristate ' Permedia3 support (EXPERIMENTAL)' CONFIG_FB_PM3 fi fi if [ "$CONFIG_ARM" = "y" ]; then
drivers/video/Config.help renamed from drivers/video/Config.help.orig +6 -0
@@ -68,6 +68,12 @@ Say Y to enable support for the Amiga Phase 5 CVisionPPC BVisionPPC framebuffer cards. Phase 5 is no longer with us, alas. +CONFIG_FB_PM3 + This is the frame buffer device driver for the 3DLabs Permedia3 + chipset, used in Formac ProFormance III, 3DLabs Oxygen VX1 & + similar boards, 3DLabs Permedia3 Create!, Appian Jeronimo 2000 + and maybe other boards. + CONFIG_FB_AMIGA This is the frame buffer device driver for the builtin graphics chipset found in Amigas.