Skip to contentSkip to conversation

initial DaVinci DM355 EVM board support

PATCH New David Brownell 2 participants 5 messages Apr 29, 2009 – May 9, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 initial DaVinci DM355 EVM board support

From: David Brownell <[email protected]>

Initial U-Boot support for the DaVinci DM355 EVM. This is a board from Spectrum Digital. Board docs include schematic and firmware for its microcontroller:

http://c6000.spectrumdigital.com/evmdm355/

Most of the DM355 chip is fully documented by TI, the most notable exception being the MPEG/JPEG coprocessor (programmable using codecs available at no cost from TI) omitted from its DM335 sibling:

http://focus.ti.com/docs/prod/folders/print/tms320dm355.html

This version can boot from the on-board DM9000 Ethernet chip, after being loaded (from NAND, MMC/SD, or UART). In the near future, NAND and USB support could be added.

The current NAND driver works fine with the socketed 2GByte SLC NAND device included with the board, or swapping it out with a small page NAND chip ... as long as the 1-bit hardware ECC hardware is used. The intention is however to always use the 4-bit ECC hardware, and that driver support is not yet ready.

---
Depends on patches queued in arm/next, to support non-dm6446 DaVinci chips and add the core dm355 chip support. DM9000 support depends on the EEPROM-reading bugfix, now merged to the main u-boot tree.

 MAKEALL                            |    1 
 Makefile                           |    3 
 board/davinci/dm355evm/Makefile    |   52 ++++++++
 board/davinci/dm355evm/config.mk   |   11 +
 board/davinci/dm355evm/dm355evm.c  |   84 ++++++++++++++
 board/davinci/dm355evm/u-boot.lds  |   52 ++++++++
 include/configs/davinci_dm355evm.h |  209 +++++++++++++++++++++++++++++++++++
 7 files changed, 412 insertions(+)
MAKEALL +1 -0
@@ -527,6 +527,7 @@ LIST_ARM9="			\
 	davinci_schmoogie	\
 	davinci_sffsdr		\
 	davinci_sonata		\
+	davinci_dm355evm	\
 "
 
 #########################################################################
Makefile +3 -0
@@ -2790,6 +2790,9 @@ davinci_sffsdr_config :	unconfig
 davinci_sonata_config :	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
 
+davinci_dm355evm_config :	unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm926ejs dm355evm davinci davinci
+
 lpd7a400_config \
 lpd7a404_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
board/davinci/dm355evm/Makefile new file +52 -0

52 lines not on this page · raw message

board/davinci/dm355evm/config.mk new file +11 -0
@@ -0,0 +1,11 @@
+#
+# Spectrum Digital DM355 EVM board
+#	dm355evm board has 1 bank of 128 MB DDR RAM
+#	Physical Address: 8000'0000 to 8800'0000
+#
+# Linux Kernel is expected to be at 8000'8000, entry 8000'8000
+# (mem base + reserved)
+#
+
+#Provide at least 16MB spacing between us and the Linux Kernel image
+TEXT_BASE = 0x81080000
board/davinci/dm355evm/dm355evm.c new file +84 -0

84 lines not on this page · raw message

board/davinci/dm355evm/u-boot.lds new file +52 -0

52 lines not on this page · raw message

include/configs/davinci_dm355evm.h new file +209 -0

209 lines not on this page · raw message

#1 lore raw

PATCH 1/1 initial DaVinci DM355 EVM board support

Quoted 31 lines · David Brownell

From: David Brownell <[email protected]>

Initial U-Boot support for the DaVinci DM355 EVM. This is a board from Spectrum Digital. Board docs include schematic and firmware for its microcontroller:

http://c6000.spectrumdigital.com/evmdm355/

Most of the DM355 chip is fully documented by TI, the most notable exception being the MPEG/JPEG coprocessor (programmable using codecs available at no cost from TI) omitted from its DM335 sibling:

http://focus.ti.com/docs/prod/folders/print/tms320dm355.html

This version can boot from the on-board DM9000 Ethernet chip, after being loaded (from NAND, MMC/SD, or UART). In the near future, NAND and USB support could be added.

The current NAND driver works fine with the socketed 2GByte SLC NAND device included with the board, or swapping it out with a small page NAND chip ... as long as the 1-bit hardware ECC hardware is used. The intention is however to always use the 4-bit ECC hardware, and that driver support is not yet ready.

---
Depends on patches queued in arm/next, to support non-dm6446 DaVinci chips and add the core dm355 chip support. DM9000 support depends on the EEPROM-reading bugfix, now merged to the main u-boot tree.

Quoted 7 lines
 MAKEALL                            |    1 
 Makefile                           |    3 
 board/davinci/dm355evm/Makefile    |   52 ++++++++
 board/davinci/dm355evm/config.mk   |   11 +
 board/davinci/dm355evm/dm355evm.c  |   84 ++++++++++++++
 board/davinci/dm355evm/u-boot.lds  |   52 ++++++++
 include/configs/davinci_dm355evm.h |  209 +++++++++++++++++++++++++++++++++++

as all other recent board patch
please unify the lds and please be aware of ben patch otherwise fine

Best Regards,
J.

#2 lore raw

PATCH 1/1 initial DaVinci DM355 EVM board support

Quoted 2 lines · Jean-Christophe PLAGNIOL-VILLARD

as all other recent board patch
please unify the lds and please be aware of ben patch

Erm, could you elaborate? Which "ben patch" would that be, and what do you mean by unifying the lds?

I'm guessing the latter means move the u-boot.lds files (which all copy each other) from board/... over to cpu/... parts of the tree, fixing all the current DaVinci boards first.

- Dave

#3 lore raw

PATCH 1/1 initial DaVinci DM355 EVM board support

Quoted 7 lines · David Brownell
Quoted 2 lines · Jean-Christophe PLAGNIOL-VILLARD

as all other recent board patch
please unify the lds and please be aware of ben patch

Erm, could you elaborate? Which "ben patch" would that be, and what do you mean by unifying the lds?

this series [U-Boot] [PATCH 0/3][Net][ARM] Davinci Ethernet driver cleanup

Quoted 5 lines

I'm guessing the latter means move the u-boot.lds files (which all copy each other) from board/... over to cpu/... parts of the tree, fixing all the current DaVinci boards first.

yes or after patch

Best Regards,
J.

#4 lore raw

PATCH 1/1 initial DaVinci DM355 EVM board support

In reply to Jean-Christophe PLAGNIOL-VILLARD
Quoted 12 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 10 lines · David Brownell

Initial U-Boot support for the DaVinci DM355 EVM....

 MAKEALL                            |    1 
 Makefile                           |    3 
 board/davinci/dm355evm/Makefile    |   52 ++++++++
 board/davinci/dm355evm/config.mk   |   11 +
 board/davinci/dm355evm/dm355evm.c  |   84 ++++++++++++++
 board/davinci/dm355evm/u-boot.lds  |   52 ++++++++
 include/configs/davinci_dm355evm.h |  209 +++++++++++++++++++++++++++++++++++
Quoted 3 lines

as all other recent board patch
please unify the lds and please be aware of ben patch otherwise fine

I'll resend this, probably later today, after sanity checking the updated version, now that two other patches have merged:

(a) fixing the clock display and moving that stuff into cpu/arm926ejs/davinci/cpu.c ... which helps with Ben's network cleanup patch;

(b) moving u-boot.lds into that same directory, shared by all the various DaVinci boards.

That leaves NAND and USB updates yet to be done, but at least this board will behave with Ethernet boot.

- Dave