Adding Xilinx ZCU104 board to SoC Blockset

19 views (last 30 days)
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.

Answers (1)

Kiran Kintali
Kiran Kintali on 6 Mar 2023
Edited: Kiran Kintali on 6 Mar 2023
Customizing the HDL Coder workflow for ZCU104 board:
Once you create the custom reference design you can follow the steps in this example https://www.mathworks.com/help/hdlcoder/ug/getting-started-with-hardware-software-codesign-workflow-for-zynq-ultrascale-mpsoc-devices.htmlto deploy to your new board registered with HDL Coder.
To connect between PS and PL you may also want to follow this example https://www.mathworks.com/help/hdlcoder/ug/xilinx-zynq-linux-image-for-custom-boards.htmlto create a custom linux image.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!