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
  • State Suggested Answer
  • Replies 6 replies
  • Answers 2 answers
  • Subscribers 355 subscribers
  • Views 768 views
  • Users 0 members are here
  • ZedBoard General Questions
  • 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

  • narrucmot
    narrucmot over 6 years ago +2 suggested
    We at Avnet don't normally do our Linux development with a native yocto flow, so this isn't something we can support. We use Xilinx PetaLinux. Think of PetaLinux as a productivity layer between you and…
  • drozwood90
    drozwood90 over 6 years ago +1
    Hi there, Have you tried using the Avnet supported BSP to create your OS? --Dan
  • drozwood90
    0 drozwood90 over 6 years ago

    Hi there,

     

    Have you tried using the Avnet supported BSP to create your OS?

     

    --Dan

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • narrucmot
    0 narrucmot over 6 years ago

    We at Avnet don't normally do our Linux development with a native yocto flow, so this isn't something we can support.  We use Xilinx PetaLinux.  Think of PetaLinux as a productivity layer between you and yocto "under the covers".  That said, I do not know what is defined in the "microzed-zynq7" machine, but it looks like the boot media settings are set incorrectly for how you are trying to boot the OS.  A MicroZed can boot from QSPI, SD card, or JTAG.  Maybe try booting your image using one of these other methods?

     

    Your best bet may be to start with something known-good like our posted BSPs for the MicroZed:

    MicroZed

    We have BSPs for most recent versions of PetaLinux.

     

    Consult Xilinx UG1144 for how to "install" the BSP:

    https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1144-petalinux-tools-reference-guide.pdf

     

    Cheers,

    Tom

     

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dexterous.me82
    0 dexterous.me82 over 6 years ago in reply to narrucmot

    Thanks that was helpful.

    The thing is that my entire aim here is too boot my customized kernel and root file system.

    Now, what I did was that I am using the pre-built boot.bin which has uboot and it loads the uImage.

    The uImage is the kernel image created by me. Also, I have created a uram disk image.

    Probably, the bootloader cannot be simply created using the plain Yocto. Is there a BSP layer for AVNET too?

    Just like xilinix meta layer, can I add AVNET meta layer. If yes, where do I find that layer?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dexterous.me82
    0 dexterous.me82 over 6 years ago in reply to drozwood90

    Where do I find the AvNet meta layer? I have added xilinix meta layer in my project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 6 years ago in reply to dexterous.me82

    All of the Avnet PetaLinux files are located in our GIT repository.

     

    https://github.com/avnet/petalinux

     

    As Tom mentioned, while we can't help you with something we do not support, the files are free for you to download and experiment with.

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • narrucmot
    0 narrucmot over 6 years ago in reply to dexterous.me82

    Sorry, Avnet has not created any yocto meta layers.  This might be something we do in the future, but is not something we support right now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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