From 5ae1e2c9e881f92901ea66b78c4a5b3f08cd07d2 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Mon, 11 Oct 2010 00:26:12 -0400
Subject: mpc8315e-rdb: create machine and tuning configuration

BUGID: 423

Introduce the basic mpc8315e BSP. By default this BSP uses
the basic 603 tuning and soft-float. There are issues with
the e300 tuning and eglibc, and the compiler. Subsequent
commits will further tune this BSP.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/conf/distro/include/poky-default-revisions.inc |  3 ++-
 meta/conf/machine/include/tune-ppce300c2.inc        |  2 ++
 meta/conf/machine/mpc8315e-rdb.conf                 | 16 ++++++++++++++++
 3 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 meta/conf/machine/include/tune-ppce300c2.inc
 create mode 100644 meta/conf/machine/mpc8315e-rdb.conf

(limited to 'meta/conf')

diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc
index 5f36c7b5e..67bf4c419 100644
--- a/meta/conf/distro/include/poky-default-revisions.inc
+++ b/meta/conf/distro/include/poky-default-revisions.inc
@@ -90,7 +90,8 @@ SRCREV_machine_pn-linux-wrs_qemux86-64 ?= "0431115c9d720fee5bb105f6a7411efb4f851
 SRCREV_machine_pn-linux-wrs_emenlow ?= "aae69fdf104b0a9d7b3710f808aac6ab303490f7"
 SRCREV_machine_pn-linux-wrs_atom-pc ?= "0431115c9d720fee5bb105f6a7411efb4f851d26"
 SRCREV_machine_pn-linux-wrs_routerstationpro ?= "0431115c9d720fee5bb105f6a7411efb4f851d26"
-SRCREV_meta_pn-linux-wrs ?= "bfef596973ae436db9132065eaab2228c98f938b"
+SRCREV_machine_pn-linux-wrs_mpc8315e-rdb ?= "0431115c9d720fee5bb105f6a7411efb4f851d26"
+SRCREV_meta_pn-linux-wrs ?= "134a33e3a43579114ca5263e34c18a5d6854d085"
 SRCREV_pn-linux-libc-headers-wrs ??= "09a39c638dd65dc27c549c119abe1af2631b2ae0"
 SRCREV_pn-matchbox-config-gtk ??= "2081"
 SRCREV_pn-matchbox-desktop-sato ??= "76"
diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc
new file mode 100644
index 000000000..067a7b100
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppce300c2.inc
@@ -0,0 +1,2 @@
+TARGET_CC_ARCH = "-mcpu=e300c2 -msoft-float"
+BASE_PACKAGE_ARCH = "ppce300"
diff --git a/meta/conf/machine/mpc8315e-rdb.conf b/meta/conf/machine/mpc8315e-rdb.conf
new file mode 100644
index 000000000..a2aeea92a
--- /dev/null
+++ b/meta/conf/machine/mpc8315e-rdb.conf
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@DESCRIPTION: Machine configuration for running 
+
+TARGET_ARCH = "powerpc"
+PACKAGE_EXTRA_ARCHS = "ppce300"
+TARGET_FPU = "spe"
+
+require conf/machine/include/tune-ppc603e.inc
+
+KERNEL_IMAGETYPE = "uImage"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-wrs"
-- 
cgit v1.2.3