From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A2D5DE0030C for ; Thu, 12 Jan 2012 13:39:31 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 12 Jan 2012 13:39:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208";a="95874632" Received: from btwarden-mobl1.amr.corp.intel.com (HELO envy.home) ([10.7.199.156]) by orsmga001.jf.intel.com with ESMTP; 12 Jan 2012 13:39:31 -0800 Message-ID: <4F0F52FF.3060601@intel.com> Date: Thu, 12 Jan 2012 13:39:11 -0800 From: Darren Hart User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: "Bodke, Kishore K" References: <4F0F2627.3010004@linux.intel.com> <4F0F4E7C.9030506@intel.com> In-Reply-To: Cc: "Ahmad, Josef" , "yocto@yoctoproject.org" Subject: Re: qemu EFI build failure X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2012 21:39:31 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. >> >> >> >>> >>> >>> 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