[meta-xilinx] devmem2 accessing AXI (M00_AXI) hangs the board
Giordon Stark
kratsg at gmail.com
Wed Oct 12 05:25:32 PDT 2016
Hi,
I have an image based on zc706 that includes python + devmem2 recipes
root at gfex-prototype2:~# devmem2 -h
/dev/mem opened.
Memory mapped at address 0xb6f36000.
Read at address 0x00000000 (0xb6f36000): 0xE59F0000
I can see devmem2 functioning correctly here. When I access the memory
associated with M00_AXI (see attached screenshot):
root at gfex-prototype2:~# devmem2 0x43c00000 w
/dev/mem opened.
Memory mapped at address 0xb6f5e000.
(hangs)
I wonder if this is because of a failure in the AXI transfer? See attached
image. M00_AXI does not have an entry in my device tree either, but I don't
think that's a problem.
Secondly, if I wanted to write a short C++ script that took advantage of
/dev/mem ala http://www.wiki.xilinx.com/Linux+User+Mode+Pseudo+Driver --
would I just create a recipe that pulls in from a remote file,
cross-compiles it, and just adds it on my board as a binary executable?
[image: image001.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20161012/d22a6ba5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 30764 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20161012/d22a6ba5/attachment.png>
More information about the meta-xilinx
mailing list