Dear Geert,

thanks, i tried your solution, works, i am able to write on the lcd
video memory using mmap() on /dev/mem, but there is still the issue of
refreshing the lcd i am driving.

I tried both msync() and munmap(), screen is not updated. But i can see
the changes on it if i write just after some chars with "echo" on /dev/fb0.

Any suggestion ?

Best Regards
Angelo


>>
>> For this reasons, my idea is to setup 2 or 3 ioctl's at driver level:
>>
>> - one to get memory address (direct memory map)
> 
> That's a bit silly. If your fb_fix_screeninfo.smem_start is correctly filled 
> in,
> an application can already mmap /dev/mem using the smem_start offset.
> That works even on real Linux with MMU.
> 
> On uClinux, the application can just write to the smem_start address,
> without involving mmap(), right?



-- 


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to