mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-22 01:41:28 +01:00
doc: phytec: update imx8m docs for optee builds
OP-TEE configs are enabled by default, change the doc to no longer declare OP-TEE as optional. Also remove CFG_TEE_BENCHMARK as it is no longer present in optee_os. Further, phycore-imx8mm and imx8mm-phygate-tauri-l use different build instructions, so dissolve the common file for building OP-TEE. Reviewed-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Yannic Moog <y.moog@phytec.de>
This commit is contained in:
parent
f7857695c9
commit
cb1292450d
@ -9,6 +9,5 @@ F: configs/imx8mm-phygate-tauri-l_defconfig
|
||||
F: configs/phycore-imx8mm_defconfig
|
||||
F: doc/board/phytec/imx8mm-phygate-tauri-l.rst
|
||||
F: doc/board/phytec/index.rst
|
||||
F: doc/board/phytec/imx8mm-optee-build.rsti
|
||||
F: doc/board/phytec/phycore_imx8mm.rst
|
||||
F: include/configs/phycore_imx8mm.h
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
Build the OP-TEE binary (optional)
|
||||
----------------------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git clone https://github.com/OP-TEE/optee_os.git
|
||||
$ cd optee_os
|
||||
$ make CFG_TEE_BENCHMARK=n \
|
||||
CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
O=out/arm \
|
||||
PLATFORM=imx-mx8mmevk \
|
||||
CFG_TZDRAM_START=0x56000000 \
|
||||
CFG_DDR_SIZE=0x80000000 \
|
||||
CFG_UART_BASE=UART3_BASE
|
||||
@ -9,7 +9,7 @@ Quick Start
|
||||
-----------
|
||||
|
||||
- Build the ARM Trusted firmware binary
|
||||
- Build the OP-TEE binary (optional)
|
||||
- Build the OP-TEE binary
|
||||
- Get ddr firmware
|
||||
- Build U-Boot
|
||||
- Boot
|
||||
@ -23,12 +23,18 @@ Build the ARM Trusted firmware binary
|
||||
$ cd trusted-firmware-a
|
||||
$ export CROSS_COMPILE=aarch64-linux-gnu-
|
||||
$ export IMX_BOOT_UART_BASE=0x30880000
|
||||
$ # with optee
|
||||
$ make PLAT=imx8mm BL32_BASE=0x56000000 SPD=opteed bl31
|
||||
$ # without optee
|
||||
$ make PLAT=imx8mm bl31
|
||||
$ make PLAT=imx8mm BL32_BASE=0xbe000000 SPD=opteed bl31
|
||||
|
||||
.. include:: imx8mm-optee-build.rsti
|
||||
Build the OP-TEE binary
|
||||
-----------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git clone https://github.com/OP-TEE/optee_os.git
|
||||
$ cd optee_os
|
||||
$ make CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
O=out/arm \
|
||||
PLATFORM=imx-mx8mm_phygate_tauri_l
|
||||
|
||||
Get the ddr firmware
|
||||
--------------------
|
||||
|
||||
@ -40,7 +40,6 @@ Build the OP-TEE binary
|
||||
$ cd optee_os
|
||||
$ make -j $(nproc) \
|
||||
CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
CFG_TEE_BENCHMARK=n \
|
||||
O=out/arm \
|
||||
PLATFORM=imx-mx8mp_libra_fpsc
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ Quick Start
|
||||
-----------
|
||||
|
||||
- Build the ARM Trusted firmware binary
|
||||
- Build the OP-TEE binary (optional)
|
||||
- Build the OP-TEE binary
|
||||
- Get ddr firmware
|
||||
- Build U-Boot
|
||||
- Boot
|
||||
@ -23,12 +23,18 @@ Build the ARM Trusted firmware binary
|
||||
$ cd trusted-firmware-a
|
||||
$ export CROSS_COMPILE=aarch64-linux-gnu-
|
||||
$ export IMX_BOOT_UART_BASE=0x30880000
|
||||
$ # with optee
|
||||
$ make PLAT=imx8mm BL32_BASE=0x56000000 SPD=opteed bl31
|
||||
$ # without optee
|
||||
$ make PLAT=imx8mm bl31
|
||||
$ make PLAT=imx8mm BL32_BASE=0x7e000000 SPD=opteed bl31
|
||||
|
||||
.. include:: imx8mm-optee-build.rsti
|
||||
Build the OP-TEE binary
|
||||
-----------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git clone https://github.com/OP-TEE/optee_os.git
|
||||
$ cd optee_os
|
||||
$ make CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
O=out/arm \
|
||||
PLATFORM=imx-mx8mm_phyboard_polis
|
||||
|
||||
Get the ddr firmware
|
||||
--------------------
|
||||
|
||||
@ -9,7 +9,7 @@ Quick Start
|
||||
-----------
|
||||
|
||||
- Build the ARM Trusted firmware binary
|
||||
- Build the OP-TEE binary (optional)
|
||||
- Build the OP-TEE binary
|
||||
- Get ddr firmware
|
||||
- Build U-Boot
|
||||
- Boot
|
||||
@ -23,23 +23,19 @@ Build the ARM Trusted firmware binary
|
||||
$ cd trusted-firmware-a
|
||||
$ export CROSS_COMPILE=aarch64-linux-gnu-
|
||||
$ export IMX_BOOT_UART_BASE=0x30860000
|
||||
$ # with optee
|
||||
$ make PLAT=imx8mp SPD=opteed bl31
|
||||
$ # without optee
|
||||
$ make PLAT=imx8mp bl31
|
||||
$ make PLAT=imx8mp BL32_BASE=0x7e000000 SPD=opteed bl31
|
||||
|
||||
Build the OP-TEE binary (optional)
|
||||
----------------------------------
|
||||
Build the OP-TEE binary
|
||||
-----------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git clone https://github.com/OP-TEE/optee_os.git
|
||||
$ cd optee_os
|
||||
$ make CFG_TEE_BENCHMARK=n \
|
||||
CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
$ make CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
O=out/arm \
|
||||
PLATFORM=imx-mx8mp_phyboard_pollux \
|
||||
CFG_TZDRAM_START=0x56000000
|
||||
CFG_TZDRAM_START=0x7e000000
|
||||
|
||||
Get the ddr firmware
|
||||
--------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user