Hey,
I found the 'PRU bridge' as well as 'PRUSS support for newer kernels' ideas very interesting. I have good knowledge of C and a know a substantial know-how of linux kernel programming and device trees ( I have been reading up on these as well as PRU speak). I have worked with embedded systems and would like to suggest a thing or two. Please correct me if I am moving towards the wrong direction. As given under 'PRU Bridge' idea, the PRU will be in an event loop listening for events. Since we are trying to streamline communication between ARM and PRU, isn't an event loop similar to polling for data written in the shared memory. This would more or less dedicate one PRU entirely for communication and leave us with one for the actual program.
Instead we can write a C library for PRU with functions such as mem_read( ) and mem_write( ) which are called when the PRU programmer requires data to be read or written to or from the shared memory. Further we can have flags in the shared memory which can be set by the linux driver and checked/cleared by the PRU to see if data has been written/read. Please discuss if I am incorrect.
Shubhangi Gupta
Indian Institute of Technology, Varanasi
Electrical engineering
--
You received this message because you are subscribed to the Google Groups "BeagleBoard GSoC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard-gs...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey,
I found the 'PRU bridge' as well as 'PRUSS support for newer kernels' ideas very interesting. I have good knowledge of C and a know a substantial know-how of linux kernel programming and device trees ( I have been reading up on these as well as PRU speak). I have worked with embedded systems and would like to suggest a thing or two. Please correct me if I am moving towards the wrong direction. As given under 'PRU Bridge' idea, the PRU will be in an event loop listening for events. Since we are trying to streamline communication between ARM and PRU, isn't an event loop similar to polling for data written in the shared memory. This would more or less dedicate one PRU entirely for communication and leave us with one for the actual program. Instead we can write a C library for PRU with functions such as mem_read( ) and mem_write( ) which are called when the PRU programmer requires data to be read or written to or from the shared memory. Further we can have flags in the shared memory which can be set by the linux driver and checked/cleared by the PRU to see if data has been written/read. Please discuss if I am incorrect.