Patchwork [1/1] meta/qemuppc: replace kernel config file of qemu-ppc32 with mac99

login
register
mail settings
Submitter Liming Wang
Date Jan. 6, 2012, 8:32 a.m.
Message ID <1325838776-13150-2-git-send-email-liming.wang@windriver.com>
Download mbox | patch
Permalink /patch/18599/
State New
Headers show

Comments

Liming Wang - Jan. 6, 2012, 8:32 a.m.
Repalce emulation of qemuppc from prep to mac99. Also add
qemu-ppc32-gfx.cfg file to support framebuffer and touchscreen.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
---
 .../kernel-cache/bsp/qemu-ppc32/qemu-ppc32-gfx.cfg |   11 +++++
 .../cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg |   42 +++++++++++++++----
 .../cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.scc |    1 +
 3 files changed, 45 insertions(+), 9 deletions(-)
 create mode 100644 meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32-gfx.cfg

Patch

diff --git a/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32-gfx.cfg b/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32-gfx.cfg
new file mode 100644
index 0000000..5fee67f
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32-gfx.cfg
@@ -0,0 +1,11 @@ 
+CONFIG_VGA_ARB=y
+CONFIG_FB=y
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+CONFIG_FB_OF=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+
+CONFIG_INPUT_TABLET=y
+CONFIG_TABLET_USB_WACOM=y
+CONFIG_INPUT_MISC=y
diff --git a/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg b/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg
index f6648f5..2b9d68d 100644
--- a/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg
+++ b/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg
@@ -11,20 +11,44 @@ 
 #.........................................................................
 # CONFIG_PPC_CHRP is not set
 # CONFIG_PPC_PMAC is not set
-CONFIG_PPC_QEMU=y
-CONFIG_ISA=y
+CONFIG_PPC_PMAC=y
 # CONFIG_PNP is not set
 CONFIG_MII=y
-CONFIG_NET_ISA=y
-CONFIG_NE2000=y
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-CONFIG_SERIAL_8250_PCI=y
-CONFIG_SERIAL_8250_NR_UARTS=4
-CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+CONFIG_PCNET32=y
+CONFIG_NE2K_PCI=y
+CONFIG_MACE=y
+CONFIG_BMAC=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_SERIAL_PMACZILOG=y
+CONFIG_SERIAL_PMACZILOG_TTYS=y
+CONFIG_SERIAL_PMACZILOG_CONSOLE=y
 
 CONFIG_IDE=y
 CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_IDEPCI=y
+CONFIG_BLK_DEV_IDEDMA_PCI=y
+CONFIG_BLK_DEV_IDE_PMAC=y
+CONFIG_BLK_DEV_IDEDMA=y
+
+CONFIG_ADB=y
+CONFIG_ADB_CUDA=y
+CONFIG_INPUT_ADBHID=y
+
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_INPUT_MOUSE=y
+
+CONFIG_USB=y
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_MON=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_STORAGE=m
+
+CONFIG_INPUT_EVDEV=y
+CONFIG_SERIO=y
+# CONFIG_SERIO_SERPORT is not set
+
 
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
diff --git a/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.scc b/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.scc
index 859329d..43f9dc6 100644
--- a/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.scc
+++ b/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.scc
@@ -1,4 +1,5 @@ 
 kconf hardware qemu-ppc32.cfg
+kconf hardware qemu-ppc32-gfx.cfg
 
 include features/profiling/profiling.scc
 include features/latencytop/latencytop.scc