|
|
|
@ -310,6 +310,8 @@
|
|
|
|
|
| | - Not Receiving | | |
|
|
|
|
| | - Output all ports -> unclear how test data should look like | | |
|
|
|
|
| | - Found out broad/multicasting in theory -> bitmask | | |
|
|
|
|
| | - Theory: code is not persistent in flash (???) -> not there after power | | |
|
|
|
|
| | down | | |
|
|
|
|
| | | | |
|
|
|
|
| 2018-06-27 | | | |
|
|
|
|
| | Target Hardware: code running | | |
|
|
|
@ -4019,7 +4021,6 @@ python: ioctl: Unknown error 512
|
|
|
|
|
|
|
|
|
|
#+END_CENTER |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*** 2019-06-10: testing with INT (hint from Hendrik) |
|
|
|
|
**** 15:54 compile & upload done |
|
|
|
|
**** 16:36 ...testing |
|
|
|
@ -4094,6 +4095,79 @@ mapping
|
|
|
|
|
Test data in gen_testdata.py expects order. If we output to 0b1010101 |
|
|
|
|
(=85), then the packet should arrive on all ports. Order unknown. |
|
|
|
|
|
|
|
|
|
*** 2019-06-11: rebooted -> card is missing from lspci |
|
|
|
|
reprogramming. why is it missing? |
|
|
|
|
|
|
|
|
|
#+BEGIN_CENTER |
|
|
|
|
[18:25] rainbow:bitfiles% sudo bash -c ". $HOME/master-thesis/netpfga/bashinit && $(pwd -P)/program_switch.sh" |
|
|
|
|
++ which vivado |
|
|
|
|
+ xilinx_tool_path=/opt/Xilinx/Vivado/2018.2/bin/vivado |
|
|
|
|
+ bitimage=int.bit |
|
|
|
|
+ configWrites=config_writes.sh |
|
|
|
|
+ '[' -z int.bit ']' |
|
|
|
|
+ '[' -z config_writes.sh ']' |
|
|
|
|
+ '[' /opt/Xilinx/Vivado/2018.2/bin/vivado == '' ']' |
|
|
|
|
+ rmmod sume_riffa |
|
|
|
|
rmmod: ERROR: Module sume_riffa is not currently loaded |
|
|
|
|
+ xsct /home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/tools/run_xsct.tcl -tclargs int.bit |
|
|
|
|
rlwrap: warning: your $TERM is 'screen' but rlwrap couldn't find it in the terminfo database. Expect some problems. |
|
|
|
|
RUN loading image file. |
|
|
|
|
int.bit |
|
|
|
|
attempting to launch hw_server |
|
|
|
|
|
|
|
|
|
****** Xilinx hw_server v2018.2 |
|
|
|
|
**** Build date : Jun 14 2018-20:18:37 |
|
|
|
|
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved. |
|
|
|
|
|
|
|
|
|
INFO: hw_server application started |
|
|
|
|
INFO: Use Ctrl-C to exit hw_server application |
|
|
|
|
|
|
|
|
|
INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121 |
|
|
|
|
|
|
|
|
|
100% 13MB 1.7MB/s 00:08 |
|
|
|
|
|
|
|
|
|
+ bash /home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/tools/pci_rescan_run.sh |
|
|
|
|
Check programming FPGA or Reboot machine ! |
|
|
|
|
+ rmmod sume_riffa |
|
|
|
|
rmmod: ERROR: Module sume_riffa is not currently loaded |
|
|
|
|
+ modprobe sume_riffa |
|
|
|
|
+ ifconfig nf0 up |
|
|
|
|
nf0: ERROR while getting interface flags: No such device |
|
|
|
|
+ ifconfig nf1 up |
|
|
|
|
nf1: ERROR while getting interface flags: No such device |
|
|
|
|
+ ifconfig nf2 up |
|
|
|
|
nf2: ERROR while getting interface flags: No such device |
|
|
|
|
+ ifconfig nf3 up |
|
|
|
|
nf3: ERROR while getting interface flags: No such device |
|
|
|
|
+ bash config_writes.sh |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
rwaxi: ioctl: No such device |
|
|
|
|
|
|
|
|
|
#+END_CENTER |
|
|
|
|
|
|
|
|
|
After reprogram AND reboot: |
|
|
|
|
|
|
|
|
|
10:00.0 Memory controller: Xilinx Corporation Device 7028 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** References / Follow up |
|
|
|
|
*** RFC 791 IPv4 https://tools.ietf.org/html/rfc791 |
|
|
|
|
*** RFC 792 ICMP https://tools.ietf.org/html/rfc792 |
|
|
|
|