From: sbabic at denx.de Date: Mon, 10 Jun 2019 09:39:41 +0000 (UTC) Subject: [U-Boot] [PATCH] imx: hab: Increase CSF_SIZE for i.MX6 and i.MX7 Message-ID: <20190610093944.9BF84C21FEC@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > In certain i.MX devices the encrypted boot image is failing to boot. > According to AN12056 "Encrypted Boot on HABv4 and CAAM Enabled Devices" > it's necessary to pad CSF to 0x2000 and append DEK blob. > In this case the total image size in boot data structure must cover the > entire binary otherwise the dek_blob won't be copied to memory and image > won't be decrypted. > Increase CSF_SIZE to 0x4000 to avoid such issue when booting encrypted > boot images. > Signed-off-by: Breno Lima > Reviewed-by: Lukasz Majewski > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================