From: Michael Rolnik <mrolnik@gmail.com>
To: qemu-devel@nongnu.org
Cc: thuth@redhat.com, Michael Rolnik <mrolnik@gmail.com>,
me@xcancerberox.com.ar, richard.henderson@linaro.org,
dovgaluk@ispras.ru, imammedo@redhat.com, philmd@redhat.com,
aleksandar.m.mail@gmail.com
Subject: [PATCH v40 15/21] target/avr: Add section about AVR into QEMU documentation
Date: Sun, 29 Dec 2019 23:51:52 +0200 [thread overview]
Message-ID: <20191229215158.5788-16-mrolnik@gmail.com> (raw)
In-Reply-To: <20191229215158.5788-1-mrolnik@gmail.com>
Signed-off-by: Michael Rolnik <mrolnik@gmail.com>
---
qemu-doc.texi | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 39f950471f..515aacfae9 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -1741,6 +1741,7 @@ differences are mentioned in the following sections.
* Microblaze System emulator::
* SH4 System emulator::
* Xtensa System emulator::
+* AVR System emulator::
@end menu
@node PowerPC System emulator
@@ -2514,6 +2515,56 @@ so should only be used with trusted guest OS.
@c man end
+@node AVR System emulator
+@section AVR System emulator
+@cindex system emulation (AVR)
+
+Use the executable @file{qemu-system-avr} to emulates a AVR 8 bit based machine having one for the following cores: avr1, avr2, avr25, avr3, avr31, avr35, avr4, avr5, avr51, avr6, avrtiny, xmega2, xmega3, xmega4, xmega5, xmega6 and xmega7.
+
+As for now it does not support any real MCUs. However, it does support a "sample" board for educational and testing purposes. This "sample" board hosts USART & 16 bit timer devices and it's enought to run FreeRTOS based applicaton (like this @url{https://github.com/seharris/qemu-avr-tests/blob/master/free-rtos/Demo/AVR_ATMega2560_GCC/demo.elf,,demo})
+
+Following are examples of possible usages, assuming program.elf is compiled for AVR cpu
+@itemize
+
+@item Continious non interrupted execution
+@example
+qemu-system-avr -kernel program.elf
+@end example
+
+@item Continious non interrupted execution with serial output into telnet window
+@example
+qemu-system-avr -kernel program.elf -serial tcp::5678,server,nowait -nographic
+@end example
+and then in another shell
+@example
+telent localhost 5678
+@end example
+
+@item Continious non interrupted execution with serial output into stdout
+@example
+qemu-system-avr -kernel program.elf -serial stdio
+@end example
+
+@item Debugging wit GDB debugger
+@example
+qemu-system-avr -kernel program.elf -s -S
+@end example
+and then in another shell
+@example
+avr-gdb program.elf
+@end example
+and then within GDB shell
+@example
+target remote :1234
+@end example
+
+@item Print out executed instructions
+@example
+qemu-system-avr -kernel program.elf -d in_asm
+@end example
+
+@end itemize
+
@node QEMU User space emulator
@chapter QEMU User space emulator
--
2.17.2 (Apple Git-113)
next prev parent reply other threads:[~2019-12-29 22:03 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-29 21:51 [PATCH v40 00/21] QEMU AVR 8 bit cores Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 01/21] target/avr: Add outward facing interfaces and core CPU logic Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 02/21] target/avr: Add instruction helpers Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 03/21] target/avr: Add instruction translation - Registers definition Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 04/21] target/avr: Add instruction translation - Arithmetic and Logic Instructions Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 05/21] target/avr: Add instruction translation - Branch Instructions Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 06/21] target/avr: Add instruction translation - Data Transfer Instructions Michael Rolnik
2019-12-29 22:31 ` Philippe Mathieu-Daudé
2019-12-29 21:51 ` [PATCH v40 07/21] target/avr: Add instruction translation - Bit and Bit-test Instructions Michael Rolnik
2019-12-29 22:32 ` Philippe Mathieu-Daudé
2019-12-29 21:51 ` [PATCH v40 08/21] target/avr: Add instruction translation - MCU Control Instructions Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 09/21] target/avr: Add instruction translation - CPU main translation function Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 10/21] target/avr: Add instruction disassembly function Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 11/21] hw/avr: Add limited support for USART peripheral Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 12/21] hw/avr: Add limited support for 16 bit timer peripheral Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 13/21] hw/avr: Add dummy mask device Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 14/21] hw/avr: Add example board configuration Michael Rolnik
2019-12-29 21:51 ` Michael Rolnik [this message]
2019-12-29 21:51 ` [PATCH v40 16/21] target/avr: Register AVR support with the rest of QEMU Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 17/21] target/avr: Add machine none test Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 18/21] target/avr: Update build system Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 19/21] target/avr: Add boot serial test Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 20/21] target/avr: Add Avocado test Michael Rolnik
2019-12-30 17:37 ` Wainer dos Santos Moschetta
2019-12-30 18:15 ` Michael Rolnik
2019-12-29 21:51 ` [PATCH v40 21/21] target/avr: Update MAINTAINERS file Michael Rolnik
2020-01-12 18:19 ` [PATCH v40 00/21] QEMU AVR 8 bit cores Michael Rolnik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191229215158.5788-16-mrolnik@gmail.com \
--to=mrolnik@gmail.com \
--cc=aleksandar.m.mail@gmail.com \
--cc=dovgaluk@ispras.ru \
--cc=imammedo@redhat.com \
--cc=me@xcancerberox.com.ar \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).