[poky] Can we build sugarbay for 32bit

Akshat Saha akshat.embedded at gmail.com
Mon Sep 5 07:51:37 PDT 2011


Hi Richard,

I want to make *core-image-minimal *for* 32-bit*

I have tried

   - conf/machine/include/tune-core2.inc

I also tried

   - conf/machine/include/tune-1586.inc

But I got error in kernel compilation, as the kernel was still building for
64-bit mode and hence the mismatch.
I solved it by doing *make ARCH=i386 menuconfig, *and build again from
there.

Now, the live image seems to work fine, but after installing the image on
SSD and booting it from GRUB, it prompts: *bad file descriptor.*
*
*

Also, after changing the include file in machine conf as mentioned above,
grub 0.97 is made instead of grub2(1.98).

So, I modified conf/machine/include/tune-x86_64.inc

#DEFAULTTUNE = "x86_64"  to,

DEFAULTTUNE = "x86"

But the problem still persists.

Can you guide in finding :

   1. How can we make the kernel for 32-bit?
   2. Why is the grub legacy is built instead of grub2?
   3. And foremost, how to solve *"bad file descriptor" error in grub, *even
   though live image works.





On Thu, Sep 1, 2011 at 12:51 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> On Wed, 2011-08-31 at 11:06 +0530, v sailaja wrote:
> > Can anyone please tell me how to build the "sugarbay" for 32bit. By
> > default sugarbay supports 64bit but is there anyway to change it to
> > 32bit.
> > My host machine is ubuntu 11.04 and 64bit.
>
> Change meta-intel/meta-sugarbay/conf/machine/sugarbay.conf
>
> to say
>
> conf/machine/include/tune-core2.inc
>
> instead of x86-64 and then it will build for 32 bit since that is the
> default for core2.
>
> Cheers,
>
> Richard
>
>
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



-- 
Akshat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110905/b6f25ad7/attachment.html>


More information about the poky mailing list