[PATCH] find dtb in android boot image with header version 2 during bootm

Simon Glass sjg at chromium.org
Tue Jul 28 20:57:30 CEST 2020


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 at eswin.com>
---

 common/image-fdt.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list