Skip to contentSkip to conversation

Add support for the DevKit8000 board

PATCH Superseded Frederik Kriewitz 3 participants 5 messages Aug 24, 2009 – Aug 25, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH v6 1/1 Add support for the DevKit8000 board

This patch adds support for the DevKit8000 board.

---
mach-types.h needs to be synced (MACH_TYPE_DEVKIT8000)

Changelog:
v6:
added changelog

v5:
moved files from board/timll/devkit8000 to board/devkit8000 added omap3_ config file prefix
renamed README.timll to README.devkit8000

v4:
moved files from board/omap3/devkit8000 to board/timll/devkit8000 (vendor dir) renamed README.devkit8000 to README.timll
fixed LIST_ARM_CORTEX_A8 order (MAKEALL)
fixed MAINTAINERS ordered
comment style changes
fixed potential alignment issue (enetaddr assignment)

v3
moved files from board/omap3/devkit8000 to board/devkit8000 removed omap3_ config file prefix
moved doc from README.omap3 to README.devkit8000
added MAKEALL entry
added warning in case a Die ID based MAC is used
removed reset_phy() (Ethernet is only initiated if it's needed) moved CONFIG_SYS_NO_FLASH up (before #include <config_cmd_default.h>) command list cleanup
minor define cleanups
moved some common kernel args to commonargs variable

v2:
added MAINTAINERS entry
code style fixes
copyright added
removed mach-types.h patch
command list reordered
boot command was moved to own variable (autoboot) fixed memtest config
removed useless NOR flash settings

 MAINTAINERS                        |    4 +
 MAKEALL                            |    1 +
 Makefile                           |    3 +
 board/devkit8000/Makefile          |   52 +++++
 board/devkit8000/config.mk         |   35 ++++
 board/devkit8000/devkit8000.c      |  131 +++++++++++++
 board/devkit8000/devkit8000.h      |  373 ++++++++++++++++++++++++++++++++++++
 doc/README.devkit8000              |   15 ++
 include/configs/devkit8000.h       |  307 +++++++++++++++++++++++++++++
 include/configs/omap3_devkit8000.h |  307 +++++++++++++++++++++++++++++
 10 files changed, 1228 insertions(+), 0 deletions(-)
 create mode 100644 board/devkit8000/Makefile
 create mode 100644 board/devkit8000/config.mk
 create mode 100644 board/devkit8000/devkit8000.c
 create mode 100644 board/devkit8000/devkit8000.h
 create mode 100644 doc/README.devkit8000
 create mode 100644 include/configs/devkit8000.h
 create mode 100644 include/configs/omap3_devkit8000.h
MAINTAINERS +4 -0
index 620604c..1919505 100644
@@ -587,6 +587,10 @@ Nishant Kamat <[email protected]>
 
 	omap1610h2	ARM926EJS
 
+Frederik Kriewitz <[email protected]>
+
+	omap3_devkit8000	ARM CORTEX-A8 (OMAP3530 SoC)
+
 Sergey Kubushyn <[email protected]>
 
 	DV-EVM		ARM926EJS
MAKEALL +1 -0
index edebaea..ac46ddc 100755
@@ -576,6 +576,7 @@ LIST_ARM11="			\
 #########################################################################
 LIST_ARM_CORTEX_A8="		\
 	omap3_beagle		\
+	omap3_devkit8000	\
 	omap3_overo		\
 	omap3_evm		\
 	omap3_pandora		\
Makefile +3 -0
index 96cca23..a671bfc 100644
@@ -3089,6 +3089,9 @@ SMN42_config	:	unconfig
 omap3_beagle_config :	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 beagle omap3 omap3
 
+omap3_devkit8000_config :	unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 devkit8000 NULL omap3
+
 omap3_overo_config :	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 overo omap3 omap3
 
board/devkit8000/Makefile new file +52 -0

52 lines not on this page · raw message

board/devkit8000/config.mk new file +35 -0
new file mode 100644
index 0000000..6bfcef7
@@ -0,0 +1,35 @@
+#
+# (C) Copyright 2006
+# Texas Instruments, <www.ti.com>
+#
+# (C) Copyright 2009
+# Frederik Kriewitz <[email protected]>
+#
+# DevKit8000 uses OMAP3 (ARM-CortexA8) cpu
+# see http://www.ti.com/ for more information on Texas Instruments
+#
+# 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
+#
+# Physical Address:
+# 8000'0000 (bank0)
+# Linux-Kernel is expected to be at 8000'8000, entry 8000'8000
+# (mem base + reserved)
+
+# For use with external or internal boots.
+TEXT_BASE = 0x80e80000
board/devkit8000/devkit8000.c new file +131 -0

131 lines not on this page · raw message

board/devkit8000/devkit8000.h new file +373 -0

373 lines not on this page · raw message

doc/README.devkit8000 new file +15 -0
new file mode 100644
index 0000000..28e2fdf
@@ -0,0 +1,15 @@
+DevKit8000
+==========
+
+The OMAP3 DevKit8000 from Embest/Timll is a clone of the OMAP3 beagle board
+with Ethernet and Touch Screen controller on board.
+
+For more information go to:
+http://www.embedinfo.com/English/Product/devkit8000.asp
+
+There's no real MAC address available.
+If ethaddr is not set, 5 Bytes of the OMAP Die ID will be used.
+
+Build:
+make omap3_devkit8000_config
+make
include/configs/devkit8000.h new file +307 -0

307 lines not on this page · raw message

include/configs/omap3_devkit8000.h new file +307 -0

307 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#1 lore raw

PATCH v6 1/1 Add support for the DevKit8000 board

Quoted 45 lines · Frederik Kriewitz

This patch adds support for the DevKit8000 board.

---
mach-types.h needs to be synced (MACH_TYPE_DEVKIT8000)

Changelog:
v6:
added changelog

v5:
moved files from board/timll/devkit8000 to board/devkit8000 added omap3_ config file prefix
renamed README.timll to README.devkit8000

v4:
moved files from board/omap3/devkit8000 to board/timll/devkit8000 (vendor dir) renamed README.devkit8000 to README.timll
fixed LIST_ARM_CORTEX_A8 order (MAKEALL)
fixed MAINTAINERS ordered
comment style changes
fixed potential alignment issue (enetaddr assignment)

v3
moved files from board/omap3/devkit8000 to board/devkit8000 removed omap3_ config file prefix
moved doc from README.omap3 to README.devkit8000
added MAKEALL entry
added warning in case a Die ID based MAC is used
removed reset_phy() (Ethernet is only initiated if it's needed) moved CONFIG_SYS_NO_FLASH up (before #include <config_cmd_default.h>) command list cleanup
minor define cleanups
moved some common kernel args to commonargs variable

v2:
added MAINTAINERS entry
code style fixes
copyright added
removed mach-types.h patch
command list reordered
boot command was moved to own variable (autoboot) fixed memtest config
removed useless NOR flash settings

Quoted 10 lines
 MAINTAINERS                        |    4 +
 MAKEALL                            |    1 +
 Makefile                           |    3 +
 board/devkit8000/Makefile          |   52 +++++
 board/devkit8000/config.mk         |   35 ++++
 board/devkit8000/devkit8000.c      |  131 +++++++++++++
 board/devkit8000/devkit8000.h      |  373 ++++++++++++++++++++++++++++++++++++
 doc/README.devkit8000              |   15 ++
 include/configs/devkit8000.h       |  307 +++++++++++++++++++++++++++++
 include/configs/omap3_devkit8000.h |  307 +++++++++++++++++++++++++++++

why do you duplicate it?
maybe an miss when updating the patch

Best Regards,
J.

#2 lore raw

PATCH v6 1/1 Add support for the DevKit8000 board

Quoted 15 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 4 lines · Frederik Kriewitz

This patch adds support for the DevKit8000 board.

<snip>

Quoted 10 lines
 MAINTAINERS                        |    4 +
 MAKEALL                            |    1 +
 Makefile                           |    3 +
 board/devkit8000/Makefile          |   52 +++++
 board/devkit8000/config.mk         |   35 ++++
 board/devkit8000/devkit8000.c      |  131 +++++++++++++
 board/devkit8000/devkit8000.h      |  373 ++++++++++++++++++++++++++++++++++++
 doc/README.devkit8000              |   15 ++
 include/configs/devkit8000.h       |  307 +++++++++++++++++++++++++++++
 include/configs/omap3_devkit8000.h |  307 +++++++++++++++++++++++++++++
Quoted 2 lines

why do you duplicate it?
maybe an miss when updating the patch

This is a version of the patch Dirk asked for.
Without timll vendor directory and with omap3_ config file prefix:

Quoted 32 lines · Dirk Behme
Quoted 11 lines · Frederik Kriewitz

This patch adds support for the DevKit8000 board.

---
mach-types.h needs to be synced (MACH_TYPE_DEVKIT8000)

---
 MAINTAINERS                         |    4 +
 MAKEALL                             |    1 +
 Makefile                            |    3 +
 board/timll/devkit8000/Makefile     |   52 +++++

I'm not sure what "timll" stands for?

Depending on the result of the board directory rename discussion, I'd like to see board/devkit8000 or board/omap3devkit8000 here.

MAKEALL LIST_ARM11=" \ · line 581

Quoted 12 lines
MAKEALL +1 -0
index edebaea..65eb4b7 100755
@@ -575,6 +575,7 @@ LIST_ARM11="                        \
 ## ARM Cortex-A8 Systems
 #########################################################################
 LIST_ARM_CORTEX_A8="           \
+       devkit8000              \
       omap3_beagle            \
       omap3_overo             \
       omap3_evm               \

What's about "omap3_devkit8000"?

#3 lore raw

PATCH v6 1/1 Add support for the DevKit8000 board

Quoted 8 lines · On Tuesday 25 August 2009 07:54:57 Frederik Kriewitz wrote:
Quoted 5 lines
Quoted 2 lines
 include/configs/devkit8000.h       |  307 +++++++++++++++++++++++++++++
 include/configs/omap3_devkit8000.h |  307 +++++++++++++++++++++++++++++

why do you duplicate it?
maybe an miss when updating the patch

This is a version of the patch Dirk asked for.
Without timll vendor directory and with omap3_ config file prefix:

No, Jean-Christophe referred to the 2 config headers: devkit8000.h *and* omap3_devkit8000.h. You probably forgot to remove one of those files.

Cheers,
Stefan

--
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

#4 lore raw

PATCH v6 1/1 Add support for the DevKit8000 board

Quoted 4 lines · Stefan Roese
Quoted 3 lines · On Tuesday 25 August 2009 07:54:57 Frederik Kriewitz wrote:
Quoted 3 lines
Quoted 2 lines

?include/configs/devkit8000.h ? ? ? | ?307 +++++++++++++++++++++++++++++ ?include/configs/omap3_devkit8000.h | ?307 +++++++++++++++++++++++++++++

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

why do you duplicate it?
maybe an miss when updating the patch

This is a version of the patch Dirk asked for.
Without timll vendor directory and with omap3_ config file prefix:

No, Jean-Christophe referred to the 2 config headers: devkit8000.h *and* omap3_devkit8000.h. You probably forgot to remove one of those files.

Oh yes, do we really need a v7? Or is v4 (with timll vendor directory) ok.

Sorry for the patch spam.