Hi David,

The probeXilinxUsb and loadBitStream scripts should do what you want, assuming you have the usb cable connected and the xilinx usb stuff installed properly.

Note, per the doc, you must flash the first bitstream. After that probeXilinxUsb and loadBitStream work fine.
We haven't scripted the flashing yet, but the doc explains it.

Jim






On 1/16/12 5:41 PM, David Kusinsky wrote:
Hi Jim,

I had testRpl working in the past, but we've cloned the latest OCPI a couple of times since then. I'm trying to run it now, but it can't find the utility to program the FPGA.

sudo -E LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./testRpl -r1if -r3of -N0o 1 -N1i 1 -N3o 1 -N0i 1 -I 0 -i 1 -x /opt/opencpi/linux-x86_64/hdl/applications/testbias/target-ml605/testbias-ml605.bit.gz 0000:02:00.0
In PIOXferFactory::PIOXferFactory()
In PCIPIOXferFactory::PCIPIOXferFactory()
Starting: sending 1 messages of 0 (buffer 9000)
Buffer counts: 0o 1 1i 1 3o 1 6i 2 8o 2 0i 1 9i 2 9o 2
Active indicators: 0o (null) 1i flowcontrol 3o flowcontrol 6i (null) 8o (null) 0i (null)
++++++++ In void XferFactoryManager::startup(), ref count = 0
OCFRP: 0000:02:00.0, with bitstream birthday: Tue Nov 29 11:56:32 2011
Loading bitstream /opt/opencpi/linux-x86_64/hdl/applications/testbias/target-ml605/testbias-ml605.bit.gz on HDL container 0000:02:00.0 Executing command to load bit stream for container 0000:02:00.0: "/opt/opencpi/linux-x86_64/ocpi/scripts/loadBitStreamOnPlatform "/opt/opencpi/linux-x86_64/hdl/applications/testbias/target-ml605/testbias-ml605.bit.gz" "0000:02:00.0" "ml605" "xc6vlx240t" """ sh: /opt/opencpi/linux-x86_64/ocpi/scripts/loadBitStreamOnPlatform: No such file or directory API Error: Bitstream loading error (32512) loading "/opt/opencpi/linux-x86_64/hdl/applications/testbias/target-ml605/testbias-ml605.bit.gz" on HDL container "0000:02:00.0"

I did a "make hdl HdlPlatforms=ml605" for the HDL build. Do I need to remove the HdlPlatforms and rebuild in order for it to build the loadBitStreamOnPlatform script, or perhaps rebuild OCPI entirely? I do have the "loadBitStream" script in that directory, but the arguments for that are completely different than "loadBitStreamOnPlatform."

Best regards,
David

_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org

Reply via email to