]> git.dujemihanovic.xyz Git - u-boot.git/commit
find dtb in android boot image with header version 2 during bootm
authorchenshuo <chenshuo@eswin.com>
Mon, 20 Jul 2020 00:48:15 +0000 (08:48 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commit6e31458435ac499611a205c67a83be25098135b3
tree9ed48514e1fe658e5f0d26356ab5540f4615e216
parent6724a37a7c818a1cd2d5be42eeee8e18acb89e22
find dtb in android boot image with header version 2 during bootm

This patch is about bootm process, android boot image and device tree.

Android 10 updates the boot image header to version 2,
which includes a section to store the device tree blob (DTB) image.

include/android_image.h has updated the struct andr_img_hdr,
but not used in bootm process. This patch avoid reporting
"Device tree not found or missing FDT support"
when bootm a correctly constructed android boot image.

Signed-off-by: chenshuo <chenshuo@eswin.com>
common/image-fdt.c