U-Boot Image Changes - 2021.2 English

PetaLinux Tools Documentation: Reference Guide

Document ID
UG1144
Release Date
2021-10-27
Version
2021.2 English

From 2021.1, PetaLinux removed DTB from u-boot.elf. U-Boot now uses the DTB from BOOT.BIN instead of u-boot.elf. If you are using a custom BIF file to generate BOOT.BIN, ensure to include the DTB in the file so that the boot doesn't fail.

Table 1. U-Boot Files Deployed by Petalinux
File name Description
u-boot.elf Self-extractable U-Boot elf containing the U-Boot binary symbols with a larger size than previous versions
u-boot-dtb.elf Self-extractable U-Boot elf that has the U-Boot binary with DTB
u-boot.bin Contains the U-Boot binary
u-boot-dtb.bin Contains the U-Boot binary with DTB

By default, PetaLinux uses u-boot.elf to create JTAG/BOOT.BIN. During BOOT.BIN creation, bootgen removes the symbols from u-boot.elf so that there is no size difference in the final BOOT.BIN. You can also use u-boot-dtb.elf for BOOT.BIN. In that case, U-Boot uses the DTB from u-boot-dtb.elf instead of BOOT.BIN.