qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] New arm9 Emulation


From: Stefan Weil
Subject: Re: [Qemu-devel] New arm9 Emulation
Date: Mon, 20 Sep 2010 11:59:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Iceowl/1.0b1 Icedove/3.0.6

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]