public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] board: iot2050: update build documentation for OP-TEE
@ 2021-11-28 21:57 Ivan Mikhaylov
  2021-11-29  9:54 ` Jan Kiszka
  2021-11-29 16:28 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Ivan Mikhaylov @ 2021-11-28 21:57 UTC (permalink / raw)
  To: Le Jin, Jan Kiszka; +Cc: u-boot, Ivan Mikhaylov, Ivan Mikhaylov

From: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

Set ta-target explicitly to correspond with OP-TEE recipe in
siemens/meta-iot2050.

Errors without explicit set of ta-target:
aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mthumb’
aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mno-unaligned-access’
aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
make: *** [mk/compile.mk:159: out/arm-plat-k3/ta_arm32-lib/libdl/dlfcn.o] Error 1

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
---
 doc/board/siemens/iot2050.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/board/siemens/iot2050.rst b/doc/board/siemens/iot2050.rst
index 592c59be03..7e97f817ce 100644
--- a/doc/board/siemens/iot2050.rst
+++ b/doc/board/siemens/iot2050.rst
@@ -49,7 +49,7 @@ OP-TEE:
 
 .. code-block:: text
 
- $ make PLATFORM=k3-am65x CFG_ARM64_core=y CFG_TEE_CORE_LOG_LEVEL=2 CFG_CONSOLE_UART=1
+ $ make PLATFORM=k3-am65x CFG_ARM64_core=y CFG_TEE_CORE_LOG_LEVEL=2 CFG_CONSOLE_UART=1 CFG_USER_TA_TARGETS="ta_arm64"
 
 U-Boot:
 
-- 
2.34.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] board: iot2050: update build documentation for OP-TEE
  2021-11-28 21:57 [PATCH] board: iot2050: update build documentation for OP-TEE Ivan Mikhaylov
@ 2021-11-29  9:54 ` Jan Kiszka
  2021-11-29 16:28 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2021-11-29  9:54 UTC (permalink / raw)
  To: Ivan Mikhaylov, Le Jin; +Cc: u-boot, Ivan Mikhaylov

On 28.11.21 22:57, Ivan Mikhaylov wrote:
> From: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
> 
> Set ta-target explicitly to correspond with OP-TEE recipe in
> siemens/meta-iot2050.
> 
> Errors without explicit set of ta-target:
> aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mthumb’
> aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mno-unaligned-access’
> aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
> make: *** [mk/compile.mk:159: out/arm-plat-k3/ta_arm32-lib/libdl/dlfcn.o] Error 1
> 
> Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
> ---
>  doc/board/siemens/iot2050.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/board/siemens/iot2050.rst b/doc/board/siemens/iot2050.rst
> index 592c59be03..7e97f817ce 100644
> --- a/doc/board/siemens/iot2050.rst
> +++ b/doc/board/siemens/iot2050.rst
> @@ -49,7 +49,7 @@ OP-TEE:
>  
>  .. code-block:: text
>  
> - $ make PLATFORM=k3-am65x CFG_ARM64_core=y CFG_TEE_CORE_LOG_LEVEL=2 CFG_CONSOLE_UART=1
> + $ make PLATFORM=k3-am65x CFG_ARM64_core=y CFG_TEE_CORE_LOG_LEVEL=2 CFG_CONSOLE_UART=1 CFG_USER_TA_TARGETS="ta_arm64"
>  
>  U-Boot:
>  
> 

Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>

Thanks,
Jan

PS: We should align our own build recipe to this pattern
(CFG_USER_TA_TARGETS, rather than ta-targets).

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] board: iot2050: update build documentation for OP-TEE
  2021-11-28 21:57 [PATCH] board: iot2050: update build documentation for OP-TEE Ivan Mikhaylov
  2021-11-29  9:54 ` Jan Kiszka
@ 2021-11-29 16:28 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-11-29 16:28 UTC (permalink / raw)
  To: Ivan Mikhaylov; +Cc: Le Jin, Jan Kiszka, u-boot, Ivan Mikhaylov

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

On Sun, Nov 28, 2021 at 09:57:01PM +0000, Ivan Mikhaylov wrote:

> From: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
> 
> Set ta-target explicitly to correspond with OP-TEE recipe in
> siemens/meta-iot2050.
> 
> Errors without explicit set of ta-target:
> aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mthumb’
> aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mno-unaligned-access’
> aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
> make: *** [mk/compile.mk:159: out/arm-plat-k3/ta_arm32-lib/libdl/dlfcn.o] Error 1
> 
> Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
> Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-29 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-28 21:57 [PATCH] board: iot2050: update build documentation for OP-TEE Ivan Mikhaylov
2021-11-29  9:54 ` Jan Kiszka
2021-11-29 16:28 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox