Skip to contentSkip to conversation

Respin of Sascha Hauer's i.MX31 support plus MX31ADS

PATCH Superseded Guennadi Liakhovetski 6 participants 19 messages Mar 26, 2008 – Apr 4, 2008

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Respin of Sascha Hauer's i.MX31 support plus MX31ADS

This series of patches is a respin on the current git-top of Sascha's i.MX31 support in U-Boot with minor additions / improvements, plus support for the MX31ADS evaluation board from Freescale.

Peter, please get them in before the window closes.

Sascha, could you please test them on your boards? The main thing now is to get them in for the next release, any fixes shall be possible to submit and get accepted also after the merge window.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de

#1 lore raw

PATCH 1/7 Separate omap24xx specific code from arm1136

From: Sascha Hauer <[email protected]>

Move omap24xx code to cpu/arm1136/omap24xx, rename include/asm-arm/arch-arm1136 to cpu/arm1136/omap24xx.

---

 Makefile                                           |    4 +-
 cpu/arm1136/Makefile                               |    2 +-
 cpu/arm1136/cpu.c                                  |   11 +-
 cpu/arm1136/interrupts.c                           |  167 --------------------
 cpu/arm1136/omap24xx/Makefile                      |   46 ++++++
 cpu/arm1136/omap24xx/interrupts.c                  |  159 +++++++++++++++++++
 cpu/arm1136/omap24xx/start.S                       |   42 +++++
 cpu/arm1136/start.S                                |   21 ---
 .../asm-arm/{arch-arm1136 => arch-omap24xx}/bits.h |    0 
 .../{arch-arm1136 => arch-omap24xx}/clocks.h       |    0 
 .../asm-arm/{arch-arm1136 => arch-omap24xx}/i2c.h  |    0 
 .../asm-arm/{arch-arm1136 => arch-omap24xx}/mem.h  |    0 
 .../asm-arm/{arch-arm1136 => arch-omap24xx}/mux.h  |    0 
 .../{arch-arm1136 => arch-omap24xx}/omap2420.h     |    0 
 .../{arch-arm1136 => arch-omap24xx}/sizes.h        |    0 
 .../{arch-arm1136 => arch-omap24xx}/sys_info.h     |    0 
 .../{arch-arm1136 => arch-omap24xx}/sys_proto.h    |    0 
 17 files changed, 254 insertions(+), 198 deletions(-)
 delete mode 100644 cpu/arm1136/interrupts.c
 create mode 100644 cpu/arm1136/omap24xx/Makefile
 create mode 100644 cpu/arm1136/omap24xx/interrupts.c
 create mode 100644 cpu/arm1136/omap24xx/start.S
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/bits.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/clocks.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/i2c.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/mem.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/mux.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/omap2420.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/sizes.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/sys_info.h (100%)
 rename include/asm-arm/{arch-arm1136 => arch-omap24xx}/sys_proto.h (100%)
Makefile +2 -2
index 4255cf5..a9f4bd3 100644
@@ -2587,12 +2587,12 @@ zylonite_config :
 ## ARM1136 Systems
 #########################################################################
 omap2420h4_config	: unconfig
-	@$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
+	@$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx
 
 apollon_config		: unconfig
 	@mkdir -p $(obj)include
 	@echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h
-	@$(MKCONFIG) $(@:_config=) arm arm1136 apollon
+	@$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx
 	@echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
 
 #========================================================================
cpu/arm1136/Makefile +1 -1
index d5ac7d3..7701b03 100644
@@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk
 LIB	= $(obj)lib$(CPU).a
 
 START	= start.o
-COBJS	= interrupts.o cpu.o
+COBJS	= cpu.o
 
 SRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
cpu/arm1136/cpu.c +4 -7
index fa78eaa..c27f8cd 100644
@@ -33,9 +33,6 @@
 
 #include <common.h>
 #include <command.h>
-#if !defined(CONFIG_INTEGRATOR) && ! defined(CONFIG_ARCH_CINTEGRATOR)
-#include <asm/arch/omap2420.h>
-#endif
 
 #ifdef CONFIG_USE_IRQ
 DECLARE_GLOBAL_DATA_PTR;
