Skip to content

Post build steps

buha edited this page Jun 3, 2021 · 2 revisions

ZCU102

Some ZCU102 board revisions have a DDR chip that require a patch to the FSBL settings generated with the SDK. See this page for detailed information on the issue.

If your ZCU102 revision is affected, you may have to run a patch script after building the BSP for a particular project.

# change to the project directory
cd no-OS/projects/xyz

# build the project and the BSP
make clean
make

# download and apply the patch script
wget https://raw.githubusercontent.com/analogdevicesinc/wiki-scripts/master/no-OS/zynqmp_ddr_patch.sh
chmod +x zynqmp_ddr_patch.sh
./zynqmp_ddr_patch.sh build/hw/psu_init.tcl

# run on hardware
make run
Clone this wiki locally