Open armijnhemel opened 3 years ago
Good catch! The android_dto
spec was merged just a few days ago from a pull request by @evdenis (https://github.com/kaitai-io/kaitai_struct_formats/pull/415), so I hope he might have an idea how to handle this.
However, the test files provided by @evdenis in https://github.com/kaitai-io/kaitai_struct_formats/pull/415#issue-570642168 apparently do not have any AVB signature at the end of file either - the files are parsed to the end (and not with size-eos: true
).
Nitpicking, when looking at the diagram here:
https://source.android.com/devices/architecture/dto/partitions
it seems that the DTO partition should also include the AVB signature. Currently this is not the case. The current .ksy describes the dtbo.img file but that is only part of a DTO partition. I can see two solutions: