05-13-2019 09:05 AM
The firmware team started with the ZCU106 VCU TRD reference design and then ported the Avnet design. The board we are using is the Avnet UltraZED-EV SOM.
For some reason, when the firmware team generates a hdf the bootloader is for the ZCU106 and not the Avnet board. The FGPA is for the correct board but the bootloader files are for the wrong board. The hdf contains the files -psu_init_gpl.h, psu_init_gpl.c, psu_init.tcl, psu_init.h, psu_init.c. These files are not getting updated for the Avnet Board. For some reason, these bootloader files are for the ZCU106 board.
Is there a step the firmware team missed? Is there a tcl script that needs to be manually updated?
05-13-2019 12:52 PM
I found out the design_1_bd.tcl in the hw_handoff directory is wrong. Does anyone know how this file is created? Why would the file be for the wrong project?
05-13-2019 03:36 PM
Not sure which process your team is following, but UG1209 is a good Tutorial.
If you look at the screenshot on page 36, it shows how to select the right Hardware Platform while creating the Bootloader.
Let me know if that doesn't work and we'll investigate further.
05-13-2019 03:44 PM
We are using the petalinux-build command to build everything including the bootloader. The hdf from the firmware team has bootloader files from the old board.
The file - Name.srcs\sources_1\bd\vcu_trd\vcu_trd.bd has some settings that look wrong. The firmware team does not know what needs to be done to fix this file. The settings that start with the "PSU__" are for the wrong board.
05-13-2019 08:48 PM
I will add a few comments here and will request you to write a new post in the following board which is appropriate to answer all your questions.
1. Hardware handoff file is generated when you generate the .hdf file with bitstream included. Make sure you have followed correct steps in VIVADO.
2. what is the type of Petalinux project you have created here? I expect it to be template flow.
Please refer UG1144 for steps to create Petalinux project in template flow. Then configure the project in accordance with your hdf and then build.
I hope this will solve your bootloader issue.
05-14-2019 11:01 AM
The issue is not in the software development. The issue is the files in the hdf are wrong. The issue is the firmware's team Vivado project. I looked at the file project\Name.srcs\sources_1\bd\vcu_trd\vcu_trd.bd. Inside the file some items containing PSU_ were set to the wrong value. The firmware team does not know where these values are from or how to change these values. These values seem to be from the first project and not correct for the new board.
05-17-2019 06:57 PM
I would encourage the FW team to create a new HDF from scratch to avoid those issues.
If you have any questions, you might get better answers on the Embedded Forum, since the Evaluation Boards one is mostly geared towards Xilinx boards and their Reference Designs.