All of lore.kernel.org
 help / color / mirror / Atom feed
* Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
@ 2020-03-27 17:17 Bruce Mitchell
  2020-03-30  9:00 ` Alexander A. Filippov
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Mitchell @ 2020-03-27 17:17 UTC (permalink / raw)
  To: openbmc; +Cc: Patrick Voelker

Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?

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

* Re: Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
  2020-03-27 17:17 Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ? Bruce Mitchell
@ 2020-03-30  9:00 ` Alexander A. Filippov
  2020-03-30 14:35   ` Bruce Mitchell
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander A. Filippov @ 2020-03-30  9:00 UTC (permalink / raw)
  To: openbmc

On Fri, Mar 27, 2020 at 05:17:37PM +0000, Bruce Mitchell wrote:
> Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
> 
> 

It depends on what you want from qemu.

For example, I use qemu to check that the firmware image is bootable and works
fine:
```
qemu-system-arm -M ast2500-evb -m size=512M \
    -nographic -nodefaults -serial mon:stdio \
    -net nic,model=ftgmac100 \
    -drive file=<path-to-image-mtd>,format=raw,if=mtd
```

This way has some failures:
 - There is emulated MTD falsh drive only 32M size. As a result fit-image-b and
   u-boot-env partitions are unreadable.
 - There is no managed host. So there are not work the host power state
   management, KVM, Virtual Media and so on. 

Probably there are more failures, which I have not noticed.

While writing these lines I remembered that I use qemu-system-arm, built from
source on https://github.com/openbmc/qemu.
It's important, because the qemu-system-arm from my distro is too old and this
image is not working with it.


Alexander.

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

* RE: Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
  2020-03-30  9:00 ` Alexander A. Filippov
