uboot/arch
Marek Vasut 1a9df13d5b 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-04-04 11:44:59 +02:00
..
arc kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
arm arm: mxs: Add support for generating signed BootStream 2014-04-04 11:44:59 +02:00
avr32 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
blackfin kbuild: improve Kbuild speed 2014-03-07 10:59:06 -05:00
m68k kbuild: rename OBJTREE to objtree 2014-03-12 17:04:58 -04:00
microblaze kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
mips usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
nds32 config.mk: specify the exact path to standalone linker script 2014-03-07 10:59:06 -05:00
nios2 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
openrisc kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
powerpc kbuild: rename OBJTREE to objtree 2014-03-12 17:04:58 -04:00
sandbox sandbox: Add options to clean up temporary files 2014-03-17 20:05:49 -06:00
sh sh: fix PFC registers definition for SH772{2, 3, 4} 2014-03-14 14:49:54 +09:00
sparc usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
x86 x86: specify CONFIG_USE_PRIVATE_LIBGCC more simply 2014-03-12 17:04:45 -04:00
.gitignore