Hi Troy,

The -x flag should point directly to the zipped bitstream file. (bit.gz).
The default value for the -x flag, "file", isn't very useful...
All opencpi "binary artifact" files (files that hold one or more worker binaries), have embedded XML that describes what is inside.

The documentation/usage message for testRpl is not as god as it should.
The excuse is mostly that we are going to rewrite the testRpl program using the new xml-based application features,
which will make it about 1/4 the size.

(See tools/cdk/examples/*_xml).

Jim






On 1/13/12 12:39 AM, Ziersch, Troy (Contractor) wrote:

*UNCLASSIFIED*

Hi,
I've managed to follow the instructions in Appendix VI of "Open Reference Platform 2 Specification" up to the tests at the end.
The ocfrp_check at step 5a seems OK:
opencpi/ocpi/bin/linux-x86_64$ sudo ./ocfrp_check
OpenCPI FPGA at PCI 0000:03:00.0: BSV date Wed Nov 30 03:26:32 2011, bitstream date Tue Jan 10 16:49:23 2012, platform "ml605", device "xc6vlx240t", UUID 303268bb-2d6c-45be-b441-56eee86ea508
But the testRpl at step 5b complains about a "file":
opencpi/ocpi/bin/linux-x86_64$ sudo ./testRpl -r1if -r3of -N0o 1 -N1i 1 -N3o 1 -N0i 1 -I 0 -i 1 0000:03:00.0
In PCIPIOXferFactory::PCIPIOXferFactory()
In PIOXferFactory::PIOXferFactory()
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:03:00.0, with bitstream birthday: Wed Nov 30 03:26:32 2011
API Error: Cannot open file: "file"
I tried using the -x arg to point to various xml files in opencpi/hdl/applications/testbias wihout any luck.
Any ideas what I'm doing wrong?
Cheers,
Troy

*IMPORTANT*: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.



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

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

Reply via email to