Adding Xilinx ZCU104 board to SoC Blockset

조회 수: 25(최근 30일)
Udara De Silva
Udara De Silva 2022년 1월 26일
편집: Kiran Kintali 2023년 3월 6일
I have been trying to add Xilinx ZCU104 board to SoC blockset for several days now. Below is the tutorial I'm following:
The tutorial steps are easy to follow and produce the expected outcome. However, I'm facing issues when trying to deploy the design in my board because it's not listed in the supported hardware platforms. I tried using ZCU102 and ZCU111 images since the architecture looks similar, but the board stay stucked in PS boot with these images. The approach suggested in the tutorial is to use buildroot, analog devices linux branch or petalinux. Buildroot doesn't work even for the ZCU102 board. I built a petalinux image with 2020.2 version and tried "install firmaware" option.
"Install firmware" option brings up the OS customizer tool and generates the report which I have attached here. However, most of the settings mentioned in this report are not found in the kernel config. This I believe is because the report shows instructions for petalinux 2017.4. I've tried petalinux 2017.4 and 2018.1 but there are several issues with these versions. These versions are too old and need lot of workaround to get them to work in Ubuntu 20.04 but still fail in petalinux-build.
So after several frustrating attempts I'm returning to Mathworks forum.
What is the best way to build the linux image required by SoC builder for a custom board like Xilinx ZCU104? or What are the necessary steps to update the petalinux (version 2020.2) kernel to be compatible with SoC blockset ?
I appologize for the long description. Just wanted to mention all the options I have attempted before posting my question here.


Kiran Kintali
Kiran Kintali 2023년 3월 6일
편집: Kiran Kintali 2023년 3월 6일
Customizing the HDL Coder workflow for ZCU104 board:
Once you create the custom reference design you can follow the steps in this example deploy to your new board registered with HDL Coder.
To connect between PS and PL you may also want to follow this example create a custom linux image.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by