Skip to contentSkip to conversation

legacy images with DTB only / DTB integrity

U-Boot Michael Walle 1 participant 1 message Mar 7, 2012

lore
Share & tools
lore
#0 lore raw

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?

Signature · 1 line
Michael