Commit c66d817f authored by Yo Chiang's avatar Yo Chiang
Browse files

Add boot / vendor boot image header version 4

The format of boot image v4 is the same as v3.
Vendor boot v4 supports packaging multiple vendor ramdisks by having an
additional section containing a vendor ramdisk table.
The table describes the metadata of each ramdisk, and the offset of each
ramdisk in the vendor ramdisk section.
With these information the bootloader can select a subset of the
ramdisks to load at runtime, and skip loading ramdisks that it knows are
not needed.
The bootloader can also choose to ignore the vendor ramdisk table and
just load the entire vendor ramdisk section. This would have the same
effect as loading all ramdisks in the table.
This lays the foundation for golden boot images.

Bug: 162864255
Test: Presubmit build test
Change-Id: Id3debe7163d802a35aead6f6c076c3ff69c303ee
parent e4cf8e9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment