[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree
From: |
Simon Glass |
Subject: |
[PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree |
Date: |
Tue, 12 Oct 2021 19:01:06 -0600 |
QEMU currently generates a devicetree for use with U-Boot. Explain how to
obtain it.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
doc/board/emulation/qemu-arm.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst
index 97b6ec64905..b458a398c69 100644
--- a/doc/board/emulation/qemu-arm.rst
+++ b/doc/board/emulation/qemu-arm.rst
@@ -91,3 +91,15 @@ The debug UART on the ARM virt board uses these settings::
CONFIG_DEBUG_UART_PL010=y
CONFIG_DEBUG_UART_BASE=0x9000000
CONFIG_DEBUG_UART_CLOCK=0
+
+Obtaining the QEMU devicetree
+-----------------------------
+
+QEMU generates its own devicetree to pass to U-Boot and does this by default.
+You can use `-dtb u-boot.dtb` to force QEMU to use U-Boot's in-tree version.
+
+To obtain the devicetree that qemu generates, add `-machine dumpdtb=dtb.dtb`,
+e.g.::
+
+ qemu-system-aarch64 -machine virt -nographic -cpu cortex-a57 \
+ -bios u-boot.bin -machine dumpdtb=dtb.dtb
--
2.33.0.882.g93a45727a2-goog
- [PATCH 04/16] arm: qemu: Add a devicetree file for qemu_arm, (continued)
- [PATCH 04/16] arm: qemu: Add a devicetree file for qemu_arm, Simon Glass, 2021/10/12
- [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64, Simon Glass, 2021/10/12
- Re: [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64, François Ozog, 2021/10/12
- Re: [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64, Alex Bennée, 2021/10/27
- Re: [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64, Tom Rini, 2021/10/27
- Re: [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64, Simon Glass, 2021/10/27
- Re: [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64, Tom Rini, 2021/10/27
- Re: [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64, Alex Bennée, 2021/10/27
[PATCH 06/16] riscv: qemu: Add devicetree files for qemu_riscv32/64, Simon Glass, 2021/10/12
[PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree,
Simon Glass <=
Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option, Bin Meng, 2021/10/12
- Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option, Tom Rini, 2021/10/12
- Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option, François Ozog, 2021/10/13
- Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option, Simon Glass, 2021/10/13
- Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option, François Ozog, 2021/10/13
- Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option, Simon Glass, 2021/10/13
- Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option, Tom Rini, 2021/10/14