[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v24 0/7] QEMU AVR 8 bit cores
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v24 0/7] QEMU AVR 8 bit cores |
Date: |
Tue, 2 Jul 2019 17:55:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
Hi Michael,
On 6/28/19 2:01 PM, Michael Rolnik wrote:
> This series of patches adds 8bit AVR cores to QEMU.
> All instruction, except BREAK/DES/SPM/SPMX, are implemented. Not fully tested
> yet.
> However I was able to execute simple code with functions. e.g fibonacci
> calculation.
> This series of patches include a non real, sample board.
> No fuses support yet. PC is set to 0 at reset.
I see in this thread you test some binary:
https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg02291.html
https://github.com/seharris/qemu-avr-tests/blob/master/free-rtos/Demo/AVR_ATMega2560_GCC/demo.elf
Can you add a test that uses your binary and check it does something?
That would help maintaining your work over time.
Avocado tests can be quite simple, i.e.:
https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg06515.html
Since you added support for the USART, you can also add some
assembler instructions to use it to this test:
https://git.qemu.org/?p=qemu.git;a=blob;f=tests/boot-serial-test.c;h=24852d4c7d0b3fc08fb0dab35f32372a0b2c46db;hb=HEAD
Thanks!
Phil.
- Re: [Qemu-devel] [PATCH v24 0/7] QEMU AVR 8 bit cores,
Philippe Mathieu-Daudé <=