The Hardware design consists of the CIPS and the NoC for connection to the DDR.
The Software Design:
The u-boot.elf that is delivered in the images/linux folder does not have the symbol information needed for debug in Vitis. Therefore, we will need to use the u-boot binary that is in the work directory in PetaLinux.
We will also enable the ATF debug so that the symbol information is added to the bl31.elf file too.
I have used PetaLinux to create the Linux Images as shown below:
petalinux-create -t project --template versal -n versal_linux cd versal_linux petalinux-config --get-hw-description=<path to XSA> Select DTG Settings -> (versal-vck190-reva) MACHINE_NAME ARM Trusted Firmware Confguration -> [*] atf debug Take a note of the Yocto Settings -> TMPDIR Location. Open build/conf/local.conf and comment out (#) the line INHERIT += "rm_work" petalinux-build -c u-boot
Because we will be debugging the u-boot, we need the symbol file. The u-boot.elf created in U-Boot does not have the symbol info.
However, we can copy this from the TMP directory into the images/linux folder in the PetaLinux Project directory:
As a sanity check, users can use objdump to read and verify the symbol files: