2 Replies Latest reply on Aug 27, 2020 12:38 PM by imanyakin

    Microzed7020+FMC carrier, Vivado+Petalinux 2019.2 - SD card boot, porting a working project from Digilent Arty Z7-20


      I am trying to port a working Zynq 7000 project from the Digilent Arty Z7-20 to a Microzed 7020. So far I have done the following steps:


      Load the board definition file from the avnet/bdf repo:


      My first question here is whether there are more recent version of the above bdfs, version in repo is Vivado 2018.3 and whether anyone knows about any incompatibilities that can be raised at this stage?


      I then replace the .xdc constraint file of the Digilent/Arty with that of the Microzed from avnet/hdl (2019.2 version), [commenting out all of the pin assignments for now]:


      Following this I update the project constraint file, rebuild and export the bitstream without any errors and then use the following bash script to build (using petalinux 2019.2) the boot.bin and image.ub files:


      source ${PETALINUX_ENV}/settings.sh

      petalinux-create -t project -n ${PROJECT_NAME} --template "zynq"

      sudo sysctl -n -w fs.inotify.max_user_watches=524288

      cd $PROJECT_NAME

      petalinux-config --get-hw-description=${HARDWARE_DEFINITION}



      cd "./images/linux"

      petalinux-package --boot --fsbl zynq_fsbl.elf --fpga ${BIT_FILEPATH} --u-boot --force


      Turning on the microzed, connecting via a serial console (cutecom on ubuntu 20.04) does not work for this build. However I can say that it is neither the JP1-JP3 boot configs on the board of the serial interface on the computer - I can boot other boot configurations available online for the microzed, so I think it's just an issue with the boot.bin/image.ub being created above. Hence the main question is this - what else could be significantly different between the config of a Arty Z7-20 and a Microzed 7020 which would mean that the project works fine on one system but fails to boot on the other, given that the process for building the images seems identical to me. Or have I missed something?


      Note: at the moment I am currently only trying to boot the the microzed without the fmc, once I can do that, I plan to attach FMC and boot with it connected.