From: James S. <jsi...@tr...> - 2001-06-19 19:24:43
|
Hi! I have a patch that provides a wrapper for the new api avaliable for download. http://www.transvirtual.com/~jsimmons/newapi.diff.gz. It is quite big. Pretty much it has a second generation of fbgen. Actually I was thinking was if we could actually change fbgen gradually over ot the new api this would be a better approach. I need to work with the people how wrote fbdev using fbgen. So please step forward. |
From: Romain D. <do...@ir...> - 2001-06-20 07:27:16
|
James Simmons wrote: > I have a patch that provides a wrapper for the new api avaliable for > download. http://www.transvirtual.com/~jsimmons/newapi.diff.gz. It is > quite big. Pretty much it has a second generation of fbgen. Actually I was > thinking was if we could actually change fbgen gradually over ot the new > api this would be a better approach. I need to work with the people how > wrote fbdev using fbgen. So please step forward. I understand this wrapper allow a Runy-ified driver to be used under k2ernel 2.4 ? THat would be cool. pm3fb use fbgen. I'll port as soon as it's possible (I need a ppc- compatible 2.4.5+ kernel before being able to test it). I can add testing of this wrapper on my TODO list... -- DOLBEAU Romain | l'histoire est entierement vraie, puisque ENS Cachan / Ker Lann | je l'ai imaginee d'un bout a l'autre do...@ir... | -- Boris Vian |
From: Romain D. <do...@ir...> - 2001-06-21 15:11:16
|
Romain Dolbeau wrote: > pm3fb use fbgen. I'll port as soon as it's possible (I need a ppc- > compatible 2.4.5+ kernel before being able to test it). I can BenH just updated his tree to 2.4.6pre3 Unfortunately Ruby won't work, there's structural change in linux/rch/ppc/boot (everything in subdirectory) and the Ruby Makefile barf... (sigh) So Ruby+ppc+pm3 will have to wait a bit more :-( -- DOLBEAU Romain | l'histoire est entierement vraie, puisque ENS Cachan / Ker Lann | je l'ai imaginee d'un bout a l'autre do...@ir... | -- Boris Vian |
From: James S. <jsi...@tr...> - 2001-06-21 21:08:10
|
> Romain Dolbeau wrote: > > > pm3fb use fbgen. I'll port as soon as it's possible (I need a ppc- > > compatible 2.4.5+ kernel before being able to test it). I can > > BenH just updated his tree to 2.4.6pre3 > > Unfortunately Ruby won't work, there's structural change in > linux/rch/ppc/boot (everything in subdirectory) and the Ruby > Makefile barf... (sigh) > > So Ruby+ppc+pm3 will have to wait a bit more :-( The patch I have at my web site should work. As for ruby against ppc I haven't had the change to sync it up. Especially since the ppc tree is one of the most complex trees. I'm just getting around to having it work with the arm tree. |
From: Scott A M. <sam...@co...> - 2001-06-26 18:09:18
|
James Simmons wrote: > I have a patch that provides a wrapper for the new api avaliable for > download. http://www.transvirtual.com/~jsimmons/newapi.diff.gz. It is > quite big. Pretty much it has a second generation of fbgen. Actually I was > thinking was if we could actually change fbgen gradually over ot the new > api this would be a better approach. I need to work with the people how > wrote fbdev using fbgen. So please step forward. > I just upgraded to Ralph's Mips 2.4.5 tree. My console on fb appears to be working... I have a simple program that maps a frame buffer into user space and draws an image onto the fb. This program worked fine under 2.4.3 however under 2.4.5 the program runs but nothing appears on the FB. The memory I am writing to does not appear to be the frame buffer. I assume this is the result of the API change? X cause the kernel to lock with no messages I assume because of the same API change. Will the above link be of use to me or should I start with: >We have started a secondary tree for linux mips. This tree will >be to SGI mips tree as Alan Cox's tree is to linus branch. We will test >and play with "experimental patches" and then in time hand them off to the >main branch Ralf Baechle maintains. Also one of the main reasons for this >branch was to unite several of the mips trees into one place. Anyones >patches (if good) are welcomed. The site is > >http://www.sf.net/projects/linux-mips Thanks for any guidance -- Scott A. McConnell |
From: James S. <jsi...@tr...> - 2001-06-26 18:39:12
|
> I just upgraded to Ralph's Mips 2.4.5 tree. > > My console on fb appears to be working... Do a cat /dev/urandom > /dev/fb0. If this works then the driver works and somehow the mips tree broke mmap. > I assume this is the result of the API change? The api changes went in months ago. The wrapper doesn't touch the fbdev internals. It just acts as a brigde between both apis. BTW it hasn't gone in to my knowledge. > >http://www.sf.net/projects/linux-mips So I see you are playing with the secondary mips tree :-) |
From: Sven L. <lu...@dp...> - 2001-06-27 08:19:57
|
On Tue, Jun 26, 2001 at 01:13:10PM -0700, Scott A McConnell wrote: > James Simmons wrote: > > > I have a patch that provides a wrapper for the new api avaliable for > > download. http://www.transvirtual.com/~jsimmons/newapi.diff.gz. It is > > quite big. Pretty much it has a second generation of fbgen. Actually I was > > thinking was if we could actually change fbgen gradually over ot the new > > api this would be a better approach. I need to work with the people how > > wrote fbdev using fbgen. So please step forward. > > > > I just upgraded to Ralph's Mips 2.4.5 tree. > > My console on fb appears to be working... > > I have a simple program that maps a frame buffer into user space and > draws an image onto the fb. > > This program worked fine under 2.4.3 however under 2.4.5 the program > runs but nothing appears on the FB. The memory I am writing to does not > appear to be the frame buffer. > > I assume this is the result of the API change? James, ... maybe you should include such a little programm using the new API, or something such ? Friendly Sven Luther |
From: James S. <jsi...@tr...> - 2001-06-27 16:29:46
|
> > I assume this is the result of the API change? > > James, ... > > maybe you should include such a little programm using the new API, or > something such ? The problem is from a bug in mmap on the mips platform. The "new" api is internal to the kernel. Userland doesn't see any changes. I will post fbgen2 today. |