mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Support for QEMU virt ARM 32
@ 2017-11-30 14:29 Andre Wagner
  2017-11-30 14:53 ` Lucas Stach
  0 siblings, 1 reply; 4+ messages in thread
From: Andre Wagner @ 2017-11-30 14:29 UTC (permalink / raw)
  To: barebox

Hello everyone,

I'm trying to add support for the Qemu virt ARM32 machine (qemu version 
2.10) based on the existing Qemu virt ARM64 support. In my understanding 
the emulated CPU is only a ARMv7 CPU instead of a ARMv8 CPU. Is this 
correct?


Greetings,

André


+++
Richard Wolf GmbH, Pforzheimer Strasse 32, 75438 Knittlingen
Managing Directors: Juergen Pfab, Juergen Steinbeck. Trade Register: Mannheim HRB 510031 
+++
Richard Wolf GmbH routinely monitors the content of e-mail sent and received via its network for the purposes of ensuring compliance with its policies and procedures. Richard Wolf GmbH is not responsible for any changes made to the message after it has been sent. Where opinions are expressed, they are not necessarily those of Richard Wolf GmbH. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended addressee, or the person responsible for delivering it to them, you may not copy, forward, disclose, or otherwise use it or any part of it in any way. To do so may be unlawful. If you receive this e-mail by mistake, please advise the sender immediately.
+++
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: Support for QEMU virt ARM 32
  2017-11-30 14:29 Support for QEMU virt ARM 32 Andre Wagner
@ 2017-11-30 14:53 ` Lucas Stach
  2017-11-30 16:39   ` Andre Wagner
  0 siblings, 1 reply; 4+ messages in thread
From: Lucas Stach @ 2017-11-30 14:53 UTC (permalink / raw)
  To: Andre Wagner, barebox

Hi André,

Am Donnerstag, den 30.11.2017, 15:29 +0100 schrieb Andre Wagner:
> Hello everyone,
> 
> I'm trying to add support for the Qemu virt ARM32 machine (qemu
> version 
> 2.10) based on the existing Qemu virt ARM64 support. In my
> understanding 
> the emulated CPU is only a ARMv7 CPU instead of a ARMv8 CPU. Is this 
> correct?

VExpress is the generic ARM32 QEMU platform. Barebox already supports
that. Check out the last release (as it has some improvements in that
area), and build the vexpress_defconfig.

To run the emulated platform take a look at Documentation/boards/arm-
qemu-vexpress.rst

Regards,
Lucas

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: Support for QEMU virt ARM 32
  2017-11-30 14:53 ` Lucas Stach
@ 2017-11-30 16:39   ` Andre Wagner
  2017-11-30 16:48     ` Lucas Stach
  0 siblings, 1 reply; 4+ messages in thread
From: Andre Wagner @ 2017-11-30 16:39 UTC (permalink / raw)
  To: Lucas Stach, barebox



