All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ying-Chun Liu (PaulLiu)" <paulliu@debian.org>
To: openembedded-core@lists.openembedded.org
Subject: Questions: Using OE toolchain of different arch.
Date: Tue, 11 Jun 2019 03:46:58 +0800	[thread overview]
Message-ID: <4b8b7f96-a4df-f43d-603a-b3656f882563@debian.org> (raw)
In-Reply-To: <4cf0eb7936f1e27033202312d5e4f27e27266641.camel@linuxfoundation.org>

Dear openembedded-core developers,


I need some help about using OE toolchain from different arch.


For example, on RPi3, we build the rootfs using armhf architecture.

(require  conf/machine/include/arm/arch-armv6.inc)

That means the whole rootfs is built by arm-linux-gnueabihf-*


But when adding TF-A and OPTEE. On RPi3, TF-A and OPTEE runs in 64-bit
mode. And TF-A will then load u-boot (BL33) and runs it in 32-bit mode.
So the rest of the systems still run on 32-bit mode.


The problem is now we want to build TF-A and OPTEE. So we need to
compile it by aarch64 toolchains. That is we should use
CROSS_COMPILE=aarch64-oe-linux-* from aarch64. But however it seems to
me that I cannot do that. I tried to make a recipe for TF-A by chainging
architecture of that recipe but I still don't have aarch64-oe-linux-*
available. Is there a proper way of doing this?

BTW, this is not about ilp32 because we still want the whole system runs
in armhf for compatibility.

Yours,
Paul




  parent reply	other threads:[~2019-06-10 19:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07 12:19 [PATCH 1/3] glib-2.0: udpate 2.58.3 -> 2.60.3 Alexander Kanavin
2019-06-07 12:19 ` [PATCH 2/3] gdk-pixbuf: update 2.38.0 -> 2.38.1 Alexander Kanavin
2019-06-07 12:19 ` [PATCH 3/3] gtk+3: update 3.24.5 -> 3.24.8 Alexander Kanavin
2019-06-08  9:05   ` Richard Purdie
2019-06-10 11:47     ` Richard Purdie
2019-06-10 12:32       ` Richard Purdie
2019-06-10 12:57         ` Richard Purdie
2019-06-10 19:46         ` Ying-Chun Liu (PaulLiu) [this message]
2019-07-31 17:41           ` Questions: Using OE toolchain of different arch Khem Raj
2019-06-07 14:03 ` [PATCH 1/3] glib-2.0: udpate 2.58.3 -> 2.60.3 Richard Purdie
2019-06-07 16:23   ` Alexander Kanavin
2019-06-07 16:28     ` richard.purdie

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=4b8b7f96-a4df-f43d-603a-b3656f882563@debian.org \
    --to=paulliu@debian.org \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.