forked from Mirror/pmbootstrap
pmb.parse.bootimg: Add preliminary support for header v2 (MR 2194)
This includes setting header_version="2" as well as dtb_offset according to the input boot.img when header v2 is detected. Also adds the following previously missed deviceinfo_attributes: * "header_version" * "bootimg_custom_args" And fixes failing tests now that header_version is always parsed from boot.img files.
This commit is contained in:
parent
c36e4a43ac
commit
255e69be5e
4 changed files with 21 additions and 8 deletions
|
@ -721,10 +721,13 @@ deviceinfo_attributes = [
|
|||
"generate_legacy_uboot_initfs",
|
||||
"kernel_cmdline",
|
||||
"generate_bootimg",
|
||||
"header_version",
|
||||
"bootimg_qcdt",
|
||||
"bootimg_mtk_mkimage",
|
||||
"bootimg_dtb_second",
|
||||
"bootimg_custom_args",
|
||||
"flash_offset_base",
|
||||
"flash_offset_dtb",
|
||||
"flash_offset_kernel",
|
||||
"flash_offset_ramdisk",
|
||||
"flash_offset_second",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue