Received: from [140.186.70.92] (port=58924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oxcr0-0007TM-PD for qemu-devel@nongnu.org; Mon, 20 Sep 2010 05:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oxcqz-0002R2-0o for qemu-devel@nongnu.org; Mon, 20 Sep 2010 05:40:06 -0400 Received: from mail.eastlink.de ([213.187.64.24]:38730) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oxcqy-0002NZ-HQ for qemu-devel@nongnu.org; Mon, 20 Sep 2010 05:40:04 -0400 Received: from mail.ist-chemnitz.de (ist218-el-CHE.eastlink.de [213.187.70.218]) by mail.eastlink.de (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id o8K9dgAg006852 for ; Mon, 20 Sep 2010 11:39:42 +0200 Received: from [141.6.200.6] (port=32986 helo=mail_int.ist-chemnitz.de) by mail.ist-chemnitz.de with esmtp (Exim 4.69) (envelope-from ) id 1OxcqS-0005Ml-1b for Qemu-devel@nongnu.org; Mon, 20 Sep 2010 11:39:32 +0200 Received: from pc55 (pc55.ist [141.6.200.155]) by mail_int.ist-chemnitz.de (Postfix) with ESMTP id D82BB5E4D for ; Mon, 20 Sep 2010 11:39:31 +0200 (CEST) From: "Andreas Koerner" Date: Mon, 20 Sep 2010 11:39:31 +0200 Message-ID: <000001cb58a7$ba502b70$2ef08250$@de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CB58B8.7DD8FB70" Content-Language: de Subject: [Qemu-devel] New arm9 Emulation List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu-devel@nongnu.org Dies ist eine mehrteilige Nachricht im MIME-Format. ------=_NextPart_000_0001_01CB58B8.7DD8FB70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello! =20 I=92m new to qemu and this list, so it=92s nice to meet you. =20 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=92s.=20 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 =93obj-arm-y +=3D = str910faw32.o=94 in Makefile.target. =20 Str910faw32.c: =20 #include "module.h" #include "sysbus.h" #include "primecell.h" #include "devices.h" #include "sysemu.h" #include "boards.h" #include "arm-misc.h" =20 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); } =20 static QEMUMachine str910faw32_machine =3D { .name =3D "str910faw32", .desc =3D "STR910FAW32 System on a Chip (ARM966E-S Core)", .init =3D str910faw32_init, }; =20 static void str910faw32_machine_init(void) { qemu_register_machine(&str910faw32_machine); } =20 machine_init(str910faw32_machine_init); =20 But after a =93sudo make install=94 this machine dies not show up under = the =93-M ?=94 option, so what=92s my mistake? =20 Thank you for your help A. K=F6rner =20 ------=_NextPart_000_0001_01CB58B8.7DD8FB70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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 +=3D 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 =3D {

    .name =3D "str910faw32",

    .desc =3D "STR910FAW32 System on a Chip (ARM966E-S = Core)",

    .init =3D 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

 

------=_NextPart_000_0001_01CB58B8.7DD8FB70--