|
From: | Andreas Koerner |
Subject: | [Qemu-devel] New arm9 Emulation |
Date: | Mon, 20 Sep 2010 11:39:31 +0200 |
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 in Thread] | Current Thread | [Next in Thread] |