FPGA jtag detected: 21760201R00J qdma_pf 610304 0 Modules currently loaded: qdma_pf Removing module qdma_pf: sudo rmmod qdma_pf Removing /sys/bus/pci/devices/0000:08:00.0: sudo dd of=/sys/bus/pci/devices/0000:08:00.0/remove 0+1 records in 0+1 records out 2 bytes copied, 9.9348e-05 s, 20.1 kB/s Loading bitstream file through jtag... ****** Vivado v2020.1 (64-bit) **** SW Build 2902540 on Wed May 27 19:54:35 MDT 2020 **** IP Build 2902112 on Wed May 27 22:43:36 MDT 2020 ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved. source /home/xavim/acme-ea/meep-os/tools/load-bitstream.tcl # if { $argc != 2 } { # puts "Usage: $argv0 " # exit # } # set bitFile [lindex $argv 0] # set fpgajtag [lindex $argv 1] # set A "A" # set fpgajtagA $fpgajtag$A # puts "fpgajtagA is $fpgajtagA" fpgajtagA is 21760201R00JA # set target "localhost:3121/xilinx_tcf/Xilinx/$fpgajtagA" # puts "target is $target" target is localhost:3121/xilinx_tcf/Xilinx/21760201R00JA # open_hw_manager # connect_hw_server -url localhost:3121 INFO: [Labtools 27-2285] Connecting to hw_server url TCP:localhost:3121 INFO: [Labtools 27-2222] Launching hw_server... INFO: [Labtools 27-2221] Launch Output: ****** Xilinx hw_server v2020.1 **** Build date : May 27 2020 at 20:33:44 ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved. INFO: [Labtools 27-3415] Connecting to cs_server url TCP:localhost:3042 INFO: [Labtools 27-3417] Launching cs_server... INFO: [Labtools 27-2221] Launch Output: ****** Xilinx cs_server v2020.1.0 **** Build date : May 14 2020-03:10:29 ** Copyright 2017-2020 Xilinx, Inc. All Rights Reserved. # current_hw_target $target # open_hw_target INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Xilinx/21760201R00JA # set dev [lindex [get_hw_devices] 0] # current_hw_device $dev # puts "programming $bitFile into $dev..." programming acme-ea/bitstream/arianeFix_OpenPiton.bit into xcu280_0... # set_property PROGRAM.FILE $bitFile $dev # program_hw_devices $dev INFO: [Labtools 27-3164] End of startup status: HIGH program_hw_devices: Time (s): cpu = 00:00:35 ; elapsed = 00:00:35 . Memory (MB): peak = 2154.906 ; gain = 0.000 ; free physical = 1227 ; free virtual = 203716 # exit INFO: [Common 17-206] Exiting Vivado at Sun Nov 7 18:09:04 2021... Bitstream acme-ea/bitstream/arianeFix_OpenPiton.bit loaded. Waiting... :Loading module qdma-pf.ko Rescanning pcie devices 0+1 records in 0+1 records out 2 bytes copied, 0.0243642 s, 0.1 kB/s Dealing with pcie at 08:00.0 Creating queues on qdma08000 sudo dd of=/sys/bus/pci/devices/0000:08:00.0/qdma/qmax 0+1 records in 0+1 records out 2 bytes copied, 0.00395007 s, 0.5 kB/s dma-ctl qdma08000 q add mode mm idx 1 dir bi qdma08000-MM-1 H2C added. qdma08000-MM-1 C2H added. Added 1 Queues. dma-ctl qdma08000 q start idx 1 dir bi dma-ctl: Info: Default ring size set to 2048 1 Queues started, idx 1 ~ 1. 1 Queues started, idx 1 ~ 1. sudo chmod go+rw /dev/qdma08000-MM-1 sudo chmod go+rw /sys/bus/pci/devices/0000:08:00.0/resource0 sudo chmod go+rw /sys/bus/pci/devices/0000:08:00.0/resource0_wc sudo chmod go+rw /sys/bus/pci/devices/0000:08:00.0/resource2 sudo chmod go+rw /sys/bus/pci/devices/0000:08:00.0/resource2_wc New PCIe devices loaded: 08:00.0 Memory controller: Xilinx Corporation Device 903f Subsystem: Xilinx Corporation Device 0007 Flags: bus master, fast devsel, latency 0, IRQ 141 Memory at b0000000 (64-bit, prefetchable) [size=256K] Memory at b0060000 (64-bit, prefetchable) [size=4K] Capabilities: Kernel driver in use: qdma-pf Kernel modules: qdma_pf