* qemu EFI build failure @ 2012-01-12 16:19 Josef Ahmad 2012-01-12 18:27 ` Darren Hart 0 siblings, 1 reply; 11+ messages in thread From: Josef Ahmad @ 2012-01-12 16:19 UTC (permalink / raw) To: yocto 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" The build gave me the following error: bash-3.00$ bitbake core-image-minimal Loading cache: 100% |###################################################################################################################################| ETA: 00:00:00 Loaded 1083 entries from dependency cache. OE Build Configuration: BB_VERSION = "1.15.0" TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.1+snapshot-20120111" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto = "(nobranch):468998cddbe1a803096c9b357e1b5daa3b7e8c2e" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Running task 1082 of 1701 (ID: 139, /tmp/localdisk/josef/yocto-stable/poky/meta/recipes-bsp/grub/grub-efi-native_1.99.bb, do_configure) NOTE: Running task 1682 of 1701 (ID: 97, /tmp/localdisk/josef/yocto-stable/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb, do_rootfs) NOTE: package grub-efi-i586-native-1.99-r2: task do_configure: Started NOTE: package core-image-minimal-initramfs-1.0-r0: task do_rootfs: Started NOTE: package core-image-minimal-initramfs-1.0-r0: task do_rootfs: Succeeded ERROR: Function 'do_configure' failed (see /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/temp/log.do_configure.8536 for further information) ERROR: Logfile of failure stored in: /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/temp/log.do_configure.8536 Log data follows: | automake (GNU automake) 1.11.2 | Copyright (C) 2011 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <tromey@redhat.com> | and Alexandre Duret-Lutz <adl@gnu.org>. | AUTOV is 1.11 | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/m4/ -I/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ | autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/m4/ -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/m4/ -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ --force --warnings=cross -I m4 | aclocal: unknown warning category `cross' | configure.ac:515: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:317: grub_CHECK_ENABLE_EXECUTE_STACK is expanded from... | configure.ac:515: the top level | configure.ac:518: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:397: grub_CHECK_PIE is expanded from... | configure.ac:518: the top level | configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:344: grub_CHECK_STACK_PROTECTOR is expanded from... | configure.ac:526: the top level | configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from... | configure.ac:532: the top level | autoreconf: configure.ac: tracing | configure.ac:515: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:317: grub_CHECK_ENABLE_EXECUTE_STACK is expanded from... | configure.ac:515: the top level | configure.ac:518: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:397: grub_CHECK_PIE is expanded from... | configure.ac:518: the top level | configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:344: grub_CHECK_STACK_PROTECTOR is expanded from... | configure.ac:526: the top level | configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from... | configure.ac:532: the top level | autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION | autoreconf: configure.ac: not using Libtool | autoreconf: running: /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/m4/ --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ --force --warnings=cross | configure.ac:515: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:317: grub_CHECK_ENABLE_EXECUTE_STACK is expanded from... | configure.ac:515: the top level | configure.ac:518: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:397: grub_CHECK_PIE is expanded from... | configure.ac:518: the top level | configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:344: grub_CHECK_STACK_PROTECTOR is expanded from... | configure.ac:526: the top level | configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from... | configure.ac:532: the top level | autoreconf: running: /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/sysroots/x86_64-linux/usr/bin/autoheader --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/m4/ --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/grub-1.99/aclocal-copy/ --force --warnings=cross | configure.ac:515: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:317: grub_CHECK_ENABLE_EXECUTE_STACK is expanded from... | configure.ac:515: the top level | configure.ac:518: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:397: grub_CHECK_PIE is expanded from... | configure.ac:518: the top level | configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:344: grub_CHECK_STACK_PROTECTOR is expanded from... | configure.ac:526: the top level | configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from... | configure.ac:532: the top level | autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross | automake: unknown warning category `cross' | configure.ac:515: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:317: grub_CHECK_ENABLE_EXECUTE_STACK is expanded from... | configure.ac:515: the top level | configure.ac:518: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:397: grub_CHECK_PIE is expanded from... | configure.ac:518: the top level | configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanERROR: Function 'do_configure' failed (see /tmp/localdisk/josef/yocto-stable/mytestbuild/tmp/work/x86_64-linux/grub-efi-i586-native-1.99-r2/temp/log.do_configure.8536 for further information) | ded from... | acinclude.m4:344: grub_CHECK_STACK_PROTECTOR is expanded from... | configure.ac:526: the top level | configure.ac:532: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body | ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... | acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from... | configure.ac:532: the top level | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | Makefile.am:6: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | Makefile.am:6: `conf/Makefile.common' included from here | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. NOTE: package grub-efi-i586-native-1.99-r2: task do_configure: Failed ERROR: Task 139 (/tmp/localdisk/josef/yocto-stable/poky/meta/recipes-bsp/grub/grub-efi-native_1.99.bb, do_configure) failed with exit code '1' ERROR: '/tmp/localdisk/josef/yocto-stable/poky/meta/recipes-bsp/grub/grub-efi-native_1.99.bb' failed 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? Thanks in advance, - Josef ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 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-18 12:38 ` Josef Ahmad 0 siblings, 2 replies; 11+ messages in thread From: Darren Hart @ 2012-01-12 18:27 UTC (permalink / raw) To: Josef Ahmad; +Cc: yocto 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. -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-12 18:27 ` Darren Hart @ 2012-01-12 21:19 ` Darren Hart 2012-01-12 21:28 ` Bodke, Kishore K 2012-01-18 12:38 ` Josef Ahmad 1 sibling, 1 reply; 11+ messages in thread From: Darren Hart @ 2012-01-12 21:19 UTC (permalink / raw) To: Josef Ahmad; +Cc: yocto 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-12 21:19 ` Darren Hart @ 2012-01-12 21:28 ` Bodke, Kishore K 2012-01-12 21:39 ` Darren Hart 0 siblings, 1 reply; 11+ messages in thread From: Bodke, Kishore K @ 2012-01-12 21:28 UTC (permalink / raw) To: Hart, Darren, Ahmad, Josef; +Cc: yocto@yoctoproject.org I have only MACHINE_FEATURES += "efi" KERNEL_FEATURES_append_cedartrail += "cfg/efi-ext.scc". I am not having IMAGE_FSTYPES += "live". 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-12 21:28 ` Bodke, Kishore K @ 2012-01-12 21:39 ` Darren Hart 2012-01-12 22:31 ` Kamble, Nitin A 0 siblings, 1 reply; 11+ messages in thread From: Darren Hart @ 2012-01-12 21:39 UTC (permalink / raw) To: Bodke, Kishore K; +Cc: Ahmad, Josef, yocto@yoctoproject.org 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-12 21:39 ` Darren Hart @ 2012-01-12 22:31 ` Kamble, Nitin A 2012-01-12 22:33 ` Kamble, Nitin A 0 siblings, 1 reply; 11+ messages in thread From: Kamble, Nitin A @ 2012-01-12 22:31 UTC (permalink / raw) To: Hart, Darren, Bodke, Kishore K; +Cc: Ahmad, Josef, yocto@yoctoproject.org 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 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-18 12:36 ` Josef Ahmad 0 siblings, 2 replies; 11+ messages in thread From: Kamble, Nitin A @ 2012-01-12 22:33 UTC (permalink / raw) To: Kamble, Nitin A, Hart, Darren, Bodke, Kishore K Cc: Ahmad, Josef, yocto@yoctoproject.org 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-12 22:33 ` Kamble, Nitin A @ 2012-01-16 22:00 ` Kamble, Nitin A 2012-01-16 23:03 ` Darren Hart 2012-01-18 12:36 ` Josef Ahmad 1 sibling, 1 reply; 11+ messages in thread From: Kamble, Nitin A @ 2012-01-16 22:00 UTC (permalink / raw) To: Kamble, Nitin A, Hart, Darren, Bodke, Kishore K Cc: Ahmad, Josef, yocto@yoctoproject.org 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 > -----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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-16 22:00 ` Kamble, Nitin A @ 2012-01-16 23:03 ` Darren Hart 0 siblings, 0 replies; 11+ messages in thread From: Darren Hart @ 2012-01-16 23:03 UTC (permalink / raw) To: Kamble, Nitin A; +Cc: Ahmad, Josef, yocto@yoctoproject.org 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-12 22:33 ` Kamble, Nitin A 2012-01-16 22:00 ` Kamble, Nitin A @ 2012-01-18 12:36 ` Josef Ahmad 1 sibling, 0 replies; 11+ messages in thread From: Josef Ahmad @ 2012-01-18 12:36 UTC (permalink / raw) To: Kamble, Nitin A; +Cc: Hart, Darren, yocto@yoctoproject.org Thanks Nitin, That fixed my automake errors. - Josef On 12 January 2012 22:33, Kamble, Nitin A <nitin.a.kamble@intel.com> wrote: > 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 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: qemu EFI build failure 2012-01-12 18:27 ` Darren Hart 2012-01-12 21:19 ` Darren Hart @ 2012-01-18 12:38 ` Josef Ahmad 1 sibling, 0 replies; 11+ messages in thread From: Josef Ahmad @ 2012-01-18 12:38 UTC (permalink / raw) To: Darren Hart; +Cc: yocto Darren, Sorry for the delay in getting around to this. I picked QEMU as a generic machine to build Grub for the only purpose of testing build + boot. Thanks for the hint for locally appending configuration variables. Also, I've applying Nitin's automake patch and I confirm grub-efi correctly builds and runs on Qemu (with TianoCore EFI BIOS). Thanks - Josef On 12 January 2012 18:27, Darren Hart <dvhart@linux.intel.com> 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. > > > -- > Darren Hart > Intel Open Source Technology Center > Yocto Project - Linux Kernel > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-01-18 12:38 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2012-01-18 12:36 ` Josef Ahmad 2012-01-18 12:38 ` Josef Ahmad
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.