switch-l4t-atf/docs
Antonio Nino Diaz 7486eb0475 Fix documentation of bootwrapper boot on juno
The user guide incorrectly claimed that it is possible to load a
bootwrapped kernel over JTAG on Juno in the same manner as an EL3
payload. In the EL3 payload boot flow, some of the platform
initialisations in BL2 are modified. In particular, the TZC settings
are modified to allow unrestricted access to DRAM. This in turn allows
the debugger to access the DRAM and therefore to load the image there.

In the BL33-preloaded boot flow though, BL2 uses the default TZC
programming, which prevent access to most of the DRAM from secure state.
When execution reaches the SPIN_ON_BL1_EXIT loop, the MMU is disabled
and thus DS-5 presumably issues secure access transactions while trying
to load the image, which fails.

One way around it is to stop execution at the end of BL2 instead. At
this point, the MMU is still enabled and the DRAM is mapped as
non-secure memory. Therefore, the debugger is allowed to access this
memory in this context and to sucessfully load the bootwrapped kernel in
DRAM. The user guide is updated to suggest this alternative method.

Co-Authored-By: Sandrine Bailleux <sandrine.bailleux@arm.com>
Signed-off-by: Dan Handley <dan.handley@arm.com>

Change-Id: I537ea1c6d2f96edc06bc3f512e770c748bcabe94
2016-10-12 11:42:06 +01:00
..
diagrams Initialize secondary CPUs during cold boot 2016-03-07 09:23:38 +00:00
plat Merge pull request #651 from Xilinx/zynqmp_uart 2016-07-04 18:05:15 +01:00
spd
auth-framework.md
change-log.md Update change-log.md for v1.2 release 2015-12-21 18:17:12 +00:00
cpu-specific-build-macros.md Doc: Add links to the A53/A57 Errata Notice documents 2016-04-21 13:00:28 +01:00
firmware-design.md Docs: Add the PSCI library integration guide 2016-09-28 16:56:10 +01:00
firmware-update.md Documentation: Fix broken links in ToCs 2016-01-12 11:19:39 +00:00
interrupt-framework-design.md Documentation: Fix broken links in ToCs 2016-01-12 11:19:39 +00:00
platform-migration-guide.md
porting-guide.md AArch32: Common changes needed for BL1/BL2 2016-09-21 16:27:15 +01:00
psci-lib-integration-guide.md Docs: Add the PSCI library integration guide 2016-09-28 16:56:10 +01:00
psci-pd-tree.md Rework type usage in Trusted Firmware 2016-07-18 17:52:15 +01:00
reset-design.md Introduce the ARM TF reset design document 2015-12-15 15:14:43 +00:00
rt-svc-writers-guide.md Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
trusted-board-boot.md Replace fip_create with fiptool 2016-07-29 10:38:46 +01:00
user-guide.md Fix documentation of bootwrapper boot on juno 2016-10-12 11:42:06 +01:00