4. Post-Boot and On-Target Development
Once the system has booted on the FPGA board, you can perform initial setup, install packages, and build your applications directly on the target.
First Boot Setup
Ethernet Configuration
If the Ethernet connection doesn’t work out of the box:
- Check kernel messages for hardware detection:
dmesg | grep -i -E "eth|phy|macb|gem|mdio"
- If the hardware seems fine, request an IP address via DHCP (replace
enx...
with your actual interface name, which you can find withip a
):sudo udhcpc -i enx000a35001e53 -n -q -f
System Updates
- Set the correct date and time to avoid issues with package management certificates:
# Example for June 8th, 2025, 2:30 PM sudo date 060814302025
- Update the system packages using
dnf
:sudo dnf update
Building libcaer
on Target
- Install build dependencies on the Zybo board:
sudo dnf install libusb-1.0-devel opencv-devel
- Copy the
libcaer
source code from your host to the target:rsync -avz /path/to/libcaer/ petalinux@<TARGET_IP>:/home/petalinux/
- Build and install
libcaer
on the target:cd libcaer mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr make sudo make install
Building a Custom DVS Application
Once libcaer
is installed, you can compile your application using g++
:
g++ -std=c++11 -pedantic -Wall -Wextra -O2 -o dvxplorer dvxplorer.cpp -D_DEFAULT_SOURCE=1 -lcaer