Troubleshooting
SSD failures
SSD does not link-up
If you test the SSD using the standalone application of this reference design, and you cannot get link-up, you can try the following:
If you are using the AXI Bridge for PCI Express Gen3 Subsystem IP (VC709, KCU105), open the project in Vivado, then open the IP configuration for PCIe. There is a tab called “GT Settings” that contains a “Receiver Detect” setting. Change this setting to “Falling Edge”, then save and rebuild the design. Some SSDs require this setting to link up correctly.
If your SSD has both the B and M keys, then it only has 2x PCIe lanes rather than 4x. In order for a 4-lane PCIe block to operate with a 2-lane SSD, it needs to downshift during the link width negotiation. The Xilinx PCIe blocks support downshifting, however the lanes need to be properly assigned in order for this to work properly. If you are using an SSD with both the B and M keys, and you are not getting link-up, then we suggest you validate the lane assignment in the constraints file with respect to your schematic drawings. If your constraints seem correct, and it is still not working, then we suggest you reverse the lane order assignment in the constraints file (downshifting only works properly if the lane ordering is correct). Alternatively, you can try reconfiguring your PCIe IP for 2 lanes, rather than 4, in which case you would also need to adjust your constraints.
SSD does not enumerate (no PCIe Link is UP, no nvme device)
Work through these in order:
Is the SSD in the right slot? Designs with one active M.2 slot (see the link table) only use the slot labelled “SSD1” / “SLOT 1”; in these designs the FPGA switches off the power and reference clock of the SSD2 slot, so an SSD in that slot is never seen.
Is the mezzanine card on the right connector? Each target design is built for one FMC connector (for example
zcu106_hpc0for HPC0,vck190_fmcp2for FMCP2). A design built for another connector cannot see the SSD.Is VADJ on? The FMC signals that release the SSD from reset are powered by the board’s VADJ supply.
Versal (VCK190, VMK180, VPK120, VPK180): the Linux images enable VADJ at 1.5 V in U-Boot. On the Yocto images, the console shows
FPGA Drive FMC: enabling VADJ (1.5V) via IR38164before the kernel starts; if it does not, the board is not running this design’sboot.scr(see below). The standalone application enables VADJ itself.ZCU104: VADJ is set by the FSBL from the FMC card’s EEPROM. The PetaLinux and Yocto images carry a patched FSBL that does this correctly (
zcu104_vadj_fsbl.patch); the unpatched 2025.2 FSBL reads the wrong EEPROM and leaves VADJ off. The standaloneBOOT.BINis built with the FSBL generated by Vitis, which does not have this patch; if the standalone application reportsLink is not upon the ZCU104, boot it with the FSBL from the PetaLinux or Yocto build, or apply the same patch to the FSBL in the Vitis workspace.Other boards: check the board’s VADJ setting against the FMC card’s requirements.
Check the link in Linux with
dmesg | grep -i "pcie link"andlspci -vv | grep -E "LnkCap|LnkSta"(see Test the SSDs in Linux).
Link comes up slower or narrower than expected
An SSD that supports a higher PCIe generation than the design links at the design’s speed, and Linux reports the SSD’s link as
(downgraded). That is normal: compare with the maximum link speed of the design in the link table.The ZCU104 (LPC) and ZCU106 HPC1 designs, the ZC706 LPC, KC705 LPC and KCU105 LPC designs and the PicoZed designs are one-lane designs: only one gigabit transceiver of these connectors is routed to the FMC. An x1 link there is expected.
A four-lane design that trains at x1 or x2, or at Gen1 where the design supports more, points to a seating or signal problem: re-seat the mezzanine card and the SSD, and check the SSD in another slot or another SSD.
Versal Yocto image stops at the U-Boot prompt
The Versal BSPs replace U-Boot’s boot command so that it runs boot.scr from the first
(FAT) partition of the SD card. If U-Boot stops at its prompt or reports that it cannot
load any image, check that the first partition of the card holds BOOT.BIN, boot.scr
and Image (they are put there when the wic image is built). Re-flash the card from
rootfs.wic.xz of a build of this repository.
Board Ethernet port links up but passes no traffic
Earlier Yocto builds of these designs did not describe the board’s TI DP83867 Ethernet PHY
in the device tree (ZynqMP and Versal boards), so the link came up at 1 Gb/s without
passing packets. The current BSPs describe the PHY; rebuild the image if you see this with
an older build. The kernel log of a correct image names the PHY driver, for example
macb ff0e0000.ethernet end0: PHY [ff0e0000.ethernet-ffffffff:0c] driver [TI DP83867].
Build failures
Check the following if the project fails to build or generate a bitstream:
Are you using the correct version of Vivado for this version of the repository?
Check the version specified in the Requirements section. Note that this project is regularly updated and you may have to refer to an earlier commit of this repo if you are using an older version of Vivado.Did you correctly follow the build instructions?
Please check the build instructions carefully as you may have missed a step.Did you copy/clone the repo into a short directory structure?
Windows doesn’t cope well with long directory structures, so copy/clone the repo into a short directory structure such asC:\projects\. When working in long directory structures, you can get errors relating to missing files, particularly files that are normally generated by Vivado (FIFOs, etc).
PetaLinux build fails with bitbake petalinux-image-minimal failed and sstate fetch errors
If a ./build.sh petalinux --target <board> run ends with errors like
ERROR: <package>-<ver>-r0 do_..._setscene: Fetcher failure: Unable to find file file://.../sstate:...
[ERROR] Command bitbake petalinux-image-minimal failed
the actual build is not broken. These _setscene errors come from
bitbake trying to pull prebuilt artifacts from the public Xilinx
sstate-cache mirror, which occasionally returns 404 for individual
packages. Bitbake falls back to building those packages locally and
succeeds, but still exits non-zero because of the failed fetches —
so the build runner stops before the petalinux-package step that
produces BOOT.BIN.
Fix: just re-run the same command. The second attempt finds the
missing packages in the local sstate cache (populated by the first
run) and completes cleanly, producing BOOT.BIN. The reference
design itself is fine; this is a transient issue with the public
mirror.