OSDN Git Service

bootsignature: includes dt image size for signed boot image
authorAnkit Gupta <agupta@cyngn.com>
Wed, 23 Dec 2015 22:16:37 +0000 (14:16 -0800)
committerMichael Bestas <mikeioannina@gmail.com>
Sun, 1 Jan 2017 23:30:03 +0000 (01:30 +0200)
commit449782c94ac5be2f04b312cd01a01d637b7639dc
tree95597860d804f6819150e785816c09b8094ceb7c
parent12af1da41dda87173b6b1d82d861e815258fab4a
bootsignature: includes dt image size for signed boot image

BootSignature truncates the bootimage since dt image size wasn't
considered while calculating the signable bootimage size and thus
target fails to boot. This patch includes the device tree size in
the boot image and prevents it from truncating it and makes the
target boot fine.

Issue-id: YAM-27
Change-Id: Ieaa396159130875768231602cd58eb865d222872
verity/BootSignature.java