Tool/software: Linux
I'm trying to figure out how I can expose the memory from the carveouts to userspace on the Linux side in a way that a non-root user would be able to access it.
For background, I have a (working) project for reading an 8-bit parallel interface camera that I originally wrote using UIOPRUSS. I decided to take the plunge and work through the remoteproc documentation to see if I could move to that. I didn't want to use rpmsg, because I doubted it could handle the data velocity (320 x 240 x 24bit color x 15 frames per second = 3,456,000 bytes, roughly 3MB a second). I discovered carveouts in the resource table headers, and thought this was excellent since it was much like how I was already doing it with UIOPRUSS. It works and simplifies the code greatly, but I have to use debugfs to get the carveout location to mmap to, which seems less than ideal. I would also prefer not to have to modify any existing drivers (like remoteproc), although I would be fine with writing additional drivers.