hw/avr: Introduce few Arduino boards
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest18 patches 6 repliesIn review
- v38 patches 10 repliesSuperseded
- v28 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 10 patches | 13 replies | Superseded |
Changes in v4 from the cover letter
- Rebased on Michael's v41
- Drop 'extram' unused field (Igor)
- Renamed devices AVR -> Atmel (Aleksandar) (I haven't renamed structure names to ease review)
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | MAINTAINERS: Move machine test to the machine section (not ARCH one)MAINTAINERS | +1 | 0 replies | |
| 2/18 | MAINTAINERS: Move the AVR machines in new section (not within ARM)MAINTAINERS | +16 | 0 replies | |
| 3/18 | tests/acceptance: Do not set the machine type manuallytests/ | +0 | 0 replies | |
| 4/18 | tests/acceptance: Keep multilines comment consistent with other teststests/ | +3 | 0 replies | |
| 5/18 | hw/char/avr: Reduce USART I/O sizehw/ | +1 | 0 replies | |
| 6/18 | hw/timer/avr_timer16: Rename memory region debugging namehw/ | +3 | 0 replies | |
| 7/18 | hw/misc/avr_mask: Remove unused includeinclude/ | +0 | 0 replies | |
| 8/18 | hw/avr/Makefile: Use CONFIG_AVR_SAMPLE variablehw/ | +1 | 0 replies | |
| 9/18 | hw/char: Rename avr_usart -> atmel_usartMAINTAINERS hw/ hw/ +4 more | +13 | 0 replies | |
| 10/18 | hw/timer: Rename avr_timer16 -> atmel_timer16MAINTAINERS hw/ hw/ +4 more | +13 | 0 replies | |
| 11/18 | hw/misc: Rename avr_mask -> atmel_powerMAINTAINERS hw/ hw/ +4 more | +13 | 0 replies | |
| 12/18 | hw/avr: Introduce ATMEL_ATMEGA_MCU confighw/ | +4 | 0 replies | |
| 13/18 | hw/avr: Add some ATmega microcontrollershw/ hw/ hw/ | +513 | 0 replies | |
| 14/18 | hw/avr: Add some Arduino boardsdefault-configs/ hw/ hw/ +1 more | +181 | 0 replies | |
| 15/18 | tests/boot-serial-test: Test some Arduino boards (AVR based)tests/ | +2 | 1 reply | |
| 16/18 | tests/acceptance: Test the Arduino MEGA2560 boardtests/ | +1 | 0 replies | |
| 17/18 | hw/avr: Remove the unrealistic AVR 'sample' boarddefault-configs/ hw/ hw/ +2 more | +0 | 0 replies | |
| 18/18 | .travis.yml: Run the AVR acceptance tests.travis.yml | +1 | 0 replies |
Reviews trailers per patch
2 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Igor Mammedov | Thomas Huth |
|---|---|---|
| 1/18 | ||
| 2/18 | ||
| 3/18 | ||
| 4/18 | ||
| 5/18 | ||
| 6/18 | ||
| 7/18 | ||
| 8/18 | ||
| 9/18 | ||
| 10/18 | ||
| 11/18 | ||
| 12/18 | ||
| 13/18 | ||
| 14/18 | R-b | |
| 15/18 | A-b | |
| 16/18 | ||
| 17/18 | ||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/18] hw/avr: Introduce few Arduino boards
Hi,
This series add the arduino boards, aiming at removing the 'sample' board that doesn't follow any specification.
Since v3:
- Rebased on Michael's v41
- Drop 'extram' unused field (Igor)
- Renamed devices AVR -> Atmel (Aleksandar) (I haven't renamed structure names to ease review)
Since v2:
- rebased on Michael's v40
Since v1:
- Addressed Igor comments
- Addressed Aleksandar comments
- Fixed UART issue (was due to IRQ shifted by 2 in CPU)
Since Michael's work is not yet merged, Various of my patches
- which are trivials or simple renames - could be squashed directly on his patches, if we ever care.
[I believe sending this patches is easier/quicker than keeping asking Michael to respin his series infinitely].
Michael, do you mind testing it? The full series is available
here: https://gitlab.com/philmd/qemu/commits/arduino-v4
Regards,
Phil.
Obsoletes: <[email protected]>
Based-on: <[email protected]>
https://www.mail-archive.com/[email protected]/msg671707.html
Philippe Mathieu-Daudé (18):
MAINTAINERS: Move machine test to the machine section (not ARCH one)
MAINTAINERS: Move the AVR machines in new section (not within ARM) tests/acceptance: Do not set the machine type manually tests/acceptance: Keep multilines comment consistent with other tests hw/char/avr: Reduce USART I/O size
hw/timer/avr_timer16: Rename memory region debugging name hw/misc/avr_mask: Remove unused include
hw/avr/Makefile: Use CONFIG_AVR_SAMPLE variable
hw/char: Rename avr_usart -> atmel_usart
hw/timer: Rename avr_timer16 -> atmel_timer16
hw/misc: Rename avr_mask -> atmel_power
hw/avr: Introduce ATMEL_ATMEGA_MCU config
hw/avr: Add some ATmega microcontrollers
hw/avr: Add some Arduino boards
tests/boot-serial-test: Test some Arduino boards (AVR based) tests/acceptance: Test the Arduino MEGA2560 board
hw/avr: Remove the unrealistic AVR 'sample' board .travis.yml: Run the AVR acceptance tests
default-configs/avr-softmmu.mak | 2 +-
hw/avr/atmel_atmega.h | 48 ++
.../hw/char/{avr_usart.h => atmel_usart.h} | 10 +-
include/hw/misc/{avr_mask.h => atmel_power.h} | 11 +-
.../timer/{avr_timer16.h => atmel_timer16.h} | 10 +-
hw/avr/arduino.c | 175 +++++++
hw/avr/atmel_atmega.c | 464 ++++++++++++++++++
hw/avr/sample.c | 295 -----------
hw/char/{avr_usart.c => atmel_usart.c} | 6 +-
hw/misc/{avr_mask.c => atmel_power.c} | 4 +-
hw/timer/{avr_timer16.c => atmel_timer16.c} | 10 +-
tests/qtest/boot-serial-test.c | 3 +-
.travis.yml | 2 +-
MAINTAINERS | 29 +-
hw/avr/Kconfig | 11 +-
hw/avr/Makefile.objs | 3 +-
hw/char/Kconfig | 2 +-
hw/char/Makefile.objs | 2 +-
hw/misc/Kconfig | 2 +-
hw/misc/Makefile.objs | 2 +-
hw/timer/Kconfig | 2 +-
hw/timer/Makefile.objs | 2 +-
tests/acceptance/machine_avr6.py | 11 +-
23 files changed, 751 insertions(+), 355 deletions(-)
create mode 100644 hw/avr/atmel_atmega.h
rename include/hw/char/{avr_usart.h => atmel_usart.h} (93%)
rename include/hw/misc/{avr_mask.h => atmel_power.h} (89%)
rename include/hw/timer/{avr_timer16.h => atmel_timer16.h} (92%)
create mode 100644 hw/avr/arduino.c
create mode 100644 hw/avr/atmel_atmega.c
delete mode 100644 hw/avr/sample.c
rename hw/char/{avr_usart.c => atmel_usart.c} (99%)
rename hw/misc/{avr_mask.c => atmel_power.c} (97%)
rename hw/timer/{avr_timer16.c => atmel_timer16.c} (98%)Signature · 1 line
2.21.1