From: "Andreas Koerner" <koerner@ist-chemnitz.de>
To: Qemu-devel@nongnu.org
Subject: [Qemu-devel] New arm9 Emulation
Date: Mon, 20 Sep 2010 11:39:31 +0200 [thread overview]
Message-ID: <000001cb58a7$ba502b70$2ef08250$@de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]
Hello!
Im new to qemu and this list, so its 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 cpus.
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 whats my mistake?
Thank you for your help
A. Körner
[-- Attachment #2: Type: text/html, Size: 8165 bytes --]
next reply other threads:[~2010-09-20 9:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-20 9:39 Andreas Koerner [this message]
2010-09-20 9:59 ` [Qemu-devel] New arm9 Emulation Stefan Weil
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='000001cb58a7$ba502b70$2ef08250$@de' \
--to=koerner@ist-chemnitz.de \
--cc=Qemu-devel@nongnu.org \
/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).