Skip to contentSkip to conversation

SuperH support

PATCH New Nobuhiro Iwamatsu 2 participants 3 messages May 6, 2007 – May 7, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 SuperH support

Hi, all.

I wrote the code in which u-boot was supported for SH [0]. I am maintaining SH-IPL+g[1] that is the boot loader only for SH now. However, I think that I will maintain u-boot in the future.

Now,
0. SDRAM controler
1. Internal serial device
2. Flash
3. Timer
working.

I plan to adopt it as a boot loader of the main in the future though only several boards are supported now.

Please apply this patch .

regards,
Nobuhiro

[0] : http://america.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family
[1] : http://git.nigauri.org

Signature · 5 lines
Nobuhiro Iwamatsu
	E-Mail : iwamatsu at nigauri.org
	GPG ID : 3170EBE9 

Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Makefile +3 -0
index ceee2c7..1735e9c 100644
@@ -151,6 +151,9 @@ endif
 ifeq ($(ARCH),avr32)
 CROSS_COMPILE = avr32-linux-
 endif
+ifeq ($(ARCH),sh)
+CROSS_COMPILE = sh4-linux-
+endif
 endif
 endif
 
CREDITS +5 -0
index 7af1b80..e94372d 100644
@@ -479,3 +479,8 @@ N: Michal Simek
 E: monstr at monstr.eu
 D: Support for Microblaze, ML401, XUPV2P board
 W: www.monstr.eu
+
+N: Nobuhiro Iwamatsu
+E: iwamatsu at nigauri.org
+D: Support for SuperH, MS7750SE01  board
+W: www.nigauri.org
common/cmd_bootm.c +2 -0
index a6499e8..8af0589 100644
@@ -267,6 +267,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 	if (hdr->ih_arch != IH_CPU_NIOS2)
 #elif defined(__PPC__)
 	if (hdr->ih_arch != IH_CPU_PPC)
+#elif defined(__sh__)
+	if (hdr->ih_arch != IH_CPU_SH)
 #else
 # error Unknown CPU type
 #endif
cpu/sh4/Makefile new file +46 -0

46 lines not on this page · raw message

cpu/sh4/config.mk new file +28 -0
new file mode 100644
index 0000000..2dc7b91
@@ -0,0 +1,28 @@
+#
+# (C) Copyright 2000-2004
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# (C) Copyright 2007
+# Nobuhiro Iwamatsu <[email protected]>
+#   
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# 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
+#
+#
+PLATFORM_CPPFLAGS += -m4-nofpu
+PLATFORM_RELFLAGS += -ffixed-r13
cpu/sh4/cpu.c new file +67 -0

67 lines not on this page · raw message

#1 lore raw

PATCH 1/8 SuperH support

Dear Nobuhiro Iwamatsu,

Quoted 4 lines · in message <[email protected]> you wrote:

I wrote the code in which u-boot was supported for SH [0]. I am maintaining SH-IPL+g[1] that is the boot loader only for SH now. However, I think that I will maintain u-boot in the future.

:-)

Thanks a lot for this excellent contribution.

I would like to create a new custodian repository for this architecture - would you accept to become the custodian?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,    CEO: 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
Quote from a recent meeting:   "We are going to continue having these
meetings everyday until I find out why no work is getting done."
#2 lore raw

PATCH 1/8 SuperH support

Dear , Wolfgang Denk.

Quoted 8 lines · On Sun, 06 May 2007 23:55:41 +0200 Wolfgang Denk <[email protected]> wrote:

Dear Nobuhiro Iwamatsu,

Quoted 4 lines · in message <[email protected]> you wrote:

I wrote the code in which u-boot was supported for SH [0]. I am maintaining SH-IPL+g[1] that is the boot loader only for SH now. However, I think that I will maintain u-boot in the future.

Quoted 7 lines

:-)

Thanks a lot for this excellent contribution.

I would like to create a new custodian repository for this architecture - would you accept to become the custodian?

Yes, I hope to become the custodian.
I want to participate in the development of u-boot positively.

My best regards,
Nobuhiro.

Signature · 3 lines
Nobuhiro Iwamatsu
	E-Mail : iwamatsu at nigauri.org
	GPG ID : 3170EBE9