linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Seg fault on any FB write (Epson S1D13A04 on Coldfire running 2.6.25)
@ 2008-11-11  1:54 James Kimble
  2008-11-11  9:57 ` Hinko Kocevar
  2008-11-11 18:50 ` Seg fault on any FB write (Epson S1D13A04 on " Kristoffer Ericson
  0 siblings, 2 replies; 18+ messages in thread
From: James Kimble @ 2008-11-11  1:54 UTC (permalink / raw)
  To: linux-fbdev-devel


I've been working on porting the s1d13xxxfb driver from the latest 
kernel from Freescale for Coldfire to work with the S1D13A04 chip. I was 
able to get things working to the point that I do get a little TUX logo 
up on the screen at boot up. Seemed like a good start but none of my 
user space applications will work. I can open the /dev/fb0 device and 
the data in the info structure is correct but if I try to write to any 
register or area in the frame buffer (or write to the device at all) I 
get a seg fault.

I had an earlier driver working with the 2.6.10 kernel with the same 
hardware. The same application space program should work ( I would 
think...) but I get the seg fault on the first write to fb0. I tried a 
different memory location (ox4400 0000 to 0x7400 0000) for the CS 
associated with the video  chip, no  difference. Permissions for 
/dev/fb0 are "rw". No other process using fb0. This is really weird.

Any help or suggestions MUCH appreciated.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-11-13 10:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11  1:54 Seg fault on any FB write (Epson S1D13A04 on Coldfire running 2.6.25) James Kimble
2008-11-11  9:57 ` Hinko Kocevar
2008-11-11 14:50   ` Seg fault on any FB write (Epson S1D13A04on " jkimble
2008-11-11 15:04     ` Hinko Kocevar
2008-11-11 16:10       ` Seg fault on any FB write (Epson S1D13A04onColdfire " jkimble
2008-11-12  8:25         ` Hinko Kocevar
2008-11-12 15:52           ` jkimble
2008-11-13  4:47           ` James Kimble
2008-11-13  8:50             ` Hinko Kocevar
2008-11-13 11:55               ` Kristoffer Ericson
2008-11-11 18:52       ` Seg fault on any FB write (Epson S1D13A04on Coldfire " Kristoffer Ericson
2008-11-11 18:02         ` Seg fault on any FB write (Epson S1D13A04onColdfire " jkimble
2008-11-11 19:14           ` Kristoffer Ericson
2008-11-11 18:20             ` jkimble
2008-11-11 19:29               ` Kristoffer Ericson
2008-11-12  8:34         ` Seg fault on any FB write (Epson S1D13A04on Coldfire " Hinko Kocevar
2008-11-11 15:06     ` jkimble
2008-11-11 18:50 ` Seg fault on any FB write (Epson S1D13A04 on " Kristoffer Ericson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).