All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <darren.hart@intel.com>
To: "Kamble, Nitin A" <nitin.a.kamble@intel.com>
Cc: "Ahmad, Josef" <josef.ahmad@intel.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: qemu EFI build failure
Date: Mon, 16 Jan 2012 15:03:29 -0800	[thread overview]
Message-ID: <4F14ACC1.3070906@intel.com> (raw)
In-Reply-To: <ADD6A3980E8C39419A432FF422031B4C03F6A7@ORSMSX106.amr.corp.intel.com>

On 01/16/2012 02:00 PM, Kamble, Nitin A wrote:
> Darren,
>   I have reworked the commits to fix issues while building on other distros.
> Can you check this branch http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=nitin/grub-efi
> It is working for me on Fedora 14, for which the other grub-efi commit was failing for me.

Thanks Nitin,

Builds fine for me on Ubuntu 11.10 64 bit

--
Darren

> 
> Thanks,
> Nitin
> 
> 
>> -----Original Message-----
>> From: Kamble, Nitin A
>> Sent: Thursday, January 12, 2012 2:33 PM
>> To: Kamble, Nitin A; Hart, Darren; Bodke, Kishore K
>> Cc: Ahmad, Josef; yocto@yoctoproject.org
>> Subject: RE: [yocto] qemu EFI build failure
>>
>> Here is the commit: http://git.yoctoproject.org/cgit.cgi/poky-
>> contrib/log/?h=nitin/misc
>>
>> Nitin
>>
>>> -----Original Message-----
>>> From: yocto-bounces@yoctoproject.org [mailto:yocto-
>>> bounces@yoctoproject.org] On Behalf Of Kamble, Nitin A
>>> Sent: Thursday, January 12, 2012 2:32 PM
>>> To: Hart, Darren; Bodke, Kishore K
>>> Cc: Ahmad, Josef; yocto@yoctoproject.org
>>> Subject: Re: [yocto] qemu EFI build failure
>>>
>>>
>>> I just sent a patch to oecore mailing list to fix the grub issue with
>>> automake 1.11.2.
>>>
>>> Thanks,
>>> Nitin
>>>
>>>
>>>> -----Original Message-----
>>>> From: Hart, Darren
>>>> Sent: Thursday, January 12, 2012 1:39 PM
>>>> To: Bodke, Kishore K
>>>> Cc: Ahmad, Josef; yocto@yoctoproject.org; Kamble, Nitin A
>>>> Subject: Re: [yocto] qemu EFI build failure
>>>>
>>>> On 01/12/2012 01:28 PM, Bodke, Kishore K wrote:
>>>>> I have only
>>>>> MACHINE_FEATURES += "efi"
>>>>> KERNEL_FEATURES_append_cedartrail += "cfg/efi-ext.scc".
>>>>>
>>>>> I am not having IMAGE_FSTYPES += "live".
>>>>
>>>> The "live" change is just to trigger the live image type which
>> builds
>>>> grub-efi-native for efi systems. qemux86 needs this added
>> explicitly.
>>>>
>>>> --
>>>> Darren
>>>>
>>>>>
>>>>> Thanks
>>>>> Kishore.
>>>>> -----Original Message-----
>>>>> From: Hart, Darren
>>>>> Sent: Thursday, January 12, 2012 1:20 PM
>>>>> To: Ahmad, Josef
>>>>> Cc: yocto@yoctoproject.org; Bodke, Kishore K; Kamble, Nitin A
>>>>> Subject: Re: [yocto] qemu EFI build failure
>>>>>
>>>>> On 01/12/2012 10:27 AM, Darren Hart wrote:
>>>>>>
>>>>>>
>>>>>> On 01/12/2012 08:19 AM, Josef Ahmad wrote:
>>>>>>> I tried to build a qemux86 EFI image, by setting:
>>>>>>> - in my local.conf: IMAGE_FSTYPES += "live"
>>>>>>> - in poly/meta/conf/machine/qemux86.conf: MACHINE_FEATURES +=
>>> "efi"
>>>>>>>
>>>>>>
>>>>>> I haven't tried live images with QEMU. For one thing, they
>> aren't
>>>> really
>>>>>> necessary as you can specify all the boot parameters on the qemu
>>>> command
>>>>>> line. Is there are reason you want to use the live image
>>>> specifically?
>>>>>>
>>>>>> Also, in order to properly test EFI in QEMU, you will need to
>> use
>>> an
>>>> EFI
>>>>>> BIOS - I believe you're aware of this already - but this isn't
>>>> currently
>>>>>> supported by the runqemu scripts that ship with yocto.
>>>>>>
>>>>>>> The build gave me the following error:
>>>>>>
>>>>>>
>>>>>> I'll do some test builds - it isn't clear to me what is going on
>>>> here.
>>>>>>
>>>>>> <snip>
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Has anyone encountered the same error?  I'm not sure I set up
>> the
>>>>>>> correct configuration. Also, is there another way to append
>> "efi"
>>>> to
>>>>>>> MACHINE_FEATURES rather than by modifying qemux86.conf?
>>>>>>
>>>>>> You should be able to do something like:
>>>>>> MACHINE_FEATURES_append_qemux86 = "efi"
>>>>>>
>>>>>> Note that you will also need to enable the efi support in the
>>>> kernel,
>>>>>> which is done with the KERNEL_FEATURES variable, something like:
>>>>>> KERNEL_FEATURES_append_qemux86 = "conf/efi-ext.scc"
>>>>>>
>>>>>> Either of these can be set in your local.conf.
>>>>>>
>>>>>
>>>>> More accurately:
>>>>>
>>>>> MACHINE_FEATURES_append_qemux86=" efi pcbios"
>>>>> KERNEL_FEATURES_append_qemux86=" cfg/efi-ext.scc"
>>>>> IMAGE_FSTYPES += "live"
>>>>>
>>>>> With these added to local.conf and building for qemux86 I see the
>>>> same
>>>>> configure failures reported by Kishore and Josef:
>>>>>
>>>>> | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded
>>>> from...
>>>>> | acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded
>> from...
>>>>>
>>>>> I've discussed in IRC with Nitin and he thinks this may be
>> related
>>> to
>>>>> the automake update and is looking into it.
>>>>>
>>>>
>>>>
>>>> --
>>>> Darren Hart
>>>> Intel Open Source Technology Center
>>>> Yocto Project - Linux Kernel
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


  reply	other threads:[~2012-01-16 23:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 16:19 qemu EFI build failure Josef Ahmad
2012-01-12 18:27 ` Darren Hart
2012-01-12 21:19   ` Darren Hart
2012-01-12 21:28     ` Bodke, Kishore K
2012-01-12 21:39       ` Darren Hart
2012-01-12 22:31         ` Kamble, Nitin A
2012-01-12 22:33           ` Kamble, Nitin A
2012-01-16 22:00             ` Kamble, Nitin A
2012-01-16 23:03               ` Darren Hart [this message]
2012-01-18 12:36             ` Josef Ahmad
2012-01-18 12:38   ` Josef Ahmad

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=4F14ACC1.3070906@intel.com \
    --to=darren.hart@intel.com \
    --cc=josef.ahmad@intel.com \
    --cc=nitin.a.kamble@intel.com \
    --cc=yocto@yoctoproject.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.