Generating boot.bin

📘

Note

This tutorial assumes you've created the First Stage Boot Loader from our tutorial.

Required Files

The first step of making a custom boot.bin file is acquiring the following three files:

Required Software:

  • Xilinx Vivado(minimum version of 2015.4)
  • Xilinx SDK(minimum version of 2015.4)
  • Device Tree Generator - checkout the same branch as your version of Vivado
  • U-Boot Generator - checkout the same branch as your version of Vivado

Generating the 'boot.bin'

  1. Open the Xilinx SDK 2015.4.
  2. Choose Xilinx Tools -> Create Boot Image
763
  1. The path of the Output BIF file should be the directory of the generated boot.bin.
    Click add -> Browse
  2. Select the three required files (noted at the top of this tutorial) and click OK. The Add order is: fsbl.elf, ocpoc_rev1.bit and uboot.bin.
703
  1. Now click Create Image and the boot.bin file will be generated.