Re: m68k: trying accessing fb memory

angelo <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
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
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.