[OE-core] [oe-core] QEMU with ARM Cortex A9 with hard float configuration - Kernel panic

Martin Jansa martin.jansa at gmail.com
Sun Aug 25 14:44:11 UTC 2013


On Sun, Aug 25, 2013 at 06:37:54PM +0400, Elvis Dowson wrote:
> Hi,
>        I have modified the default qemuarm.conf file, to switch it over to using ARM Cortex A9, with hard float, vfp and neon support, by applying the following patch (which basically includes the tune-cortexa9.inc file).
> 
> diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
> index d07084b..2ec57d8 100644
> --- a/meta/conf/machine/qemuarm.conf
> +++ b/meta/conf/machine/qemuarm.conf
> @@ -1,10 +1,9 @@
>  #@TYPE: Machine
> -#@NAME: arm_versatile_926ejs
> -#@DESCRIPTION: arm_versatile_926ejs
> +#@NAME: qemuarmhf
> +#@DESCRIPTION: Machine configuration for QEMU ARM Cortex A9 hard float.
>  
>  require conf/machine/include/qemu.inc
> -require conf/machine/include/tune-arm926ejs.inc
> -#require conf/machine/include/tune-arm1136jf-s.inc
> +require conf/machine/include/tune-cortexa9.inc
>  
>  KERNEL_IMAGETYPE = "zImage"
> 
> I find that the kernel panics upon boot. 
> 
> Is it possible to have a QEMU build with support for hard float? 

You can enable it by setting DEFAULTTUNE (see tune-cortexa9 for possible
values).

> 
> I need this, so that I can bootstrap a Ubuntu build from scratch, using a QEMU arm hard float machine, using a oe-core generated QEMU and toolchain. I don't want to use the default armel or armhf emulator and toolchain provided by debian, and want to build my own version of the emulator and toolchain, specifically optimized for a particular target machine.
> 
> I've attached a screenshot below.
> 
> 
> 
> Best regards,
> 
> Elvis Dowson
> 
> 

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130825/493623f8/attachment-0002.sig>


More information about the Openembedded-core mailing list