Skip to contentSkip to conversation

doc: board: j721e_evm: Add DM firmware steps

PATCH Superseded Andrew Davis 2 participants 5 messages Oct 7, 2022 – Nov 9, 2022

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: board: j721e_evm: Add DM firmware steps

J721e needs DM firmware when using updated SYSFW. Add steps to fetch, build, and deploy the same.

---
 doc/board/ti/j721e_evm.rst | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
doc/board/ti/j721e_evm.rst +10 -6
index 44dc316afd..a7d7229722 100644
@@ -142,7 +142,11 @@ Sources:
 	Tree: https://github.com/OP-TEE/optee_os.git
 	Branch: master
 
-4. U-Boot:
+4. DM:
+	Tree: git://git.ti.com/processor-firmware/ti-linux-firmware.git
+	Branch: ti-linux-firmware
+
+5. U-Boot:
 	Tree: https://source.denx.de/u-boot/u-boot
 	Branch: master
 
@@ -152,7 +156,7 @@ Build procedure:
 
 .. code-block:: text
 
- $ make CROSS_COMPILE=arm-linux-gnueabihf-
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- SOC=j721e
 
 2. ATF:
 
@@ -172,15 +176,15 @@ Build procedure:
 
 .. code-block:: text
 
- $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
- $ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=build/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- O=build/r5
 
 * 4.2 A72:
 
 .. code-block:: text
 
- $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
- $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=<path to DM firmware image> O=/tmp/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=build/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<ATF dir>/build/k3/generic/release/bl31.bin TEE=<OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=DM=<DM firmware>/ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f O=build/a72
 
 Target Images
 --------------
Signature · 1 line
2.37.3
#1 lore raw
Quoted 26 lines · Andrew Davis

J721e needs DM firmware when using updated SYSFW. Add steps to fetch, build, and deploy the same.

---
  doc/board/ti/j721e_evm.rst | 16 ++++++++++------
  1 file changed, 10 insertions(+), 6 deletions(-)
doc/board/ti/j721e_evm.rst +5 -1
index 44dc316afd..a7d7229722 100644
@@ -142,7 +142,11 @@ Sources:
  	Tree: https://github.com/OP-TEE/optee_os.git
  	Branch: master
 
-4. U-Boot:
+4. DM:
+	Tree: git://git.ti.com/processor-firmware/ti-linux-firmware.git
+	Branch: ti-linux-firmware
+
+5. U-Boot:
  	Tree: https://source.denx.de/u-boot/u-boot
  	Branch: master
 

doc/board/ti/j721e_evm.rst Build procedure: · line 157

Quoted 2 lines
doc/board/ti/j721e_evm.rst +0 -0
@@ -152,7 +156,7 @@ Build procedure:
 
  .. code-block:: text

Thanks for updating the documentation.

The code-blocks look like bash and not text. Please, correct this information to allow syntax highlighting.

doc/board/ti/j721e_evm.rst Build procedure: · line 159

Quoted 3 lines
doc/board/ti/j721e_evm.rst +1 -1
- $ make CROSS_COMPILE=arm-linux-gnueabihf-
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- SOC=j721e

Please, remove the leading $-signs which are not helpful when copying to the console.

Please indent code blocks by 4 spaces. Otherwise Sphinx cannot recognize them.

Best regards

Heinrich

Quoted 23 lines
doc/board/ti/j721e_evm.rst +4 -4
  2. ATF:
 
@@ -172,15 +176,15 @@ Build procedure:
 
  .. code-block:: text
 
- $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
- $ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=build/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- O=build/r5
 
  * 4.2 A72:
 
  .. code-block:: text
 
- $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
- $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=<path to DM firmware image> O=/tmp/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=build/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<ATF dir>/build/k3/generic/release/bl31.bin TEE=<OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=DM=<DM firmware>/ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f O=build/a72
 
  Target Images
  --------------
#2 lore raw
Quoted 36 lines · Heinrich Schuchardt
Quoted 27 lines · Andrew Davis

J721e needs DM firmware when using updated SYSFW. Add steps to fetch, build, and deploy the same.

---
  doc/board/ti/j721e_evm.rst | 16 ++++++++++------

  1 file changed, 10 insertions(+), 6 deletions(-)
doc/board/ti/j721e_evm.rst +0 -0
index 44dc316afd..a7d7229722 100644
@@ -142,7 +142,11 @@ Sources:

      Tree: https://github.com/OP-TEE/optee_os.git
      Branch: master

-4. U-Boot:
+4. DM:
+    Tree: git://git.ti.com/processor-firmware/ti-linux-firmware.git
+    Branch: ti-linux-firmware
+
+5. U-Boot:
      Tree: https://source.denx.de/u-boot/u-boot
      Branch: master

doc/board/ti/j721e_evm.rst +0 -0
@@ -152,7 +156,7 @@ Build procedure:
 
Quoted 1 line

  .. code-block:: text

Thanks for updating the documentation.

The code-blocks look like bash and not text. Please, correct this information to allow syntax highlighting.

Quoted 1 line
Quoted 9 lines
Quoted 2 lines

- $ make CROSS_COMPILE=arm-linux-gnueabihf-
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- SOC=j721e

Please, remove the leading $-signs which are not helpful when copying to the console.

Please indent code blocks by 4 spaces. Otherwise Sphinx cannot recognize them.

Will fix all the code blocks then in a single patch, add it to this as a follow up in a series.

Thanks,
Andrew

Quoted 28 lines

Best regards

Heinrich

Quoted 23 lines

  2. ATF:

