[yocto] yocto-jethro: how to define a machine which builds kernel in 64-bit whereas user space in 32bit
sourabh banerjee
droid.baner at gmail.com
Fri May 26 03:37:48 PDT 2017
On Fri, May 26, 2017 at 9:18 AM, sourabh banerjee <droid.baner at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170526/4a8c7861/attachment.html>
More information about the yocto
mailing list