This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Accessing the Video Back End in DM365

Hi,

Does one need to write a kernel level driver to access the Video Back End Pins as well?

Thanks in advance.

  • In general you need a kernel level driver to access any hardware peripheral due to the memory protection scheme built into Linux, virtual addresses from the MMU for user space programs prevents a user space application from directly accessing the hardware, so these accesses must be done through a kernel driver which has access to the physical memory map. This is done for security/stability reasons, such that an application in user space cannot easily crash the system by modifying the hardware state or overwriting kernel code, it sort of gives user space applications their own sandbox so even if they lose a pointer or otherwise crash, the kernel does not join them. In the case of the VPBE there is a kernel driver already in place that allows you to display video, so hopefully you can leverage that, or at a minimum modify it for your VPBE display needs.