After looking at Niek Linnenbank implementation of the Allwinner H3 [1], I looked what is common in the A10 [2].
Add some tests before modifying the code further. [1] https://www.mail-archive.com/qemu-devel@nongnu.org/msg665532.html [2] https://www.mail-archive.com/qemu-devel@nongnu.org/msg666809.html Philippe Mathieu-Daudé (6): tests/boot_linux_console: Add initrd test for the CubieBoard tests/boot_linux_console: Add a SD card test for the CubieBoard hw/arm/allwinner-a10: Move SoC definitions out of header hw/arm/allwinner-a10: Simplify by passing IRQs with qdev_pass_gpios() hw/arm/allwinner-a10: Remove local qemu_irq variables hw/arm/cubieboard: Disable unsupported M-USB in device tree blob [RFC] include/hw/arm/allwinner-a10.h | 7 --- hw/arm/allwinner-a10.c | 39 ++++++------ hw/arm/cubieboard.c | 24 ++++++++ tests/acceptance/boot_linux_console.py | 85 ++++++++++++++++++++++++++ 4 files changed, 130 insertions(+), 25 deletions(-) -- 2.21.0