Skip to content

Commit f61f621

Browse files
DhruvaG2000jeevantelukula
authored andcommitted
feat(TFA): Add docs for AM62L
Update the repo link for TI and also add build instructions for AM62L TFA Also document the memory addresses and the scmi IDs Signed-off-by: Dhruva Gole <[email protected]>
1 parent 7327293 commit f61f621

File tree

1 file changed

+38
-4
lines changed

1 file changed

+38
-4
lines changed

source/linux/Foundational_Components_ATF.rst

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ it sets up itself as the EL3 monitor handler. Following that, it installs the se
1414
world software (OP-TEE) and passes execution on to either the Linux kernel or U-Boot
1515
in the non-secure world.
1616

17+
.. ifconfig:: CONFIG_part_variant in ('AM62LX')
18+
19+
.. rubric:: Power and Clock Management using SCMI
20+
21+
The AM62Lx System-on-Chip (SoC) utilizes the System Control and Management Interface
22+
(SCMI) protocol to manage clocks and power domains. SCMI is a standardized interface for
23+
system control and management, providing a common way to access and control system resources.
24+
The SCMI IDs used in the AM62L TF-A implementation are documented in the
25+
`TF-A documentation <https://github.com/TexasInstruments/arm-trusted-firmware/blob/ti-master/docs/plat/ti-am62l.rst>`__.
26+
1727
|
1828
1929
.. rubric:: Getting the ATF Source Code
@@ -25,7 +35,7 @@ If it is not possible to use pre-build binary, use the following:
2535

2636
.. code-block:: console
2737
28-
$ git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
38+
$ git clone https://github.com/TexasInstruments/arm-trusted-firmware.git
2939
$ git checkout <hash>
3040
3141
Where <hash> is the commit shown here: :ref:`tf-a-release-notes`.
@@ -40,7 +50,7 @@ Where <hash> is the commit shown here: :ref:`tf-a-release-notes`.
4050

4151
.. rubric:: Building ATF
4252

43-
.. ifconfig:: CONFIG_part_variant in ('AM62X', 'AM62AX', 'AM62PX', 'AM64X', 'J722S')
53+
.. ifconfig:: CONFIG_part_variant in ('AM62LX', 'AM62X', 'AM62AX', 'AM62PX', 'AM64X', 'J722S')
4454

4555
.. ifconfig:: CONFIG_part_variant in ('AM62X', 'AM62AX', 'AM62PX', 'AM64X', 'J722S')
4656

@@ -50,6 +60,16 @@ Where <hash> is the commit shown here: :ref:`tf-a-release-notes`.
5060
$ cd $TFA_DIR
5161
$ make ARCH=aarch64 CROSS_COMPILE="$CROSS_COMPILE_64" PLAT=k3 TARGET_BOARD=lite SPD=opteed
5262
63+
.. ifconfig:: CONFIG_part_variant in ('AM62LX')
64+
65+
*Without OP-TEE enabled:*
66+
67+
.. code-block:: console
68+
69+
$ export TFA_DIR=<path-to-arm-trusted-firmware>
70+
$ cd $TFA_DIR
71+
$ make ARCH=aarch64 CROSS_COMPILE="$CROSS_COMPILE_64" PLAT=k3 TARGET_BOARD=am62l
72+
5373
.. ifconfig:: CONFIG_part_variant in ('J721S2')
5474

5575
.. code-block:: console
@@ -62,7 +82,7 @@ Where <hash> is the commit shown here: :ref:`tf-a-release-notes`.
6282
6383
$ make CROSS_COMPILE="$CROSS_COMPILE_64" ARCH=aarch64 PLAT=k3 TARGET_BOARD=j784s4 SPD=opteed K3_USART=0x8
6484
65-
.. ifconfig:: CONFIG_part_variant not in ('AM64X', 'AM62X', 'AM62AX', 'AM62PX', 'J721S2', 'J784S4','J742S2')
85+
.. ifconfig:: CONFIG_part_variant not in ('AM64X', 'AM62X', 'AM62LX', 'AM62AX', 'AM62PX', 'J721S2', 'J784S4','J742S2')
6686

6787
.. code-block:: console
6888
@@ -86,7 +106,21 @@ Where <hash> is the commit shown here: :ref:`tf-a-release-notes`.
86106
| DTB | 0x82000000 |
87107
+---------------------------+------------+
88108
89-
.. ifconfig:: CONFIG_part_family not in ('AM64X_family')
109+
.. ifconfig:: CONFIG_part_family in ('AM62LX_family')
110+
111+
.. code-block:: text
112+
113+
+---------------------------+------------+
114+
| ATF image | 0x80000000 |
115+
+---------------------------+------------+
116+
| OP-TEE image | 0x80200000 |
117+
+---------------------------+------------+
118+
| U-Boot/Linux kernel image | 0x80080000 |
119+
+---------------------------+------------+
120+
| DTB | 0x82000000 |
121+
+---------------------------+------------+
122+
123+
.. ifconfig:: CONFIG_part_family not in ('AM64X_family', 'AM62LX_family')
90124

91125
.. code-block:: text
92126

0 commit comments

Comments
 (0)