03-28-2014 01:14 AM
Do I need to modify the device tree (DTB) to access from Linux to two different BRAMs programmed in the PL? I'm using Zynq, an the access is done through M_AXI_GPx.
I have implemented a ping-pong buffering method in the PL in order to read frames from a camera, but when I try to access to these BRAMs, Linux crashes and I don't know the reason. I use mmap in linux to access to these BRAMs.
03-28-2014 05:56 AM
Have you tried to verify the h/w is working before running the Linux app? I would run something in standalone mode first to verify that the h/w design up and running and working. Or from Linux command line you could use devmem to try to read/write the memory.
The device tree is up to you as it depends on what you're doing. A device driver typically reads the values from the device tree and then would ioremap the address so that it can access the memory. It sounds like right now you may just be using an app to get to the memory.
09-06-2019 10:15 AM