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

7 Mar
2012
7 Mar
'12
6:04 p.m.
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
4812
Age (days ago)
4812
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Walle