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

2022-07-11 Thread Alistair Francis
On Mon, Jun 27, 2022 at 4:15 PM Simon Sapin wrote: > > On 27/06/2022 07:40, Alistair Francis wrote: > > We have previously kept the addresses backwards compatible. So that > > software for an older virt machine will work on a newer one. There is > > currently talks about changing the virt machine

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

2022-07-01 Thread Peter Maydell
On Sat, 25 Jun 2022 at 23:39, Simon Sapin wrote: > > 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

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

2022-06-26 Thread Simon Sapin
On 27/06/2022 07:40, Alistair Francis wrote: We have previously kept the addresses backwards compatible. So that software for an older virt machine will work on a newer one. There is currently talks about changing the virt machine memory layout in a breaking way and versioning in the current one

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

2022-06-26 Thread Alistair Francis
On Sun, Jun 26, 2022 at 9:04 AM Simon Sapin wrote: > > 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,

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

2022-06-26 Thread Alistair Francis
On Sun, Jun 26, 2022 at 8:40 AM Simon Sapin wrote: > > Signed-off-by: Simon Sapin Reviewed-by: Alistair Francis Alistair > --- > docs/specs/device-trees.rst| 57 ++ > docs/specs/index.rst | 1 + > docs/system/arm/virt.rst

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 support (default=of

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