2 Replies Latest reply on Mar 26, 2020 3:46 AM by nl-robotics

    What linux core minimal image is required for AVNET MicroZed board?

    dexterous.me82

      I have an AVNET microzed board  PB-AES-Z7MB-7Z010-G board.

      After building the operating system - Linux for this device - I get the following error in my console.

       

       

          U-Boot SPL 2019.01 (Dec 04 2019 - 05:18:17 +0000)

          mmc boot

          Trying to boot from MMC1

          spl_load_image_fat_os: error reading image system.dtb, err - -2

          spl_load_image_fat: error reading image u-boot.img, err - -2

          SPL: failed to boot from all boot devices

          ### ERROR ### Please RESET the board ###

          U-Boot SPL 2019.01 (Dec 04 2019 - 05:18:17 +0000)

          mmc boot

          Trying to boot from MMC1

       

       

       

       

       

      Here is how I have build the Operating System.

       

       

      Yocto Source code and meta recipes

       

       

          git clone git://git.yoctoproject.org/poky

          cd poky

          git checkout -b warrior

          git clone  git://git.yoctoproject.org/meta-xilinx

          cd meta-xilinx/

          git checkout -b warrior

          cd ..

          git clone https://github.com/openembedded/meta-openembedded.git

          cd meta-openembedded/

          git checkout -b warrior

          cd ..

         

         

          source oe-init-build-env

         

         

         

          ## Changed the architecture to --

          gedit conf/local.conf

          MACHINE ??= "microzed-zynq7"

         

          Added the meta-layer in the bblayer

         

          /home/s/Yocto_Xilinx/poky/meta-xilinx/meta-xilinx-bsp

          /home/s/Yocto_Xilinx/poky/meta-openembedded/meta-oe \

       

       

      Final build command was

      #

       

       

          bitbake core-image-minimal

       

       

          ls -l tmp/deploy/images/microzed-zynq7/

          total 22992

          lrwxrwxrwx 2 s s      34 Dec  3 21:25 boot.bin -> boot.bin-microzed-zynq7-2019.01-r0

          lrwxrwxrwx 2 s s      34 Dec  3 21:25 boot.bin-microzed-zynq7 -> boot.bin-microzed-zynq7-2019.01-r0

          -rw-r--r-- 2 s s   84104 Dec  3 21:25 boot.bin-microzed-zynq7-2019.01-r0

          -rw-r--r-- 2 s s 4074496 Dec  3 21:26 core-image-minimal-microzed-zynq7-20191204041353.rootfs.cpio

          -rw-r--r-- 2 s s 2379781 Dec  3 21:26 core-image-minimal-microzed-zynq7-20191204041353.rootfs.cpio.gz.u-boot

          -rw-r--r-- 2 s s     814 Dec  3 21:26 core-image-minimal-microzed-zynq7-20191204041353.rootfs.manifest

          -rw-r--r-- 2 s s 2384005 Dec  3 21:26 core-image-minimal-microzed-zynq7-20191204041353.rootfs.tar.gz

          -rw-r--r-- 2 s s  226135 Dec  3 21:26 core-image-minimal-microzed-zynq7-20191204041353.testdata.json

          lrwxrwxrwx 2 s s      60 Dec  3 21:26 core-image-minimal-microzed-zynq7.cpio -> core-image-minimal-microzed-zynq7-20191204041353.rootfs.cpio

          lrwxrwxrwx 2 s s      70 Dec  3 21:26 core-image-minimal-microzed-zynq7.cpio.gz.u-boot -> core-image-minimal-microzed-zynq7-20191204041353.rootfs.cpio.gz.u-boot

          lrwxrwxrwx 2 s s      64 Dec  3 21:26 core-image-minimal-microzed-zynq7.manifest -> core-image-minimal-microzed-zynq7-20191204041353.rootfs.manifest

          lrwxrwxrwx 2 s s      62 Dec  3 21:26 core-image-minimal-microzed-zynq7.tar.gz -> core-image-minimal-microzed-zynq7-20191204041353.rootfs.tar.gz

          lrwxrwxrwx 2 s s      62 Dec  3 21:26 core-image-minimal-microzed-zynq7.testdata.json -> core-image-minimal-microzed-zynq7-20191204041353.testdata.json

          -rw-r--r-- 2 s s  184951 Dec  3 21:19 modules--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.tgz

          lrwxrwxrwx 2 s s      81 Dec  3 21:19 modules-microzed-zynq7.tgz -> modules--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.tgz

          lrwxrwxrwx 2 s s      36 Dec  3 21:25 u-boot.elf -> u-boot-microzed-zynq7-2019.01-r0.elf

          lrwxrwxrwx 2 s s      36 Dec  3 21:25 u-boot.img -> u-boot-microzed-zynq7-2019.01-r0.img

          -rw-r--r-- 2 s s 5298060 Dec  3 21:25 u-boot-microzed-zynq7-2019.01-r0.elf

          -rw-r--r-- 2 s s  548898 Dec  3 21:25 u-boot-microzed-zynq7-2019.01-r0.img

          lrwxrwxrwx 2 s s      36 Dec  3 21:25 u-boot-microzed-zynq7.elf -> u-boot-microzed-zynq7-2019.01-r0.elf

          lrwxrwxrwx 2 s s      36 Dec  3 21:25 u-boot-microzed-zynq7.img -> u-boot-microzed-zynq7-2019.01-r0.img

          -rw-r--r-- 2 s s     709 Dec  3 21:25 uEnv.txt

          lrwxrwxrwx 2 s s      80 Dec  3 21:19 uImage -> uImage--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.bin

          -rw-r--r-- 2 s s 4162648 Dec  3 21:19 uImage--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.bin

          lrwxrwxrwx 2 s s      80 Dec  3 21:19 uImage-microzed-zynq7.bin -> uImage--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.bin

          lrwxrwxrwx 2 s s      80 Dec  3 21:19 zImage -> zImage--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.bin

          -rw-r--r-- 2 s s 4162584 Dec  3 21:19 zImage--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.bin

          lrwxrwxrwx 2 s s      80 Dec  3 21:19 zImage-microzed-zynq7.bin -> zImage--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.bin

          -rw-r--r-- 2 s s    9402 Dec  3 21:19 zynq-microzed--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.dtb

          lrwxrwxrwx 2 s s      87 Dec  3 21:19 zynq-microzed.dtb -> zynq-microzed--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.dtb

          lrwxrwxrwx 2 s s      87 Dec  3 21:19 zynq-microzed-microzed-zynq7.dtb -> zynq-microzed--4.19-xilinx-v2019.1+git0+9811303824-r0-microzed-zynq7-20191204041353.dtb

       

       

      In my SD card, I have put the following image -

       

       

          boot.bin

          system.dtb (zynq-microzed.dtb)

          u-boot.elf

          u-boot.img

          zImage  --> not sure what is it going to pickup

          uImage  --> so uImage again.

       

       

      However, after booting/resetting the board I get the error as shown in the top of this post.

      • Reply