On 30.11.2017 15:53, Lucas Stach wrote:
> Hi André,
>
> Am Donnerstag, den 30.11.2017, 15:29 +0100 schrieb Andre Wagner:
>> Hello everyone,
>>
>> I'm trying to add support for the Qemu virt ARM32 machine (qemu
>> version
>> 2.10) based on the existing Qemu virt ARM64 support. In my
>> understanding
>> the emulated CPU is only a ARMv7 CPU instead of a ARMv8 CPU. Is this
>> correct?
> VExpress is the generic ARM32 QEMU platform. Barebox already supports
> that. Check out the last release (as it has some improvements in that
> area), and build the vexpress_defconfig.
>
> To run the emulated platform take a look at Documentation/boards/arm-
> qemu-vexpress.rst
>
> Regards,
> Lucas
Thank you very much for the fast reply, I got a barebox working with 
vexpress on Qemu now! Just a question (little bit off topic): The Qemu 
virt ARM64 barebox version is called with: qemu-system-aarch64 -m 2048M 
-cpu cortex-a57 -machine virt -display none -serial stdio -kernel 
../barebox/barebox (according to 
http://barebox.org/doc/latest/boards/aarch64-qemu-virt.html). The first 
tests I did were starting my broken barebox version with qemu-system-arm 
-m 2048M -cpu cortex-a15 -machine virt -display none -serial stdio 
-kernel ../barebox/barebox. Is this 'virt' machine not the _real_ Qemu 
virt ARM32?

Greetings,
André

+++
Richard Wolf GmbH, Pforzheimer Strasse 32, 75438 Knittlingen
Managing Directors: Juergen Pfab, Juergen Steinbeck. Trade Register: Mannheim HRB 510031 
+++
Richard Wolf GmbH routinely monitors the content of e-mail sent and received via its network for the purposes of ensuring compliance with its policies and procedures. Richard Wolf GmbH is not responsible for any changes made to the message after it has been sent. Where opinions are expressed, they are not necessarily those of Richard Wolf GmbH. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended addressee, or the person responsible for delivering it to them, you may not copy, forward, disclose, or otherwise use it or any part of it in any way. To do so may be unlawful. If you receive this e-mail by mistake, please advise the sender immediately.
+++
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: Support for QEMU virt ARM 32
  2017-11-30 16:39   ` Andre Wagner
@ 2017-11-30 16:48     ` Lucas Stach
  0 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2017-11-30 16:48 UTC (permalink / raw)
  To: Andre Wagner, barebox

Am Donnerstag, den 30.11.2017, 17:39 +0100 schrieb Andre Wagner:
> 
> On 30.11.2017 15:53, Lucas Stach wrote:
> > Hi André,
> > 
> > Am Donnerstag, den 30.11.2017, 15:29 +0100 schrieb Andre Wagner:
> > > Hello everyone,
> > > 
> > > I'm trying to add support for the Qemu virt ARM32 machine (qemu
> > > version
> > > 2.10) based on the existing Qemu virt ARM64 support. In my
> > > understanding
> > > the emulated CPU is only a ARMv7 CPU instead of a ARMv8 CPU. Is
> > > this
> > > correct?
> > 
> > VExpress is the generic ARM32 QEMU platform. Barebox already
> > supports
> > that. Check out the last release (as it has some improvements in
> > that
> > area), and build the vexpress_defconfig.
> > 
> > To run the emulated platform take a look at
> > Documentation/boards/arm-
> > qemu-vexpress.rst
> > 
> > Regards,
> > Lucas
> 
> Thank you very much for the fast reply, I got a barebox working with 
> vexpress on Qemu now! Just a question (little bit off topic): The
> Qemu 
> virt ARM64 barebox version is called with: qemu-system-aarch64 -m
> 2048M 
> -cpu cortex-a57 -machine virt -display none -serial stdio -kernel 
> ../barebox/barebox (according to 
> http://barebox.org/doc/latest/boards/aarch64-qemu-virt.html). The
> first 
> tests I did were starting my broken barebox version with qemu-system-
> arm 
> -m 2048M -cpu cortex-a15 -machine virt -display none -serial stdio 
> -kernel ../barebox/barebox. Is this 'virt' machine not the _real_
> Qemu 
> virt ARM32?

virt is a generic virtual platform and doesn't resemble any real
hardware. This is nice for some use-cases, as it doesn't have the
restrictions of real hardware systems, but then most of the peripherals
are virtio or mapped on a virtual PCI bus. Barebox is lacking driver
support for most of those peripherals, so the usefulness of this
machine is limited when used with Barebox.

See also: https://wiki.qemu.org/Documentation/Platforms/ARM

Regards,
Lucas

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2017-11-30 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30 14:29 Support for QEMU virt ARM 32 Andre Wagner
2017-11-30 14:53 ` Lucas Stach
2017-11-30 16:39   ` Andre Wagner
2017-11-30 16:48     ` Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox