summaryrefslogtreecommitdiff
path: root/docs/plat
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2018-11-13 13:14:26 +0000
committerPete Batard <pete@akeo.ie>2018-11-13 13:53:37 +0000
commit6d5c61de74c6c2356707f041537e3c66def2b1bc (patch)
tree504973a5254c4435a54041d2be1b2d1886a6a093 /docs/plat
parent9793e0356e47902d21117b1a1ac64538deeb8f85 (diff)
rpi3: add RPI3_RUNTIME_UART build option
Some OSes (e.g. Ubuntu 18.04 LTS on Raspberry Pi 3) may disable the runtime UART in a manner that prevents the system from rebooting if ATF tries to send runtime messages there. Also, we don't want the firmware to share the UART with normal world, as this can be a DoS attack vector into the secure world. This patch fixes these 2 issues by introducing new build option RPI3_RUNTIME_UART, that disables the runtime UART by default. Fixes ARM-software/tf-issues#647 Signed-off-by: Pete Batard <pete@akeo.ie>
Diffstat (limited to 'docs/plat')
-rw-r--r--docs/plat/rpi3.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/plat/rpi3.rst b/docs/plat/rpi3.rst
index db475646..ea8171fa 100644
--- a/docs/plat/rpi3.rst
+++ b/docs/plat/rpi3.rst
@@ -231,6 +231,10 @@ The following build options are supported:
``RPI3_DIRECT_LINUX_BOOT=1``. This option allows to specify the location of a
DTB in memory.
+- ``RPI3_RUNTIME_UART``: Indicates whether the UART should be used at runtime
+ or disabled. ``-1`` (default) disables the runtime UART. Any other value
+ enables the default UART (currently UART1) for runtime messages.
+
- ``BL32``: This port can load and run OP-TEE. The OP-TEE image is optional.
Please use the code from `here <https://github.com/OP-TEE/optee_os>`__.
Build the Trusted Firmware with option ``BL32=tee-header_v2.bin