Thread (18 messages) flat view 18 messages, 3 authors, 2008-11-13

Seg fault on any FB write (Epson S1D13A04 on Coldfire running 2.6.25)

From: James Kimble <hidden>
Date: 2008-11-11 01:54:26

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=/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help