Skip to contentSkip to conversation

mpc83xx: New board support SIMPC8313

PATCH Superseded Ron Madrid 2 participants 2 messages Nov 15, 2008 – Nov 20, 2008 Kbuild

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Ron Madrid

author
#0 lore raw

PATCH v3 1/1 mpc83xx: New board support SIMPC8313

This patch will create a new board, SIMPC8313, from Sheldon Instruments. This board boots from NAND devices and is configureable for either large or small page devices. The board supports non-soldered DDR2, one ethernet port, a Marvell 88E1118 PHY, and PCI host support. The board also has a FPGA connected to the eLBC providing glue logic to a TMS320C67xx DSP.

---
 MAINTAINERS                                 |    4 +
 MAKEALL                                     |    1 +
 Makefile                                    |   15 +
 board/sheldon/simpc8313/Makefile            |   50 +++
 board/sheldon/simpc8313/config.mk           |   13 +
 board/sheldon/simpc8313/sdram.c             |  193 ++++++++++
 board/sheldon/simpc8313/simpc8313.c         |  134 +++++++
 doc/README.simpc8313                        |   80 ++++
 include/configs/SIMPC8313.h                 |  544 +++++++++++++++++++++++++++
 nand_spl/board/sheldon/simpc8313/Makefile   |  101 +++++
 nand_spl/board/sheldon/simpc8313/u-boot.lds |   52 +++
 11 files changed, 1187 insertions(+), 0 deletions(-)
 create mode 100644 board/sheldon/simpc8313/Makefile
 create mode 100644 board/sheldon/simpc8313/config.mk
 create mode 100644 board/sheldon/simpc8313/sdram.c
 create mode 100644 board/sheldon/simpc8313/simpc8313.c
 create mode 100644 doc/README.simpc8313
 create mode 100644 include/configs/SIMPC8313.h
 create mode 100644 nand_spl/board/sheldon/simpc8313/Makefile
 create mode 100644 nand_spl/board/sheldon/simpc8313/u-boot.lds
MAINTAINERS +4 -0
index 127604b..2211747 100644
@@ -263,6 +263,10 @@ Jon Loeliger <[email protected]>
 
 	MPC8641HPCN	MPC8641D
 
+Ron Madrid <[email protected]>
+
+	SIMPC8313	MPC8313
+
 Dan Malek <[email protected]>
 
 	stxgp3		MPC85xx
MAKEALL +1 -0
index dbed268..9af496c 100755
@@ -343,6 +343,7 @@ LIST_83xx="		\
 	MPC837XERDB	\
 	MVBLM7		\
 	sbc8349		\
+	SIMPC8313_LP	\
 	TQM834x		\
 "
 
Makefile +15 -0
index e4a184f..95dfed8 100644
@@ -2314,6 +2314,21 @@ MVBLM7_config: unconfig
 sbc8349_config:		unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
 
+SIMPC8313_LP_config \
+SIMPC8313_SP_config: unconfig
+	@mkdir -p $(obj)include
+	@mkdir -p $(obj)board/sheldon/simpc8313
+	@if [ "$(findstring _LP_,$@)" ] ; then \
+		$(XECHO) -n "...Large Page NAND..." ; \
+		echo "#define CONFIG_NAND_LP" >> $(obj)include/config.h ; \
+	fi ; \
+	if [ "$(findstring _SP_,$@)" ] ; then \
+		$(XECHO) -n "...Small Page NAND..." ; \
+		echo "#define CONFIG_NAND_SP" >> $(obj)include/config.h ; \
+	fi ;
+	@$(MKCONFIG) -a SIMPC8313 ppc mpc83xx simpc8313 sheldon
+	@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
+
 TQM834x_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc
 
board/sheldon/simpc8313/Makefile new file +50 -0

50 lines not on this page · raw message

board/sheldon/simpc8313/config.mk new file +13 -0
new file mode 100644
index 0000000..ce1c0d8
@@ -0,0 +1,13 @@
+ifndef NAND_SPL
+sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
+endif
+
+ifndef TEXT_BASE
+TEXT_BASE = 0x00100000
+endif
+
+ifdef CONFIG_NAND_LP
+PAD_TO = 0xFFF20000
+else
+PAD_TO = 0xFFF04000
+endif
board/sheldon/simpc8313/sdram.c new file +193 -0

193 lines not on this page · raw message

board/sheldon/simpc8313/simpc8313.c new file +134 -0

134 lines not on this page · raw message

doc/README.simpc8313 new file +80 -0

80 lines not on this page · raw message

include/configs/SIMPC8313.h new file +544 -0

544 lines not on this page · raw message

nand_spl/board/sheldon/simpc8313/Makefile new file +101 -0

101 lines not on this page · raw message

nand_spl/board/sheldon/simpc8313/u-boot.lds new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
1.5.5.1
#1 lore raw

PATCH v3 1/1 mpc83xx: New board support SIMPC8313

Quoted 4 lines · On Fri, 14 Nov 2008 17:13:15 -0800 Ron Madrid <[email protected]> wrote:

This patch will create a new board, SIMPC8313, from Sheldon Instruments. This board boots from NAND devices and is configureable for either large or small page devices. The board supports non-soldered DDR2, one ethernet port, a Marvell 88E1118 PHY, and PCI host support. The board also has a FPGA connected to the eLBC providing glue logic to a TMS320C67xx DSP.

---

Hi Ron, while this looks good, it doesn't build on my system:

...Small Page NAND...Configuring for SIMPC8313 board...
ld: NAND bootstrap too big
ld: NAND bootstrap too big

and large page nand fails identically:

...Large Page NAND...Configuring for SIMPC8313 board...
ld: NAND bootstrap too big
ld: NAND bootstrap too big
make[1]: *** [/home/kim/git/u-boot/nand_spl/u-boot-spl] Error 1
make: *** [nand_spl] Error 2

Kim