From: Stefan Weil <weil@mail.berlios.de>
To: Andreas Koerner <koerner@ist-chemnitz.de>
Cc: Qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] New arm9 Emulation
Date: Mon, 20 Sep 2010 11:59:10 +0200 [thread overview]
Message-ID: <4C97306E.1030501@mail.berlios.de> (raw)
In-Reply-To: <000001cb58a7$ba502b70$2ef08250$@de>
Hello Andreas,
your code is ok and works as expected:
$ arm-softmmu/qemu-system-arm -M ?
Supported machines are:
syborg Syborg (Symbian Virtual Platform)
smdk2410 Samsung SMDK2410 (S3C2410A, ARM920T)
str910faw32 STR910FAW32 System on a Chip (ARM966E-S Core)
bast Simtec Electronics BAST (S3C2410A, ARM920T)
musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S)
mainstone Mainstone II (PXA27x)
n800 Nokia N800 tablet aka. RX-34 (OMAP2420)
n810 Nokia N810 tablet aka. RX-44 (OMAP2420)
cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310)
sx1 Siemens SX1 (OMAP310) V2
sx1-v1 Siemens SX1 (OMAP310) V1
tosa Tosa PDA (PXA255)
akita Akita PDA (PXA270)
spitz Spitz PDA (PXA270)
borzoi Borzoi PDA (PXA270)
terrier Terrier PDA (PXA270)
connex Gumstix Connex (PXA255)
verdex Gumstix Verdex (PXA270)
tt OpenTom (ARM920-T)
tt666 OpenTom (ARM920-T)
smdk2443 smdk2443 (ARM920-T)
lm3s811evb Stellaris LM3S811EVB
lm3s6965evb Stellaris LM3S6965EVB
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
versatilepb ARM Versatile/PB (ARM926EJ-S)
versatileab ARM Versatile/AB (ARM926EJ-S)
integratorcp ARM Integrator/CP (ARM926EJ-S) (default)
$ arm-softmmu/qemu-system-arm -M str910faw32
Works!
Did you call the correct qemu executable?
Regards,
Stefan
PS. Please send future mails to qemu-devel in pure text format (no html
encoding).
Am 20.09.2010 11:39, schrieb Andreas Koerner:
> Hello!
>
> I’m new to qemu and this list, so it’s nice to meet you.
>
> My current job is to implement a developing platform for a
> STR910FAW32. This is an SoC with an ARM9-type CPU.
> I would like to use qemu as simulation platform, as it is really
> active and does support arm9 type cpu’s.
> A look at the mailing list archives shows that qemu machines are
> heavily modified and worked on in the younger past, but this does not
> seem to be in the master branch of the savannah repo?!?
> As there is rarely documentation present, I simply started with the
> master revision (Friday) from the savannah repository, wrote a
> str910faw32.c put it in the hw directory and registered it with
> “obj-arm-y += str910faw32.o” in Makefile.target.
>
> Str910faw32.c:
>
> #include "module.h"
> #include "sysbus.h"
> #include "primecell.h"
> #include "devices.h"
> #include "sysemu.h"
> #include "boards.h"
> #include "arm-misc.h"
>
> static void str910faw32_init(ram_addr_t ram_size,
> const char *boot_device,
> const char *kernel_filename, const char *kernel_cmdline,
> const char *initrd_filename, const char *cpu_model)
> {
> fprintf(stderr, "Works!\n");
> exit(1);
> }
>
> static QEMUMachine str910faw32_machine = {
> .name = "str910faw32",
> .desc = "STR910FAW32 System on a Chip (ARM966E-S Core)",
> .init = str910faw32_init,
> };
>
> static void str910faw32_machine_init(void)
> {
> qemu_register_machine(&str910faw32_machine);
> }
>
> machine_init(str910faw32_machine_init);
>
> But after a “sudo make install” this machine dies not show up under
> the “-M ?” option, so what’s my mistake?
>
> Thank you for your help
> A. Körner
prev parent reply other threads:[~2010-09-20 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-20 9:39 [Qemu-devel] New arm9 Emulation Andreas Koerner
2010-09-20 9:59 ` Stefan Weil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C97306E.1030501@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=Qemu-devel@nongnu.org \
--cc=koerner@ist-chemnitz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).