Hi Jim,
Sorry for the delay in response, I have been attempting different avenues to try for a solution for this and wanted to respond when there was some progress.
Kulp Jim wrote:
Have you done:
ocpiadmin install platform e31x?
This command doesn’t work for some reason. In the end ocpiadmin install platform e31x -p ocpi.osps.e31x (or something similar) is the command that worked. I believe it is because e31x doesn’t exist in an immediate repository but is 2 repositories down (in ocpi.sps.e31x).
Kulp Jim wrote:
We recommend using (a raw copy of) the SD card as it comes from the vendor so the partitioning is however they like it to be.
SD card used is the raw copy of the vendor partition. It just appears to be corrupting constantly but a few e310 restarts or unmounts/remounts gains access to the SD card again.
I decided to rebuild my machine so reimaged CentOS7 then installed OpenCPI 2.1.0 (latest release), Vitis & Vivado and then did a ocpiadmin install platform xilinx19_2_aarch32, xilinx 13_4 and e31x. Put the SD card into the Ettus E310 with xilinx19_2_aarch32 e31x and did a source ./mysetup.sh and it sourced according to plan.
The problem comes when I do the ocpirun -v -t 1 -d -m bias=hdl bias.xml command
Dump of all initial property values:
Property 0: file_read.fileName = "test.input" (cached)
Property 1: file_read.messagesInFile = "false" (cached)
Property 2: file_read.opcode = "0" (cached)
Property 3: file_read.messageSize = "16"
Property 4: file_read.granularity = "4" (cached)
Property 5: file_read.repeat = "false"
Property 6: file_read.bytesRead = "0"
Property 7: file_read.messagesWritten = "0"
Property 8: file_read.suppressEOF = "false"
Property 9: file_read.badMessage = "false"
Property 16: bias.biasValue = "16909060" (cached)
Property 20: bias.test64 = "0"
Property 31: file_write.fileName = "test.output" (cached)
Property 32: file_write.messagesInFile = "false" (cached)
Property 33: file_write.bytesWritten = "0"
Property 34: file_write.messagesWritten = "0"
Property 35: file_write.stopOnEOF = "true" (cached)
Property 39: file_write.suppressWrites = "false"
Property 40: file_write.countData = "false"
Property 41: file_write.bytesPerSecond = "0"
Application started/running [0 s 2 ms]
Assertion failed: id => m_ports.size() is false at ../gen/os/interfaces/include/OcpiOsAssert.h:118.
Stack Dump:
ocpirun(_ZN4OCPI2OS9dumpStackERSo+0x20) [0x25fdb0]
ocpirun() [0x25fc5c]
ocpirun(_ZN4OCPI2OS15assertionFailedEPKcS2_j+0x5c) [0x25fcf0]
My thoughts are, does the bias.xml only work for xilinx13_4? What is this assertion failure? If I create a FSK application would that work? hello_world.xml worked as intended.
As a work around I attempted to use xilinx13_4 instead but I get an error when sourcing mysetup.sh:
Attempting to set time from time.nist.gov
rdate: time.nist.gov: short read
====YOU HAVE NO NETWORK CONNECTION and NO HARDWARE CLOCK====
Set the time using the "date YYYY.MM.DD-HH:MM[:SS]" command.
Running login script.
OCPI_CDK_DIR is now /run/media/mmcblk0p1/opencpi.
OCPI_ROOT_DIR is now /run/media/mmcblk0p1/opencpi/...
Executing /home/root/.profile.
No reserved DMA memory found on the linux boot command line.
opencpi: disagrees about version of symbol module_layout
opencpi: disagrees about version of symbol module_layout
insmod: can't insert '/run/media/mmcblk0p1/opencpi/xilinx13_4/lib/opencpi-3.12.0-xilinx-dirty-v2013.4.ko': invalid module format
Driver loading failed.
Thoughts?