lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 4 Dec 2023 18:08:59 +0100
From:   Jerome Forissier <jerome.forissier@...aro.org>
To:     Jens Wiklander <jens.wiklander@...aro.org>,
        Randy Li <ayaka@...lik.info>
Cc:     op-tee@...ts.trustedfirmware.org, linux-kernel@...r.kernel.org
Subject: Re: optee: os: toolchains would include linux target macros likes
 __linux__



On 12/4/23 17:34, Jens Wiklander wrote:
> Hi Randy,
> 
> On Mon, Dec 4, 2023 at 2:39 PM Randy Li <ayaka@...lik.info> wrote:
>>
>> Hello
>>
>> I wonder why Optee OS would use a linux target toolchains but not a bare
>> metal target(none os)?
> 
> I guess it started with that we didn't want to download both one Linux
> and one bare metal toolchain. We need both AArch32 and AArch64
> versions so it doubles up.

To expand on this: when building a complete OP-TEE setup like we do with
https://github.com/OP-TEE/manifest, there are many different runtime
environments: the Linux kernel, client applications, OP-TEE OS, Trusted
Applications, EL3 firmware... Some of them require a Linux toolchain
(the OP-TEE client library, tee-supplicant as well as the client
applications). So the idea was, if we could build all the software with a
Linux toolchain, it would simplify things. Since then we found out there
are caveats but it mostly works.

-- 
Jerome

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