All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Rigby <john.rigby@linaro.org>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	John Rigby <john.rigby@linaro.org>
Subject: [Qemu-devel] [PATCH v3 2/3] ARM: Allow dumping of device tree
Date: Fri, 10 May 2013 00:58:37 -0600	[thread overview]
Message-ID: <1368169118-9528-3-git-send-email-john.rigby@linaro.org> (raw)
In-Reply-To: <1368169118-9528-1-git-send-email-john.rigby@linaro.org>

By calling qemu_devtree_dumpdtb near the end of load_dtb.

Signed-off-by: John Rigby <john.rigby@linaro.org>
---

changes in v3:
- split patch

 hw/arm/boot.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index 64b56ac..de71edf 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot.c
@@ -312,6 +312,7 @@ static int load_dtb(hwaddr addr, const struct arm_boot_info *binfo)
             fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n");
         }
     }
+    qemu_devtree_dumpdtb(fdt, size);
 
     cpu_physical_memory_write(addr, fdt, size);
 
-- 
1.8.2.2

  parent reply	other threads:[~2013-05-10  6:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10  6:58 [Qemu-devel] [PATCH v3 0/2] Add mach-virt platform John Rigby
2013-05-10  6:58 ` [Qemu-devel] [PATCH v3 1/3] ARM: Allow boards to provide an fdt blob John Rigby
2013-06-13 18:49   ` Peter Maydell
2013-05-10  6:58 ` John Rigby [this message]
2013-06-13 17:53   ` [Qemu-devel] [PATCH v3 2/3] ARM: Allow dumping of device tree Peter Maydell
2013-05-10  6:58 ` [Qemu-devel] [PATCH v3 3/3] ARM: Add mach-virt platform John Rigby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1368169118-9528-3-git-send-email-john.rigby@linaro.org \
    --to=john.rigby@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.