[OE-core] [PATCH 1/1] V2 meta/qemuppc: replace kernel config file of qemu-ppc32 with mac99

Liming Wang liming.wang at windriver.com
Thu Jan 12 08:42:01 UTC 2012


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 at windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---
 .../kernel-cache/bsp/qemu-ppc32/qemu-ppc32-gfx.cfg |   11 +++++
 .../cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg |   44 +++++++++++++++----
 .../cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.scc |    1 +
 3 files changed, 46 insertions(+), 10 deletions(-)
 create mode 100644 meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32-gfx.cfg

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..3917741 100644
--- a/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg
+++ b/meta/cfg/kernel-cache/bsp/qemu-ppc32/qemu-ppc32.cfg
@@ -10,21 +10,45 @@
 #
 #.........................................................................
 # 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_DEVTMPFS 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
-- 
1.7.5.4





More information about the Openembedded-core mailing list