The below Build error will be seen when DDR3 is used in the design and you run following commands:
petalinux-config --get-hw-description =<PATH_TO_HDF>
The resulting HDF generates a petalinux-build error:
This can be due to a string mismatch in the mba_fs_boot.tcl in the proc get_eram_config which looks for IP_NAME "mig_7series".
This is the name of the vlnv (it cannot be manually changed in the Vivado design to match the Tcl script).
For this particular IP it should be "ddr3" instead.
To work around this issue, apply the attached patch to the embeddedsw 2016.4/2017.1/2 repositories.
Below are the steps to follow:
Add this line to fs-boot_%.bbappend. This file is located in project-spec/meta-user/recipes-fsboot/fsboot/fs-boot_%.bbappend.
Add this line to fs-boot_%.bbappend. This file is located in project-spec/meta-user/recipes-bsp/fsboot/fs-boot_%.bbappend.
Apart from this issue, you might face the issue with the petalinux-package --format DOWNLOAD.BIT command too.
As a work-around for this, use the following SDK command:
updatemem -meminfo "project-spec/hw-description/swrap_main_top.mmi" -data "images/linux/fs-boot.elf" -bit "project-spec/hw-description/swrap_main_top.bit" -o download.bit -proc "<INST PATH>"
|Name||File Size||File Type|