hello,

I've implemented a simple framebuffer, but I've got no idea how to test it.

I've got Alan's rki and I made a sample to test the mailbox, the framebuffer 
information seems to be successfully set and get (width, height, pitch, buffer 
pointer, buffersize etc). In linux we open the interface and map the pointer to 
set the pixels. If I try to access the pointer and set the memory directly in 
the driver to draw something, the program will stay still when I try to assign 
value to a certain address of memory, or maybe it's only allowed to use memset/ 
memcpy to set the memory?

I've also tried to load the driver and open it ( /dev/fb0 ) with "open", but it failed, 
while I can see the interface with "ls /dev ".

In order to test the framebuffer, how can I use the fb interface to print 
something, or maybe access the memory directly? Is there any existing sample 
for fb testing? If not, is it necessary to create a common sample for all to 
print something?

Regards

YANG QIAO
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to