[U-Boot] legacy images with DTB only / DTB integrity

Michael Walle michael at walle.cc
Wed Mar 7 18:04:00 CET 2012


Hi all,

is there a way to create an uImage containing only a DTB (linux device
tree). From the uboot source (cmd_bootm.c) i can see that there is support
for it but mkimage doesn't handle it correctly.

uboot itself distinguishes between a FIT image and a raw DTB image (see
boot_get_dtb()). But mkimage assumes that the type IH_TYPE_FLATDT is
always a FIT image.

I want to do this to be able to check the integrity of the DTB after
loading it. AFAIK there is not mechanism for that inside the DTB. Am
I on the completly wrong track with that?

-- 
Michael





More information about the U-Boot mailing list