p4-discuss@lists.p4.org

discussion of p4 language ideas, tools, questions, etc. -- not related to direct code development

View all threads

Re: [P4-discuss] SDNet NETFPGA make error

YY
Y Yan
Wed, Aug 15, 2018 7:26 AM

Thanks Gordon,

Now it went through to the last stage generate bit file (Use Vivado 2016.4 as suggested)

command: “cd  $P4_PROJECT_DIR/simple_sume_switch && make”
error: [Coretcl 2-1134] No IP matching VLNF ‘NetFPGA: NetFPGA:nf_sume_sdnet:*’ was found. Please check your repository configuration.

Any idea why?

Regards,
Yan

On 15 Aug 2018, at 02:04, Gordon Brebner gjb@xilinx.com wrote:

Yan,
SDNet, which underpins the P4->NetFPGA workflow, is supported on Centos, as well as Ubuntu.  However, it looks like you may be the first pioneer to try the whole workflow on Centos.

The rsync command in your error report is used in the P4->NetFPGA Makefile for copying over some simulation files into the SDNet output directory.  You could replace that command with a cp command instead, which should fix this issue.  Since you are a pioneer on Centos for the community, there may other issues like this that then come up.  However, most of the P4->NetFPGA scripts are in Python, which should be portable and so it shouldn't be too difficult to get the SDNet simulations working on Centos.  It is possible though that you might run into issues with the NetFPGA SUME drivers.

For any further issues you encounter, or for an update if you are successful in getting things working on Centos, I suggest you don't post to the general P4 discussion mailing list, but instead post to the NetFPGA SUME mailing list: cl-netfpga-sume-beta@lists.cam.ac.uk.  You'll reach the P4->NetFPGA community more directly that way.

Best wishes,
Gordon.

-----Original Message-----
From: P4-discuss [mailto:p4-discuss-bounces@lists.p4.org] On Behalf Of Y Yan via P4-discuss
Sent: Tuesday, August 14, 2018 4:06 AM
To: p4-discuss@lists.p4.org
Subject: [P4-discuss] SDNet NETFPGA make error

Hi,

For the P4-SDNET NetFPGA flow, I understand the recommended system is Ubuntu. However, I am wondering if anyone successfully run the example on Centos.

Currently setup is
Vivado 2018.1
SDNet 2018.1
git repository is P4-NetFPGA-live-1.3.0

When run “cd $P4_PROJECT_DIR && make”, the error shows
rsync: —ignore-missing-args: unknown option
rsync error: syntax or usage error  (code 1) at main.c(1435) [client=3.0.9]
make: *** [run_scripts] error 1

Anyone has any idea of this? thanks

Regards,
Yan


P4-discuss mailing list
P4-discuss@lists.p4.org
http://lists.p4.org/mailman/listinfo/p4-discuss_lists.p4.org

Thanks Gordon, Now it went through to the last stage generate bit file (Use Vivado 2016.4 as suggested) command: “cd $P4_PROJECT_DIR/simple_sume_switch && make” error: [Coretcl 2-1134] No IP matching VLNF ‘NetFPGA: NetFPGA:nf_sume_sdnet:*’ was found. Please check your repository configuration. Any idea why? Regards, Yan > On 15 Aug 2018, at 02:04, Gordon Brebner <gjb@xilinx.com> wrote: > > Yan, > SDNet, which underpins the P4->NetFPGA workflow, is supported on Centos, as well as Ubuntu. However, it looks like you may be the first pioneer to try the whole workflow on Centos. > > The rsync command in your error report is used in the P4->NetFPGA Makefile for copying over some simulation files into the SDNet output directory. You could replace that command with a cp command instead, which should fix this issue. Since you are a pioneer on Centos for the community, there may other issues like this that then come up. However, most of the P4->NetFPGA scripts are in Python, which should be portable and so it shouldn't be too difficult to get the SDNet simulations working on Centos. It is possible though that you might run into issues with the NetFPGA SUME drivers. > > For any further issues you encounter, or for an update if you are successful in getting things working on Centos, I suggest you don't post to the general P4 discussion mailing list, but instead post to the NetFPGA SUME mailing list: cl-netfpga-sume-beta@lists.cam.ac.uk. You'll reach the P4->NetFPGA community more directly that way. > > Best wishes, > Gordon. > > > > -----Original Message----- > From: P4-discuss [mailto:p4-discuss-bounces@lists.p4.org] On Behalf Of Y Yan via P4-discuss > Sent: Tuesday, August 14, 2018 4:06 AM > To: p4-discuss@lists.p4.org > Subject: [P4-discuss] SDNet NETFPGA make error > > Hi, > > For the P4-SDNET NetFPGA flow, I understand the recommended system is Ubuntu. However, I am wondering if anyone successfully run the example on Centos. > > Currently setup is > Vivado 2018.1 > SDNet 2018.1 > git repository is P4-NetFPGA-live-1.3.0 > > > When run “cd $P4_PROJECT_DIR && make”, the error shows > rsync: —ignore-missing-args: unknown option > rsync error: syntax or usage error (code 1) at main.c(1435) [client=3.0.9] > make: *** [run_scripts] error 1 > > > > Anyone has any idea of this? thanks > > Regards, > Yan > _______________________________________________ > P4-discuss mailing list > P4-discuss@lists.p4.org > http://lists.p4.org/mailman/listinfo/p4-discuss_lists.p4.org