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)
committerAnkit Gupta <agupta@cyngn.com>
Wed, 6 Jan 2016 19:49:47 +0000 (11:49 -0800)
commit06779493a50e41b1bfa5a00ab2dd935673811416
tree654364c0fc3698a3a6016b1c9fedde87fa16d884
parent476c59b685b6e76486c2622bc7a60c585af8142e
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