Commit 338ca565 authored by danh-arm's avatar danh-arm
Browse files

Merge pull request #252 from sandrine-bailleux/v1.1-misc-doc-fixes

Miscellaneous doc fixes for v1.1
parents 6a4932bd 121f2ae7
...@@ -21,7 +21,7 @@ for a specific CPU on a platform. ...@@ -21,7 +21,7 @@ for a specific CPU on a platform.
ARM Trusted Firmware exports a series of build flags which control the ARM Trusted Firmware exports a series of build flags which control the
errata workarounds that are applied to each CPU by the reset handler. The errata workarounds that are applied to each CPU by the reset handler. The
errata details can be found in the CPU specifc errata documents published errata details can be found in the CPU specific errata documents published
by ARM. The errata workarounds are implemented for a particular revision by ARM. The errata workarounds are implemented for a particular revision
or a set of processor revisions. This is checked by reset handler at runtime. or a set of processor revisions. This is checked by reset handler at runtime.
Each errata workaround is identified by its `ID` as specified in the processor's Each errata workaround is identified by its `ID` as specified in the processor's
......
...@@ -425,7 +425,7 @@ EL3, little-endian data access, and all interrupt sources masked: ...@@ -425,7 +425,7 @@ EL3, little-endian data access, and all interrupt sources masked:
PSTATE.EL = 3 PSTATE.EL = 3
PSTATE.RW = 1 PSTATE.RW = 1
PSTATE.DAIF = 0xf PSTATE.DAIF = 0xf
CTLR_EL3.EE = 0 SCTLR_EL3.EE = 0
X0 and X1 can be used to pass information from the Trusted Boot Firmware to the X0 and X1 can be used to pass information from the Trusted Boot Firmware to the
platform code in BL3-1: platform code in BL3-1:
...@@ -1060,9 +1060,9 @@ of any coherency domain. ...@@ -1060,9 +1060,9 @@ of any coherency domain.
The BL entrypoint code first invokes the `plat_reset_handler()` to allow The BL entrypoint code first invokes the `plat_reset_handler()` to allow
the platform to perform any system initialization required and any system the platform to perform any system initialization required and any system
errata wrokarounds that needs to be applied. The `get_cpu_ops_ptr()` reads errata workarounds that needs to be applied. The `get_cpu_ops_ptr()` reads
the current CPU midr, finds the matching `cpu_ops` entry in the `cpu_ops` the current CPU midr, finds the matching `cpu_ops` entry in the `cpu_ops`
array and returns it. Note that only the part number and implementator fields array and returns it. Note that only the part number and implementer fields
in midr are used to find the matching `cpu_ops` entry. The `reset_func()` in in midr are used to find the matching `cpu_ops` entry. The `reset_func()` in
the returned `cpu_ops` is then invoked which executes the required reset the returned `cpu_ops` is then invoked which executes the required reset
handling for that CPU and also any errata workarounds enabled by the platform. handling for that CPU and also any errata workarounds enabled by the platform.
......
...@@ -1445,9 +1445,10 @@ function uses the storage layer to access non-volatile platform storage. ...@@ -1445,9 +1445,10 @@ function uses the storage layer to access non-volatile platform storage.
It is mandatory to implement at least one storage driver. For the FVP the It is mandatory to implement at least one storage driver. For the FVP the
Firmware Image Package(FIP) driver is provided as the default means to load data Firmware Image Package(FIP) driver is provided as the default means to load data
from storage (see the "Firmware Image Package" section in the [User Guide]). from storage (see the "Firmware Image Package" section in the [User Guide]).
The storage layer is described in the header file `include/io_storage.h`. The The storage layer is described in the header file
implementation of the common library is in `lib/io_storage.c` and the driver `include/drivers/io/io_storage.h`. The implementation of the common library
files are located in `drivers/io/`. is in `drivers/io/io_storage.c` and the driver files are located in
`drivers/io/`.
Each IO driver must provide `io_dev_*` structures, as described in Each IO driver must provide `io_dev_*` structures, as described in
`drivers/io/io_driver.h`. These are returned via a mandatory registration `drivers/io/io_driver.h`. These are returned via a mandatory registration
......
...@@ -511,7 +511,7 @@ Preparing a Linux kernel for use on the FVPs can be done as follows ...@@ -511,7 +511,7 @@ Preparing a Linux kernel for use on the FVPs can be done as follows
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Not all required features are available in the kernel mainline yet. These Not all required features are available in the kernel mainline yet. These
can be obtained from the ARM-software EDK2 repository instead: can be obtained from the ARM-software Linux repository instead:
cd linux cd linux
git remote add -f --tags arm-software https://github.com/ARM-software/linux.git git remote add -f --tags arm-software https://github.com/ARM-software/linux.git
...@@ -790,7 +790,6 @@ with 8 CPUs using the ARM Trusted Firmware. ...@@ -790,7 +790,6 @@ with 8 CPUs using the ARM Trusted Firmware.
-C cluster0.NUM_CORES=4 \ -C cluster0.NUM_CORES=4 \
-C cluster1.NUM_CORES=4 \ -C cluster1.NUM_CORES=4 \
-C cache_state_modelled=1 \ -C cache_state_modelled=1 \
-C bp.pl011_uart0.untimed_fifos=1 \
-C bp.secureflashloader.fname="<path-to>/<bl1-binary>" \ -C bp.secureflashloader.fname="<path-to>/<bl1-binary>" \
-C bp.flashloader0.fname="<path-to>/<FIP-binary>" \ -C bp.flashloader0.fname="<path-to>/<FIP-binary>" \
-C bp.virtioblockdevice.image_path="<path-to>/<file-system-image>" -C bp.virtioblockdevice.image_path="<path-to>/<file-system-image>"
...@@ -808,7 +807,6 @@ boot Linux with 8 CPUs using the ARM Trusted Firmware. ...@@ -808,7 +807,6 @@ boot Linux with 8 CPUs using the ARM Trusted Firmware.
-C bp.secure_memory=1 \ -C bp.secure_memory=1 \
-C bp.tzc_400.diagnostics=1 \ -C bp.tzc_400.diagnostics=1 \
-C cache_state_modelled=1 \ -C cache_state_modelled=1 \
-C bp.pl011_uart0.untimed_fifos=1 \
-C bp.secureflashloader.fname="<path-to>/<bl1-binary>" \ -C bp.secureflashloader.fname="<path-to>/<bl1-binary>" \
-C bp.flashloader0.fname="<path-to>/<FIP-binary>" \ -C bp.flashloader0.fname="<path-to>/<FIP-binary>" \
-C bp.virtioblockdevice.image_path="<path-to>/<file-system-image>" -C bp.virtioblockdevice.image_path="<path-to>/<file-system-image>"
...@@ -828,7 +826,6 @@ with 8 CPUs using the ARM Trusted Firmware. ...@@ -828,7 +826,6 @@ with 8 CPUs using the ARM Trusted Firmware.
-C cluster0.NUM_CORES=4 \ -C cluster0.NUM_CORES=4 \
-C cluster1.NUM_CORES=4 \ -C cluster1.NUM_CORES=4 \
-C cache_state_modelled=1 \ -C cache_state_modelled=1 \
-C bp.pl011_uart0.untimed_fifos=1 \
-C cluster0.cpu0.RVBAR=0x04023000 \ -C cluster0.cpu0.RVBAR=0x04023000 \
-C cluster0.cpu1.RVBAR=0x04023000 \ -C cluster0.cpu1.RVBAR=0x04023000 \
-C cluster0.cpu2.RVBAR=0x04023000 \ -C cluster0.cpu2.RVBAR=0x04023000 \
...@@ -855,7 +852,6 @@ boot Linux with 8 CPUs using the ARM Trusted Firmware. ...@@ -855,7 +852,6 @@ boot Linux with 8 CPUs using the ARM Trusted Firmware.
-C bp.secure_memory=1 \ -C bp.secure_memory=1 \
-C bp.tzc_400.diagnostics=1 \ -C bp.tzc_400.diagnostics=1 \
-C cache_state_modelled=1 \ -C cache_state_modelled=1 \
-C bp.pl011_uart0.untimed_fifos=1 \
-C cluster0.cpu0.RVBARADDR=0x04023000 \ -C cluster0.cpu0.RVBARADDR=0x04023000 \
-C cluster0.cpu1.RVBARADDR=0x04023000 \ -C cluster0.cpu1.RVBARADDR=0x04023000 \
-C cluster0.cpu2.RVBARADDR=0x04023000 \ -C cluster0.cpu2.RVBARADDR=0x04023000 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment