MAX78000: documentation and test
v2 cover MAX78000: documentation and test
v2:
Docs now build. Sorry about that
v1:
Adds .rST documentation and a functional test for the MAX78000FTHR machine as requested by Peter Maydell.
Jackson Donaldson (2):
docs/system: arm: Add max78000 board description tests/functional: Add a test for the MAX78000 arm machine
docs/system/arm/max78000.rst | 35 +++++++++++++++++ docs/system/target-arm.rst | 1 + tests/functional/meson.build | 1 + tests/functional/test_arm_max78000fthr.py | 48 +++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 docs/system/arm/max78000.rst create mode 100755 tests/functional/test_arm_max78000fthr.py
Signature · 1 line
2.34.1
PATCH v2 1/2 docs/system: arm: Add max78000 board description
This adds the target guide for the max78000FTHR
--- docs/system/arm/max78000.rst | 35 +++++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + 2 files changed, 36 insertions(+) create mode 100644 docs/system/arm/max78000.rst
docs/system/arm/max78000.rst new file +35 -0
@@ -0,0 +1,35 @@ +Analog Devices max78000 board (``max78000fthr``) +=============================================================================================================== + +The max78000 is a Cortex-M4 based SOC with a RISC-V coprocessor. The RISC-V coprocessor is not supported. + +Supported devices +---------------------------------- + + * Instruction Cache Controller + * UART + * Global Control Register + * True Random Number Generator + * AES + +Notable unsupported devices +---------------------------------- + + * I2C + * CNN + * CRC + * SPI + +Boot options +---------------------------------- + +The max78000 can be started using the ``-kernel`` option to load a +firmware at address 0 as the ROM. As the ROM normally jumps to software loaded +from the internal flash at address 0x10000000, loading your program there is +generally advisable. If you don't have a copy of the ROM, the interrupt +vector table from user firmware will do. +Example: + +.. code-block:: bash + + $ qemu-system-arm -machine max78000fthr -kernel max78000.bin -device loader,file=max78000.bin,addr=0x10000000
docs/system/target-arm.rst +1 -0
@@ -88,6 +88,7 @@ Board-specific documentation arm/emcraft-sf2 arm/exynos arm/fby35 + arm/max78000 arm/musicpal arm/kzm arm/nrf
Signature · 1 line
2.34.1
Re: [PATCH v2 1/2] docs/system: arm: Add max78000 board description
Quoted 5 lines · Jackson Donaldson
This adds the target guide for the max78000FTHR
Signed-off-by Jackson Donaldson <[email protected]>---
Checkpatch wants an SPDX line for this new file -- can you confirm that I can mark it as GPL-2.0-or-later like the C files, please?
thanks
-- PMM
Re: [PATCH v2 1/2] docs/system: arm: Add max78000 board description
Confirmed.
-Jackson
Quoted 15 lines · Peter Maydell
Quoted 5 lines · Jackson Donaldson
This adds the target guide for the max78000FTHR
Signed-off-by Jackson Donaldson <[email protected]>---
Checkpatch wants an SPDX line for this new file -- can you confirm that I can mark it as GPL-2.0-or-later like the C files, please?
thanks
-- PMM
PATCH v2 2/2 tests/functional: Add a test for the MAX78000 arm machine
In reply to Jackson DonaldsonRuns a binary from the max78000test repo used in developing the qemu implementation of the max78000 to verify that the machine and implemented devices generally still work.
--- tests/functional/meson.build | 1 + tests/functional/test_arm_max78000fthr.py | 48 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100755 tests/functional/test_arm_max78000fthr.py
tests/functional/meson.build +1 -0
@@ -131,6 +131,7 @@ tests_arm_system_thorough = [ 'arm_cubieboard', 'arm_emcraft_sf2', 'arm_integratorcp', + 'arm_max78000fthr', 'arm_microbit', 'arm_orangepi', 'arm_quanta_gsj',
tests/functional/test_arm_max78000fthr.py new file +48 -0
48 lines not on this page · raw message
Signature · 1 line
2.34.1
Peter Maydell
AppliedQuoted 11 lines · Jackson Donaldson
v2:
Docs now build. Sorry about thatv1:
Adds .rST documentation and a functional test for the MAX78000FTHR machine as requested by Peter Maydell.Jackson Donaldson (2):
docs/system: arm: Add max78000 board description tests/functional: Add a test for the MAX78000 arm machine
Applied to target-arm.next, thanks.
-- PMM