From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uahg8-0002Es-B9 for qemu-devel@nongnu.org; Fri, 10 May 2013 03:23:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UahIX-00087c-LC for qemu-devel@nongnu.org; Fri, 10 May 2013 02:59:35 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:37522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UahIX-00087V-CK for qemu-devel@nongnu.org; Fri, 10 May 2013 02:59:21 -0400 Received: by mail-pa0-f54.google.com with SMTP id kx1so2694275pab.27 for ; Thu, 09 May 2013 23:59:19 -0700 (PDT) From: John Rigby Date: Fri, 10 May 2013 00:58:35 -0600 Message-Id: <1368169118-9528-1-git-send-email-john.rigby@linaro.org> Subject: [Qemu-devel] [PATCH v3 0/2] Add mach-virt platform List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , John Rigby Modify arm fdt handling so boards can provide a blob rather than requiring one on command line. Allow dumping of fdt blob as ppc e500 already does. Next add mach-virt platform that creates fdt blob from scratch describing its minimal hw which is a pl011 uart and a sp804 timer. Tested on amd64 host with full system emulation and also using kvm on an arndale board v2 changes: - remove bogus cruft from mach-virt.c that was leftover from checkpatch fixing v3 changes: - split first patch into two - rename from mach-virt to virt - collect scattered constants into a machine info structure - put qemu device creation and fdt nod creation near one another to make it easier to keep them in sync - use CONFIG_KVM and kvm_enabled() to differentiate between tcg and kvm dependent code - move memory to 0x0 and io up to 0xfff00000 John Rigby (3): ARM: Allow boards to provide an fdt blob ARM: Allow dumping of device tree ARM: Add mach-virt platform hw/arm/Makefile.objs | 2 +- hw/arm/boot.c | 31 ++-- hw/arm/virt.c | 434 +++++++++++++++++++++++++++++++++++++++++++++++++++ include/hw/arm/arm.h | 6 + 4 files changed, 461 insertions(+), 12 deletions(-) create mode 100644 hw/arm/virt.c -- 1.8.2.2