Introduction

If you build your own images using Yocto flow, then here are the files that have to be copied onto your SD card for booting your machine.

Pre-requisites

  1. SD card needs to be partitioned and formatted using this tutorial.

ZCU102

If you built your image with "MACHINE=zcu102-zynqmp bitbake petalinux-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:
root-ls-zcu102.png
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:
root-ls.png
Files in root partition for ZCU102

ZC702

If you built your image with "MACHINE=zc702-zynq7 bitbake petalinux-image-minimal", then you need the following files on your SD card:
  1. Boot partition
    • copy build/tmp/deploy/images/zc702-zynq7/BOOT.bin as BOOT.bin
    • copy build/tmp/deploy/images/zc702-zynq7/uImage as uImage
    • copy build/tmp/deploy/images/zc702-zynq7/uImage-zynq-zc702.dtb as devicetree.dtb
    • copy build/tmp/deploy/images/zc702-zynq7/petalinux-image-minimal-zc702-zynq7.cpio.gz.u-boot as uramdisk.image.gz
Your boot partition should look like this after copying:
boot-ls1.png
Files in boot partition for zed board

Zed board

If you built your image with "MACHINE=zedboard-zynq7 bitbake petalinux-image-minimal", then you need the following files on your SD card:
  1. Boot partition
    • copy build/tmp/deploy/images/zedboard-zynq7/BOOT.bin as BOOT.bin
    • copy build/tmp/deploy/images/zedboard-zynq7/uImage as uImage
    • copy build/tmp/deploy/images/zedboard-zynq7/uImage-zynq-zed.dtb as devicetree.dtb
    • copy build/tmp/deploy/images/zedboard-zynq7/petalinux-image-minimal-zedboard-zynq7.cpio.gz.u-boot as uramdisk.image.gz
Your boot partition should look like this after copying:
boot-ls1.png
Files in boot partition for zed board

Related Links

  • Xilinx Yocto status page
  • Board bring up using pre-built images page