QEMU basic support for Device Trees on ARM

Registered by Dr. David Alan Gilbert

Modify QEMU to support Device Trees on ARM. This will include at least being able to pass device trees to a kernel booted under QEMU, and updating the device tree based on other parameters passed to it. Building a model from a device tree is also desirable.

Blueprint information

Status:
Complete
Approver:
Michael Hope
Priority:
High
Drafter:
Dr. David Alan Gilbert
Direction:
Approved
Assignee:
Peter Maydell
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.03
Started by
Peter Maydell
Completed by
Peter Maydell

Related branches

Sprints

Whiteboard

The basic support for passing a DTB to the kernel (using -dtb my.dtb) has now gone into qemu upstream and also qemu-linaro. Tested by booting using the vexpress dtb.

This blueprint add the initial support so the user can pass a Device Tree to the kernel from the QEMU command line, just like they can for a initrd.

It is assumed that the device tree is an output from the kernel build process.

(?)

Work Items

Work items:
Investigate device tree support on other architectures and figure out what can be shared: DONE
Find test kernel and device tree blob for vexpress: DONE
Add code to take blob, update it with memory etc, and pass to kernel: DONE
Clean up and submit patch upstream: DONE
Handle any patch review comments: DONE

Dependency tree

* Blueprints in grey have been implemented.