From: "Kumar, Udit" <u-kumar1@ti.com>
To: Jan Kiszka <jan.kiszka@siemens.com>,
Jerome Forissier <jerome.forissier@linaro.org>,
"Francis, Neha" <n-francis@ti.com>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
"trini@konsulko.com" <trini@konsulko.com>,
"sjg@chromium.org" <sjg@chromium.org>,
"Davis, Andrew" <afd@ti.com>,
"Raghavendra, Vignesh" <vigneshr@ti.com>,
"rogerq@kernel.org" <rogerq@kernel.org>,
"Gurudasani, Kamlesh" <kamlesh@ti.com>,
"Brattlof, Bryan" <bb@ti.com>,
"alpernebiyasak@gmail.com" <alpernebiyasak@gmail.com>
Cc: "Menon, Nishanth" <nm@ti.com>,
"Chawdhry, Manorit" <m-chawdhry@ti.com>,
"christian.gmeiner@gmail.com" <christian.gmeiner@gmail.com>,
"xypron.glpk@gmx.de" <xypron.glpk@gmx.de>
Subject: RE: [PATCH v5 20/23] doc: board: ti: Update documentation for binman flow
Date: Fri, 7 Jul 2023 13:47:54 +0000 [thread overview]
Message-ID: <49b1f410eb584d2aac8bc442e771de8b@ti.com> (raw)
In-Reply-To: <cc045dbf-5909-dca4-c049-18f23f7240b0@siemens.com>
>On 07.07.23 15:30, Jerome Forissier wrote:
>>
>>
>> On 7/7/23 14:34, Neha Malcom Francis wrote:
>>> Earlier documentation specified builds for generating bootloader
>>> images using an external TI repository k3-image-gen and
>>> core-secdev-k3. Modify this to using the binman flow so that user
>>> understands how to build the final boot images.
>>>
>>> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
>>> Reviewed-by: Simon Glass <sjg@chromium.org>
>>> ---
>>> doc/board/ti/am62x_sk.rst | 42 ++++++++---------
>>> doc/board/ti/j721e_evm.rst | 50 +++++++++-----------
>>> doc/board/ti/k3.rst | 95 +++++++++++++-------------------------
>>> 3 files changed, 73 insertions(+), 114 deletions(-)
>>>
>>> diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk.rst
>>> index 27d7b527c6..e4d58b4958 100644
>>> --- a/doc/board/ti/am62x_sk.rst
>>> +++ b/doc/board/ti/am62x_sk.rst
>> [...]
>>> @@ -139,35 +135,37 @@ Build procedure:
>>> ----------------
>>> 1. ATF:
>>>
>>> -.. code-block:: text
>>> +.. code-block:: bash
>>>
>>> - $ make CROSS_COMPILE=aarch64-none-linux-gnu- ARCH=aarch64
>PLAT=k3
>>> TARGET_BOARD=lite SPD=opteed
>>> + $ make CROSS_COMPILE=aarch64-none-linux-gnu- ARCH=aarch64
>PLAT=k3 \
>>> + TARGET_BOARD=lite SPD=opteed
>>>
>>> 2. OPTEE:
>>>
>>> -.. code-block:: text
>>> +.. code-block:: bash
>>>
>>> - $ make PLATFORM=k3 CFG_ARM64_core=y
>>> CROSS_COMPILE=arm-none-linux-gnueabihf-
>>> CROSS_COMPILE64=aarch64-none-linux-gnu-
>>> + $ make PLATFORM=k3 CFG_ARM64_core=y CROSS_COMPILE=arm-none-
>linux-gnueabihf- \
>>> + CROSS_COMPILE64=aarch64-none-linux-gnu-
>>>
>>> 3. U-Boot:
>>>
>>> * 3.1 R5:
>>>
>>> -.. code-block:: text
>>> +.. code-block:: bash
>>>
>>> - $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf-
>>> am62x_evm_r5_defconfig O=/tmp/r5
>>> - $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf-
>O=/tmp/r5
>>> - $ cd <k3-image-gen>
>>> - $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf-
>SOC=am62x
>>> SBL=/tmp/r5/spl/u-boot-spl.bin SYSFW_PATH=<path to
>>> ti-linux-firmware>/ti-sysfw/ti-fs-firmware-am62x-gp.bin
>>> -
>>> -Use the tiboot3.bin generated from last command
>>> + $ make ARCH=arm am62x_evm_r5_defconfig $ make ARCH=arm
>>> + CROSS_COMPILE=arm-none-linux-gnueabihf- \
>>> + BINMAN_INDIRS=<path/to/ti-linux-firmware>
>>>
>>> * 3.2 A53:
>>>
>>> -.. code-block:: text
>>> +.. code-block:: bash
>>>
>>> - $ make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu-
>>> am62x_evm_a53_defconfig O=/tmp/a53
>>> - $ make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- ATF=<path
>to
>>> ATF dir>/build/k3/lite/release/bl31.bin TEE=<path to OPTEE OS
>>> dir>/out/arm-plat-k3/core/tee-pager_v2.bin DM=<path to
>>> ti-linux-firmware>/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.x
>>> er5f O=/tmp/a53
>>> + $ make ARCH=arm am62x_evm_a53_defconfig $ make ARCH=arm
>>> + CROSS_COMPILE=aarch64-none-linux-gnu- \
>>> + BL31=<path to ATF dir>/build/k3/lite/release/bl31.bin \
>>> + TEE=<path to OPTEE OS
>>> + dir>/out/arm-plat-k3/core/tee-pager_v2.bin \
>>
>> Note that since OP-TEE 3.21.0, tee-raw.bin could/should be used
>> instead of tee-pager_v2.bin. Indeed when the "pager" feature is not
>> enabled, the two binaries are identical, and the newer name is hopefully
>less confusing.
>>
>
>Ah, interesting. That will affect doc/board/siemens/iot2050.rst as well (and
>our integration recipes).
And J7200 docs as well, however this doc is on next
https://github.com/u-boot/u-boot/blob/next/doc/board/ti/j7200_evm.rst
>
>Jan
>
>--
>Siemens AG, Technology
>Competence Center Embedded Linux
next prev parent reply other threads:[~2023-07-07 13:48 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-07 12:34 [PATCH v5 00/23] Migration to using binman for bootloader Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 01/23] binman: ti-board-config: Add support for TI board config binaries Neha Malcom Francis
2023-07-11 4:51 ` Jan Kiszka
2023-07-07 12:34 ` [PATCH v5 02/23] binman: ti-secure: Add support for TI signing Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 03/23] arm: dts: k3: Add support for packaging sysfw.itb and tiboot3.bin Neha Malcom Francis
2023-07-07 17:35 ` Simon Glass
2023-07-07 12:34 ` [PATCH v5 04/23] j721e: schema: yaml: Add general schema and J721E board config files Neha Malcom Francis
2023-07-11 4:52 ` Jan Kiszka
2023-07-11 4:53 ` Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 05/23] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 06/23] j7200: yaml: Add J7200 board config files Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 07/23] j7200: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 08/23] am65x: yaml: Add AM65x board config files Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 09/23] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 10/23] am64x: yaml: Add board configs for AM64x Neha Malcom Francis
2023-07-11 4:53 ` Jan Kiszka
2023-07-07 12:34 ` [PATCH v5 11/23] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img Neha Malcom Francis
2023-07-07 17:35 ` Simon Glass
2023-07-10 9:12 ` Neha Malcom Francis
2023-07-10 10:17 ` Jan Kiszka
2023-07-07 12:34 ` [PATCH v5 12/23] j721s2: yaml: Add board configs for J721S2 Neha Malcom Francis
2023-07-11 4:54 ` Jan Kiszka
2023-07-07 12:34 ` [PATCH v5 13/23] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 14/23] am62: yaml: Add board configs for AM62 Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 15/23] am625: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 16/23] am62a: yaml: Add board configs for AM62ax Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 17/23] am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050 Neha Malcom Francis
2023-07-07 13:38 ` Jan Kiszka
2023-07-10 7:50 ` Neha Malcom Francis
2023-07-11 5:06 ` Jan Kiszka
2023-07-07 17:35 ` Simon Glass
2023-07-07 12:34 ` [PATCH v5 19/23] k3: tools: config.mk: Update makefile and remove scripts Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 20/23] doc: board: ti: Update documentation for binman flow Neha Malcom Francis
2023-07-07 12:56 ` Nishanth Menon
2023-07-07 13:30 ` Jerome Forissier
2023-07-07 13:44 ` Jan Kiszka
2023-07-07 13:47 ` Kumar, Udit [this message]
2023-07-07 12:34 ` [PATCH v5 21/23] binman: Overwrite symlink if it already exists Neha Malcom Francis
2023-07-07 17:35 ` Simon Glass
2023-07-07 12:34 ` [PATCH v5 22/23] buildman: Create a requirements.txt file Neha Malcom Francis
2023-07-07 12:34 ` [PATCH v5 23/23] CI: Make use of buildman requirements.txt Neha Malcom Francis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49b1f410eb584d2aac8bc442e771de8b@ti.com \
--to=u-kumar1@ti.com \
--cc=afd@ti.com \
--cc=alpernebiyasak@gmail.com \
--cc=bb@ti.com \
--cc=christian.gmeiner@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=jerome.forissier@linaro.org \
--cc=kamlesh@ti.com \
--cc=m-chawdhry@ti.com \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=rogerq@kernel.org \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox