Skip to contentSkip to conversation

Kirkwood: Add support for OpenRD-Client & OpenRD-Ultimate

PATCH Superseded Julian Pidancet 2 participants 2 messages Feb 8, 2011 – Feb 9, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kirkwood: Add support for OpenRD-Client & OpenRD-Ultimate

This patch modifies existing OpenRD-Base support to deal with all the three OpenRD boards (OpenRD-Base, OpenRD-Client & OpenRD-Ultimate).

This is a rebase onto master from an original patch sent by Tanmay Upadhyay a few months ago. All credits goes to him.
It's been tested on my OpenRD-Ultimate and works perfectly fine.

---
 MAKEALL                                 |    2 +
 board/Marvell/openrd/Makefile           |   56 ++++++++++
 board/Marvell/openrd/config.mk          |   33 ++++++
 board/Marvell/openrd/kwbimage.cfg       |  168 ++++++++++++++++++++++++++++++
 board/Marvell/openrd/openrd.c           |  173 +++++++++++++++++++++++++++++++
 board/Marvell/openrd/openrd.h           |   50 +++++++++
 board/Marvell/openrd_base/Makefile      |   56 ----------
 board/Marvell/openrd_base/kwbimage.cfg  |  168 ------------------------------
 board/Marvell/openrd_base/openrd_base.c |  153 ---------------------------
 board/Marvell/openrd_base/openrd_base.h |   46 --------
 boards.cfg                              |    4 +-
 include/configs/openrd.h                |  115 ++++++++++++++++++++
 include/configs/openrd_base.h           |   92 +++--------------
 include/configs/openrd_client.h         |   50 +++++++++
 include/configs/openrd_ultimate.h       |   50 +++++++++
 15 files changed, 714 insertions(+), 502 deletions(-)
 create mode 100644 board/Marvell/openrd/Makefile
 create mode 100644 board/Marvell/openrd/config.mk
 create mode 100644 board/Marvell/openrd/kwbimage.cfg
 create mode 100644 board/Marvell/openrd/openrd.c
 create mode 100644 board/Marvell/openrd/openrd.h
 delete mode 100644 board/Marvell/openrd_base/Makefile
 delete mode 100644 board/Marvell/openrd_base/kwbimage.cfg
 delete mode 100644 board/Marvell/openrd_base/openrd_base.c
 delete mode 100644 board/Marvell/openrd_base/openrd_base.h
 create mode 100644 include/configs/openrd.h
 create mode 100644 include/configs/openrd_client.h
 create mode 100644 include/configs/openrd_ultimate.h
MAKEALL +2 -0
index a732e6a..4b6da98 100755
@@ -361,6 +361,8 @@ LIST_ARM9="			\
 	omap5912osk		\
 	omap730p2		\
 	openrd_base		\
+	openrd_client		\
+	openrd_ultimate		\
 	rd6281a			\
 	sbc2410x		\
 	scb9328			\
board/Marvell/openrd/Makefile new file +56 -0

56 lines not on this page · raw message

board/Marvell/openrd/config.mk new file +33 -0
new file mode 100644
index 0000000..8ae355e
@@ -0,0 +1,33 @@
+#
+# (C) Copyright 2009
+# Net Insight <www.netinsight.net>
+# Written-by: Simon Kagstrom <[email protected]>
+#
+# Based on sheevaplug:
+# (C) Copyright 2009
+# Marvell Semiconductor <www.marvell.com>
+# Written-by: Prafulla Wadaskar <[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., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301 USA
+#
+
+TEXT_BASE = 0x00600000
+
+# Kirkwood Boot Image configuration file
+KWD_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/kwbimage.cfg
board/Marvell/openrd/kwbimage.cfg new file +168 -0

168 lines not on this page · raw message

board/Marvell/openrd/openrd.c new file +173 -0

173 lines not on this page · raw message

board/Marvell/openrd/openrd.h new file +50 -0

50 lines not on this page · raw message

board/Marvell/openrd_base/Makefile deleted +0 -56

56 lines not on this page · raw message

board/Marvell/openrd_base/kwbimage.cfg deleted +0 -168

168 lines not on this page · raw message

board/Marvell/openrd_base/openrd_base.c deleted +0 -153

153 lines not on this page · raw message

board/Marvell/openrd_base/openrd_base.h deleted +0 -46

46 lines not on this page · raw message

boards.cfg +3 -1
index c977528..4334630 100644
@@ -96,7 +96,9 @@ davinci_sonata               arm         arm926ejs   sonata              davinci
 suen3                        arm         arm926ejs   km_arm              keymile        kirkwood
 guruplug                     arm         arm926ejs   -                   Marvell        kirkwood
 mv88f6281gtw_ge              arm         arm926ejs   -                   Marvell        kirkwood
-openrd_base                  arm         arm926ejs   -                   Marvell        kirkwood
+openrd_base                  arm         arm926ejs   openrd              Marvell        kirkwood
+openrd_client                arm         arm926ejs   openrd              Marvell        kirkwood
+openrd_ultimate              arm         arm926ejs   openrd              Marvell        kirkwood
 rd6281a                      arm         arm926ejs   -                   Marvell        kirkwood
 sheevaplug                   arm         arm926ejs   -                   Marvell        kirkwood
 dockstar                     arm         arm926ejs   -                   Seagate        kirkwood
include/configs/openrd.h new file +115 -0

115 lines not on this page · raw message

include/configs/openrd_base.h +14 -78

109 lines not on this page · raw message

include/configs/openrd_client.h new file +50 -0

50 lines not on this page · raw message

include/configs/openrd_ultimate.h new file +50 -0

50 lines not on this page · raw message

-- 1.7.4

#1 lore raw

PATCH 1/1 Kirkwood: Add support for OpenRD-Client & OpenRD-Ultimate

Quoted 45 lines

-----Original Message-----
From: Julian Pidancet [mailto:julian.pidancet at citrix.com]
Sent: Tuesday, February 08, 2011 10:21 AM
To: u-boot at lists.denx.de
Cc: tanmay.upadhyay at einfochips.com; Prafulla Wadaskar
Subject: [PATCH] Kirkwood: Add support for OpenRD-Client & OpenRD- Ultimate

This patch modifies existing OpenRD-Base support to deal with all the three OpenRD boards (OpenRD-Base, OpenRD-Client & OpenRD-Ultimate).

This is a rebase onto master from an original patch sent by Tanmay Upadhyay a few months ago.
All credits goes to him.
It's been tested on my OpenRD-Ultimate and works perfectly fine.

<mailto:[email protected]>

---
 MAKEALL                                 |    2 +
 board/Marvell/openrd/Makefile           |   56 ++++++++++
 board/Marvell/openrd/config.mk          |   33 ++++++
 board/Marvell/openrd/kwbimage.cfg       |  168
++++++++++++++++++++++++++++++
 board/Marvell/openrd/openrd.c           |  173
+++++++++++++++++++++++++++++++
 board/Marvell/openrd/openrd.h           |   50 +++++++++
 board/Marvell/openrd_base/Makefile      |   56 ----------
 board/Marvell/openrd_base/kwbimage.cfg  |  168 ------------------------
------
 board/Marvell/openrd_base/openrd_base.c |  153 ------------------------
---
 board/Marvell/openrd_base/openrd_base.h |   46 --------
 boards.cfg                              |    4 +-
 include/configs/openrd.h                |  115 ++++++++++++++++++++
 include/configs/openrd_base.h           |   92 +++--------------
 include/configs/openrd_client.h         |   50 +++++++++
 include/configs/openrd_ultimate.h       |   50 +++++++++
 15 files changed, 714 insertions(+), 502 deletions(-)
 create mode 100644 board/Marvell/openrd/Makefile
 create mode 100644 board/Marvell/openrd/config.mk
 create mode 100644 board/Marvell/openrd/kwbimage.cfg
 create mode 100644 board/Marvell/openrd/openrd.c
Quoted 8 lines
 create mode 100644 board/Marvell/openrd/openrd.h
 delete mode 100644 board/Marvell/openrd_base/Makefile
 delete mode 100644 board/Marvell/openrd_base/kwbimage.cfg
 delete mode 100644 board/Marvell/openrd_base/openrd_base.c
 delete mode 100644 board/Marvell/openrd_base/openrd_base.h
 create mode 100644 include/configs/openrd.h
 create mode 100644 include/configs/openrd_client.h
 create mode 100644 include/configs/openrd_ultimate.h

Hi Julian

I suggest not to delete old file, on the other hand you can rename or move them through git.

Regards...
Prafulla . .