qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] Machine config files
@ 2009-06-10 17:38 Paul Brook
  2009-06-10 17:38 ` [Qemu-devel] [PATCH 1/4] Include and build libfdt Paul Brook
                   ` (6 more replies)
  0 siblings, 7 replies; 61+ messages in thread
From: Paul Brook @ 2009-06-10 17:38 UTC (permalink / raw)
  To: qemu-devel

The following series implements machine config files, and adds converts
some of the existing hardcoded machines.

The config files themselves are based on the ppc-linux Flattened Device Trees.
In generaly I've tried to structure things so that the same config file can
be used for both qemu and linux.

There are a still a few things missing, in particular PCI busses are untested,
but both SSI and I2C work.

To handle options like -kernel I've added a "bootstrap" facility. This
allows additional board initialization on top of normal hardware reset.
In the future we may want some more common features (e.g. loading ROM images),
but for now it just provides the functionality in the same way as the old
board init routine.

Also available from git://repo.or.cz/qemu/pbrook.git devtree

---

Paul Brook (4):
      Integrator machine config
      Stellaris machine config
      Add device tree machine
      Include and build libfdt


 .gitignore                       |    1 
 Makefile                         |   39 +
 Makefile.hw                      |    2 
 Makefile.target                  |   19 -
 configure                        |   41 +
 hw/arm-cpu.c                     |   79 +++
 hw/arm_boot.c                    |   22 +
 hw/arm_timer.c                   |    2 
 hw/armv7m.c                      |   61 ++
 hw/boards.h                      |    9 
 hw/dt-machine.c                  |  582 +++++++++++++++++++++
 hw/gpio-buttons.c                |  124 ++++
 hw/i2c.c                         |    8 
 hw/integratorcp.c                |   97 ---
 hw/pci.c                         |    1 
 hw/petalogix_s3adsp1800_mmu.c    |   40 -
 hw/pl011.c                       |    2 
 hw/pl061.c                       |   25 +
 hw/ppc440_bamboo.c               |    2 
 hw/ppce500_mpc8544ds.c           |    4 
 hw/qdev.c                        |  225 ++++++++
 hw/qdev.h                        |   50 +-
 hw/ssi.c                         |    7 
 hw/stellaris.c                   |  272 ++--------
 hw/stellaris_enet.c              |    2 
 hw/stellaris_input.c             |   91 ---
 hw/syborg.c                      |  112 ----
 hw/sysbus.c                      |    5 
 hw/sysbus.h                      |   15 -
 libfdt/Makefile.libfdt           |   14 
 libfdt/TODO                      |    3 
 libfdt/fdt.c                     |  156 ++++++
 libfdt/fdt.h                     |   60 ++
 libfdt/fdt_ro.c                  |  583 +++++++++++++++++++++
 libfdt/fdt_rw.c                  |  471 +++++++++++++++++
 libfdt/fdt_strerror.c            |   96 +++
 libfdt/fdt_sw.c                  |  258 +++++++++
 libfdt/fdt_wip.c                 |  144 +++++
 libfdt/libfdt.h                  | 1070 ++++++++++++++++++++++++++++++++++++++
 libfdt/libfdt_env.h              |   21 +
 libfdt/libfdt_internal.h         |   89 +++
 libfdt/patch.libfdt              |   20 +
 pc-bios/boards/integrator-cp.dts |  110 ++++
 pc-bios/boards/lm3s6965evb.dts   |  212 ++++++++
 pc-bios/boards/lm3s811evb.dts    |  155 ++++++
 pc-bios/boards/syborg.dts        |  134 +++++
 rules.mak                        |    3 
 sysemu.h                         |    3 
 target-ppc/kvm_ppc.c             |    2 
 vl.c                             |   45 +-
 50 files changed, 4973 insertions(+), 615 deletions(-)
 create mode 100644 hw/arm-cpu.c
 create mode 100644 hw/dt-machine.c
 create mode 100644 hw/gpio-buttons.c
 delete mode 100644 hw/stellaris_input.c
 delete mode 100644 hw/syborg.c
 create mode 100644 libfdt/Makefile.libfdt
 create mode 100644 libfdt/TODO
 create mode 100644 libfdt/fdt.c
 create mode 100644 libfdt/fdt.h
 create mode 100644 libfdt/fdt_ro.c
 create mode 100644 libfdt/fdt_rw.c
 create mode 100644 libfdt/fdt_strerror.c
 create mode 100644 libfdt/fdt_sw.c
 create mode 100644 libfdt/fdt_wip.c
 create mode 100644 libfdt/libfdt.h
 create mode 100644 libfdt/libfdt_env.h
 create mode 100644 libfdt/libfdt_internal.h
 create mode 100644 libfdt/patch.libfdt
 create mode 100644 pc-bios/boards/integrator-cp.dts
 create mode 100644 pc-bios/boards/lm3s6965evb.dts
 create mode 100644 pc-bios/boards/lm3s811evb.dts
 create mode 100644 pc-bios/boards/syborg.dts

