From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCElu-0002Z2-Ae for qemu-devel@nongnu.org; Wed, 30 Nov 2016 18:58:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCEls-0003ZK-KQ for qemu-devel@nongnu.org; Wed, 30 Nov 2016 18:58:42 -0500 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]:32962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCEls-0003ZA-8G for qemu-devel@nongnu.org; Wed, 30 Nov 2016 18:58:40 -0500 Received: by mail-io0-x235.google.com with SMTP id j65so381915326iof.0 for ; Wed, 30 Nov 2016 15:58:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20161111130858.GG8930@stefanha-x1.localdomain> <90C530D3-3577-49D9-9AC5-17E9AF7E35DB@gmail.com> <87pom26ks3.fsf@linaro.org> <3E94F8CB-2159-4987-892D-B161A5A46150@gmail.com> <1352494F-C2B8-451E-B4DC-1713638526C6@gmail.com> From: Alistair Francis Date: Wed, 30 Nov 2016 15:58:07 -0800 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] ARM documentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: =?UTF-8?B?QWxleCBCZW5uw6ll?= , Stefan Hajnoczi , qemu-devel qemu-devel , Peter Maydell On Fri, Nov 18, 2016 at 4:53 PM, Programmingkid wrote: > > On Nov 18, 2016, at 7:31 PM, Programmingkid wrote: > >> >> On Nov 18, 2016, at 4:10 PM, Alistair Francis wrote: >> >>> On Fri, Nov 11, 2016 at 8:53 AM, G 3 wrote: >>>> >>>> On Nov 11, 2016, at 11:31 AM, Alex Benn=C3=A9e wrote: >>>> >>>>> >>>>> G 3 writes: >>>>> >>>>>> On Nov 11, 2016, at 8:27 AM, G 3 wrote: >>>>>> >>>>>>> >>>>>>> On Nov 11, 2016, at 8:08 AM, Stefan Hajnoczi wrote: >>>>>>> >>>>>>>> On Fri, Nov 11, 2016 at 12:09:31AM -0500, G 3 wrote: >>>>>>>>> >>>>>>>>> I was wondering if there is a list somewhere of all the ARM >>>>>>>>> boards QEMU >>>>>>>>> supports. I want to add a section to the ARM wiki page that lists >>>>>>>>> at least a >>>>>>>>> few of them. >>>>>>>> >>>>>>>> >>>>>>>> Are you looking for something more detailed than the following? >>>>>>>> >>>>>>>> $ arm-softmmu/qemu-system-arm -M \? >>>>>>>> Supported machines are: >>>>>>>> akita Sharp SL-C1000 (Akita) PDA (PXA270) >>>>>>>> ast2500-evb Aspeed AST2500 EVB (ARM1176) >>>>>>>> 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 >>>>>>>> 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) >>>>>>>> midway Calxeda Midway (ECX-2000) >>>>>>>> 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 >>>>>>>> sabrelite Freescale i.MX6 Quad SABRE Lite Board (Cortex >>>>>>>> A9) >>>>>>>> smdkc210 Samsung SMDKC210 board (Exynos4210) >>>>>>>> spitz Sharp SL-C3000 (Spitz) PDA (PXA270) >>>>>>>> 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.6 QEMU 2.6 ARM Virtual Machine >>>>>>>> virt-2.7 QEMU 2.7 ARM Virtual Machine >>>>>>>> virt QEMU 2.8 ARM Virtual Machine (alias of virt-2= .8) >>>>>>>> virt-2.8 QEMU 2.8 ARM Virtual Machine >>>>>>>> xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9 >>>>>>>> z2 Zipit Z2 (PXA27x) >>>>>>>> >>>>>>>> $ aarch64-softmmu/qemu-system-aarch64 -M \? >>>>>>>> Supported machines are: >>>>>>>> akita Sharp SL-C1000 (Akita) PDA (PXA270) >>>>>>>> ast2500-evb Aspeed AST2500 EVB (ARM1176) >>>>>>>> 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 >>>>>>>> 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) >>>>>>>> midway Calxeda Midway (ECX-2000) >>>>>>>> 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 >>>>>>>> sabrelite Freescale i.MX6 Quad SABRE Lite Board (Cortex >>>>>>>> A9) >>>>>>>> smdkc210 Samsung SMDKC210 board (Exynos4210) >>>>>>>> spitz Sharp SL-C3000 (Spitz) PDA (PXA270) >>>>>>>> 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.6 QEMU 2.6 ARM Virtual Machine >>>>>>>> virt-2.7 QEMU 2.7 ARM Virtual Machine >>>>>>>> virt QEMU 2.8 ARM Virtual Machine (alias of virt-2= .8) >>>>>>>> virt-2.8 QEMU 2.8 ARM Virtual Machine >>>>>>>> xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9 >>>>>>>> xlnx-ep108 Xilinx ZynqMP EP108 board >>>>>>>> xlnx-zcu102 Xilinx ZynqMP ZCU102 board >>>>>>>> z2 Zipit Z2 (PXA27x) >>>>>> >>>>>> >>>>>> They have been added to the wiki. >>>>>> >>>>>> Does this look right as the suggested command-line arguments: >>>>>> qemu-system-aarch64 -m -M -drive >>>>>> if=3Dnone,file=3D,id=3Dhd0 -device virtio-blk- >>>>>> device,drive=3Dhd0 -netdev type=3Dtap,id=3Dnet0 -device virtio-net- >>>>>> device,netdev=3Dnet0 >>>>> >>>>> >>>>> Using virtio devices really only applies to the -M virt machine types= . >>>>> All the other device types are modelling real hardware with various >>>>> specific block devices. >>>>> >>>>> Generally you boot system emulation with a kernel (and maybe an initr= d) >>>>> as their is no BIOS to boot stuff for you. Modern ARM systems (by whi= ch >>>>> I mean virt) can be booted with an EFI BIOS (-bios QEMU_EFI.fd) which >>>>> will then figure out the best place to boot from and can load the ker= nel >>>>> themselves. For the Xilinx boards and Netduino I can write something quickly up with basic usage instructions. Would that be beneficial to have a section there (I'm just looking at the ARM boards http://wiki.qemu.org/Documentation/Platforms/ARM) for getting started? If so how can I request edit access to the wiki? >>>>> >>>>> -- >>>>> Alex Benn=C3=A9e >>>> >>>> >>>> Thank you for your help. Is this what should be used: >>>> >>>> qemu-system-aarch64 -m -M -drive >>>> if=3Dnone,file=3D,id=3Dhd0 -kernel = -initrd >>>> >>>> >>>> Given there are so many ARM boards, having more sample command-lines >>>> would be more helpful to the user. >>> >>> A lot of the information about the command lines are maintained out of >>> tree. You can look at how Yocto starts up these machines for examples >>> on it. >>> >>> I think an example for machines would be really useful. If you have a >>> central place you would like to add them let me know and I'll add >>> examples (and images if you want) for Xilinx and Netduino boards. >>> >>> Thanks, >>> >>> Alistair >> >> This is the master list of platform documentation: http://wiki.qemu.org/= Documentation/Platforms >> >> It currently doesn't list Xilinx or Netduino, but that can always be cha= nged. >> >> This will be a good place to start an Xilinx page: >> http://wiki.qemu.org/Documentation/Platforms/Xilinx >> >> Here for Netduino: >> http://wiki.qemu.org/Documentation/Platforms/Netduino >> >> Let me know if there is anything I can do to help. > > Oops. I didn't realize that Xilinx and Netduino were ARM boards and not s= omething else. You would want to place such documentation on the ARM page: > > http://wiki.qemu.org/Documentation/Platforms/ARM I had never seen that before, thanks! Thanks, Alistair