From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 17 Oct 2019 07:24:54 -0400 Subject: [U-Boot] [PATCH] image: android: Support boot image v1 and v2 In-Reply-To: <20190815172507.19077-1-semen.protsenko@linaro.org> References: <20190815172507.19077-1-semen.protsenko@linaro.org> Message-ID: <20191017112454.GA16029@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Aug 15, 2019 at 08:25:07PM +0300, Sam Protsenko wrote: > In new versions of Android Boot Image next fields are added to the > header (and corresponding payloads are added to the image itself): > - v1: Recovery DTBO > - v2: DTB > > Account for these new fields in next functions: > 1. android_image_get_end(): as v1 and v2 have new payloads in the > image, the calculation of image end address should be extended > correspondingly; this is used e.g. by "bootm" command when booting > the kernel from Android Boot Image > 2. android_print_contents(): new fields values in v1 and v2 should be > printed; the result of this function can be seen e.g. in "iminfo" > command > > This commit doesn't add the means for working with new payloads in v1 > and v2 images (it will be done in further commits), it only updates > existing functions w.r.t. changes in boot image v1/v2. > > Signed-off-by: Sam Protsenko Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: