aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-09-26 14:21:10 +0000
committerKhem Raj <raj.khem@gmail.com>2010-09-27 16:42:35 -0700
commit39cf877a8a5b0291475aa5df5a1dd42f051c8866 (patch)
tree02d041195b8b5edc6cc3e45231222f97699252ec /conf/machine
parent4838826097cc8ebd013b5a9be6e7e4aeb7c0d340 (diff)
downloadopenembedded-39cf877a8a5b0291475aa5df5a1dd42f051c8866.tar.gz
openembedded-39cf877a8a5b0291475aa5df5a1dd42f051c8866.tar.bz2
openembedded-39cf877a8a5b0291475aa5df5a1dd42f051c8866.zip
machine/sh7785lcr: Add new machine for Renesas SH7785 reference board
* Machine config for Renesas SH7785 reference board. * Add kernel config for 2.6.32 and 35. * Add tune file for sh4a. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/tune-sh4.inc4
-rw-r--r--conf/machine/include/tune-sh4a.inc9
-rw-r--r--conf/machine/sh7785lcr.conf20
3 files changed, 33 insertions, 0 deletions
diff --git a/conf/machine/include/tune-sh4.inc b/conf/machine/include/tune-sh4.inc
index 5d43e4195e..51b40691bc 100644
--- a/conf/machine/include/tune-sh4.inc
+++ b/conf/machine/include/tune-sh4.inc
@@ -1,3 +1,7 @@
+# NOTE: If you want to optimize to sh4a, conf/machine/include/tune-sh4a.inc.
+# But it is not compatible for sh4.
+# The binary optimized by m4a doesn't operate on sh4. It works on sh4a only.
+
TARGET_CC_ARCH = "-ml -m4"
FEED_ARCH = "sh4"
BASE_PACKAGE_ARCH = "sh4"
diff --git a/conf/machine/include/tune-sh4a.inc b/conf/machine/include/tune-sh4a.inc
new file mode 100644
index 0000000000..3866d6f127
--- /dev/null
+++ b/conf/machine/include/tune-sh4a.inc
@@ -0,0 +1,9 @@
+# NOTE: This file provides the option for m4a(sh4a).
+# It is not compatible in m4a and m4(sh4).
+# The binary optimized by m4a doesn't operate on sh4. It works on sh4a only.
+# If you want to use binary that work on sh4 and sh4a, you should use
+# "conf/machine/include/tune-sh4.inc".
+
+TARGET_CC_ARCH = "-ml -m4a"
+FEED_ARCH = "sh4"
+BASE_PACKAGE_ARCH = "sh4"
diff --git a/conf/machine/sh7785lcr.conf b/conf/machine/sh7785lcr.conf
new file mode 100644
index 0000000000..347ac1eb50
--- /dev/null
+++ b/conf/machine/sh7785lcr.conf
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: sh7785lcr board setup
+#@DESCRIPTION: Machine configuration for Renesas sh7785lcr(SH7785) board
+
+TARGET_ARCH = "sh4"
+
+require conf/machine/include/tune-sh4.inc
+
+KERNEL_IMAGETYPE = "uImage"
+
+SERIAL_CONSOLE = "115200 ttySC1"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+MACHINE_FEATURES = "kernel26 ext2 vfat ethernet"
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+UBOOT_ARCH = "sh"
+UBOOT_MACHINE = "sh7785lcr_32bit_config"
+UBOOT_LOADADDRESS ?= "0x80001000"
+UBOOT_ENTRYPOINT ?= "0x80002000"