qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] add dumpdts ability to convert dtb to dts
@ 2014-08-25  4:00 john.liuli
  2014-08-25  4:00 ` [Qemu-devel] [PATCH 1/6] device_tree.c: Introduce a function to check multiple strings for dts john.liuli
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: john.liuli @ 2014-08-25  4:00 UTC (permalink / raw)
  To: peter.crosthwaite, agraf; +Cc: Li Liu, qemu-devel

From: Li Liu <john.liuli@huawei.com>

This patchset let qemu can convert dtb file to dts for two demands:

Some archtectures may generate the dtb file dynamically through
qemu device tree functions. So this let it's possiable to dump final
dtb to dts and save it as a reference.

For novices to debugging the issues caused by wrong dtb parameters.
It will be easy to check the dts directly without copying the
dtb which may be generated by 'dumpdtb' to the PC and dtc or fdtdump
it.

The outputed dts format is compatile with 'dtc -I dtb -O dts xxx.dtb'.
There's a new parameter 'dumpdts' which is similar to 'dumpdtb'. so try
it like '-machine dumpdts=/tmp/xxx.dts'.

Li Liu (6):
  device_tree.c: Introduce a function to check multiple strings for dts
  device_tree.c: dump three kind data types of dts to a file desciptor
  device_tree.c: Format a blob in memory as dts stream and dump to a
    file.
  device_tree.c: add the main function to analyse the parameter
    'dumpdts'
  machine: add 'dumpdts' parameter to 'machine' optslist.
  arm: Allow dumping generated dtb to dts file

 device_tree.c                |  172 ++++++++++++++++++++++++++++++++++++++++++
 hw/arm/boot.c                |    1 +
 include/sysemu/device_tree.h |    1 +
 vl.c                         |    4 +
 4 files changed, 178 insertions(+)

-- 
1.7.9.5

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

end of thread, other threads:[~2014-08-26  2:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-25  4:00 [Qemu-devel] [PATCH 0/6] add dumpdts ability to convert dtb to dts john.liuli
2014-08-25  4:00 ` [Qemu-devel] [PATCH 1/6] device_tree.c: Introduce a function to check multiple strings for dts john.liuli
2014-08-25  4:00 ` [Qemu-devel] [PATCH 2/6] device_tree.c: dump three kind data types of dts to a file desciptor john.liuli
2014-08-25  4:00 ` [Qemu-devel] [PATCH 3/6] device_tree.c: Format a blob in memory as dts stream and dump to a file john.liuli
2014-08-25  4:00 ` [Qemu-devel] [PATCH 4/6] device_tree.c: add the main function to analyse the parameter 'dumpdts' john.liuli
2014-08-25  4:00 ` [Qemu-devel] [PATCH 5/6] machine: add 'dumpdts' parameter to 'machine' optslist john.liuli
2014-08-25  4:00 ` [Qemu-devel] [PATCH 6/6] arm: Allow dumping generated dtb to dts file john.liuli
2014-08-25 12:22 ` [Qemu-devel] [PATCH 0/6] add dumpdts ability to convert dtb to dts Peter Maydell
2014-08-26  2:04   ` Li Liu
2014-08-26  2:41     ` Peter Crosthwaite

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