doc: board: ti: Add J742S2 support
PATCH 1/1 doc: board: ti: Add J742S2 support
J742S2 SOC is derivative of J784S4, most of build infra of j784s4 is used to build u-boot for J742S2 EVM board.
Add guide users on how to build for that board.
--- doc/board/ti/j784s4_evm.rst | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)
doc/board/ti/j784s4_evm.rst +22 -2
@@ -1,8 +1,8 @@ .. SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause .. sectionauthor:: Apurva Nandan <[email protected]> -J784S4 and AM69 Platforms -========================= +J742S2, J784S4 and AM69 Platforms +================================== Introduction ------------
@@ -37,6 +37,11 @@ Platform information: * https://www.ti.com/tool/J784S4XEVM * https://www.ti.com/tool/SK-AM69 +J742S2 is derivative of J784S24 SOC, More info can be found in + +* TRM : https://www.ti.com/lit/ug/spruje3/spruje3.pdf +* Platform Information : https://www.ti.com/tool/J742S2XH01EVM + Boot Flow --------- Below is the pictorial representation of boot flow:
@@ -99,6 +104,15 @@ Set the variables corresponding to this platform: export UBOOT_CFG_CORTEXR=am69_sk_r5_defconfig export UBOOT_CFG_CORTEXA=am69_sk_a72_defconfig +.. note:: + + For J742S2-EVM, use the following U_BOOT_CFG instead: + + .. prompt:: bash + + export UBOOT_CFG_CORTEXR=j742s2_evm_r5_defconfig + export UBOOT_CFG_CORTEXA=j742s2_evm_a72_defconfig + .. j784s4_evm_rst_include_start_build_steps 1. Trusted Firmware-A
@@ -146,13 +160,19 @@ variant (GP, HS-FS, HS-SE) requires a different source for these files. - HS-FS * tiboot3-j784s4-hs-fs-evm.bin from :ref:`step 3.1 <j784s4_evm_rst_u_boot_r5>` + * tiboot3-j742s2-hs-fs-evm.bin from :ref:`step 3.1 <j784s4_evm_rst_u_boot_r5>` * tispl.bin, u-boot.img from :ref:`step 3.2 <j784s4_evm_rst_u_boot_a72>` - HS-SE * tiboot3-j784s4-hs-evm.bin from :ref:`step 3.1 <j784s4_evm_rst_u_boot_r5>` + * tiboot3-j742s2-hs-evm.bin from :ref:`step 3.1 <j784s4_evm_rst_u_boot_r5>` * tispl.bin, u-boot.img from :ref:`step 3.2 <j784s4_evm_rst_u_boot_a72>` +.. note:: + + For J742S2, GP variant is not available. + Image formats -------------
Signature · 1 line
2.34.1
Quoted 15 lines · Udit Kumar
J742S2 SOC is derivative of J784S4, most of build infra of j784s4 is used to build u-boot for J742S2 EVM board.
Add guide users on how to build for that board.
Signed-off-by Udit Kumar <[email protected]>--- doc/board/ti/j784s4_evm.rst | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)doc/board/ti/j784s4_evm.rst +0
-0
doc/board/ti/j784s4_evm.rst line 5
Quoted 7 lines
doc/board/ti/j784s4_evm.rst +2
-2@@ -1,8 +1,8 @@ .. SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause .. sectionauthor:: Apurva Nandan <[email protected]> -J784S4 and AM69 Platforms -========================= +J742S2, J784S4 and AM69 Platforms +==================================
This is too many '=' and now CI doc building will fail with a warning. Please build doc changes with:
make htmldocs KDOC_WERROR=1
To ensure CI passes. Everything else looks fine, thanks.
Signature · 1 line
Tom
Hi Tom
Quoted 19 lines · Tom Rini
Quoted 18 lines · Udit Kumar
J742S2 SOC is derivative of J784S4, most of build infra of j784s4 is used to build u-boot for J742S2 EVM board.
Add guide users on how to build for that board.
Signed-off-by Udit Kumar <[email protected]>--- doc/board/ti/j784s4_evm.rst | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)doc/board/ti/j784s4_evm.rst +0
-0@@ -1,8 +1,8 @@ .. SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause .. sectionauthor:: Apurva Nandan <[email protected]>
Quoted 7 lines
doc/board/ti/j784s4_evm.rst line 5
Quoted 4 lines
doc/board/ti/j784s4_evm.rst +2
-2-J784S4 and AM69 Platforms -========================= +J742S2, J784S4 and AM69 Platforms +==================================This is too many '=' and now CI doc building will fail with a warning. Please build doc changes with:
make htmldocs KDOC_WERROR=1
When I checked locally, I haven't encountered any error
https://gist.github.com/uditkumarti/94780fe8ec2bb4b55c46b1ab4afc7e7d
Anyway, I will send v2 by removing one extra =
Quoted 2 lines
To ensure CI passes. Everything else looks fine, thanks.
Quoted 30 lines · Udit
Hi Tom
Quoted 11 lines · Tom Rini
Quoted 10 lines · Udit Kumar
J742S2 SOC is derivative of J784S4, most of build infra of j784s4 is used to build u-boot for J742S2 EVM board.
Add guide users on how to build for that board.
Signed-off-by Udit Kumar <[email protected]>--- doc/board/ti/j784s4_evm.rst | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)Quoted 14 lines
doc/board/ti/j784s4_evm.rst line 4
Quoted 11 lines
doc/board/ti/j784s4_evm.rst +2
-2@@ -1,8 +1,8 @@ .. SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause .. sectionauthor:: Apurva Nandan <[email protected]> -J784S4 and AM69 Platforms -========================= +J742S2, J784S4 and AM69 Platforms +==================================This is too many '=' and now CI doc building will fail with a warning. Please build doc changes with:
make htmldocs KDOC_WERROR=1
Quoted 3 lines
When I checked locally, I haven't encountered any error
https://gist.github.com/uditkumarti/94780fe8ec2bb4b55c46b1ab4afc7e7d
But it also didn't rebuild the file in that gist. It's not like -Werror in that it fails immediately, it just prints a warning while building and then (only that) make instance will have a non-zero exit status.
Quoted 1 line
Anyway, I will send v2 by removing one extra =
Thanks.
Signature · 1 line
Tom