This patch series adds support for the AUX (second UART) and framebuffer devices on Raspberry Pi 2, and enables booting Windows on this device. As with the previous series, it is heavily based on the original (out of tree) work of Gregory Estrade, Stefan Weil and others to support Raspberry Pi 1.
After this series, it is possible to boot Windows by following the instructions at https://github.com/0xabu/qemu/wiki. There's also documentation for booting Linux on that page, but note that you can't load bcm2709-rpi-2-b.dtb because the DMA controller is not included. I plan to add DMA, USB, and reamining timers / system devices in future patch series, along with support for pi1 (bcm2835). In the meantime, the complete code is available at https://github.com/0xabu/qemu Cheers, Andrew Andrew Baumann (4): bcm2835_peripherals: enable sdhci pending-insert quirk for raspberry pi bcm2835_aux: add emulation of BCM2835 AUX (aka UART1) block bcm2835_fb: add framebuffer device for Raspberry Pi bcm2835_property: implement framebuffer control/configuration properties hw/arm/bcm2835_peripherals.c | 63 +++++- hw/arm/bcm2836.c | 2 + hw/arm/raspi.c | 12 +- hw/char/Makefile.objs | 1 + hw/char/bcm2835_aux.c | 241 ++++++++++++++++++++ hw/display/Makefile.objs | 1 + hw/display/bcm2835_fb.c | 421 +++++++++++++++++++++++++++++++++++ hw/misc/bcm2835_property.c | 139 +++++++++++- include/hw/arm/bcm2835_peripherals.h | 4 + include/hw/char/bcm2835_aux.h | 31 +++ include/hw/display/bcm2835_fb.h | 47 ++++ include/hw/misc/bcm2835_property.h | 5 +- 12 files changed, 954 insertions(+), 13 deletions(-) create mode 100644 hw/char/bcm2835_aux.c create mode 100644 hw/display/bcm2835_fb.c create mode 100644 include/hw/char/bcm2835_aux.h create mode 100644 include/hw/display/bcm2835_fb.h -- 2.5.3