doc/board/ti/j721e_evm.rst +0 -0
@@ -172,15 +176,15 @@ Build procedure:
 

  .. code-block:: text

- $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
- $ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=build/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- O=build/r5

  * 4.2 A72:

  .. code-block:: text

- $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
- $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=<path to DM firmware image> O=/tmp/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=build/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<ATF dir>/build/k3/generic/release/bl31.bin TEE=<OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=DM=<DM firmware>/ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f O=build/a72

  Target Images
  --------------

#3 lore raw
Quoted 18 lines · Andrew Davis
Quoted 17 lines · Heinrich Schuchardt
Quoted 16 lines · Andrew Davis

J721e needs DM firmware when using updated SYSFW. Add steps to fetch, build, and deploy the same.

---
  doc/board/ti/j721e_evm.rst | 16 ++++++++++------

  1 file changed, 10 insertions(+), 6 deletions(-)
doc/board/ti/j721e_evm.rst +0 -0
index 44dc316afd..a7d7229722 100644
@@ -142,7 +142,11 @@ Sources:

      Tree: https://github.com/OP-TEE/optee_os.git
      Branch: master

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-4. U-Boot:
+4. DM:

DM in the context of U-Boot is used as abbreviation for driver model.

Please, provide a meaningful title.

Best regards

Heinrich

Quoted 74 lines
Quoted 17 lines
Quoted 10 lines

+    Tree: git://git.ti.com/processor-firmware/ti-linux-firmware.git
+    Branch: ti-linux-firmware
+
+5. U-Boot:
      Tree: https://source.denx.de/u-boot/u-boot
      Branch: master

doc/board/ti/j721e_evm.rst +0 -0
@@ -152,7 +156,7 @@ Build procedure:
 

  .. code-block:: text

Thanks for updating the documentation.

The code-blocks look like bash and not text. Please, correct this information to allow syntax highlighting.

Quoted 1 line
Quoted 9 lines
Quoted 2 lines

- $ make CROSS_COMPILE=arm-linux-gnueabihf-
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- SOC=j721e

Please, remove the leading $-signs which are not helpful when copying to the console.

Please indent code blocks by 4 spaces. Otherwise Sphinx cannot recognize them.

Will fix all the code blocks then in a single patch, add it to this as a follow up in a series.

Thanks,
Andrew

Quoted 39 lines

Best regards

Heinrich

Quoted 34 lines

  2. ATF:

doc/board/ti/j721e_evm.rst +0 -0
@@ -172,15 +176,15 @@ Build procedure:
 

  .. code-block:: text

- $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
- $ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=build/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- O=build/r5

  * 4.2 A72:

  .. code-block:: text

- $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
- $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=<path to DM firmware image> O=/tmp/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=build/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<ATF dir>/build/k3/generic/release/bl31.bin TEE=<OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=DM=<DM firmware>/ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f O=build/a72

  Target Images
  --------------

#4 lore raw
Quoted 19 lines · Heinrich Schuchardt
Quoted 18 lines · Andrew Davis
Quoted 17 lines · Heinrich Schuchardt
Quoted 16 lines · Andrew Davis

J721e needs DM firmware when using updated SYSFW. Add steps to fetch, build, and deploy the same.

---
  doc/board/ti/j721e_evm.rst | 16 ++++++++++------

  1 file changed, 10 insertions(+), 6 deletions(-)
doc/board/ti/j721e_evm.rst +0 -0
index 44dc316afd..a7d7229722 100644
@@ -142,7 +142,11 @@ Sources:

      Tree: https://github.com/OP-TEE/optee_os.git
      Branch: master

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-4. U-Boot:
+4. DM:

DM in the context of U-Boot is used as abbreviation for driver model.

Please, provide a meaningful title.

Will rename to "DM Firmware" for v3.

Thanks,
Andrew

Quoted 79 lines

Best regards

Heinrich

Quoted 74 lines
Quoted 17 lines
Quoted 10 lines

+    Tree: git://git.ti.com/processor-firmware/ti-linux-firmware.git
+    Branch: ti-linux-firmware
+
+5. U-Boot:
      Tree: https://source.denx.de/u-boot/u-boot
      Branch: master

doc/board/ti/j721e_evm.rst +0 -0
@@ -152,7 +156,7 @@ Build procedure:
 

  .. code-block:: text

Thanks for updating the documentation.

The code-blocks look like bash and not text. Please, correct this information to allow syntax highlighting.

Quoted 1 line
Quoted 9 lines
Quoted 2 lines

- $ make CROSS_COMPILE=arm-linux-gnueabihf-
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- SOC=j721e

Please, remove the leading $-signs which are not helpful when copying to the console.

Please indent code blocks by 4 spaces. Otherwise Sphinx cannot recognize them.

Will fix all the code blocks then in a single patch, add it to this as a follow up in a series.

Thanks,
Andrew

Quoted 39 lines

Best regards

Heinrich

Quoted 34 lines

  2. ATF:

doc/board/ti/j721e_evm.rst +0 -0
@@ -172,15 +176,15 @@ Build procedure:
 

  .. code-block:: text

- $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
- $ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=build/r5
+ $ make CROSS_COMPILE=arm-linux-gnueabihf- O=build/r5

  * 4.2 A72:

  .. code-block:: text

- $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
- $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=<path to DM firmware image> O=/tmp/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=build/a72
+ $ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<ATF dir>/build/k3/generic/release/bl31.bin TEE=<OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=DM=<DM firmware>/ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f O=build/a72

  Target Images
  --------------