Skip to content

fdt: Replace u-boot-dtb.bin with u-boot.bin

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20160202015955.GX25786@bill-the-cat

Versions newest first

  1. v3 Latest7 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tegra: Clarify generation of -nodtb file with OF_CONTROL+0 -00 replies
1/7tegra: Clarify generation of -nodtb file with OF_CONTROL+0 -00 replies
2/7fdt: Build a U-Boot binary without device tree+0 -00 replies
3/7fdt: Build an SPL binary without device tree+0 -00 replies
4/7tegra: Always build a boot image with the same filename+0 -00 replies
5/7socfpga: Simplify Makefile filenames+0 -00 replies
6/7Makefile: Make u-boot.img the same as u-boot-dtb.img+0 -00 replies
6/7Makefile: Make u-boot.img the same as u-boot-dtb.img+0 -00 replies
7/7Makefile: Drop unnecessary -dtb suffixes+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/7] fdt: Replace u-boot-dtb.bin with u-boot.bin
Quoted 24 lines · Stephen Warren
Quoted 17 lines · Simon Glass

At present u-boot.bin holds the plain U-Boot binary without the device tree. This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin depending on whether device tree is used.

This series adjusts the build such that u-boot.bin includes a device tree if enabled, and the plain binary is in u-boot-nodtb.bin. For now u-boot-dtb.bin remains the same.

This should be acceptable since:

- without OF_CONTROL, u-boot.bin still does not include a device tree
- with OF_CONTROL, u-boot-dtb.bin does not change

The main impact is to build systems which are set up to use u-boot.bin as the output file and then add a device tree. These will have to change to use u-boot-nodtb.bin instead.

Quoted 5 lines

The original decision to use a separate u-boot-dtb.bin was aimed at allowing any device tree file to be concatenated to the u-boot.bin image after the build. However this no-longer seems so important. More important is the convenience of using the same output file regardless of the setting for OF_CONTROL.

Quoted 8 lines

The series,

(Both out T124-and-before and T210-and-later flashing processes still seem to work OK with the new file naming etc.)

Patches 1-3,

I've pushed this since I want -rc1 to have it (so everyone sees it and adjusts now on a clean tag) and the feedback seems like minor updates that we can do after the fact. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160201/0e90bd19/attachment.sig>