^ permalink raw reply	[flat|nested] 61+ messages in thread

end of thread, other threads:[~2009-07-07  6:19 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 17:38 [Qemu-devel] [PATCH 0/4] Machine config files Paul Brook
2009-06-10 17:38 ` [Qemu-devel] [PATCH 1/4] Include and build libfdt Paul Brook
2009-06-10 19:08   ` Glauber Costa
2009-06-10 19:23     ` Anthony Liguori
2009-06-10 19:27     ` Paul Brook
2009-06-10 19:41       ` Glauber Costa
2009-06-10 20:38         ` Paul Brook
2009-06-10 22:32       ` Edgar E. Iglesias
2009-06-10 19:34     ` Blue Swirl
2009-06-10 17:38 ` [Qemu-devel] [PATCH 2/4] Add device tree machine Paul Brook
2009-06-10 18:30   ` Blue Swirl
2009-06-10 19:10     ` Paul Brook
2009-06-11 13:22   ` Gerd Hoffmann
2009-06-11 13:33   ` Gerd Hoffmann
2009-06-11 13:39     ` Paul Brook
2009-06-11 14:22       ` Gerd Hoffmann
2009-06-12 16:25   ` Markus Armbruster
2009-06-10 17:38 ` [Qemu-devel] [PATCH 3/4] Stellaris machine config Paul Brook
2009-06-11  8:21   ` M P
2009-06-11 16:32     ` Jamie Lokier
2009-06-12  8:29       ` Gerd Hoffmann
2009-06-12 13:56         ` Markus Armbruster
2009-06-12 13:53       ` Markus Armbruster
2009-06-12 15:25         ` Jamie Lokier
2009-06-10 17:38 ` [Qemu-devel] [PATCH 4/4] Integrator " Paul Brook
2009-06-11  9:54 ` [Qemu-devel] [PATCH 0/4] Machine config files Gerd Hoffmann
2009-06-11 12:53 ` Gerd Hoffmann
2009-06-11 13:18   ` Paul Brook
2009-06-11 14:35     ` Gerd Hoffmann
2009-06-12  7:51     ` Kevin Wolf
2009-06-12 13:49       ` Markus Armbruster
2009-06-12 14:22         ` Kevin Wolf
2009-06-12 14:40           ` Markus Armbruster
2009-06-12 15:02           ` Anthony Liguori
2009-06-12 15:29             ` Kevin Wolf
2009-06-12 16:35             ` Blue Swirl
2009-06-12 13:37 ` Markus Armbruster
2009-06-12 14:44   ` Gerd Hoffmann
2009-06-12 15:58     ` Markus Armbruster
2009-06-12 16:11     ` [Qemu-devel] " Jan Kiszka
2009-07-06 12:49       ` Michael S. Tsirkin
2009-07-06 13:43         ` Gerd Hoffmann
2009-07-06 13:56           ` Michael S. Tsirkin
2009-07-06 14:01             ` Michael S. Tsirkin
2009-07-06 14:40               ` Gerd Hoffmann
2009-07-06 16:12                 ` Avi Kivity
2009-07-06 16:27                   ` Gerd Hoffmann
2009-07-06 16:37                     ` Avi Kivity
2009-07-06 16:44                       ` Michael S. Tsirkin
2009-07-07  4:47                         ` Avi Kivity
2009-07-06 16:47                       ` Paul Brook
2009-07-07  5:01                         ` Avi Kivity
2009-07-06 17:28                       ` Anthony Liguori
2009-07-06 22:39                         ` Paul Brook
2009-07-06 23:13                           ` Anthony Liguori
2009-07-07  5:00                             ` Avi Kivity
2009-07-07  5:23                             ` Avi Kivity
2009-07-07  4:56                         ` Avi Kivity
2009-07-07  6:19                         ` Michael S. Tsirkin
2009-07-06 14:24             ` Gerd Hoffmann
2009-07-06 14:31               ` Michael S. Tsirkin

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).