Re: Booting bare-metal RISC-V virt (Was: [PATCH] Add some documentation for "dtb" devices tree blobs)

2022-06-26 Thread Simon Sapin
t this convention as something guest code can rely on? -- Simon Sapin

Re: [PATCH] Add some documentation for "dtb" devices tree blobs

2022-06-25 Thread Simon Sapin
On 26/06/2022 00:34, Simon Sapin wrote: diff --git qemu-options.hx qemu-options.hx index 377d22fbd8..eea75ddb37 100644 --- qemu-options.hx +++ qemu-options.hx @@ -38,6 +38,7 @@ DEF("machine", HAS_ARG, QEMU_OPTION_machine, \ "hmat=on|off controls ACPI HMAT s

Booting bare-metal RISC-V virt (Was: [PATCH] Add some documentation for "dtb" devices tree blobs)

2022-06-25 Thread Simon Sapin
On 26/06/2022 00:34, Simon Sapin wrote: +On startup, the dtb is memory-mapped and its address is passed to the guest +in a target-specific way: + +* Arm: :ref:`arm-baremetal` +* **TODO**: document other targets Hello, My current interest is playing with bare-metal / freestanding RISC-V, using

[PATCH] Add some documentation for "dtb" devices tree blobs

2022-06-25 Thread Simon Sapin
Signed-off-by: Simon Sapin --- docs/specs/device-trees.rst| 57 ++ docs/specs/index.rst | 1 + docs/system/arm/virt.rst | 5 +- docs/system/arm/xlnx-versal-virt.rst | 3 +- docs/system/ppc/ppce500.rst

[PATCH 2/2] Convert fw_cfg.rst to reStructuredText syntax

2022-06-25 Thread Simon Sapin
And add it to specs/index.rst Signed-off-by: Simon Sapin --- docs/specs/fw_cfg.rst | 211 +++--- docs/specs/index.rst | 1 + 2 files changed, 119 insertions(+), 93 deletions(-) diff --git docs/specs/fw_cfg.rst docs/specs/fw_cfg.rst index 3e6d586f66

Re: [PATCH 2/2] Convert fw_cfg.rst to reStructuredText syntax

2022-06-25 Thread Simon Sapin
On 25/06/2022 18:14, Simon Sapin wrote: And add it to specs/index.rst I meant to add to this commit message: This is part of https://gitlab.com/qemu-project/qemu/-/issues/527 -- Simon Sapin

[PATCH 1/2] Rename docs/specs/fw_cfg.txt to .rst

2022-06-25 Thread Simon Sapin
This is a separate commit in order to make reviewing the next one easier. Signed-off-by: Simon Sapin --- docs/specs/{fw_cfg.txt => fw_cfg.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/specs/{fw_cfg.txt => fw_cfg.rst} (100%) diff --git docs/specs/fw_cfg.txt docs