element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General What linux core minimal image is required for AVNET MicroZed board?
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 355 subscribers
  • Views 692 views
  • Users 0 members are here
  • Using Xilinx Tools
  • ZedBoard General Questions
  • Software Application Development
  • Zedboard Training
Related

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

dexterous.me82
dexterous.me82 over 6 years ago

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.

  • Sign in to reply
  • Cancel

Top Replies

  • nl-robotics
    nl-robotics over 5 years ago +2
    Hi, I hope you have found the solution by now, I had the same, so just for future reference, here is how I solved it: In default, when building the core-image-minimal, u-boot searches for a second partition…
  • clem57
    clem57 over 6 years ago

    Have you checked the forums? https://forums.xilinx.com/t5/Processor-System-Design/bootloader-works-from-SD-card-not-from-QSPI-flash/td-p/723125

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • nl-robotics
    nl-robotics over 5 years ago

    Hi,

     

    I hope you have found the solution by now, I had the same, so just for future reference, here is how I solved it:

     

    In default, when building the core-image-minimal, u-boot searches for a second partition on the SD card with your rootfs.

    So, create an SD card with two partitions, one FAT partition and one ext2 or 3 partition.

     

     

    I have used this information: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842041/How+to+SD+boot+with+Yocto+images

    Then, use the tutorial for the ZCU102 (ofcourse, replace zcu-102-zynqmp with the microzed machine):

     

    I have populated the SD card with the following files:

    ## Copy to SD card

    Copy the following to a msdos / fat partition

    * BOOT.bin

    * u-boot.img

    * uEnv.txt

    * uImage

    * zynq-microzed.dtb

     

     

    Copy the cpio file to the second (linux/ext) partition according to the tutorial.

     

    Now I had the Microzed booting.

     

     

    Snapshot from the reference material:

    ---

    ZCU102

    If you built your image with "MACHINE=zcu102-zynqmp bitbake core-image-minimal", then you need the following files on your SD card:

    1. Boot partition
      • copy build/tmp/deploy/images/zcu102-zynqmp/BOOT.bin as BOOT.bin
      • copy build/tmp/deploy/images/zcu102-zynqmp/Image as Image
      • copy build/tmp/deploy/images/zcu102-zynqmp/Image-zynqmp-zcu102-revB.dtb as system.dtb

     

    Your boot partition should look like this after copying:

    image
    Files in boot partition for ZCU102
    1. Root Partition
      • The root file system should be in this partition. To expand rootfs on to your root partition, use this command:

     

    cd <path to your SD card root partition>

     

    sudo cpio -i < <path to your project>/build/tmp/deploy/images/zcu102-zynqmp/petalinux-image-minimal-zcu102-zynqmp.cpio

    Your root partition should look like this after copying:

     

    image
    Files in root partition for ZCU102

     

    ---

     

    Hope this helps!

     

    Kind regards

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube