Received: from eggs.gnu.org ([2001:4830:134:3::10]:48064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsNWl-0006AH-Gc for qemu-devel@nongnu.org; Sun, 15 Dec 2013 21:03:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsNWh-0008A4-0i for qemu-devel@nongnu.org; Sun, 15 Dec 2013 21:03:23 -0500 Received: from [222.73.24.84] (port=54279 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsNWg-00088Y-LE for qemu-devel@nongnu.org; Sun, 15 Dec 2013 21:03:18 -0500 From: liguang Date: Mon, 16 Dec 2013 10:01:26 +0800 Message-Id: <1387159292-10436-1-git-send-email-lig.fnst@cn.fujitsu.com> Subject: [Qemu-devel] [PATCH v13 0/6] add allwinner A10 SoC support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Peter Crosthwaite , Juan Quintela , Stefan Hajnoczi , =?UTF-8?q?Andreas=20F=C3=A4rber?= , liguang lay a foundation for allwinner A10 SoC with a cortex-a8 processor, and will add more devices later. v2: split timer and interrupt controller emulation into their corresponding files. v3: 1. change loader_start address 2. add 64-bit counter 3. fixup fail to clear interrup status issue v4: 1. add VMSD 2. use defines of magic number for readability 3. code cleanup v5: 1. add VMSTATE_PTIMER_ARRAY 2. code cleanup v6: 1. fix a fiq lost issue pointed out by Peter Crosthwaite 2. code cleanup v7: model allwinner A10 as a SoC device, and add cubieboard. v8: 1. A10 be QOMified as a device 2. add AW as prefix of A10 v9: code cleanup for PATCH 4/5 A10 SoC support v10: code cleanup for PATCH 2/5 v11: code cleanup for PATCH 2/5, 3/5 v12: 1. use bool type for irq setting 2. use Peter's VMSTATE_PTIMER_ARRAY v13: 1. remove odd spaces 2. add cubieboard entry for qom-test TODO: 1. add BROM support 2. add more devices test: can boot-up officially released linux kernel build with PLL disabled. can find test zImage at: http://dl.dbank.com/c0jaibr54s reference: http://linux-sunxi.org/Main_Page Peter Maydell (1): vmstate: Add support for an array of ptimer_state * liguang (5): hw/timer: add allwinner a10 timer hw/intc: add allwinner A10 interrupt controller hw/arm: add allwinner a10 SoC support hw/arm: add cubieboard support MAINTAINERS: add myself to maintain allwinner-a10 MAINTAINERS | 7 + default-configs/arm-softmmu.mak | 4 + hw/arm/Makefile.objs | 1 + hw/arm/allwinner-a10.c | 103 ++++++++++++++ hw/arm/cubieboard.c | 69 +++++++++ hw/intc/Makefile.objs | 1 + hw/intc/allwinner-a10-pic.c | 200 ++++++++++++++++++++++++++ hw/timer/Makefile.objs | 2 + hw/timer/allwinner-a10-pit.c | 254 ++++++++++++++++++++++++++++++++++ include/hw/arm/allwinner-a10.h | 35 +++++ include/hw/intc/allwinner-a10-pic.h | 40 ++++++ include/hw/ptimer.h | 4 + include/hw/timer/allwinner-a10-pit.h | 59 ++++++++ include/migration/vmstate.h | 10 ++ tests/qom-test.c | 1 + 15 files changed, 790 insertions(+), 0 deletions(-) create mode 100644 hw/arm/allwinner-a10.c create mode 100644 hw/arm/cubieboard.c create mode 100644 hw/intc/allwinner-a10-pic.c create mode 100644 hw/timer/allwinner-a10-pit.c create mode 100644 include/hw/arm/allwinner-a10.h create mode 100644 include/hw/intc/allwinner-a10-pic.h create mode 100644 include/hw/timer/allwinner-a10-pit.h