File: event_log.rst

package info (click to toggle)
arm-trusted-firmware 2.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 22,772 kB
  • sloc: ansic: 245,906; asm: 19,102; makefile: 1,549; python: 300; sh: 39
file content (35 lines) | stat: -rw-r--r-- 1,171 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
DTB binding for Event Log properties
====================================

This document describes the device tree format of Event Log properties.
These properties are not related to a specific platform and can be queried
from common code.

Dynamic configuration for Event Log
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Measured Boot driver expects a *tpm_event_log* node with the following field
in 'nt_fw_config' and 'tsp_fw_config' DTS files:

- compatible [mandatory]
   - value type: <string>
   - Must be the string "arm,tpm_event_log".

Then a list of properties representing Event Log configuration, which
can be used by Measured Boot driver. Each property is named according
to the information it contains:

- tpm_event_log_sm_addr [fvp_nt_fw_config.dts with OP-TEE]
    - value type: <u64>
    - Event Log base address in secure memory.

Note. Currently OP-TEE does not support reading DTBs from Secure memory
and this property should be removed when this feature is supported.

- tpm_event_log_addr [mandatory]
    - value type: <u64>
    - Event Log base address in non-secure memory.

- tpm_event_log_size [mandatory]
    - value type: <u32>
    - Event Log size.