All of lore.kernel.org
 help / color / mirror / Atom feed
* yocto-jethro: how to define a machine which builds kernel in 64-bit whereas user space in 32bit
@ 2017-05-26  3:48 sourabh banerjee
  2017-05-26 10:37 ` sourabh banerjee
  0 siblings, 1 reply; 2+ messages in thread
From: sourabh banerjee @ 2017-05-26  3:48 UTC (permalink / raw)
  To: yocto

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

For reference I looked up the default provided machine conf files inside
poky/meta.

Following seems to build qemuarm for 32bit, i.e. both kernel and user space
32bit
*
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/machine/qemuarm.conf?h=jethro

And following seems to build qemuarm64 for 64 bit, i.e. both kernel and
user space 64bit
*
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/machine/qemuarm64.conf?h=jethro

Please guide me how can I define a machine where kernel is built 64bit but
the user space is 32bit.
I attempted a few things by trying to override the TUNE flags but I am not
able to get it right.

Regards,
Sourabh

[-- Attachment #2: Type: text/html, Size: 1050 bytes --]

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

* Re: yocto-jethro: how to define a machine which builds kernel in 64-bit whereas user space in 32bit
  2017-05-26  3:48 yocto-jethro: how to define a machine which builds kernel in 64-bit whereas user space in 32bit sourabh banerjee
@ 2017-05-26 10:37 ` sourabh banerjee
  0 siblings, 0 replies; 2+ messages in thread
From: sourabh banerjee @ 2017-05-26 10:37 UTC (permalink / raw)
  To: yocto

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

On Fri, May 26, 2017 at 9:18 AM, sourabh banerjee <droid.baner@gmail.com>
wrote:

> For reference I looked up the default provided machine conf files inside
> poky/meta.
>
> Following seems to build qemuarm for 32bit, i.e. both kernel and user
> space 32bit
> * http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/
> conf/machine/qemuarm.conf?h=jethro
>
> And following seems to build qemuarm64 for 64 bit, i.e. both kernel and
> user space 64bit
> * http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/
> conf/machine/qemuarm64.conf?h=jethro
>
> Please guide me how can I define a machine where kernel is built 64bit but
> the user space is 32bit.
> I attempted a few things by trying to override the TUNE flags but I am not
> able to get it right.
>
> I left the tune parameters alone.  I am trying to multilib now
Setting MULTILIBS = "multilib:lib64" in machine.conf
DEFAULTTUNE_virtclass-multilib-lib64 = "aarch64"

and

DEFAULTTUNE ?= "armv7a-neon"

Is this the right approach?


> Regards,
> Sourabh
>

[-- Attachment #2: Type: text/html, Size: 2074 bytes --]

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

end of thread, other threads:[~2017-05-26 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-26  3:48 yocto-jethro: how to define a machine which builds kernel in 64-bit whereas user space in 32bit sourabh banerjee
2017-05-26 10:37 ` sourabh banerjee

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.