ocfrp_check gives the same result:
Error during probe for OCFRP: Magic numbers do not match in region/bar 0
Did not find any OpenCPI FPGA reference platform boards.
And I can't find the command/script swctl. Do I need to do something to
get this program/script?
Thanks so much for the help.
-Albert
On 06/13/2011 11:14 AM, Shepard Siegel wrote:
Albert,
I've never done it that way but Rafi must know what he is doing.
Let's back up one more time before we move ahead. Before we try to
load your own bitstream with loadBitstreamML605, do these programs
work as expected on the default flash bitstream:
ocfrp_check (to see the board)
swctl <bar0> <bar1> admin
If not, then before we debug loadBitstreamXXX, we should get
ocfrp_check and swctl working.
-Shep
note: sharing with opencpi_dev for others to chime in.
On Mon, Jun 13, 2011 at 10:59 AM, Albert Kwon <[email protected]
<mailto:[email protected]>> wrote:
Instead of having to run these things as sudo (since it's Rafi's
machine that we are running this on), Rafi set the suid on
ocfrp_check, and put it under /opt/opencpi/bin. So on the script,
instead of doing sudo ./ocfrp_check $device, I do
/opt/opencpi/bit/ocfrp_check $device. I've also asked him to
change permission on /sys/bus/pci/devices/$device/config, so that
I can write to it. I've also changed the location of $tmp for
loadBitStreamML605 script to my home folder's tmp. So currently, I
don't think there are any commands that require sudo.
environment OCPI_DIR is currently set to be /scratch/ic3/ocpi.
Is there something wrong with that we are doing here?
-Albert
On Sat, Jun 11, 2011 at 7:58 PM, Albert Kwon <[email protected]
<mailto:[email protected]>> wrote:
Hi Shep,
The bitstream upload failed once due to some sudo privilege
issues, and now when I run loadBitStream script, I get this error:
Checking existing bitstream..
Error during probe for OCFRP: Magic numbers do not match in
region/bar 0
Did not find an OpenCPI FPGA reference platform board named
"0000:05:00.0".
Existing bitstream does not appear to be functional.
There is no config snapshot in
/opt/cpi/ocfrp/pci-config-snapshots/0000:05:00.0 to restore.
Do you have any suggestion as to what to try?
Thanks,
Albert
snip
_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org