u-boot/arch/arm/cpu/arm926ejs/mxs
Marek Vasut 53e6b14e03 arm: mxs: Add support for generating signed BootStream
This patch adds the groundwork for generating signed BootStream, which
can be used by the HAB library in i.MX28. We are adding a new target,
u-boot-signed.sb , since the process for generating regular non-signed
BootStream is much easier. Moreover, the signed bootstream depends on
external _proprietary_ _binary-only_ tool from Freescale called 'cst',
which is available only under NDA.

To make things even uglier, the CST or HAB mandates a kind-of circular
dependency. The problem is, unlike the regular IVT, which is generated
by mxsimage, the IVT for signed boot must be generated by hand here due
to special demands of the CST. The U-Boot binary (or SPL binary) and IVT
are then signed by the CST as a one block. But here is the problem. The
size of the entire image (U-Boot, IVT, CST blocks) must be appended at
the end of IVT. But the size of the entire image is not known until the
CST has finished signing the U-Boot and IVT. We solve this by expecting
the CST block to be always 3904B (which it is in case two files, U-Boot
and the hand-made IVT, are signed in the CST block).

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
2014-03-31 18:28:50 +02:00
..
clock.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
iomux.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile arm: mxs: Add support for generating signed BootStream 2014-03-31 18:28:50 +02:00
mxs.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxs_init.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsimage-signed.cfg arm: mxs: Add support for generating signed BootStream 2014-03-31 18:28:50 +02:00
mxsimage.mx23.cfg arm: mxs: Adjust the load address of U-Boot and SPL for HAB 2014-03-31 18:28:50 +02:00
mxsimage.mx28.cfg arm: mxs: Adjust the load address of U-Boot and SPL for HAB 2014-03-31 18:28:50 +02:00
spl_boot.c arm: mxs: Adjust the load address of U-Boot and SPL for HAB 2014-03-31 18:28:50 +02:00
spl_lradc_init.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
spl_mem_init.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
spl_power_init.c ARM: mxs: Enable DCDC converter for battery boot 2013-10-31 17:54:23 +01:00
start.S arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
timer.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
u-boot-imx23.bd arm: mxs: Preprocess u-boot.bd so they contain full path 2013-05-06 10:37:36 +02:00
u-boot-imx28.bd arm: mxs: Preprocess u-boot.bd so they contain full path 2013-05-06 10:37:36 +02:00
u-boot-spl.lds arm: mxs: Adjust the load address of U-Boot and SPL for HAB 2014-03-31 18:28:50 +02:00