Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch_itb.py: support both "data-position = " and "data = "
In some FIT file, the data is store in "data" field instead of "data-position". ```txt fdt-1 { description = "ARM64 OpenWrt cmcc_rax3000m-nand-ubootmod device tree blob"; data = [d0 0d fe ed 00 00 57 f3 < ... very long ... > 00 72 65 64 5f 6c 65 64 00]; type = "flat_dt"; arch = "arm64"; compression = "none"; hash-1 { value = <0xa8ce7e2e>; algo = "crc32"; }; hash-2 { value = <0x41d92ad2 0xc528dfc 0x32c78d4d 0x68be20d8 0x939c2220>; algo = "sha1"; }; }; ``` Signed-off-by: Kun Lai <me@imlk.top>
- Loading branch information