-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
system version: Ubuntu 22.04.5
python version: 3.11.0
sudo python3 pcileech.py check --device 0000:08:00.0 --interactive --fix
12:17:38 │ INFO │ [CHECK] Running VFIO diagnostics for device 0000:08:00.0
12:17:38 │ INFO │ [VFIO] Starting VFIO diagnostics for device: 0000:08:00.0
12:17:38 │ INFO │ [VFIO] Diagnostics completed. Overall status: warning, Can proceed: True
=== VFIO DIAGNOSTIC REPORT ===
Overall: ⚠ WARNING
Device : 0000:08:00.0
Proceed: yes
✔ Platform: Linux detected
✔ IOMMU HW: VT‑d / AMD‑Vi supported by CPU
✔ Kernel cmdline: IOMMU enabled in cmdline: intel_iommu=on, iommu=on
✔ ACS bypass: Device isolated in IOMMU group 16
✔ Kernel modules: All VFIO modules loaded: vfio, vfio_pci, vfio_iommu_type1
✔ vfio-pci driver: vfio-pci registered
✔ Device: 0000:08:00.0 (0x10ec:0x8168) present
✔ IOMMU group: Group 16
⚠ Driver: Bound to r8169
· Will need to rebind to vfio-pci
⚠ /dev/vfio node: /dev/vfio/16 missing (will appear after binding)
12:17:38 │ INFO │ [CHECK] Remediation script written to /tmp/pcileech_nxlbk0ao_vfio_fix.sh
Run remediation script now? [y/N]: y
12:17:41 │ INFO │ [CHECK] Executing remediation script (requires root)
>> VFIO remediation started
0000:08:00.0
10ec 8168
>> Remediation completed. Reboot if kernel params changed.
12:17:41 │ INFO │ [CHECK] Re-running diagnostics after remediation
12:17:41 │ INFO │ [VFIO] Starting VFIO diagnostics for device: 0000:08:00.0
12:17:41 │ INFO │ [VFIO] Diagnostics completed. Overall status: ok, Can proceed: True
=== VFIO DIAGNOSTIC REPORT ===
Overall: ✔ OK
Device : 0000:08:00.0
Proceed: yes
✔ Platform: Linux detected
✔ IOMMU HW: VT‑d / AMD‑Vi supported by CPU
✔ Kernel cmdline: IOMMU enabled in cmdline: intel_iommu=on, iommu=on
✔ ACS bypass: Device isolated in IOMMU group 16
✔ Kernel modules: All VFIO modules loaded: vfio, vfio_pci, vfio_iommu_type1
✔ vfio-pci driver: vfio-pci registered
✔ Device: 0000:08:00.0 (0x10ec:0x8168) present
✔ IOMMU group: Group 16
✔ Driver: Already bound to vfio-pci
✔ /dev/vfio node: /dev/vfio/16sudo python3 pcileech.py build --bdf 0000:08:00.0 --board pcileech_75t484_x1
12:19:20 │ INFO │ [VFIO] Rebuilding VFIO constants for current kernel...
12:19:20 │ INFO │ [VFIO] VFIO constants rebuilt successfully
12:19:20 │ INFO │ Discovering boards from pcileech-fpga repository...
12:19:21 │ INFO │ [BOARDS] Discovered 17 boards from submodule
12:19:21 │ INFO │ Discovered 17 boards
12:19:21 │ INFO │ [BUILD] No datastore found; running host collect now
12:19:21 │ INFO │ [BUILD] Stage 1: Collecting device data on host (VFIO operations enabled)
12:19:21 │ INFO │ [COLLECT] Read 4096 bytes of config space
12:19:21 │ INFO │ [CFG64] 0000: ec 10 68 81 03 00 10 00 16 00 00 02 10 00 00 00
12:19:21 │ INFO │ [CFG64] 0010: 01 30 00 00 00 00 00 00 04 40 20 b2 00 00 00 00
12:19:21 │ INFO │ [CFG64] 0020: 04 00 20 b2 00 00 00 00 00 00 00 00 2d 15 6e 12
12:19:21 │ INFO │ [CFG64] 0030: 00 00 00 00 40 00 00 00 00 00 00 00 ff 01 00 00
12:19:21 │ INFO │ [PCICAP] MSI-X capability not found
12:19:21 │ INFO │ [COLLECT] Extracted device IDs: VID=0x10ec DID=0x8168 Class=0x020000 Rev=0x16
12:19:21 │ INFO │ [COLLECT] Wrote /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore/device_context.json with device IDs: VID=10ec DID=8168
12:19:21 │ INFO │ [COLLECT] Wrote /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore/msix_data.json
12:19:21 │ INFO │ [BUILD] Host collect complete → /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore
12:19:21 │ INFO │ [BUILD] Stage 2: Template generation from collected device data
======================================================================
Template Generation Mode Selection
======================================================================
Container runtime: podman
[C] Container mode (recommended)
• Isolated environment
• Reproducible builds
• No system dependency conflicts
• Slightly slower startup
[L] Local mode
• Faster execution
• Direct access to system
• May have dependency conflicts
• Less reproducible
======================================================================
Select mode [C/L] (default: Container): L
12:19:23 │ INFO │ [BUILD] Using local mode (direct execution)
12:19:23 │ INFO │ [VFIO_DECISION] VFIO operations enabled
12:19:23 │ INFO │ [BUILD] No preloaded config space available - will use VFIO
12:19:23 │ INFO │ [FALLBACK] Marked 26 variables as critical (no fallbacks)
12:19:23 │ INFO │ [PCIL] Initializing PCILeech generator for device 0000:08:00.0
12:19:23 │ INFO │ [PCIL] Generator has no preloaded config space - will use VFIO
12:19:23 │ INFO │ [SV_GEN] SystemVerilogGenerator initialized successfully
12:19:23 │ INFO │ [PCIL] PCILeech generator components initialized successfully
12:19:23 │ INFO │ [BUILD] ➤ Starting template_validation...
12:19:23 │ INFO │ [TEMPLATE] Validating board: pcileech_75t484_x1
12:19:23 │ INFO │ [TEMPLATE] Found 6 required IP cores
12:19:23 │ INFO │ [TEMPLATE] Found 8 required SystemVerilog modules
12:19:23 │ WARNING│ [TEMPLATE] No constraint files found for board
12:19:23 │ INFO │ [TEMPLATE] Found 3 build scripts
12:19:23 │ WARNING│ [TEMPLATE] Board template validation failed for pcileech_75t484_x1
12:19:23 │ WARNING│ [TEMPLATE] No constraint files (.xdc) found
12:19:23 │ WARNING│ [TEMPLATE] Board template validation failed - build may fail
12:19:23 │ INFO │ [BUILD] ➤ Completed template_validation
12:19:23 │ INFO │ [BUILD] ➤ Starting host_context_check...
12:19:23 │ INFO │ [BUILD] ➤ Completed host_context_check
12:19:23 │ INFO │ [BUILD] ➤ Starting firmware_generation...
12:19:23 │ INFO │ Preloading MSI-X data before VFIO binding
12:19:23 │ INFO │ [MSIX] Loaded MSI-X from /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore/msix_data.json (0 vectors)
12:19:23 │ INFO │ [BUILD] ➤ Generating PCILeech firmware …
12:19:23 │ INFO │ [PCIL] Behavior profiling disabled, skipping device behavior capture
12:19:23 │ INFO │ [CFG] Analyzing configuration space for device 0000:08:00.0
12:19:23 │ INFO │ [VFIO] Starting config space read for device 0000:08:00.0, strict_mode=True
12:19:23 │ INFO │ [VFIO] Binding device 0000:08:00.0 to VFIO for configuration space access
12:19:23 │ WARNING│ [SEC] AppArmor is enabled - Docker containers may need: --security-opt apparmor=unconfined
12:19:23 │ INFO │ [VFIO] Binding 0000:08:00.0 to vfio-pci
Unbound 0000:08:00.0 from vfio-pci
Bound 0000:08:00.0 to vfio-pci
12:19:23 │ INFO │ [VFIO] Successfully bound 0000:08:00.0 to vfio-pci
12:19:23 │ INFO │ [VFIO] Successfully bound to VFIO (kept for session)
12:19:23 │ INFO │ [CNFG] Attempting to read config space from /sys/bus/pci/devices/0000:08:00.0/config
12:19:23 │ INFO │ [CNFG] Config space file exists: /sys/bus/pci/devices/0000:08:00.0/config
12:19:23 │ INFO │ [CNFG] Reading up to 4096 bytes for extended config space
12:19:23 │ INFO │ [CNFG] Successfully read 4096 bytes from sysfs
12:19:23 │ INFO │ [CNFG] Read config space for device 10ec:8168
12:19:23 │ INFO │ [VFIO] Successfully read 4096 bytes via VFIO
12:19:23 │ INFO │ [SUBS] Subsystem ID extraction - Vendor: 0x152d, Device: 0x126e
12:19:23 │ INFO │ [SUBS] Subsystem IDs differ from main IDs - Main: 0x10ec:0x8168, Subsystem: 0x152d:0x126e
12:19:23 │ INFO │ [CNFG] Starting BAR extraction from config space (4096 bytes)
12:19:23 │ INFO │ [BARX] BAR 0 size from sysfs: 256 bytes (256B)
12:19:23 │ INFO │ [BARX] BAR 2 size from sysfs: 4096 bytes (4.0KB)
12:19:23 │ INFO │ [BARX] BAR 4 size from sysfs: 16384 bytes (16.0KB)
12:19:23 │ INFO │ [BARX] Completed BAR extraction: found 3 active BARs
12:19:23 │ INFO │ [INFO] Successfully extracted device information:
12:19:23 │ INFO │ [INFO] Vendor ID: 0x10ec
12:19:23 │ INFO │ [INFO] Device ID: 0x8168
12:19:23 │ INFO │ [INFO] Class Code: 0x020000
12:19:23 │ INFO │ [INFO] Revision ID: 0x16
12:19:23 │ INFO │ [INFO] Command: 0x0003
12:19:23 │ INFO │ [INFO] Status: 0x0010
12:19:23 │ INFO │ [INFO] Header Type: 0x00
12:19:23 │ INFO │ [INFO] Subsystem Vendor: 0x152d
12:19:23 │ INFO │ [INFO] Subsystem Device: 0x126e
12:19:23 │ INFO │ [INFO] Cache Line Size: 16
12:19:23 │ INFO │ [INFO] Latency Timer: 0
12:19:23 │ INFO │ [INFO] BIST: 0x00
12:19:23 │ INFO │ [INFO] Total BARs found: 3
12:19:23 │ INFO │ [BARS] Active BARs found: 3
12:19:23 │ INFO │ [BARS] BAR 0: io @ 0x0000000000003000 (32-bit, non-prefetchable, size=0x100)
12:19:23 │ INFO │ [BARS] BAR 2: memory @ 0x00000000b2204000 (64-bit, non-prefetchable, size=0x1000)
12:19:23 │ INFO │ [BARS] BAR 4: memory @ 0x00000000b2200000 (64-bit, non-prefetchable, size=0x4000)
12:19:23 │ INFO │ [DEVI] Extracted device info: vendor=10ec device=8168 class=020000
12:19:23 │ INFO │ [LOOKUP] Pre-fallback device_info (shape): {'command': 'str', 'status': 'str', 'cache_line_size': 'str', 'latency_timer': 'str', 'header_type': 'str', 'bist': 'str'}
12:19:23 │ INFO │ [LOOKUP] Pre-fallback device_info (sanitized): {
"bist": "0",
"cache_line_size": "16",
"command": "3",
"header_type": "0",
"latency_timer": "0",
"status": "16"
}
12:19:23 │ INFO │ [CFG] Configuration space processed: VID=4332, DID=33128, Class=131072
12:19:23 │ INFO │ [MSIX] Preloading MSI-X data from sysfs before VFIO binding
12:19:23 │ INFO │ MSI-X capability found: 4 entries, table BIR 4 offset 0x0, PBA BIR 4 offset 0x800
12:19:23 │ INFO │ [MSIX] Preloaded MSI-X: 4 vec, BIR 4, off 0x0
12:19:23 │ INFO │ Starting VFIO device fd acquisition for 0000:08:00.0
12:19:23 │ INFO │ [VFIO] Device 0000:08:00.0 is in IOMMU group 16
12:19:23 │ INFO │ [VFIO] Successfully obtained device fd 6 for 0000:08:00.0
12:19:23 │ WARNING│ [VFIO] [WARN] ensure_device_vfio_binding called: 0000:08:00.0 already bound to vfio-pci (re-check, not a rebind)
12:19:23 │ INFO │ [VFIO] VFIO binding recheck passed for 0000:08:00.0 (IOMMU group 16)
12:19:23 │ INFO │ [VFIO] Device 0000:08:00.0 bound to VFIO group 16
12:19:23 │ WARNING│ [PCIL] MSI-X/BAR validation warning: MSI-X PBA offset 0x800 is not 4KB aligned (may impact DMA performance)
12:19:23 │ WARNING│ [PCIL] MSI-X/BAR validation warning: MSI-X table in BAR 4 (drivers typically expect BAR 0-2)
12:19:23 │ WARNING│ [PCIL] MSI-X/BAR validation warning: BAR 4 size (0x4000) is much larger than MSI-X requirements (0x30)
12:19:23 │ INFO │ [PCIL] Building comprehensive template context
12:19:23 │ INFO │ Building context for 0000:08:00.0 with msix
12:19:23 │ INFO │ [BAR] ╔═════════════════════════════════════════════════════════════╗
12:19:23 │ INFO │ [BAR] ║ BASE ADDRESS REGISTER DISCOVERY & ANALYSIS ║
12:19:23 │ INFO │ [BAR] ╠═════════════════════════════════════════════════════════════╣
12:19:23 │ INFO │ Starting VFIO device fd acquisition for 0000:08:00.0
12:19:23 │ INFO │ [VFIO] Device 0000:08:00.0 is in IOMMU group 16
12:19:24 │ INFO │ [VFIO] Successfully obtained device fd 6 for 0000:08:00.0
12:19:24 │ WARNING│ [VFIO] [WARN] ensure_device_vfio_binding called: 0000:08:00.0 already bound to vfio-pci (re-check, not a rebind)
12:19:24 │ INFO │ [VFIO] VFIO binding recheck passed for 0000:08:00.0 (IOMMU group 16)
12:19:24 │ INFO │ [VFIO] Device 0000:08:00.0 bound to VFIO group 16
12:19:24 │ INFO │ Starting VFIO device fd acquisition for 0000:08:00.0
12:19:24 │ INFO │ [VFIO] Device 0000:08:00.0 is in IOMMU group 16
12:19:24 │ INFO │ [VFIO] Successfully obtained device fd 6 for 0000:08:00.0
12:19:24 │ WARNING│ [VFIO] [WARN] ensure_device_vfio_binding called: 0000:08:00.0 already bound to vfio-pci (re-check, not a rebind)
12:19:24 │ INFO │ [VFIO] VFIO binding recheck passed for 0000:08:00.0 (IOMMU group 16)
12:19:24 │ INFO │ [VFIO] Device 0000:08:00.0 bound to VFIO group 16
12:19:24 │ INFO │ [BAR] ║ BAR2 @ 0xB2204000 │ 4.00 KB │ 64-bit │ MEM ║
12:19:24 │ INFO │ Starting VFIO device fd acquisition for 0000:08:00.0
12:19:24 │ INFO │ [VFIO] Device 0000:08:00.0 is in IOMMU group 16
12:19:24 │ INFO │ [VFIO] Successfully obtained device fd 6 for 0000:08:00.0
12:19:24 │ WARNING│ [VFIO] [WARN] ensure_device_vfio_binding called: 0000:08:00.0 already bound to vfio-pci (re-check, not a rebind)
12:19:24 │ INFO │ [VFIO] VFIO binding recheck passed for 0000:08:00.0 (IOMMU group 16)
12:19:24 │ INFO │ [VFIO] Device 0000:08:00.0 bound to VFIO group 16
12:19:24 │ INFO │ [BAR] ║ BAR4 @ 0xB2200000 │ 16.00 KB │ 64-bit │ MEM ║
12:19:24 │ INFO │ [BAR] ╠═════════════════════════════════════════════════════════════╣
12:19:24 │ INFO │ [BAR] ║ DISCOVERED: 2/3 BARs │ MEMORY MAPPED: 0.02 MB ║
12:19:24 │ INFO │ [BAR] ╚═════════════════════════════════════════════════════════════╝
12:19:24 │ INFO │ [BAR] Primary BAR: index=4, size=0.02MB
12:19:24 │ WARNING│ [SYSFS_BAR] Failed to enable memory decoding: [Errno 16] Device or resource busy
12:19:24 │ INFO │ [SYSFS_BAR] Read 4096 bytes from BAR2 at offset 0x0
12:19:24 │ INFO │ [SYSFS_BAR] Sampled 4096 bytes from BAR2 (total size: 0x1000)
12:19:24 │ WARNING│ [SYSFS_BAR] Failed to enable memory decoding: [Errno 16] Device or resource busy
12:19:24 │ INFO │ [SYSFS_BAR] Read 8192 bytes from BAR4 at offset 0x0
12:19:24 │ INFO │ [SYSFS_BAR] Sampled 8192 bytes from BAR4 (total size: 0x4000)
12:19:24 │ INFO │ [SYSFS_BAR] Successfully sampled 2 BAR(s) from donor device
12:19:24 │ INFO │ [MMIO] Capturing MMIO trace for BAR2...
12:19:24 │ INFO │ [MMIO] Capturing MMIO trace for BAR2 (base=0xB2204000, size=0x1000)
12:19:30 │ INFO │ [MMIO] Captured 0 MMIO accesses for BAR2
12:19:30 │ WARNING│ [MMIO] No MMIO traffic captured for BAR2
12:19:30 │ INFO │ [MMIO] Capturing MMIO trace for BAR4...
12:19:30 │ INFO │ [MMIO] Capturing MMIO trace for BAR4 (base=0xB2200000, size=0x4000)
12:19:36 │ INFO │ [MMIO] Captured 0 MMIO accesses for BAR4
12:19:36 │ WARNING│ [MMIO] No MMIO traffic captured for BAR4
12:19:36 │ INFO │ [BAR] BAR2: Used SAMPLED data (4096B of 4096B)
12:19:36 │ INFO │ [BAR] BAR4: Used SAMPLED data (8192B of 16384B)
12:19:36 │ WARNING│ Device profile '10ec_8168' not found, using live device detection
12:19:36 │ INFO │ [PCIL] Building board configuration for pcileech_75t484_x1
12:19:36 │ INFO │ [PCIL] Board configuration loaded: xc7a75tfgg484-2
12:19:36 │ INFO │ [PCIL] Loaded board XDC content for pcileech_75t484_x1 (6648 bytes)
12:19:36 │ INFO │ [PCI_CAP] Loaded 21 default rules
12:19:36 │ INFO │ [PCI_CAP] Discovered 9 capabilities
12:19:36 │ WARNING│ [VFIO] [WARN] ensure_device_vfio_binding called: 0000:08:00.0 already bound to vfio-pci (re-check, not a rebind)
12:19:36 │ INFO │ [VFIO] VFIO binding recheck passed for 0000:08:00.0 (IOMMU group 16)
12:19:36 │ INFO │ [PCIL] Context built successfully: 10ec:8168:16
12:19:36 │ INFO │ [PCIL] Template context built successfully with 54 top-level keys
12:19:36 │ INFO │ Generating SystemVerilog modules
12:19:36 │ ERROR │ [VALID] Device has class_code=020000 (Ethernet Controller). If the source device is NOT an Ethernet controller, this indicates a fallback value was used instead of reading from hardware. This will cause incorrect device enumeration in Windows/Linux.
12:19:36 │ ERROR │ [VALID] Device has class_code=020000 (Ethernet Controller). If the source device is NOT an Ethernet controller, this indicates a fallback value was used instead of reading from hardware. This will cause incorrect device enumeration in Windows/Linux.
12:19:36 │ WARNING│ [TEMPLATING] Device serial number unavailable; generated deterministic DSN: 0xACCDA007BE7110EC
12:19:36 │ INFO │ [SV_GEN] Pre-render MSI-X: init_hex_len=144, entries=4
12:19:36 │ INFO │ [SV_GEN] Generating configuration space overlay
12:19:36 │ INFO │ [SV_GEN] Generating device-specific write mask overlay
12:19:36 │ INFO │ [WRITEMASK] Generating writemask from /tmp/tmpsxh394di.coe
12:19:36 │ INFO │ [WRITEMASK] Found 0 capabilities (0 std, 1 ext)
12:19:36 │ INFO │ [WRITEMASK] Writemask generated: tmph5ef1qu6.coe
12:19:36 │ INFO │ [SV_GEN] Generated writemask overlay (9707 bytes)
12:19:36 │ INFO │ [SV_GEN] Generated BAR controller (11026 bytes, generic impl)
12:19:36 │ INFO │ [SV_GEN] Generated 3 overlay files
12:19:36 │ INFO │ [PCIL] Generated 3 SystemVerilog modules | msix init_len=144 entries=4
12:19:36 │ INFO │ Generating additional firmware components
12:19:36 │ INFO │ [PCIL] Copying XDC constraint files for board pcileech_75t484_x1 from submodule
12:19:36 │ INFO │ [PCIL] Copied constraint file: pcileech_75t484_x1_captaindma_75t.xdc
12:19:36 │ INFO │ [PCIL] Copied 1 XDC constraint files from submodule
12:19:36 │ INFO │ [PCIL] Copying static TCL scripts for board pcileech_75t484_x1 from voltcyclone-fpga submodule
12:19:36 │ INFO │ [FILEMGR] Copying Vivado TCL scripts for board: pcileech_75t484_x1
12:19:36 │ INFO │ [FILEMGR] Copied TCL script: vivado_generate_project_captaindma_75t.tcl
12:19:36 │ INFO │ [FILEMGR] Copied TCL script: vivado_build.tcl
12:19:36 │ INFO │ [FILEMGR] Successfully copied 2 TCL scripts
12:19:36 │ INFO │ [PCIL] Copying IP files for board pcileech_75t484_x1 from voltcyclone-fpga
12:19:36 │ INFO │ [FILEMGR] Copied IP file: pcileech_bar_zero4k.coe
12:19:36 │ INFO │ [FILEMGR] Copied IP file: pcileech_cfgspace.coe
12:19:36 │ INFO │ [FILEMGR] Copied IP file: pcileech_cfgspace_writemask.coe
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_1_1_clk2.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_32_32_clk1_comtx.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_134_134_clk2.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_129_129_clk1.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_43_43_clk2.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_64_64_clk2_comrx.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_49_49_clk2.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: bram_pcie_cfgspace.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: drom_pcie_cfgspace_writemask.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_74_74_clk1_bar_rd1.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: bram_bar_zero4k.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: pcie_7x_0.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_134_134_clk2_rxfifo.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_32_32_clk2.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_34_34.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_64_64.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_64_64_clk1_fifocmd.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_256_32_clk2_comtx.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_141_141_clk1_bar_wr.xci
12:19:36 │ INFO │ [FILEMGR] Copied IP file: fifo_134_134_clk1_bar_rdrsp.xci
12:19:36 │ INFO │ [FILEMGR] Successfully prepared 23 IP files
12:19:36 │ INFO │ [PCIL] Copied 25 files from submodule (TCL + IP)
12:19:36 │ INFO │ [HEX] Generating configuration space hex file
12:19:36 │ INFO │ [HEX] Generated configuration space hex file with 4096 bytes
12:19:36 │ INFO │ [WRMASK] Generating writemask COE file
12:19:36 │ INFO │ [WRMASK] Config space COE not found, generating it first
12:19:36 │ INFO │ [WRMASK] Used cached config space COE content at /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore/output/src/pcileech_cfgspace.coe
12:19:36 │ INFO │ [WRITEMASK] Generating writemask from /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore/output/src/pcileech_cfgspace.coe
12:19:36 │ INFO │ [WRITEMASK] Found 0 capabilities (0 std, 1 ext)
12:19:36 │ INFO │ [WRITEMASK] Writemask generated: pcileech_cfgspace_writemask.coe
12:19:36 │ INFO │ [PCIL] PCILeech firmware generation completed successfully
12:19:36 │ INFO │ [BUILD] ➤ Completed firmware_generation
12:19:36 │ INFO │ [BUILD] ➤ Starting module_writing...
12:19:36 │ INFO │ [BUILD] ➤ Writing SystemVerilog modules …
12:19:36 │ INFO │ [BUILD] Wrote 1 SystemVerilog modules: pcileech_tlps128_bar_controller.sv
12:19:36 │ INFO │ [BUILD] ➤ Completed module_writing
12:19:36 │ INFO │ [BUILD] ➤ Starting profile_generation...
12:19:36 │ INFO │ [BUILD] ➤ Generating behavior profile …
12:19:36 │ INFO │ [BUILD] ➤ Completed profile_generation
12:19:36 │ INFO │ [BUILD] ➤ Starting tcl_generation...
12:19:36 │ INFO │ [BUILD] ➤ Generating TCL scripts …
12:19:36 │ INFO │ [FILEMGR] Created PCILeech directory structure
12:19:36 │ INFO │ [FILEMGR] Source directory: /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore/output/src
12:19:36 │ INFO │ [FILEMGR] IP directory: /home/weixiao/桌面/PCILeechFWGenerator/pcileech_datastore/output/ip
12:19:36 │ INFO │ [FILEMGR] Using PCILeech repository at: /home/weixiao/桌面/PCILeechFWGenerator/lib/voltcyclone-fpga
12:19:36 │ INFO │ [FILEMGR] Board path: /home/weixiao/桌面/PCILeechFWGenerator/lib/voltcyclone-fpga/CaptainDMA/75t484_x1
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_pcie_cfg_a7.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_tlps128_bar_controller.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_75t484_x1_top.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_tlps128_cfgspace_shadow.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_pcie_a7.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_com.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_ft601.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_mux.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_fifo.sv
12:19:36 │ INFO │ [FILEMGR] Copied source file: pcileech_pcie_tlp_a7.sv
12:19:36 │ INFO │ [FILEMGR] Copied header file: pcileech_header.svh
12:19:36 │ INFO │ [FILEMGR] Copied constraint file: pcileech_75t484_x1_captaindma_75t.xdc
12:19:36 │ INFO │ [FILEMGR] Successfully copied 12 PCILeech source files
12:19:36 │ INFO │ [FILEMGR] Copying Vivado TCL scripts for board: pcileech_75t484_x1
12:19:36 │ INFO │ [FILEMGR] Copied TCL script: vivado_generate_project_captaindma_75t.tcl
12:19:36 │ INFO │ [FILEMGR] Copied TCL script: vivado_build.tcl
12:19:36 │ INFO │ [FILEMGR] Successfully copied 2 TCL scripts
12:19:36 │ INFO │ [BUILD] • Copied 2 Vivado TCL scripts from submodule
12:19:36 │ INFO │ [BUILD] ➤ Completed tcl_generation
12:19:36 │ INFO │ [BUILD] ➤ Starting constraint_writing...
12:19:36 │ INFO │ [BUILD] Wrote XDC constraints file: pcileech_75t484_x1.xdc (6648 bytes)
12:19:36 │ INFO │ [BUILD] ➤ Completed constraint_writing
12:19:36 │ INFO │ [BUILD] ➤ Starting device_info_saving...
12:19:36 │ INFO │ [BUILD] ➤ Saving device information …
12:19:36 │ INFO │ [BUILD] Writing JSON file: device_info.json
12:19:36 │ INFO │ [BUILD] Successfully wrote JSON file: device_info.json
12:19:36 │ INFO │ [BUILD] ➤ Completed device_info_saving
12:19:36 │ INFO │ [BUILD] ➤ Starting post_build_validation...
12:19:36 │ INFO │ [BUILD] ➤ Running post-build validation …
12:19:36 │ INFO │ [VALID] Running post-build validation checks
12:19:36 │ INFO │ [VALID] Post-build validation PASSED - all checks successful
12:19:36 │ INFO │ [VALID] Validation Report: 0 errors, 0 warnings, 19 info
12:19:36 │ INFO │ [VALID] All critical checks passed (19 checks)
12:19:36 │ INFO │ [BUILD] Writing JSON file: validation_report.json
12:19:36 │ INFO │ [BUILD] Successfully wrote JSON file: validation_report.json
12:19:36 │ INFO │ [BUILD] ➤ Completed post_build_validation
12:19:36 │ INFO │ [BUILD] ➤ Starting manifest_saving...
12:19:36 │ INFO │ [FILEMGR] Saved file manifest: 0 files, 0 bytes, 0 duplicates skipped
12:19:36 │ INFO │ [BUILD] ➤ Completed manifest_saving
12:19:36 │ INFO │ [BUILD] Templating complete; artifacts: 44
12:19:36 │ WARNING│ [VIVADO] Vivado installation not found. Use --vivado-path to specify manual installation path.
12:19:36 │ ERROR │ [VIVADO] Vivado not found in PATH; specify --vivado-path
Unbinding 0000:08:00.0 from vfio-pci
12:19:37 │ INFO │ [VFIO] Successfully unbound 0000:08:00.0Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels