Skip to content

RFC Microblaze generic FDT framework

Peter A. G. Crosthwaite qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 RFC Latest10 patches 5 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10device_tree: allow offsets for cell propertiesdevice_tree.c device_tree.h hw/arm_boot.c+8 -80 replies
2/10device_tree: return Error* from prop gettersdevice_tree.c device_tree.h hw/arm_boot.c+31 -110 replies
3/10device_tree: allow property getters to inheritdevice_tree.c device_tree.h hw/arm_boot.c+14 -70 replies
4/10device_tree: get_prop(): memdup returned propertiesdevice_tree.c device_tree.h+8 -50 replies
5/10qemu-coroutine: Add simple work queue supportqemu-coroutine-lock.c qemu-coroutine.h+22 -00 replies
6/10device_tree: Extended interface for fdt_genericdevice_tree.c device_tree.h+185 -00 replies
7/10fdt_generic: First revisiondefault-configs/microblaze-softmmu.mak default-configs/microblazeel-softmmu.mak hw/fdt_generic.c +4 more+786 -03 replies
8/10pflash_cfi01: Added fdt generic platform supporthw/fdt_generic_devices.c hw/fdt_generic_devices.h hw/microblaze/Makefile.objs+54 -00 replies
9/10microblaze_generic_fdt: first revisionhw/microblaze/Makefile.objs hw/microblaze_generic_fdt.c+379 -02 replies
10/10serial: added fdt generic platform supporthw/fdt_generic_devices.c+37 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v0 yet.

Read the v0 thread

Cover letter [Qemu-devel] [RFC v0 00/10] Microblaze generic FDT framework

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