All of lore.kernel.org
 help / color / mirror / Atom feed
* How to run Arago in QEMU?
@ 2013-08-20 22:14 Brad Litterell
  2013-08-20 22:24 ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Brad Litterell @ 2013-08-20 22:14 UTC (permalink / raw)
  To: meta-arago@arago-project.org

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

HI,

I downloaded the Arago system and successfully built an image for am335x-evm, but I want to create an image I can run in QEMU.

When I change my local.conf file from:


MACHINE = "am335x-evm"


to


MACHINE="qemuarm"


I receive this error:

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, the PACKAGE_ARCHS (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon} qemuarm) variable does not contain TUNE_PKGARCH (armv5).Toolchain tunings invalid:
Tuning 'cortexa8thf-neon' has no defined features, and cannot be used.

ERROR: Execution of event handler 'check_sanity_eventhandler' failed

I don't understand how the tunings work, so I'm completely stumped about how to run my image in QEMU.

Are there any instructions for building & running Arago under QEMU?

Thanks,
Brad


[-- Attachment #2: Type: text/html, Size: 2310 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to run Arago in QEMU?
  2013-08-20 22:14 How to run Arago in QEMU? Brad Litterell
@ 2013-08-20 22:24 ` Denys Dmytriyenko
  2013-08-20 23:18   ` Brad Litterell
  2013-08-20 23:34   ` Brad Litterell
  0 siblings, 2 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2013-08-20 22:24 UTC (permalink / raw)
  To: Brad Litterell; +Cc: meta-arago@arago-project.org

On Tue, Aug 20, 2013 at 10:14:32PM +0000, Brad Litterell wrote:
> HI,
> 
> I downloaded the Arago system and successfully built an image for 
> am335x-evm, but I want to create an image I can run in QEMU.
> 
> When I change my local.conf file from:
> 
> 
> MACHINE = "am335x-evm"
> 
> 
> to
> 
> 
> MACHINE="qemuarm"

I believe you should be able to run it under quemu w/o changing the MACHINE...


> I receive this error:
> 
> ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
>     Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
>     Following is the list of potential problems / advisories:
> 
>     Error, the PACKAGE_ARCHS (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon} qemuarm) variable does not contain TUNE_PKGARCH (armv5).Toolchain tunings invalid:
> Tuning 'cortexa8thf-neon' has no defined features, and cannot be used.

You are trying to build using Cortex-A8 specific optimizations, while 
"qemuarm" machine does not support them. Those optimizations are being set in 
conf/distro/include/toolchain-linaro.inc

-- 
Denys


> ERROR: Execution of event handler 'check_sanity_eventhandler' failed
> 
> I don't understand how the tunings work, so I'm completely stumped about how to run my image in QEMU.
> 
> Are there any instructions for building & running Arago under QEMU?
> 
> Thanks,
> Brad
> 

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to run Arago in QEMU?
  2013-08-20 22:24 ` Denys Dmytriyenko
@ 2013-08-20 23:18   ` Brad Litterell
  2013-08-21 14:04     ` Denys Dmytriyenko
  2013-08-20 23:34   ` Brad Litterell
  1 sibling, 1 reply; 5+ messages in thread
From: Brad Litterell @ 2013-08-20 23:18 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago@arago-project.org

[-- Attachment #1: Type: text/plain, Size: 2070 bytes --]

Hi Denys,

Thanks for reply, but I'm afraid I have another question:  I am using the Linaro toolchain recommended here: http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment

Do I correctly understand the A8 optimizations are coming from that toolchain?

If those optimizations are not supported under QEMU, should I be using a different toolchain for the emulator?


On Aug 20, 2013, at 3:24 PM, Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>> wrote:

On Tue, Aug 20, 2013 at 10:14:32PM +0000, Brad Litterell wrote:
HI,

I downloaded the Arago system and successfully built an image for
am335x-evm, but I want to create an image I can run in QEMU.

When I change my local.conf file from:


MACHINE = "am335x-evm"


to


MACHINE="qemuarm"

I believe you should be able to run it under quemu w/o changing the MACHINE...


I receive this error:

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
   Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
   Following is the list of potential problems / advisories:

   Error, the PACKAGE_ARCHS (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon} qemuarm) variable does not contain TUNE_PKGARCH (armv5).Toolchain tunings invalid:
Tuning 'cortexa8thf-neon' has no defined features, and cannot be used.

You are trying to build using Cortex-A8 specific optimizations, while
"qemuarm" machine does not support them. Those optimizations are being set in
conf/distro/include/toolchain-linaro.inc

--
Denys


ERROR: Execution of event handler 'check_sanity_eventhandler' failed

I don't understand how the tunings work, so I'm completely stumped about how to run my image in QEMU.

Are there any instructions for building & running Arago under QEMU?

Thanks,
Brad


_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



[-- Attachment #2: Type: text/html, Size: 3111 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to run Arago in QEMU?
  2013-08-20 22:24 ` Denys Dmytriyenko
  2013-08-20 23:18   ` Brad Litterell
@ 2013-08-20 23:34   ` Brad Litterell
  1 sibling, 0 replies; 5+ messages in thread
From: Brad Litterell @ 2013-08-20 23:34 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago@arago-project.org

Hi Denys,

2nd question:  

I tried running QEMU and the AM335 seems to use a load address that doesn't work with QEMU:

$ qemu-system-arm -machine vexpress-a9  -kernel ~/e2/build/arago-tmp-external-linaro-toolchain/deploy/images/uImage 
qemu: fatal: Trying to execute code outside RAM or ROM at 0x80008000

R00=00000000 R01=000008e0 R02=60000100 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=80008000
PSR=400001d3 -Z-- A svc32
Aborted (core dumped)

Thanks,
Brad

On Aug 20, 2013, at 3:24 PM, Denys Dmytriyenko <denys@ti.com> wrote:

> On Tue, Aug 20, 2013 at 10:14:32PM +0000, Brad Litterell wrote:
>> HI,
>> 
>> I downloaded the Arago system and successfully built an image for 
>> am335x-evm, but I want to create an image I can run in QEMU.
>> 
>> When I change my local.conf file from:
>> 
>> 
>> MACHINE = "am335x-evm"
>> 
>> 
>> to
>> 
>> 
>> MACHINE="qemuarm"
> 
> I believe you should be able to run it under quemu w/o changing the MACHINE...
> 
> 
>> I receive this error:
>> 
>> ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
>>    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
>>    Following is the list of potential problems / advisories:
>> 
>>    Error, the PACKAGE_ARCHS (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon} qemuarm) variable does not contain TUNE_PKGARCH (armv5).Toolchain tunings invalid:
>> Tuning 'cortexa8thf-neon' has no defined features, and cannot be used.
> 
> You are trying to build using Cortex-A8 specific optimizations, while 
> "qemuarm" machine does not support them. Those optimizations are being set in 
> conf/distro/include/toolchain-linaro.inc
> 
> -- 
> Denys
> 
> 
>> ERROR: Execution of event handler 'check_sanity_eventhandler' failed
>> 
>> I don't understand how the tunings work, so I'm completely stumped about how to run my image in QEMU.
>> 
>> Are there any instructions for building & running Arago under QEMU?
>> 
>> Thanks,
>> Brad
>> 
> 
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to run Arago in QEMU?
  2013-08-20 23:18   ` Brad Litterell
@ 2013-08-21 14:04     ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2013-08-21 14:04 UTC (permalink / raw)
  To: Brad Litterell; +Cc: meta-arago@arago-project.org

On Tue, Aug 20, 2013 at 11:18:05PM +0000, Brad Litterell wrote:
> Hi Denys,
> 
> Thanks for reply, but I'm afraid I have another question: I am using the 
> Linaro toolchain recommended here: 
> http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment
> 
> Do I correctly understand the A8 optimizations are coming from that 
> toolchain?

Well, toolchain makes the optimizations, but it is configurable.


> If those optimizations are not supported under QEMU, should I be using a 
> different toolchain for the emulator?

No, you should just disable them. The file I pointed you to, check DEFAULTTUNE

-- 
Denys


> On Aug 20, 2013, at 3:24 PM, Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>> wrote:
> 
> On Tue, Aug 20, 2013 at 10:14:32PM +0000, Brad Litterell wrote:
> HI,
> 
> I downloaded the Arago system and successfully built an image for
> am335x-evm, but I want to create an image I can run in QEMU.
> 
> When I change my local.conf file from:
> 
> 
> MACHINE = "am335x-evm"
> 
> 
> to
> 
> 
> MACHINE="qemuarm"
> 
> I believe you should be able to run it under quemu w/o changing the MACHINE...
> 
> 
> I receive this error:
> 
> ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
>    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
>    Following is the list of potential problems / advisories:
> 
>    Error, the PACKAGE_ARCHS (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon} qemuarm) variable does not contain TUNE_PKGARCH (armv5).Toolchain tunings invalid:
> Tuning 'cortexa8thf-neon' has no defined features, and cannot be used.
> 
> You are trying to build using Cortex-A8 specific optimizations, while
> "qemuarm" machine does not support them. Those optimizations are being set in
> conf/distro/include/toolchain-linaro.inc
> 
> --
> Denys
> 
> 
> ERROR: Execution of event handler 'check_sanity_eventhandler' failed
> 
> I don't understand how the tunings work, so I'm completely stumped about how to run my image in QEMU.
> 
> Are there any instructions for building & running Arago under QEMU?
> 
> Thanks,
> Brad
> 
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-21 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 22:14 How to run Arago in QEMU? Brad Litterell
2013-08-20 22:24 ` Denys Dmytriyenko
2013-08-20 23:18   ` Brad Litterell
2013-08-21 14:04     ` Denys Dmytriyenko
2013-08-20 23:34   ` Brad Litterell

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.