U-Boot Image Changes - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2023-10-18
Version
2023.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, include the DTB in the file so that the boot does not 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.