@@ -47,10 +44,10 @@ static unsigned long read_p15_c1 (void)
 	unsigned long value;
 
 	__asm__ __volatile__(
-						"mrc	p15, 0, %0, c1, c0, 0   @ read control reg\n"
-						: "=r" (value)
-						:
-						: "memory");
+				"mrc	p15, 0, %0, c1, c0, 0   @ read control reg\n"
+				: "=r" (value)
+				:
+				: "memory");
 	return value;
 }
 
cpu/arm1136/interrupts.c deleted +0 -167

167 lines not on this page · raw message

cpu/arm1136/omap24xx/Makefile new file +46 -0

46 lines not on this page · raw message

cpu/arm1136/omap24xx/interrupts.c new file +159 -0

159 lines not on this page · raw message

cpu/arm1136/omap24xx/start.S new file +42 -0

42 lines not on this page · raw message

cpu/arm1136/start.S +0 -21
index 8b765f1..56009d0 100644
@@ -30,9 +30,6 @@
 
 #include <config.h>
 #include <version.h>
-#if !defined(CONFIG_INTEGRATOR) && ! defined(CONFIG_ARCH_CINTEGRATOR)
-#include <asm/arch/omap2420.h>
-#endif
 .globl _start
 _start: b	reset
 #ifdef CONFIG_ONENAND_IPL
@@ -438,22 +435,4 @@ fiq:
 arm1136_cache_flush:
 		mcr	p15, 0, r1, c7, c5, 0	@ invalidate I cache
 		mov	pc, lr			@ back to caller
-
-#if defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_CINTEGRATOR)
-/* Use the IntegratorCP function from board/integratorcp/platform.S */
-#else
-
-	.align	5
-.globl reset_cpu
-reset_cpu:
-	ldr	r1, rstctl	/* get addr for global reset reg */
-	mov	r3, #0x2	/* full reset pll+mpu */
-	str	r3, [r1]	/* force reset */
-	mov	r0, r0
-_loop_forever:
-	b	_loop_forever
-rstctl:
-	.word	PM_RSTCTRL_WKUP
-
-#endif
 #endif	/* CONFIG_ONENAND_IPL */
include/asm-arm/arch-omap24xx/bits.h renamed from include/asm-arm/arch-arm1136/bits.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/bits.h
rename to include/asm-arm/arch-omap24xx/bits.h
include/asm-arm/arch-omap24xx/clocks.h renamed from include/asm-arm/arch-arm1136/clocks.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/clocks.h
rename to include/asm-arm/arch-omap24xx/clocks.h
include/asm-arm/arch-omap24xx/i2c.h renamed from include/asm-arm/arch-arm1136/i2c.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/i2c.h
rename to include/asm-arm/arch-omap24xx/i2c.h
include/asm-arm/arch-omap24xx/mem.h renamed from include/asm-arm/arch-arm1136/mem.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/mem.h
rename to include/asm-arm/arch-omap24xx/mem.h
include/asm-arm/arch-omap24xx/mux.h renamed from include/asm-arm/arch-arm1136/mux.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/mux.h
rename to include/asm-arm/arch-omap24xx/mux.h
include/asm-arm/arch-omap24xx/omap2420.h renamed from include/asm-arm/arch-arm1136/omap2420.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/omap2420.h
rename to include/asm-arm/arch-omap24xx/omap2420.h
include/asm-arm/arch-omap24xx/sizes.h renamed from include/asm-arm/arch-arm1136/sizes.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/sizes.h
rename to include/asm-arm/arch-omap24xx/sizes.h
include/asm-arm/arch-omap24xx/sys_info.h renamed from include/asm-arm/arch-arm1136/sys_info.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/sys_info.h
rename to include/asm-arm/arch-omap24xx/sys_info.h
include/asm-arm/arch-omap24xx/sys_proto.h renamed from include/asm-arm/arch-arm1136/sys_proto.h +0 -0
similarity index 100%
rename from include/asm-arm/arch-arm1136/sys_proto.h
rename to include/asm-arm/arch-omap24xx/sys_proto.h
Signature · 1 line
1.5.4
#2 lore raw

PATCH 2/7 core support for Freescale mx31

