Skip to contentSkip to conversation

sh: Add support Renesas Solutions Migo-R board

PATCH Superseded goda.yusuke 3 participants 4 messages Jan 25, 2008

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: Add support Renesas Solutions Migo-R board

Migo-R is a board based on SH7722 and has may devices. In this patch, supported SCIF, NOR flash and Ethernet.

---
 MAINTAINERS                 |    4 +
 MAKEALL                     |    1 +
 Makefile                    |    5 +
 board/MigoR/Makefile        |   48 ++++++++
 board/MigoR/config.mk       |   32 +++++
 board/MigoR/lowlevel_init.S |  269 +++++++++++++++++++++++++++++++++++++++++++
 board/MigoR/migo_r.c        |   54 +++++++++
 board/MigoR/u-boot.lds      |  106 +++++++++++++++++
 include/configs/MigoR.h     |  152 ++++++++++++++++++++++++
 9 files changed, 671 insertions(+), 0 deletions(-)
MAINTAINERS +4 -0
index 239f5c3..44a4372 100644
@@ -680,6 +680,10 @@ Yoshihiro Shimoda <shimoda.yoshihiro at ren
 
 	MS7720SE		SH7720
 
+Yusuke Goda <[email protected]>
+
+	MIGO-R			SH7722
+
 #########################################################################
 # End of MAINTAINERS list						#
 #########################################################################
MAKEALL +1 -0
index 180bc44..a5dbbe9 100755
@@ -681,6 +681,7 @@ LIST_blackfin="		\
 LIST_sh4="		\
 	ms7750se	\
 	ms7722se	\
+	Migo-R		\
 "
 
 LIST_sh3="		\
Makefile +5 -0
index c322c5c..1bc597c 100644
@@ -2770,6 +2770,11 @@ ms7722se_config :       unconfig
 	@echo "#define CONFIG_MS7722SE 1" >> $(obj)include/config.h
 	@./mkconfig -a $(@:_config=) sh sh4 ms7722se
 
+MigoR_config :       unconfig
+	@ >include/config.h
+	@echo "#define CONFIG_MIGO_R 1" >> include/config.h
+	@./mkconfig -a $(@:_config=) sh sh4 MigoR
+
 #########################################################################
 #########################################################################
 #########################################################################
board/MigoR/Makefile new file +48 -0

48 lines not on this page · raw message

board/MigoR/config.mk new file +32 -0
new file mode 100644
index 0000000..c68cb72
@@ -0,0 +1,32 @@
+#
+# Copyright (C) 2007
+# Nobuhiro Iwamatsu <[email protected]>
+#
+# Copyright (C) 2007
+# Kenati Technologies, Inc.
+#
+# board/MigoR/config.mk
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+
+#
+# TEXT_BASE refers to image _after_ relocation.
+#
+# NOTE: Must match value used in u-boot.lds (in this directory).
+#
+
+TEXT_BASE = 0x8FFC0000
+
board/MigoR/lowlevel_init.S new file +269 -0

269 lines not on this page · raw message

board/MigoR/migo_r.c new file +54 -0

54 lines not on this page · raw message

board/MigoR/u-boot.lds new file +106 -0

106 lines not on this page · raw message

include/configs/MigoR.h new file +152 -0

152 lines not on this page · raw message

Signature · 1 line
1.4.4.1
#1 lore raw

PATCH 1/1 sh: Add support Renesas Solutions Migo-R board

Hi, Goda-san.

2008/1/25, goda.yusuke <[email protected]>:

Quoted 4 lines

Migo-R is a board based on SH7722 and has may devices. In this patch, supported SCIF, NOR flash and Ethernet.

<snip>

Quoted 6 lines
board/MigoR/migo_r.c new file +0 -0
new file mode 100644
index 0000000..23dcd49

board/MigoR/migo_r.c line 8

Quoted 8 lines
board/MigoR/migo_r.c new file +8 -0
@@ -0,0 +1,54 @@
+/*
+ * Copyright (C) 2007
+ * Nobuhiro Iwamatsu <[email protected]>
+ *
+ * Copyright (C) 2007
+ * Kenati Technologies, Inc.
+ *
+ * board/MigoR/ms7722se.c

board/MigoR/migo_r.c ?

<snip>

Quoted 5 lines
include/configs/MigoR.h new file +0 -0
new file mode 100644
index 0000000..b557999

<snip>

include/configs/MigoR.h line 52

Quoted 5 lines
include/configs/MigoR.h new file +5 -0
+#define CONFIG_NETMASK         255.255.255.0
+#define CONFIG_IPADDR          192.168.10.100
+#define CONFIG_SERVERIP                192.168.10.77
+#define CONFIG_GATEWAYIP       192.168.10.77
+#define CONFIG_ETHADDR         00:00:00:07:08:09

Please change MAC address.
Does this board have Ether ROM?
If this board doesn't have it, please set the MAC address in your company. This MAC address is not good.

regards,
Nobuhiro

#2 lore raw

PATCH 1/1 sh: Add support Renesas Solutions Migo-R board

In message <[email protected]>

Quoted 11 lines · Nobuhiro Iwamatsu

include/configs/MigoR.h line 52

Quoted 6 lines
include/configs/MigoR.h new file +5 -0
+#define CONFIG_NETMASK         255.255.255.0
+#define CONFIG_IPADDR          192.168.10.100
+#define CONFIG_SERVERIP                192.168.10.77
+#define CONFIG_GATEWAYIP       192.168.10.77
+#define CONFIG_ETHADDR         00:00:00:07:08:09

Please change MAC address.
Does this board have Ether ROM?
If this board doesn't have it, please set the MAC address in your company. This MAC address is not good.

The MAC address shout NOT be set in the board config file at all.

Don't do it, it is a very bad idea!

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You Don't Have To Be 'Damned' To Work Here, But It Helps!!!
                                             - Terry Pratchett, _Eric_
#3 lore raw

PATCH 1/1 sh: Add support Renesas Solutions Migo-R board

Hi ,Wolfgang.

2008/1/25, Wolfgang Denk <[email protected]>:

Quoted 15 lines

In message <[email protected]>

Quoted 11 lines · Nobuhiro Iwamatsu

include/configs/MigoR.h line 52

Quoted 6 lines
include/configs/MigoR.h new file +5 -0
+#define CONFIG_NETMASK         255.255.255.0
+#define CONFIG_IPADDR          192.168.10.100
+#define CONFIG_SERVERIP                192.168.10.77
+#define CONFIG_GATEWAYIP       192.168.10.77
+#define CONFIG_ETHADDR         00:00:00:07:08:09

Please change MAC address.
Does this board have Ether ROM?
If this board doesn't have it, please set the MAC address in your company. This MAC address is not good.

Quoted 3 lines

The MAC address shout NOT be set in the board config file at all.

Don't do it, it is a very bad idea!

Thank you for your comments.
Sorry. I understood the problem concerning the MAC address from ML's log.

To Goda-san:
Please remove CONFIG_ETHADDR line from config file and resend patches.

Thanks,
Nobuhiro