Add a script to unpack boot image

The script prints out the boot image header
contents and extracts the kernel, ramdisk,
second bootloader and recovery DTBO images.

Bug: 74763691
Test: unpack_bootimg --boot_img $OUT/recovery.img

Change-Id: Iadbca81c157d9e4607f808a14468ab5542347507
2 files changed
tree: 11bfd9d43b492c46e2b77ca4e1862317e5efacac
  1. Android.mk
  2. bootimg.h
  3. mkbootimg
  4. unpack_bootimg