@ 2020-03-30 14:35   ` Bruce Mitchell
  2020-03-30 16:17     ` Alexander A. Filippov
  2020-04-01 15:22     ` Cédric Le Goater
  0 siblings, 2 replies; 6+ messages in thread
From: Bruce Mitchell @ 2020-03-30 14:35 UTC (permalink / raw)
  To: Alexander A. Filippov, openbmc

I was looking for something like a -M wolfpass-bmc command line option like Romulus has -M romulus-bmc
(see here: https://github.com/openbmc/docs/blob/master/development/dev-environment.md )

Yet I find no wolfpass, S2600WF, nor Intel in the -machine help list. (see below)

~/OpenBMC_Development_Environment$ ./qemu-system-arm -version
QEMU emulator version 4.1.0 (v4.0.0-rc1-2953-g0d7c1ec-dirty)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers

~/OpenBMC_Development_Environment$ ./qemu-system-arm -machine help
Supported machines are:
akita                Sharp SL-C1000 (Akita) PDA (PXA270)
ast2500-evb          Aspeed AST2500 EVB (ARM1176)
ast2600-evb          Aspeed AST2600 EVB (Cortex A7)
borzoi               Sharp SL-C3100 (Borzoi) PDA (PXA270)
canon-a1100          Canon PowerShot A1100 IS
cheetah              Palm Tungsten|E aka. Cheetah PDA (OMAP310)
collie               Sharp SL-5500 (Collie) PDA (SA-1110)
connex               Gumstix Connex (PXA255)
cubieboard           cubietech cubieboard
emcraft-sf2          SmartFusion2 SOM kit from Emcraft (M2S010)
highbank             Calxeda Highbank (ECX-1000)
imx25-pdk            ARM i.MX25 PDK board (ARM926)
integratorcp         ARM Integrator/CP (ARM926EJ-S)
kzm                  ARM KZM Emulation Baseboard (ARM1136)
lm3s6965evb          Stellaris LM3S6965EVB
lm3s811evb           Stellaris LM3S811EVB
mainstone            Mainstone II (PXA27x)
mcimx6ul-evk         Freescale i.MX6UL Evaluation Kit (Cortex A7)
mcimx7d-sabre        Freescale i.MX7 DUAL SABRE (Cortex A7)
microbit             BBC micro:bit
midway               Calxeda Midway (ECX-2000)
mps2-an385           ARM MPS2 with AN385 FPGA image for Cortex-M3
mps2-an505           ARM MPS2 with AN505 FPGA image for Cortex-M33
mps2-an511           ARM MPS2 with AN511 DesignStart FPGA image for Cortex-M3
mps2-an521           ARM MPS2 with AN521 FPGA image for dual Cortex-M33
musca-a              ARM Musca-A board (dual Cortex-M33)
musca-b1             ARM Musca-B1 board (dual Cortex-M33)
musicpal             Marvell 88w8618 / MusicPal (ARM926EJ-S)
n800                 Nokia N800 tablet aka. RX-34 (OMAP2420)
n810                 Nokia N810 tablet aka. RX-44 (OMAP2420)
netduino2            Netduino 2 Machine
none                 empty machine
nuri                 Samsung NURI board (Exynos4210)
palmetto-bmc         OpenPOWER Palmetto BMC (ARM926EJ-S)
raspi2               Raspberry Pi 2
realview-eb          ARM RealView Emulation Baseboard (ARM926EJ-S)
realview-eb-mpcore   ARM RealView Emulation Baseboard (ARM11MPCore)
realview-pb-a8       ARM RealView Platform Baseboard for Cortex-A8
realview-pbx-a9      ARM RealView Platform Baseboard Explore for Cortex-A9
romulus-bmc          OpenPOWER Romulus BMC (ARM1176)
sabrelite            Freescale i.MX6 Quad SABRE Lite Board (Cortex A9)
smdkc210             Samsung SMDKC210 board (Exynos4210)
spitz                Sharp SL-C3000 (Spitz) PDA (PXA270)
swift-bmc            OpenPOWER Swift BMC (ARM1176)
sx1                  Siemens SX1 (OMAP310) V2
sx1-v1               Siemens SX1 (OMAP310) V1
terrier              Sharp SL-C3200 (Terrier) PDA (PXA270)
tosa                 Sharp SL-6000 (Tosa) PDA (PXA255)
verdex               Gumstix Verdex (PXA270)
versatileab          ARM Versatile/AB (ARM926EJ-S)
versatilepb          ARM Versatile/PB (ARM926EJ-S)
vexpress-a15         ARM Versatile Express for Cortex-A15
vexpress-a9          ARM Versatile Express for Cortex-A9
virt-2.10            QEMU 2.10 ARM Virtual Machine
virt-2.11            QEMU 2.11 ARM Virtual Machine
virt-2.12            QEMU 2.12 ARM Virtual Machine
virt-2.6             QEMU 2.6 ARM Virtual Machine
virt-2.7             QEMU 2.7 ARM Virtual Machine
virt-2.8             QEMU 2.8 ARM Virtual Machine
virt-2.9             QEMU 2.9 ARM Virtual Machine
virt-3.0             QEMU 3.0 ARM Virtual Machine
virt-3.1             QEMU 3.1 ARM Virtual Machine
virt-4.0             QEMU 4.0 ARM Virtual Machine
virt                 QEMU 4.1 ARM Virtual Machine (alias of virt-4.1)
virt-4.1             QEMU 4.1 ARM Virtual Machine
witherspoon-bmc      OpenPOWER Witherspoon BMC (ARM1176)
xilinx-zynq-a9       Xilinx Zynq Platform Baseboard for Cortex-A9
z2                   Zipit Z2 (PXA27x)


> -----Original Message-----
> From: openbmc [mailto:openbmc-
> bounces+bruce_mitchell=phoenix.com@lists.ozlabs.org] On Behalf Of
> Alexander A. Filippov
> Sent: Monday, March 30, 2020 02:00
> To: openbmc@lists.ozlabs.org
> Subject: Re: Any idea of when qemu-system-arm will be supported for
> https://github.com/Intel-BMC/openbmc ?
> 
> On Fri, Mar 27, 2020 at 05:17:37PM +0000, Bruce Mitchell wrote:
> > Any idea of when qemu-system-arm will be supported for
> https://github.com/Intel-BMC/openbmc ?
> >
> >
> 
> It depends on what you want from qemu.
> 
> For example, I use qemu to check that the firmware image is bootable
> and works
> fine:
> ```
> qemu-system-arm -M ast2500-evb -m size=512M \
>     -nographic -nodefaults -serial mon:stdio \
>     -net nic,model=ftgmac100 \
>     -drive file=<path-to-image-mtd>,format=raw,if=mtd
> ```
> 
> This way has some failures:
>  - There is emulated MTD falsh drive only 32M size. As a result fit-image-
> b and
>    u-boot-env partitions are unreadable.
>  - There is no managed host. So there are not work the host power state
>    management, KVM, Virtual Media and so on.
> 
> Probably there are more failures, which I have not noticed.
> 
> While writing these lines I remembered that I use qemu-system-arm,
> built from
> source on https://github.com/openbmc/qemu.
> It's important, because the qemu-system-arm from my distro is too old
> and this
> image is not working with it.
> 
> 
> Alexander.


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

* Re: Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
  2020-03-30 14:35   ` Bruce Mitchell