In reply to Guennadi Liakhovetski

From: Sascha Hauer <[email protected]>

This patch adds the core support for Freescale mx31

---

 cpu/arm1136/mx31/Makefile             |   45 +++++++
 cpu/arm1136/mx31/generic.c            |  101 ++++++++++++++
 cpu/arm1136/mx31/interrupts.c         |  102 +++++++++++++++
 cpu/arm1136/mx31/serial.c             |  231 +++++++++++++++++++++++++++++++++
 include/asm-arm/arch-mx31/mx31-regs.h |  138 ++++++++++++++++++++
 include/asm-arm/arch-mx31/mx31.h      |   32 +++++
 6 files changed, 649 insertions(+), 0 deletions(-)
 create mode 100644 cpu/arm1136/mx31/Makefile
 create mode 100644 cpu/arm1136/mx31/generic.c
 create mode 100644 cpu/arm1136/mx31/interrupts.c
 create mode 100644 cpu/arm1136/mx31/serial.c
 create mode 100644 include/asm-arm/arch-mx31/mx31-regs.h
 create mode 100644 include/asm-arm/arch-mx31/mx31.h
cpu/arm1136/mx31/Makefile new file +45 -0
new file mode 100644
index 0000000..b648ffd
@@ -0,0 +1,45 @@
+#
+# (C) Copyright 2000-2006
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# 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
+#
+
+include $(TOPDIR)/config.mk
+
+LIB	= $(obj)lib$(SOC).a
+
+COBJS	= interrupts.o serial.o generic.o
+
+SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
+
+all:	$(obj).depend $(LIB)
+
+$(LIB):	$(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
cpu/arm1136/mx31/generic.c new file +101 -0

101 lines not on this page · raw message

cpu/arm1136/mx31/interrupts.c new file +102 -0

102 lines not on this page · raw message

cpu/arm1136/mx31/serial.c new file +231 -0

231 lines not on this page · raw message

include/asm-arm/arch-mx31/mx31-regs.h new file +138 -0

138 lines not on this page · raw message

include/asm-arm/arch-mx31/mx31.h new file +32 -0
new file mode 100644
index 0000000..f89a401
@@ -0,0 +1,32 @@
+/*
+ *
+ * (c) 2007 Pengutronix, Sascha Hauer <[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
+ */
+
+#ifndef __ASM_ARCH_MX31_H
+#define __ASM_ARCH_MX31_H
+
+u32 mx31_get_mpl_dpdgck_clk(void);
+u32 mx31_get_mcu_main_clk(void);
+u32 mx31_get_ipg_clk(void);
+void mx31_gpio_mux(unsigned long mode);
+
+#endif /* __ASM_ARCH_MX31_H */
Signature · 1 line
1.5.4
#3 lore raw

PATCH 3/7 add an i2c driver for mx31

In reply to Guennadi Liakhovetski

From: Sascha Hauer <[email protected]>

This patch adds an i2c driver for Freescale i.MX processors

---

 drivers/i2c/Makefile  |    1 +
 drivers/i2c/mxc_i2c.c |  202 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 203 insertions(+), 0 deletions(-)
 create mode 100644 drivers/i2c/mxc_i2c.c
drivers/i2c/Makefile +1 -0
index 29d6c03..071ef00 100644
@@ -29,6 +29,7 @@ COBJS-y += fsl_i2c.o
 COBJS-y += omap1510_i2c.o
 COBJS-y += omap24xx_i2c.o
 COBJS-y += tsi108_i2c.o
+COBJS-y += mxc_i2c.o
 
 COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
drivers/i2c/mxc_i2c.c new file +202 -0

202 lines not on this page · raw message

Signature · 1 line
1.5.4
#4 lore raw

PATCH 4/7 add SMSC LAN9x1x Network driver

In reply to Guennadi Liakhovetski

From: Sascha Hauer <[email protected]>

This patch adds a driver for the following smsc network controllers:
LAN9115
LAN9116
LAN9117
LAN9215
LAN9216
LAN9217

---

 drivers/net/Makefile  |    1 +
 drivers/net/smc911x.c |  668 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 669 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/smc911x.c
drivers/net/Makefile +1 -0
index 320dc3e..9482398 100644
@@ -54,6 +54,7 @@ COBJS-y += rtl8139.o
 COBJS-y += rtl8169.o
 COBJS-y += s3c4510b_eth.o
 COBJS-y += smc91111.o
+COBJS-y += smc911x.o
 COBJS-y += tigon3.o
 COBJS-y += tsec.o
 COBJS-y += tsi108_eth.o
drivers/net/smc911x.c new file +668 -0

668 lines not on this page · raw message

Signature · 1 line
1.5.4
#5 lore raw

PATCH 4/7 add SMSC LAN9x1x Network driver

Quoted 9 lines · Guennadi Liakhovetski

From: Sascha Hauer <[email protected]>

This patch adds a driver for the following smsc network controllers:
LAN9115
LAN9116
LAN9117
LAN9215
LAN9216
LAN9217

is this like the smsc911x.c in the kernel ? i'm interested in whether this driver supports LAN9218. i have a driver in the Blackfin tree that we use for the LAN9218 ... i also have an eeprom program i can send out for it. -mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080328/c4cb0c1b/attachment.pgp

#6 lore raw

[U-Boot-Users] SMSC LAN9x1x EEPROM program

Quoted 11 lines · Mike Frysinger
Quoted 9 lines · Guennadi Liakhovetski

From: Sascha Hauer <[email protected]>

This patch adds a driver for the following smsc network controllers:
LAN9115
LAN9116
LAN9117
LAN9215
LAN9216
LAN9217

Quoted 3 lines

is this like the smsc911x.c in the kernel ? i'm interested in whether this driver supports LAN9218. i have a driver in the Blackfin tree that we use for the LAN9218 ... i also have an eeprom program i can send out for it.

sorry, just found the newer thread where 9218 was covered. eeprom program attached then. it'll obviously need some updates for the newer code, but that should just be define renamings. feedback welcome.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080328/849dcd62/attachment.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smc911x_eeprom.c
Type: text/x-csrc
Size: 9710 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080328/849dcd62/attachment.c

#7 lore raw

PATCH 4/7 add SMSC LAN9x1x Network driver

In reply to Guennadi Liakhovetski

Hi Ben and Sascha,

Quoted 7 lines

This patch adds a driver for the following smsc network controllers:
LAN9115
LAN9116
LAN9117
LAN9215
LAN9216
LAN9217

This patch most likely covers exactly what the SMSC LAN9x1x driver covers I sent earlier in March. How is the decision going to be made which driver is going to be the one that will be integrated into U-Boot?

Regards,
Mark

#8 lore raw

PATCH 4/7 add SMSC LAN9x1x Network driver

Hi Mark,

Quoted 11 lines · Mark Jonas

Hi Ben and Sascha,

Quoted 7 lines

This patch adds a driver for the following smsc network controllers:
LAN9115
LAN9116
LAN9117
LAN9215
LAN9216
LAN9217

Quoted 5 lines

This patch most likely covers exactly what the SMSC LAN9x1x driver covers I sent earlier in March. How is the decision going to be made which driver is going to be the one that will be integrated into U-Boot?

This driver seems to be a superset of yours, so this would be the one to go in once it's compliant. Sorry for the lack of communication on my part.

regards,
Ben

#9 lore raw

PATCH 4/7 add SMSC LAN9x1x Network driver

Hi,

Quoted 3 lines

This driver seems to be a superset of yours, so this would be the one to go in once it's compliant. Sorry for the lack of communication on my part.

I am just sorry for the wasted hours it took to clean it up.

So long,
Mark

#10 lore raw

PATCH 4/7 add SMSC LAN9x1x Network driver

Hi Mark,

Quoted 8 lines · Mark Jonas

Hi,

Quoted 4 lines

This driver seems to be a superset of yours, so this would be the one to go in once it's compliant. Sorry for the lack of communication on my part.

Quoted 5 lines

I am just sorry for the wasted hours it took to clean it up.

So long,
Mark

We really appreciate the hard work you put into this. Would you be able to try out the patch that Guennadi just posted and add your 'Acked-by'?

thanks,
Ben

#11 lore raw

PATCH 4/7 add SMSC LAN9x1x Network driver

Hi Ben,

Quoted 2 lines

We really appreciate the hard work you put into this. Would you be able to
try out the patch that Guennadi just posted and add your 'Acked-by'?

My schedule is pretty tight right now so I cannot make a promise. Anyhow, it was on my list to give the driver a try. I'll give feedback once I tested it.

Regards,
Mark

#12 lore raw

PATCH 5/7 mx31 litekit support

In reply to Guennadi Liakhovetski

From: Sascha Hauer <[email protected]>

This patch adds support for the mx31 litekit board

---

 MAKEALL                             |    1 +
 Makefile                            |    3 +
 board/imx31_litekit/Makefile        |   51 +++++++++++
 board/imx31_litekit/config.mk       |    2 +
 board/imx31_litekit/imx31_litekit.c |   66 ++++++++++++++
 board/imx31_litekit/lowlevel_init.S |  103 ++++++++++++++++++++++
 board/imx31_litekit/u-boot.lds      |   59 +++++++++++++
 include/configs/imx31_litekit.h     |  162 +++++++++++++++++++++++++++++++++++
 8 files changed, 447 insertions(+), 0 deletions(-)
 create mode 100644 board/imx31_litekit/Makefile
 create mode 100644 board/imx31_litekit/config.mk
 create mode 100644 board/imx31_litekit/imx31_litekit.c
 create mode 100644 board/imx31_litekit/lowlevel_init.S
 create mode 100644 board/imx31_litekit/u-boot.lds
 create mode 100644 include/configs/imx31_litekit.h
MAKEALL +1 -0
index 01573da..5bc2a12 100755
@@ -502,6 +502,7 @@ LIST_ARM11="		\
 	cp1136		\
 	omap2420h4	\
 	apollon		\
+	imx31_litekit	\
 "
 
 #########################################################################
Makefile +3 -0
index a9f4bd3..62306a4 100644
@@ -2595,6 +2595,9 @@ apollon_config		: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx
 	@echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
 
+imx31_litekit_config	: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31
+
 #========================================================================
 # i386
 #========================================================================
board/imx31_litekit/Makefile new file +51 -0

51 lines not on this page · raw message

board/imx31_litekit/config.mk new file +2 -0
new file mode 100644
index 0000000..021f82f
@@ -0,0 +1,2 @@
+TEXT_BASE = 0x87f00000
+
board/imx31_litekit/imx31_litekit.c new file +66 -0

66 lines not on this page · raw message

board/imx31_litekit/lowlevel_init.S new file +103 -0

103 lines not on this page · raw message

board/imx31_litekit/u-boot.lds new file +59 -0

59 lines not on this page · raw message

include/configs/imx31_litekit.h new file +162 -0

162 lines not on this page · raw message

Signature · 1 line
1.5.4
#13 lore raw

PATCH 6/7 Phytec Phycore-i.MX31 support

In reply to Guennadi Liakhovetski

From: Sascha Hauer <[email protected]>

This patch adds support for the Phytec Phycore-i.MX31 board

---

 MAKEALL                                           |    1 +
 Makefile                                          |    3 +
 board/imx31_phycore/Makefile                      |   51 ++++++
 board/{imx31_litekit => imx31_phycore}/config.mk  |    0 
 board/imx31_phycore/imx31_phycore.c               |   74 +++++++++
 board/imx31_phycore/lowlevel_init.S               |  104 ++++++++++++
 board/{imx31_litekit => imx31_phycore}/u-boot.lds |    0 
 include/configs/imx31_phycore.h                   |  178 +++++++++++++++++++++
 8 files changed, 411 insertions(+), 0 deletions(-)
 create mode 100644 board/imx31_phycore/Makefile
 copy board/{imx31_litekit => imx31_phycore}/config.mk (100%)
 create mode 100644 board/imx31_phycore/imx31_phycore.c
 create mode 100644 board/imx31_phycore/lowlevel_init.S
 copy board/{imx31_litekit => imx31_phycore}/u-boot.lds (100%)
 create mode 100644 include/configs/imx31_phycore.h
MAKEALL +1 -0
index 5bc2a12..0ca866f 100755
@@ -503,6 +503,7 @@ LIST_ARM11="		\
 	omap2420h4	\
 	apollon		\
 	imx31_litekit	\
+	imx31_phycore	\
 "
 
 #########################################################################
Makefile +3 -0
index 62306a4..b3cbb20 100644
@@ -2598,6 +2598,9 @@ apollon_config		: unconfig
 imx31_litekit_config	: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31
 
+imx31_phycore_config	: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm1136 imx31_phycore NULL mx31
+
 #========================================================================
 # i386
 #========================================================================
board/imx31_phycore/Makefile new file +51 -0

51 lines not on this page · raw message

board/imx31_phycore/config.mk renamed from board/imx31_litekit/config.mk +0 -0
similarity index 100%
copy from board/imx31_litekit/config.mk
copy to board/imx31_phycore/config.mk
board/imx31_phycore/imx31_phycore.c new file +74 -0

74 lines not on this page · raw message

board/imx31_phycore/lowlevel_init.S new file +104 -0

104 lines not on this page · raw message

board/imx31_phycore/u-boot.lds renamed from board/imx31_litekit/u-boot.lds +0 -0
similarity index 100%
copy from board/imx31_litekit/u-boot.lds
copy to board/imx31_phycore/u-boot.lds
include/configs/imx31_phycore.h new file +178 -0

178 lines not on this page · raw message

Signature · 1 line
1.5.4
#14 lore raw

PATCH 7/7 Support for the MX31ADS evaluation board from Freescale

In reply to Guennadi Liakhovetski

This patch adds support for the MX31ADS evaluation board from Freescale, initialization code is copied from RedBoot sources, also provided by Freescale.

---

 MAKEALL                                     |    1 +
 Makefile                                    |    3 +
 board/mx31ads/Makefile                      |   47 +++++
 board/{imx31_litekit => mx31ads}/config.mk  |    0 
 board/mx31ads/lowlevel_init.S               |  281 +++++++++++++++++++++++++++
 board/mx31ads/mx31ads.c                     |   95 +++++++++
 board/{imx31_litekit => mx31ads}/u-boot.lds |    0 
 include/asm-arm/arch-mx31/mx31-regs.h       |   14 ++
 include/configs/mx31ads.h                   |  157 +++++++++++++++
 9 files changed, 598 insertions(+), 0 deletions(-)
 create mode 100644 board/mx31ads/Makefile
 copy board/{imx31_litekit => mx31ads}/config.mk (100%)
 create mode 100644 board/mx31ads/lowlevel_init.S
 create mode 100644 board/mx31ads/mx31ads.c
 copy board/{imx31_litekit => mx31ads}/u-boot.lds (100%)
 create mode 100644 include/configs/mx31ads.h
MAKEALL +1 -0
index 0ca866f..d192ed2 100755
@@ -504,6 +504,7 @@ LIST_ARM11="		\
 	apollon		\
 	imx31_litekit	\
 	imx31_phycore	\
+	mx31ads		\
 "
 
 #########################################################################
Makefile +3 -0
index b3cbb20..207f5bc 100644
@@ -2601,6 +2601,9 @@ imx31_litekit_config	: unconfig
 imx31_phycore_config	: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 imx31_phycore NULL mx31
 
+mx31ads_config		: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads NULL mx31
+
 #========================================================================
 # i386
 #========================================================================
board/mx31ads/Makefile new file +47 -0

47 lines not on this page · raw message

board/mx31ads/config.mk renamed from board/imx31_litekit/config.mk +0 -0
similarity index 100%
copy from board/imx31_litekit/config.mk
copy to board/mx31ads/config.mk
board/mx31ads/lowlevel_init.S new file +281 -0

281 lines not on this page · raw message

board/mx31ads/mx31ads.c new file +95 -0

95 lines not on this page · raw message

board/mx31ads/u-boot.lds renamed from board/imx31_litekit/u-boot.lds +0 -0
similarity index 100%
copy from board/imx31_litekit/u-boot.lds
copy to board/mx31ads/u-boot.lds
include/asm-arm/arch-mx31/mx31-regs.h +14 -0
index c004478..e9c7671 100644
@@ -133,6 +133,20 @@
 #define MUX_CSPI2_MOSI__I2C2_SCL ((MUX_CTL_ALT1 << 8) | MUX_CTL_CSPI2_MOSI)
 #define MUX_CSPI2_MISO__I2C2_SCL ((MUX_CTL_ALT1 << 8) | MUX_CTL_CSPI2_MISO)
 
+/*
+ * Memory regions and CS
+ */
+#define IPU_MEM_BASE	0x70000000
+#define CSD0_BASE	0x80000000
+#define CSD1_BASE	0x90000000
+#define CS0_BASE	0xA0000000
+#define CS1_BASE	0xA8000000
+#define CS2_BASE	0xB0000000
+#define CS3_BASE	0xB2000000
+#define CS4_BASE	0xB4000000
+#define CS4_PSRAM_BASE	0xB5000000
+#define CS5_BASE	0xB6000000
+#define PCMCIA_MEM_BASE	0xC0000000
 
 #endif /* __ASM_ARCH_MX31_REGS_H */
 
include/configs/mx31ads.h new file +157 -0

157 lines not on this page · raw message

Signature · 1 line
1.5.4
#15 lore raw

PATCH 7/7 Support for the MX31ADS evaluation board from Freescale

Quoted 5 lines · In message <[email protected]> you wrote:

This patch adds support for the MX31ADS evaluation board from Freescale, initialization code is copied from RedBoot sources, also provided by Freescale.

Sorry, this patch fails:

Applying Support for the MX31ADS evaluation board from Freescale
error: patch failed: include/asm-arm/arch-mx31/mx31-regs.h:133
error: include/asm-arm/arch-mx31/mx31-regs.h: patch does not apply
fatal: mode change for board/imx31_litekit/config.mk, which is not in current HEAD
Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge.
Patch failed at 0007.

Best regards,

Wolfgang Denk

Signature · 4 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
"Open the pod bay doors, HAL."                    - Dave Bowman, 2001
#16 lore raw

cover Respin of Sascha Hauer's i.MX31 support plus MX31ADS

In reply to Guennadi Liakhovetski
Quoted 9 lines

-----Original Message-----
From: Guennadi Liakhovetski [mailto:lg at denx.de]
Sent: 26 March 2008 14:01
To: u-boot-users at lists.sourceforge.net
Cc: Wolfgang Denk; Sascha Hauer; Peter Pearse
Subject: [PATCH 0/7] Respin of Sascha Hauer's i.MX31 support plus MX31ADS

Quoted 5 lines

This series of patches is a respin on the current git-top of Sascha's i.MX31 support in U-Boot with minor additions / improvements, plus support for the MX31ADS evaluation board from Freescale.

Peter, please get them in before the window closes.

I've seen this
- how long have I got Wolfgang?

Quoted 15 lines

Sascha, could you please test them on your boards? The main thing now is to get them in for the next release, any fixes shall be possible to submit and get accepted also after the merge window.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de

#17 lore raw

cover Respin of Sascha Hauer's i.MX31 support plus MX31ADS

Quoted 2 lines · In message <[email protected]> you wrote:

- how long have I got Wolfgang?

The merge window for 1.3.3 is open until Mar 31, 23:59:59 MET.

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
"We shall reach greater and greater platitudes of achievement."
- Richard J. Daley
#18 lore raw

cover Respin of Sascha Hauer's i.MX31 support plus MX31ADS

Quoted 10 lines

-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de]
Sent: 26 March 2008 15:02
To: Peter Pearse
Cc: 'Guennadi Liakhovetski'; u-boot-users at lists.sourceforge.net
Subject: Re: [PATCH 0/7] Respin of Sascha Hauer's i.MX31 support plus MX31ADS

Quoted 5 lines
Quoted 2 lines · In message <[email protected]> you wrote:

- how long have I got Wolfgang?

The merge window for 1.3.3 is open until Mar 31, 23:59:59 MET.

OK - should be long enough.....

Quoted 13 lines

Best regards,

Wolfgang Denk

Signature · 6 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 "We shall reach greater and greater platitudes of 
achievement."
- Richard J. Daley