cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dupont.louis
Observer
Observer
4,491 Views
Registered: ‎04-07-2013

AXi/Bitsteam status from user space

Jump to solution

PL is not configured by default on my platform. A given bitstream is pushed to the PL upon user request through /dev/xdevcfg. The AXI peripherals are mapped through /dev/mem on user space memory. However if the user attemps to perform a AXI access while the PL is not configured the system will freeze. What would be the proper way to assert that the PL is configured or that a given address is accessible through the AXI bus? Thanks.

 

 

0 Kudos
Reply
1 Solution

Accepted Solutions
rfs613
Scholar
Scholar
7,744 Views
Registered: ‎05-28-2013
To check the programming status ("DONE" bit), you can read from /sys/devices/amba.0/f8007000.ps7-dev-cfg/prog_done, it will be "1" when the PL is loaded successfully.

See also http://www.wiki.xilinx.com/Programming+the+Programmable+Logic

View solution in original post

0 Kudos
Reply
2 Replies
rfs613
Scholar
Scholar
7,745 Views
Registered: ‎05-28-2013
To check the programming status ("DONE" bit), you can read from /sys/devices/amba.0/f8007000.ps7-dev-cfg/prog_done, it will be "1" when the PL is loaded successfully.

See also http://www.wiki.xilinx.com/Programming+the+Programmable+Logic

View solution in original post

0 Kudos
Reply
dupont.louis
Observer
Observer
4,470 Views
Registered: ‎04-07-2013

Thanks. Actually in /sys/devices/soc0/amba/f8007000.devcfg/prog_done with the latest kernel.

0 Kudos
Reply