Skip to contentSkip to conversation

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

PATCH Superseded Nobuhiro Iwamatsu 2 participants 3 messages Sep 24, 2010

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 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, 33, 34 and 35.

---
 conf/machine/include/tune-sh4.inc              |    2 +
 conf/machine/sh7785lcr.conf                    |   20 +
 recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833 ++++++++++++++++++++++
 recipes/linux/linux-2.6.33/sh7785lcr/defconfig | 1869 +++++++++++++++++++++++
 recipes/linux/linux-2.6.34/sh7785lcr/defconfig | 1877 +++++++++++++++++++++++
 recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927 ++++++++++++++++++++++++
 recipes/linux/linux_2.6.35.bb                  |    1 +
 7 files changed, 7529 insertions(+), 0 deletions(-)
 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.33/sh7785lcr/defconfig
 create mode 100644 recipes/linux/linux-2.6.34/sh7785lcr/defconfig
 create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfig
conf/machine/include/tune-sh4.inc +2 -0
index 5d43e41..56c75a8 100644
@@ -1,3 +1,5 @@
+# If you want to optimize to sh4a, you need to change 
+# from -m4 to m4a.
 TARGET_CC_ARCH = "-ml -m4"
 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.33/sh7785lcr/defconfig new file +1869 -0

1,142 lines not on this page · raw message

recipes/linux/linux-2.6.34/sh7785lcr/defconfig new file +1877 -0

1,877 lines not on this page · raw message

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

1,927 lines not on this page · 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.

#1 lore raw

Hi,

Quoted 13 lines · Nobuhiro Iwamatsu

* Machine config for Renesas SH7785 reference board.
* Add kernel config for 2.6.32, 33, 34 and 35.

---
  conf/machine/include/tune-sh4.inc              |    2 +
  conf/machine/sh7785lcr.conf                    |   20 +
  recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833 ++++++++++++++++++++++
  recipes/linux/linux-2.6.33/sh7785lcr/defconfig | 1869 +++++++++++++++++++++++
  recipes/linux/linux-2.6.34/sh7785lcr/defconfig | 1877 +++++++++++++++++++++++
  recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927 ++++++++++++++++++++++++
  recipes/linux/linux_2.6.35.bb                  |    1 +
  7 files changed, 7529 insertions(+), 0 deletions(-)
Quoted 6 lines

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.33/sh7785lcr/defconfig create mode 100644 recipes/linux/linux-2.6.34/sh7785lcr/defconfig create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfig

you only neet to add the defconfig for the kernel you support (2.6.35) as the other files won't be used.

Eric

#2 lore raw

Hi,

Thanks for your patch review.

2010/9/25 Eric Bénard <[email protected]>:

Quoted 27 lines

Hi,

Quoted 17 lines · Nobuhiro Iwamatsu

* Machine config for Renesas SH7785 reference board.
* Add kernel config for 2.6.32, 33, 34 and 35.

---
 conf/machine/include/tune-sh4.inc              |    2 + conf/machine/sh7785lcr.conf                    |   20 + recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833
++++++++++++++++++++++
 recipes/linux/linux-2.6.33/sh7785lcr/defconfig | 1869
+++++++++++++++++++++++
 recipes/linux/linux-2.6.34/sh7785lcr/defconfig | 1877
+++++++++++++++++++++++
 recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927
++++++++++++++++++++++++
 recipes/linux/linux_2.6.35.bb                  |    1 +

Quoted 7 lines
 7 files changed, 7529 insertions(+), 0 deletions(-)

 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.33/sh7785lcr/defconfig create mode 100644 recipes/linux/linux-2.6.34/sh7785lcr/defconfig create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfig

Quoted 3 lines

you only neet to add the defconfig for the kernel you support (2.6.35) as the other files won't be used.

OK, I will re-send.

Best regards,
Nobuhiro

Signature · 3 lines
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6