u-boot/arch/arm/cpu
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
..
arm720t arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
arm920t arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
arm926ejs arm: mxs: Add support for generating signed BootStream 2014-03-31 18:28:50 +02:00
arm946es arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
arm1136 Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-26 16:49:58 -05:00
arm1176 arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
arm_intcm arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
armv7 ARM: AM43xx: Change DDR3 Reset Value 2014-03-04 09:42:07 -05:00
armv8 arm: Switch to -mno-unaligned-access when supported by the compiler 2014-02-26 21:19:32 +01:00
at91-common arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
pxa Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-26 16:49:58 -05:00
sa1100 arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
tegra-common Move CONFIG_DISPLAY_CPUINFO to Makefile 2014-02-19 11:10:05 -05:00
tegra20-common ARM: tegra: use MASK_BITS_* macros everywhere 2014-02-03 09:46:45 -07:00
tegra30-common ARM: tegra: don't exceed AVP limits when configuring PLLP 2014-02-03 09:46:45 -07:00
tegra114-common ARM: tegra: don't exceed AVP limits when configuring PLLP 2014-02-03 09:46:45 -07:00
tegra124-common ARM: tegra: Add CPU (armv7) files for Tegra124 2014-02-03 09:46:46 -07:00
Makefile arm: atmel: add ddr2 initialization function 2013-12-01 22:38:47 +01:00
u-boot-spl.lds arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
u-boot.lds arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00