Skip to contentSkip to conversation

machine/sh7785lcr: Add new machine for Renesas SH7785 reference board

PATCH New Nobuhiro Iwamatsu 1 participant 1 message Sep 27, 2010

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 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.

---
 conf/machine/include/tune-sh4.inc              |    4 +
 conf/machine/include/tune-sh4a.inc             |    9 +
 conf/machine/sh7785lcr.conf                    |   20 +
 recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833 ++++++++++++++++++++++
 recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927 ++++++++++++++++++++++++
 recipes/linux/linux_2.6.32.bb                  |    1 +
 recipes/linux/linux_2.6.35.bb                  |    1 +
 7 files changed, 3795 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/include/tune-sh4a.inc
 create mode 100644 conf/machine/sh7785lcr.conf
 create mode 100644 recipes/linux/linux-2.6.32/sh7785lcr/defconfig
 create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfig
conf/machine/include/tune-sh4.inc +4 -0
index 5d43e41..51b4069 100644
@@ -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"
conf/machine/include/tune-sh4a.inc new file +9 -0
new file mode 100644
index 0000000..3866d6f
@@ -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"
conf/machine/sh7785lcr.conf new file +20 -0
new file mode 100644
index 0000000..347ac1e
@@ -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"
recipes/linux/linux-2.6.32/sh7785lcr/defconfig new file +1833 -0

1,833 lines not on this page · raw message

recipes/linux/linux-2.6.35/sh7785lcr/defconfig new file +1927 -0

1,131 lines not on this page · raw message

recipes/linux/linux_2.6.32.bb +1 -0
index 564e311..8229cc9 100644

Lines of this file are not shown. View the raw message.

recipes/linux/linux_2.6.35.bb +1 -0
index 8765846..903af48 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.1

Part of the diff is not shown here. View the raw message.