From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDXEy-0001wp-9Q for qemu-devel@nongnu.org; Mon, 17 Sep 2012 05:03:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDXEq-0001Xh-GS for qemu-devel@nongnu.org; Mon, 17 Sep 2012 05:03:40 -0400 Received: from mail-ie0-f173.google.com ([209.85.223.173]:39068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDXEq-0001XC-BY for qemu-devel@nongnu.org; Mon, 17 Sep 2012 05:03:32 -0400 Received: by iebc10 with SMTP id c10so8784577ieb.4 for ; Mon, 17 Sep 2012 02:03:31 -0700 (PDT) From: "Peter A. G. Crosthwaite" Date: Mon, 17 Sep 2012 19:02:52 +1000 Message-Id: Subject: [Qemu-devel] [RFC v0 00/10] Microblaze generic FDT framework List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, edgar.iglesias@gmail.com Cc: peter.crosthwaite@petalogix.com, crwulff@gmail.com In response to Chris Wulff series which add FDT driver machine generation for microblaze, heres the current version of the system maintained out of tree at Xilinx. Looking to collaborate with Chris (or anyone else out there) on how we can converge our implementations. Major outstanding issues: -The Flash and Serial stuff is a bit of a hack as they arent there yet with QOM. I think Anthony has some stuff in a series to fix up serial which clear this series up a little bit. Ditto for PFlash, with outstanding QOM issues. -Need to rework the API to handle nodepaths a little cleaner. Peter A. G. Crosthwaite (10): device_tree: allow offsets for cell properties device_tree: return Error* from prop getters device_tree: allow property getters to inherit device_tree: get_prop(): memdup returned properties qemu-coroutine: Add simple work queue support device_tree: Extended interface for fdt_generic fdt_generic: First revision pflash_cfi01: Added fdt generic platform support microblaze_generic_fdt: first revision serial: added fdt generic platform support default-configs/microblaze-softmmu.mak | 1 + default-configs/microblazeel-softmmu.mak | 1 + device_tree.c | 199 +++++++++++++- device_tree.h | 38 +++- hw/arm_boot.c | 10 +- hw/fdt_generic.c | 215 +++++++++++++++ hw/fdt_generic.h | 92 +++++++ hw/fdt_generic_devices.c | 80 ++++++ hw/fdt_generic_devices.h | 8 + hw/fdt_generic_util.c | 438 ++++++++++++++++++++++++++++++ hw/fdt_generic_util.h | 36 +++ hw/microblaze/Makefile.objs | 5 + hw/microblaze_generic_fdt.c | 378 ++++++++++++++++++++++++++ qemu-coroutine-lock.c | 13 + qemu-coroutine.h | 9 + 15 files changed, 1507 insertions(+), 16 deletions(-) create mode 100644 hw/fdt_generic.c create mode 100644 hw/fdt_generic.h create mode 100644 hw/fdt_generic_devices.c create mode 100644 hw/fdt_generic_devices.h create mode 100644 hw/fdt_generic_util.c create mode 100644 hw/fdt_generic_util.h create mode 100644 hw/microblaze_generic_fdt.c