docs/system: Document some arm board models
cover docs/system: Document some arm board models
This patchset adds (minimal) documentation of these Arm board models:
vexpress-a15 ARM Versatile Express for Cortex-A15 vexpress-a9 ARM Versatile Express for Cortex-A9 mps2-an385 ARM MPS2 with AN385 FPGA image for Cortex-M35 mps2-an505 ARM MPS2 with AN505 FPGA image for Cortex-M33 mps2-an511 ARM MPS2 with AN511 DesignStart FPGA image for Cortex-M3 mps2-an521 ARM MPS2 with AN521 FPGA image for dual Cortex-M33 musca-a ARM Musca-A board (dual Cortex-M33) musca-b1 ARM Musca-B1 board (dual Cortex-M33)
to the system emulator manual.
Patches 1 and 2 are minor tidyup of the board table-of-contents before we start adding new entries with patches 3-5.
I'm aiming more for "at least note that the boards exist" than "fully comprehensive" documentation here -- there are still another 37 Arm board models with no documentation at all...
thanks
-- PMM
Peter Maydell (5):
docs/system: Add 'Arm' to the Integrator/CP document title docs/system: Sort Arm board index into alphabetical order docs/system: Document Arm Versatile Express boards docs/system: Document the various MPS2 models docs/system: Document Musca boards
docs/system/arm/integratorcp.rst | 4 +-- docs/system/arm/mps2.rst | 29 +++++++++++++++ docs/system/arm/musca.rst | 31 +++++++++++++++++ docs/system/arm/vexpress.rst | 60 ++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 15 ++++---- MAINTAINERS | 3 ++ 6 files changed, 134 insertions(+), 8 deletions(-) create mode 100644 docs/system/arm/mps2.rst create mode 100644 docs/system/arm/musca.rst create mode 100644 docs/system/arm/vexpress.rst
Signature · 1 line
2.20.1
PATCH 1/5 docs/system: Add 'Arm' to the Integrator/CP document title
Add 'Arm' to the Integrator/CP document title, for consistency with the titling of the other documentation of Arm devboard models (versatile, realview).
--- docs/system/arm/integratorcp.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/system/arm/integratorcp.rst +2 -2
@@ -1,5 +1,5 @@ -Integrator/CP (``integratorcp``) -================================ +Arm Integrator/CP (``integratorcp``) +==================================== The Arm Integrator/CP board is emulated with the following devices:
Signature · 1 line
2.20.1
Re: [PATCH 1/5] docs/system: Add 'Arm' to the Integrator/CP document title
Quoted 3 lines · Peter Maydell
Add 'Arm' to the Integrator/CP document title, for consistency with the titling of the other documentation of Arm devboard models (versatile, realview).
Quoted 22 lines
Signed-off-by Peter Maydell <[email protected]>--- docs/system/arm/integratorcp.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/system/arm/integratorcp.rst +2
-2@@ -1,5 +1,5 @@ -Integrator/CP (``integratorcp``) -================================ +Arm Integrator/CP (``integratorcp``) +==================================== The Arm Integrator/CP board is emulated with the following devices:Signature · 1 line
2.20.1
Re: [PATCH 1/5] docs/system: Add 'Arm' to the Integrator/CP document title
In reply to Peter MaydellQuoted 5 lines · Peter Maydell
Add 'Arm' to the Integrator/CP document title, for consistency with the titling of the other documentation of Arm devboard models (versatile, realview).
Signed-off-by Peter Maydell <[email protected]>
Quoted 15 lines
--- docs/system/arm/integratorcp.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/system/arm/integratorcp.rst +2
-2@@ -1,5 +1,5 @@ -Integrator/CP (``integratorcp``) -================================ +Arm Integrator/CP (``integratorcp``) +==================================== The Arm Integrator/CP board is emulated with the following devices:
Signature · 1 line
Alex Bennée
PATCH 2/5 docs/system: Sort Arm board index into alphabetical order
In reply to Peter MaydellSort the board index into alphabetical order. (Note that we need to sort alphabetically by the title text of each file, which isn't the same ordering as sorting by the filename.)
--- docs/system/target-arm.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
docs/system/target-arm.rst +6 -6
@@ -71,15 +71,15 @@ undocumented; you can get a complete list by running :maxdepth: 1 arm/integratorcp - arm/versatile arm/realview - arm/xscale - arm/palm - arm/nseries - arm/stellaris + arm/versatile arm/musicpal - arm/sx1 + arm/nseries arm/orangepi + arm/palm + arm/xscale + arm/sx1 + arm/stellaris Arm CPU features ================
Signature · 1 line
2.20.1
Re: [PATCH 2/5] docs/system: Sort Arm board index into alphabetical order
Quoted 3 lines · Peter Maydell
Sort the board index into alphabetical order. (Note that we need to sort alphabetically by the title text of each file, which isn't the same ordering as sorting by the filename.)
Quoted 36 lines
Signed-off-by Peter Maydell <[email protected]>--- docs/system/target-arm.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)docs/system/target-arm.rst +6
-6@@ -71,15 +71,15 @@ undocumented; you can get a complete list by running :maxdepth: 1 arm/integratorcp - arm/versatile arm/realview - arm/xscale - arm/palm - arm/nseries - arm/stellaris + arm/versatile arm/musicpal - arm/sx1 + arm/nseries arm/orangepi + arm/palm + arm/xscale + arm/sx1 + arm/stellaris Arm CPU features ================Signature · 1 line
2.20.1
Re: [PATCH 2/5] docs/system: Sort Arm board index into alphabetical order
In reply to Peter MaydellQuoted 3 lines · Peter Maydell
Sort the board index into alphabetical order. (Note that we need to sort alphabetically by the title text of each file, which isn't the same ordering as sorting by the filename.)
Is it possible to leave an inline comment in the rst to this effect so no one mis-sorts it next time?
Otherwise:
Signature · 1 line
Alex Bennée
PATCH 3/5 docs/system: Document Arm Versatile Express boards
In reply to Peter MaydellProvide a minimal documentation of the Versatile Express boards (vexpress-a9, vexpress-a15).
--- docs/system/arm/vexpress.rst | 60 ++++++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 62 insertions(+) create mode 100644 docs/system/arm/vexpress.rst
docs/system/arm/vexpress.rst new file +60 -0
@@ -0,0 +1,60 @@ +Arm Versatile Express boards (``vexpress-a9``, ``vexpress-a15``) +================================================================ + +QEMU models two variants of the Arm Versatile Express development +board family: + +- ``vexpress-a9`` models the combination of the Versatile Express + motherboard and the CoreTile Express A9x4 daughterboard +- ``vexpress-a15`` models the combination of the Versatile Express + motherboard and the CoreTile Express A15x2 daughterboard + +Note that as this hardware does not have PCI, IDE or SCSI, +the only available storage option is emulated SD card. + +Implemented devices: + +- PL041 audio +- PL181 SD controller +- PL050 keyboard and mouse +- PL011 UARTs +- SP804 timers +- I2C controller +- PL031 RTC +- PL111 LCD display controller +- Flash memory +- LAN9118 ethernet + +Unimplemented devices: + +- SP810 system control block +- PCI-express +- USB controller (Philips ISP1761) +- Local DAP ROM +- CoreSight interfaces +- PL301 AXI interconnect +- SCC +- System counter +- HDLCD controller (``vexpress-a15``) +- SP805 watchdog +- PL341 dynamic memory controller +- DMA330 DMA controller +- PL354 static memory controller +- BP147 TrustZone Protection Controller +- TrustZone Address Space Controller + +Other differences between the hardware and the QEMU model: + +- QEMU will default to creating one CPU unless you pass a different + ``-smp`` argument +- QEMU allows the amount of RAM provided to be specified with the + ``-m`` argument +- QEMU defaults to providing a CPU which does not provide either + TrustZone or the Virtualization Extensions: if you want these you + must enable them with ``-machine secure=on`` and ``-machine + virtualization=on`` +- QEMU provides 4 virtio-mmio virtio transports; these start at + address ``0x10013000`` for ``vexpress-a9`` and at ``0x1c130000`` for + ``vexpress-a15``, and have IRQs from 40 upwards. If a dtb is + provided on the command line then QEMU will edit it to include + suitable entries describing these transports for the guest.
docs/system/target-arm.rst +1 -0
@@ -73,6 +73,7 @@ undocumented; you can get a complete list by running arm/integratorcp arm/realview arm/versatile + arm/vexpress arm/musicpal arm/nseries arm/orangepi
MAINTAINERS +1 -0
@@ -826,6 +826,7 @@ M: Peter Maydell <[email protected]> L: [email protected] S: Maintained F: hw/arm/vexpress.c +F: docs/system/arm/vexpress.rst Versatile PB M: Peter Maydell <[email protected]>
Signature · 1 line
2.20.1
Re: [PATCH 3/5] docs/system: Document Arm Versatile Express boards
Quoted 2 lines · Peter Maydell
Provide a minimal documentation of the Versatile Express boards (vexpress-a9, vexpress-a15).
Quoted 103 lines
Signed-off-by Peter Maydell <[email protected]>--- docs/system/arm/vexpress.rst | 60 ++++++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 62 insertions(+) create mode 100644 docs/system/arm/vexpress.rstdocs/system/arm/vexpress.rst new file +60
-0@@ -0,0 +1,60 @@ +Arm Versatile Express boards (``vexpress-a9``, ``vexpress-a15``) +================================================================ + +QEMU models two variants of the Arm Versatile Express development +board family: + +- ``vexpress-a9`` models the combination of the Versatile Express + motherboard and the CoreTile Express A9x4 daughterboard +- ``vexpress-a15`` models the combination of the Versatile Express + motherboard and the CoreTile Express A15x2 daughterboard + +Note that as this hardware does not have PCI, IDE or SCSI, +the only available storage option is emulated SD card. + +Implemented devices: + +- PL041 audio +- PL181 SD controller +- PL050 keyboard and mouse +- PL011 UARTs +- SP804 timers +- I2C controller +- PL031 RTC +- PL111 LCD display controller +- Flash memory +- LAN9118 ethernet + +Unimplemented devices: + +- SP810 system control block +- PCI-express +- USB controller (Philips ISP1761) +- Local DAP ROM +- CoreSight interfaces +- PL301 AXI interconnect +- SCC +- System counter +- HDLCD controller (``vexpress-a15``) +- SP805 watchdog +- PL341 dynamic memory controller +- DMA330 DMA controller +- PL354 static memory controller +- BP147 TrustZone Protection Controller +- TrustZone Address Space Controller + +Other differences between the hardware and the QEMU model: + +- QEMU will default to creating one CPU unless you pass a different + ``-smp`` argument +- QEMU allows the amount of RAM provided to be specified with the + ``-m`` argument +- QEMU defaults to providing a CPU which does not provide either + TrustZone or the Virtualization Extensions: if you want these you + must enable them with ``-machine secure=on`` and ``-machine + virtualization=on`` +- QEMU provides 4 virtio-mmio virtio transports; these start at + address ``0x10013000`` for ``vexpress-a9`` and at ``0x1c130000`` for + ``vexpress-a15``, and have IRQs from 40 upwards. If a dtb is + provided on the command line then QEMU will edit it to include + suitable entries describing these transports for the guest.docs/system/target-arm.rst +1
-0@@ -73,6 +73,7 @@ undocumented; you can get a complete list by running arm/integratorcp arm/realview arm/versatile + arm/vexpress arm/musicpal arm/nseries arm/orangepiMAINTAINERS +1
-0@@ -826,6 +826,7 @@ M: Peter Maydell <[email protected]> L: [email protected] S: Maintained F: hw/arm/vexpress.c +F: docs/system/arm/vexpress.rst Versatile PB M: Peter Maydell <[email protected]>Signature · 1 line
2.20.1
Re: [PATCH 3/5] docs/system: Document Arm Versatile Express boards
In reply to Peter MaydellQuoted 67 lines · Peter Maydell
Provide a minimal documentation of the Versatile Express boards (vexpress-a9, vexpress-a15).
Signed-off-by Peter Maydell <[email protected]>--- docs/system/arm/vexpress.rst | 60 ++++++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 62 insertions(+) create mode 100644 docs/system/arm/vexpress.rstdocs/system/arm/vexpress.rst new file +50
-0@@ -0,0 +1,60 @@ +Arm Versatile Express boards (``vexpress-a9``, ``vexpress-a15``) +================================================================ + +QEMU models two variants of the Arm Versatile Express development +board family: + +- ``vexpress-a9`` models the combination of the Versatile Express + motherboard and the CoreTile Express A9x4 daughterboard +- ``vexpress-a15`` models the combination of the Versatile Express + motherboard and the CoreTile Express A15x2 daughterboard + +Note that as this hardware does not have PCI, IDE or SCSI, +the only available storage option is emulated SD card. + +Implemented devices: + +- PL041 audio +- PL181 SD controller +- PL050 keyboard and mouse +- PL011 UARTs +- SP804 timers +- I2C controller +- PL031 RTC +- PL111 LCD display controller +- Flash memory +- LAN9118 ethernet + +Unimplemented devices: + +- SP810 system control block +- PCI-express +- USB controller (Philips ISP1761) +- Local DAP ROM +- CoreSight interfaces +- PL301 AXI interconnect +- SCC +- System counter +- HDLCD controller (``vexpress-a15``) +- SP805 watchdog +- PL341 dynamic memory controller +- DMA330 DMA controller +- PL354 static memory controller +- BP147 TrustZone Protection Controller +- TrustZone Address Space Controller + +Other differences between the hardware and the QEMU model: + +- QEMU will default to creating one CPU unless you pass a different + ``-smp`` argument +- QEMU allows the amount of RAM provided to be specified with the
docs/system/arm/vexpress.rst line 60
Quoted 10 lines
docs/system/arm/vexpress.rst new file +10
-0+ ``-m`` argument +- QEMU defaults to providing a CPU which does not provide either + TrustZone or the Virtualization Extensions: if you want these you + must enable them with ``-machine secure=on`` and ``-machine + virtualization=on`` +- QEMU provides 4 virtio-mmio virtio transports; these start at + address ``0x10013000`` for ``vexpress-a9`` and at ``0x1c130000`` for + ``vexpress-a15``, and have IRQs from 40 upwards. If a dtb is + provided on the command line then QEMU will edit it to include + suitable entries describing these transports for the guest.
TIL ;-)
Signature · 1 line
Alex Bennée
PATCH 4/5 docs/system: Document the various MPS2 models
In reply to Peter MaydellAdd basic documentation of the MPS2 board models.
--- docs/system/arm/mps2.rst | 29 +++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 31 insertions(+) create mode 100644 docs/system/arm/mps2.rst
docs/system/arm/mps2.rst new file +29 -0
@@ -0,0 +1,29 @@ +Arm MPS2 boards (``mps2-an385``, ``mps2-an505``, ``mps2-an511``, ``mps2-an521``) +================================================================================ + +These board models all use Arm M-profile CPUs. + +The Arm MPS2 and MPS2+ dev boards are FPGA based (the 2+ has a bigger +FPGA but is otherwise the same as the 2). Since the CPU itself +and most of the devices are in the FPGA, the details of the board +as seen by the guest depend significantly on the FPGA image. + +QEMU models the following FPGA images: + +``mps2-an385`` + Cortex-M3 as documented in ARM Application Note AN385 +``mps2-an511`` + Cortex-M3 'DesignStart' as documented in AN511 +``mps2-an505`` + Cortex-M33 as documented in ARM Application Note AN505 +``mps2-an521`` + Dual Cortex-M33 as documented in Application Note AN521 + +Differences between QEMU and real hardware: + +- AN385 remapping of low 16K of memory to either ZBT SSRAM1 or to + block RAM is unimplemented (QEMU always maps this to ZBT SSRAM1, as + if zbt_boot_ctrl is always zero) +- QEMU provides a LAN9118 ethernet rather than LAN9220; the only guest + visible difference is that the LAN9118 doesn't support checksum + offloading
docs/system/target-arm.rst +1 -0
@@ -71,6 +71,7 @@ undocumented; you can get a complete list by running :maxdepth: 1 arm/integratorcp + arm/mps2 arm/realview arm/versatile arm/vexpress
MAINTAINERS +1 -0
@@ -699,6 +699,7 @@ F: hw/misc/armsse-cpuid.c F: include/hw/misc/armsse-cpuid.h F: hw/misc/armsse-mhu.c F: include/hw/misc/armsse-mhu.h +F: docs/system/arm/mps2.rst Musca M: Peter Maydell <[email protected]>
Signature · 1 line
2.20.1
Re: [PATCH 4/5] docs/system: Document the various MPS2 models
Quoted 2 lines · Peter Maydell
Add basic documentation of the MPS2 board models.
Quoted 71 lines
Signed-off-by Peter Maydell <[email protected]>--- docs/system/arm/mps2.rst | 29 +++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 31 insertions(+) create mode 100644 docs/system/arm/mps2.rstdocs/system/arm/mps2.rst new file +29
-0@@ -0,0 +1,29 @@ +Arm MPS2 boards (``mps2-an385``, ``mps2-an505``, ``mps2-an511``, ``mps2-an521``) +================================================================================ + +These board models all use Arm M-profile CPUs. + +The Arm MPS2 and MPS2+ dev boards are FPGA based (the 2+ has a bigger +FPGA but is otherwise the same as the 2). Since the CPU itself +and most of the devices are in the FPGA, the details of the board +as seen by the guest depend significantly on the FPGA image. + +QEMU models the following FPGA images: + +``mps2-an385`` + Cortex-M3 as documented in ARM Application Note AN385 +``mps2-an511`` + Cortex-M3 'DesignStart' as documented in AN511 +``mps2-an505`` + Cortex-M33 as documented in ARM Application Note AN505 +``mps2-an521`` + Dual Cortex-M33 as documented in Application Note AN521 + +Differences between QEMU and real hardware: + +- AN385 remapping of low 16K of memory to either ZBT SSRAM1 or to + block RAM is unimplemented (QEMU always maps this to ZBT SSRAM1, as + if zbt_boot_ctrl is always zero) +- QEMU provides a LAN9118 ethernet rather than LAN9220; the only guest + visible difference is that the LAN9118 doesn't support checksum + offloadingdocs/system/target-arm.rst +1
-0@@ -71,6 +71,7 @@ undocumented; you can get a complete list by running :maxdepth: 1 arm/integratorcp + arm/mps2 arm/realview arm/versatile arm/vexpressMAINTAINERS +1
-0@@ -699,6 +699,7 @@ F: hw/misc/armsse-cpuid.c F: include/hw/misc/armsse-cpuid.h F: hw/misc/armsse-mhu.c F: include/hw/misc/armsse-mhu.h +F: docs/system/arm/mps2.rst Musca M: Peter Maydell <[email protected]>Signature · 1 line
2.20.1
Re: [PATCH 4/5] docs/system: Document the various MPS2 models
In reply to Peter MaydellQuoted 3 lines · Peter Maydell
Add basic documentation of the MPS2 board models.
Signed-off-by Peter Maydell <[email protected]>
Signature · 1 line
Alex Bennée
PATCH 5/5 docs/system: Document Musca boards
In reply to Peter MaydellProvide a minimal documentation of the Musca boards.
--- docs/system/arm/musca.rst | 31 +++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 33 insertions(+) create mode 100644 docs/system/arm/musca.rst
docs/system/arm/musca.rst new file +31 -0
@@ -0,0 +1,31 @@ +Arm Musca boards (``musca-a``, ``musca-b1``) +============================================ + +The Arm Musca development boards are a reference implementation +of a system using the SSE-200 subsystem for embedded. They are +dual Cortex-M33 systems. + +QEMU provides models of the A and B1 variants of this board. + +Unimplemented devices: + +- SPI +- |I2C| +- |I2S| +- PWM +- QSPI +- Timer +- SCC +- GPIO +- eFlash +- MHU +- PVT +- SDIO +- CryptoCell + +Note that (like the real hardware) the Musca-A machine is +asymmetric: CPU 0 does not have the FPU or DSP extensions, +but CPU 1 does. Also like the real hardware, the memory maps +for the A and B1 variants differ significantly, so guest +software must be built for the right variant. +
docs/system/target-arm.rst +1 -0
@@ -72,6 +72,7 @@ undocumented; you can get a complete list by running arm/integratorcp arm/mps2 + arm/musca arm/realview arm/versatile arm/vexpress
MAINTAINERS +1 -0
@@ -706,6 +706,7 @@ M: Peter Maydell <[email protected]> L: [email protected] S: Maintained F: hw/arm/musca.c +F: docs/system/arm/musca.rst Musicpal M: Jan Kiszka <[email protected]>
Signature · 1 line
2.20.1
Re: [PATCH 5/5] docs/system: Document Musca boards
Quoted 1 line · Peter Maydell
Provide a minimal documentation of the Musca boards.
Quoted 74 lines
Signed-off-by Peter Maydell <[email protected]>--- docs/system/arm/musca.rst | 31 +++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 33 insertions(+) create mode 100644 docs/system/arm/musca.rstdocs/system/arm/musca.rst new file +31
-0@@ -0,0 +1,31 @@ +Arm Musca boards (``musca-a``, ``musca-b1``) +============================================ + +The Arm Musca development boards are a reference implementation +of a system using the SSE-200 subsystem for embedded. They are +dual Cortex-M33 systems. + +QEMU provides models of the A and B1 variants of this board. + +Unimplemented devices: + +- SPI +- |I2C| +- |I2S| +- PWM +- QSPI +- Timer +- SCC +- GPIO +- eFlash +- MHU +- PVT +- SDIO +- CryptoCell + +Note that (like the real hardware) the Musca-A machine is +asymmetric: CPU 0 does not have the FPU or DSP extensions, +but CPU 1 does. Also like the real hardware, the memory maps +for the A and B1 variants differ significantly, so guest +software must be built for the right variant. +docs/system/target-arm.rst +1
-0@@ -72,6 +72,7 @@ undocumented; you can get a complete list by running arm/integratorcp arm/mps2 + arm/musca arm/realview arm/versatile arm/vexpressMAINTAINERS +1
-0@@ -706,6 +706,7 @@ M: Peter Maydell <[email protected]> L: [email protected] S: Maintained F: hw/arm/musca.c +F: docs/system/arm/musca.rst Musicpal M: Jan Kiszka <[email protected]>Signature · 1 line
2.20.1
Re: [PATCH 5/5] docs/system: Document Musca boards
In reply to Peter MaydellQuoted 16 lines · Peter Maydell
Provide a minimal documentation of the Musca boards.
Signed-off-by Peter Maydell <[email protected]>--- docs/system/arm/musca.rst | 31 +++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 33 insertions(+)create mode 100644
docs/system/arm/musca.rstdocs/system/arm/musca.rst new file +0
-0
docs/system/arm/musca.rst line 5
Quoted 5 lines
docs/system/arm/musca.rst new file +5
-0@@ -0,0 +1,31 @@ +Arm Musca boards (``musca-a``, ``musca-b1``) +============================================ + +The Arm Musca development boards are a reference implementation +of a system using the SSE-200 subsystem for embedded.
Maybe nitpicking, but this sentence seems unfinished.
" ... for embedded [?]."
Maybe triplicate "systems" again?
Quoted 52 lines
They are
docs/system/arm/musca.rst new file +26
-0+dual Cortex-M33 systems. + +QEMU provides models of the A and B1 variants of this board. + +Unimplemented devices: + +- SPI +- |I2C| +- |I2S| +- PWM +- QSPI +- Timer +- SCC +- GPIO +- eFlash +- MHU +- PVT +- SDIO +- CryptoCell + +Note that (like the real hardware) the Musca-A machine is +asymmetric: CPU 0 does not have the FPU or DSP extensions, +but CPU 1 does. Also like the real hardware, the memory maps +for the A and B1 variants differ significantly, so guest +software must be built for the right variant. +docs/system/target-arm.rst +1
-0@@ -72,6 +72,7 @@ undocumented; you can get a complete list by running arm/integratorcp arm/mps2 + arm/musca arm/realview arm/versatile arm/vexpressMAINTAINERS +1
-0@@ -706,6 +706,7 @@ M: Peter Maydell <[email protected]> L: [email protected] S: Maintained F: hw/arm/musca.c +F: docs/system/arm/musca.rst Musicpal M: Jan Kiszka <[email protected]>
Re: [PATCH 5/5] docs/system: Document Musca boards
Quoted 17 lines · Philippe Mathieu-Daudé
docs/system/arm/musca.rst line 5
Quoted 12 lines · Peter Maydell
Provide a minimal documentation of the Musca boards.
Signed-off-by Peter Maydell <[email protected]>docs/system/arm/musca.rst new file +5
-0@@ -0,0 +1,31 @@ +Arm Musca boards (``musca-a``, ``musca-b1``) +============================================ + +The Arm Musca development boards are a reference implementation +of a system using the SSE-200 subsystem for embedded.Maybe nitpicking, but this sentence seems unfinished.
Quoted 1 line
" ... for embedded [?]."
That's the name of the IP block:
https://developer.arm.com/docs/101104/latest/introduction/about-the-sse-200
I guess it ought to be capitalized: "SSE-200 Subsystem for Embedded".
thanks
-- PMM
Re: [PATCH 5/5] docs/system: Document Musca boards
Quoted 18 lines · Peter Maydell
Quoted 17 lines · Philippe Mathieu-Daudé
docs/system/arm/musca.rst line 5
Quoted 12 lines · Peter Maydell
Provide a minimal documentation of the Musca boards.
Signed-off-by Peter Maydell <[email protected]>docs/system/arm/musca.rst new file +5
-0@@ -0,0 +1,31 @@ +Arm Musca boards (``musca-a``, ``musca-b1``) +============================================ + +The Arm Musca development boards are a reference implementation +of a system using the SSE-200 subsystem for embedded.Maybe nitpicking, but this sentence seems unfinished.
Quoted 6 lines
Quoted 1 line
" ... for embedded [?]."
That's the name of the IP block:
https://developer.arm.com/docs/101104/latest/introduction/about-the-sse-200I guess it ought to be capitalized: "SSE-200 Subsystem for Embedded".
Ah yes, it is clearer.
Quoted 4 lines
thanks
-- PMM
Re: [PATCH 5/5] docs/system: Document Musca boards
In reply to Peter MaydellQuoted 3 lines · Peter Maydell
Provide a minimal documentation of the Musca boards.
Signed-off-by Peter Maydell <[email protected]>
Signature · 1 line
Alex Bennée
Ping for review?
thanks
-- PMM
Quoted 45 lines · Peter Maydell
This patchset adds (minimal) documentation of these Arm board models:
vexpress-a15 ARM Versatile Express for Cortex-A15 vexpress-a9 ARM Versatile Express for Cortex-A9 mps2-an385 ARM MPS2 with AN385 FPGA image for Cortex-M35 mps2-an505 ARM MPS2 with AN505 FPGA image for Cortex-M33 mps2-an511 ARM MPS2 with AN511 DesignStart FPGA image for Cortex-M3 mps2-an521 ARM MPS2 with AN521 FPGA image for dual Cortex-M33 musca-a ARM Musca-A board (dual Cortex-M33) musca-b1 ARM Musca-B1 board (dual Cortex-M33)to the system emulator manual.
Patches 1 and 2 are minor tidyup of the board table-of-contents before we start adding new entries with patches 3-5.
I'm aiming more for "at least note that the boards exist" than "fully comprehensive" documentation here -- there are still another 37 Arm board models with no documentation at all...
thanks
-- PMMPeter Maydell (5):
docs/system: Add 'Arm' to the Integrator/CP document title docs/system: Sort Arm board index into alphabetical order docs/system: Document Arm Versatile Express boards docs/system: Document the various MPS2 models docs/system: Document Musca boardsdocs/system/arm/integratorcp.rst | 4 +-- docs/system/arm/mps2.rst | 29 +++++++++++++++ docs/system/arm/musca.rst | 31 +++++++++++++++++ docs/system/arm/vexpress.rst | 60 ++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 15 ++++---- MAINTAINERS | 3 ++ 6 files changed, 134 insertions(+), 8 deletions(-) create mode 100644 docs/system/arm/mps2.rst create mode 100644 docs/system/arm/musca.rst create mode 100644 docs/system/arm/vexpress.rst--
2.20.1
Philippe Mathieu-Daudé
Reviewed-byHi Peter,
+Markus
Quoted 1 line · Peter Maydell
Ping for review?
For the series:
However I'd rather see the board documentation in the source code, and extract it when building. It'd be harder to miss updating the documentation when modifying the code.
Another way (rather than using external program to extract from source code) can be to add a method/field to MachineClass, and once a build is finished, we could run 'qemu-system-arch -M gendoc' which go thru all machines and display the documentation properly formatted.
Quoted 51 lines
thanks
-- PMMQuoted 45 lines · Peter Maydell
This patchset adds (minimal) documentation of these Arm board models:
vexpress-a15 ARM Versatile Express for Cortex-A15 vexpress-a9 ARM Versatile Express for Cortex-A9 mps2-an385 ARM MPS2 with AN385 FPGA image for Cortex-M35 mps2-an505 ARM MPS2 with AN505 FPGA image for Cortex-M33 mps2-an511 ARM MPS2 with AN511 DesignStart FPGA image for Cortex-M3 mps2-an521 ARM MPS2 with AN521 FPGA image for dual Cortex-M33 musca-a ARM Musca-A board (dual Cortex-M33) musca-b1 ARM Musca-B1 board (dual Cortex-M33)to the system emulator manual.
Patches 1 and 2 are minor tidyup of the board table-of-contents before we start adding new entries with patches 3-5.
I'm aiming more for "at least note that the boards exist" than "fully comprehensive" documentation here -- there are still another 37 Arm board models with no documentation at all...
thanks
-- PMMPeter Maydell (5):
docs/system: Add 'Arm' to the Integrator/CP document title docs/system: Sort Arm board index into alphabetical order docs/system: Document Arm Versatile Express boards docs/system: Document the various MPS2 models docs/system: Document Musca boardsdocs/system/arm/integratorcp.rst | 4 +-- docs/system/arm/mps2.rst | 29 +++++++++++++++ docs/system/arm/musca.rst | 31 +++++++++++++++++ docs/system/arm/vexpress.rst | 60 ++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 15 ++++---- MAINTAINERS | 3 ++ 6 files changed, 134 insertions(+), 8 deletions(-)create mode 100644
docs/system/arm/mps2.rst
create mode 100644docs/system/arm/musca.rst
create mode 100644docs/system/arm/vexpress.rst--
2.20.1
Quoted 3 lines · Philippe Mathieu-Daudé
However I'd rather see the board documentation in the source code, and extract it when building. It'd be harder to miss updating the documentation when modifying the code.
I definitely agree in principle; but for the moment at least we can have some documentation...
Quoted 4 lines
Another way (rather than using external program to extract from source code) can be to add a method/field to MachineClass, and once a build is finished, we could run 'qemu-system-arch -M gendoc' which go thru all machines and display the documentation properly formatted.
The documentation needs to include all machines, not just the ones that got compiled into a particular binary, so I'm not sure this will work. I also would prefer it if we avoided having the docs build depend on doing a full binary build -- places like readthedocs will just do a docs build by invoking Sphinx directly, and we'd like the machine docs to be visible there.
thanks
-- PMM
Quoted 7 lines · Peter Maydell
Quoted 3 lines · Philippe Mathieu-Daudé
However I'd rather see the board documentation in the source code, and extract it when building. It'd be harder to miss updating the documentation when modifying the code.
I definitely agree in principle; but for the moment at least we can have some documentation...
Yes, thank you very much for this effort!
Quoted 6 lines
Quoted 5 lines
Another way (rather than using external program to extract from source code) can be to add a method/field to MachineClass, and once a build is finished, we could run 'qemu-system-arch -M gendoc' which go thru all machines and display the documentation properly formatted.
Quoted 7 lines
The documentation needs to include all machines, not just the ones that got compiled into a particular binary, so I'm not sure this will work. I also would prefer it if we avoided having the docs build depend on doing a full binary build -- places like readthedocs will just do a docs build by invoking Sphinx directly, and we'd like the machine docs to be visible there.
Sphinx consumes docs/system/$arch/$machine.rst files committed to the repository, and we don't need to build various qemu-system-arch to generate the documentation.
If you work on a particular board, you might end up only building its corresponding qemu-system-ARCH. Maybe we can add an extra-pass once a binary is linked, and re-generate the docs/system/ARCH/$machine.rst files, so if you modified a board and its documentation placeholder in the code, when commiting your code change, you also have to commit the rst changes.
Just brainstorming an idea for now ;)
Quoted 4 lines
thanks
-- PMM
Quoted 10 lines · Philippe Mathieu-Daudé
Sphinx consumes
docs/system/$arch/$machine.rstfiles committed to the repository, and we don't need to build various qemu-system-arch to generate the documentation.If you work on a particular board, you might end up only building its corresponding qemu-system-ARCH. Maybe we can add an extra-pass once a binary is linked, and re-generate the
docs/system/ARCH/$machine.rstfiles, so if you modified a board and its documentation placeholder in the code, when commiting your code change, you also have to commit the rst changes.
I'm not a huge fan of committing generated files to source control... I think I'd prefer an approach that worked via some kind of kerneldoc comments that we pull out and parse using the Sphinx plugin we have for that. (There's more complication than that but roughly I think that would be the kind of approach I'd like to see.)
thanks
-- PMM