@ 2020-03-30 16:17     ` Alexander A. Filippov
  2020-03-31  7:50       ` Wim Vervoorn
  2020-04-01 15:22     ` Cédric Le Goater
  1 sibling, 1 reply; 6+ messages in thread
From: Alexander A. Filippov @ 2020-03-30 16:17 UTC (permalink / raw)
  To: openbmc

On Mon, Mar 30, 2020 at 02:35:55PM +0000, Bruce Mitchell wrote:
> I was looking for something like a -M wolfpass-bmc command line option like Romulus has -M romulus-bmc
> (see here: https://github.com/openbmc/docs/blob/master/development/dev-environment.md )
> 
> Yet I find no wolfpass, S2600WF, nor Intel in the -machine help list. (see below)
> 

Yes, there is no full implemented platform.

As I know, the wolfpass bmc based on aspeed ast2500 SoC. 
I can't remember why I choose exactly ast2500-evb for the tests of wolfpass.
Probably it was reported somewhere in the internal documents.

If someone has other experience or more knowledge please share it.

Alexander.

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

* RE: Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
  2020-03-30 16:17     ` Alexander A. Filippov
@ 2020-03-31  7:50       ` Wim Vervoorn
  0 siblings, 0 replies; 6+ messages in thread
From: Wim Vervoorn @ 2020-03-31  7:50 UTC (permalink / raw)
  To: Alexander A. Filippov, openbmc

Hello,

You can use the ast2500-evb as a base to add a model that matches the WolfPass configuration as closely as possible.

Usually, it works quite well to model that part of the BMC that you are developing software for. Full implementation is possible of course but most likely a lot of work.

Best Regards,
Wim Vervoorn

Eltan B.V.
Ambachtstraat 23
5481 SM Schijndel
The Netherlands

T : +31-(0)73-594 46 64
E : wvervoorn@eltan.com
W : http://www.eltan.com


"THIS MESSAGE CONTAINS CONFIDENTIAL INFORMATION. UNLESS YOU ARE THE INTENDED RECIPIENT OF THIS MESSAGE, ANY USE OF THIS MESSAGE IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE +31-(0)73-5944664 OR REPLY EMAIL, AND IMMEDIATELY DELETE THIS MESSAGE AND ALL COPIES." 

-----Original Message-----
From: openbmc [mailto:openbmc-bounces+wvervoorn=eltan.com@lists.ozlabs.org] On Behalf Of Alexander A. Filippov
Sent: Monday, March 30, 2020 6:18 PM
To: openbmc@lists.ozlabs.org
Subject: Re: Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?

On Mon, Mar 30, 2020 at 02:35:55PM +0000, Bruce Mitchell wrote:
> I was looking for something like a -M wolfpass-bmc command line option 
> like Romulus has -M romulus-bmc (see here: 
> https://github.com/openbmc/docs/blob/master/development/dev-environmen
> t.md )
> 
> Yet I find no wolfpass, S2600WF, nor Intel in the -machine help list. 
> (see below)
> 

Yes, there is no full implemented platform.

As I know, the wolfpass bmc based on aspeed ast2500 SoC. 
I can't remember why I choose exactly ast2500-evb for the tests of wolfpass.
Probably it was reported somewhere in the internal documents.

If someone has other experience or more knowledge please share it.

Alexander.





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

* Re: Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
  2020-03-30 14:35   ` Bruce Mitchell
  2020-03-30 16:17     ` Alexander A. Filippov
@ 2020-04-01 15:22     ` Cédric Le Goater
  1 sibling, 0 replies; 6+ messages in thread
From: Cédric Le Goater @ 2020-04-01 15:22 UTC (permalink / raw)
  To: Bruce Mitchell, Alexander A. Filippov, openbmc

On 3/30/20 4:35 PM, Bruce Mitchell wrote:
> I was looking for something like a -M wolfpass-bmc command line option like Romulus has -M romulus-bmc
> (see here: https://github.com/openbmc/docs/blob/master/development/dev-environment.md )
> 
> Yet I find no wolfpass, S2600WF, nor Intel in the -machine help list. (see below)

We would need a machine definition such as the ones in hw/arm/aspeed.c.

See :

https://git.qemu.org/?p=qemu.git;a=blob;f=hw/arm/aspeed.c;h=a6a2102a93cbe2199c28e58deee480518076476e;hb=HEAD#l472

in the limited scope of what QEMU supports. I2C models are not too
complex to write if someone is interested.

Regards,

C. 

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

end of thread, other threads:[~2020-04-01 16:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27 17:17 Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ? Bruce Mitchell
2020-03-30  9:00 ` Alexander A. Filippov
2020-03-30 14:35   ` Bruce Mitchell
2020-03-30 16:17     ` Alexander A. Filippov
2020-03-31  7:50       ` Wim Vervoorn
2020-04-01 15:22     ` Cédric Le Goater

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.