Blackfin: dnp5370: new board port
PATCH 1/1 Blackfin: dnp5370: new board port
From: Andreas Schallenberg <[email protected]>
Info about the hardware can be found here:
http://www.dilnetpc.com/dnp0086.htm
--- board/dnp5370/Makefile | 54 ++++++++++++++++++++ board/dnp5370/config.mk | 29 +++++++++++ board/dnp5370/dnp5370.c | 104 +++++++++++++++++++++++++++++++++++++++ boards.cfg | 1 + doc/README.dnp5370 | 67 +++++++++++++++++++++++++ include/configs/dnp5370.h | 119 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 374 insertions(+), 0 deletions(-) create mode 100644 board/dnp5370/Makefile create mode 100644 board/dnp5370/config.mk create mode 100644 board/dnp5370/dnp5370.c create mode 100644 doc/README.dnp5370 create mode 100644 include/configs/dnp5370.h
board/dnp5370/Makefile new file +54 -0
@@ -0,0 +1,54 @@ +# +# U-boot - Makefile +# +# Copyright (c) 2005-2007 Analog Device Inc. +# +# (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$(BOARD).a + +COBJS-y := $(BOARD).o + +SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y)) +SOBJS := $(addprefix $(obj),$(SOBJS-y)) + +$(LIB): $(obj).depend $(OBJS) $(SOBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) + +clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak $(obj).depend + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/dnp5370/config.mk new file +29 -0
@@ -0,0 +1,29 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# 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 +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +CONFIG_BFIN_CPU = bf537-0.3
board/dnp5370/dnp5370.c new file +104 -0
104 lines not on this page · raw message
boards.cfg +1 -0
@@ -306,6 +306,7 @@ cm-bf537e blackfin blackfin cm-bf537u blackfin blackfin cm-bf548 blackfin blackfin cm-bf561 blackfin blackfin +dnp5370 blackfin blackfin ibf-dsp561 blackfin blackfin ip04 blackfin blackfin tcm-bf518 blackfin blackfin
doc/README.dnp5370 new file +67 -0
67 lines not on this page · raw message
include/configs/dnp5370.h new file +119 -0
119 lines not on this page · raw message
Signature · 1 line
1.7.3.2
PATCH v2 1/1 Blackfin: dnp5370: new board port
From: Andreas Schallenberg <[email protected]>
Info about the hardware can be found here:
http://www.dilnetpc.com/dnp0086.htm
---
v2
- update to latest mainline
- add MAINTAINERS entry
MAINTAINERS | 4 ++ board/dnp5370/Makefile | 54 ++++++++++++++++++ board/dnp5370/config.mk | 29 ++++++++++ board/dnp5370/dnp5370.c | 104 +++++++++++++++++++++++++++++++++++ boards.cfg | 1 + doc/README.dnp5370 | 67 +++++++++++++++++++++++ include/configs/dnp5370.h | 131 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 390 insertions(+), 0 deletions(-) create mode 100644 board/dnp5370/Makefile create mode 100644 board/dnp5370/config.mk create mode 100644 board/dnp5370/dnp5370.c create mode 100644 doc/README.dnp5370 create mode 100644 include/configs/dnp5370.h
MAINTAINERS +4 -0
@@ -1090,6 +1090,10 @@ Peter Meerwald <[email protected]> bct-brettl2 BF536 +M.Hasewinkel (MHA) <[email protected]> + + dnp5370 BF537 + ######################################################################### # End of MAINTAINERS list # #########################################################################
board/dnp5370/Makefile new file +54 -0
54 lines not on this page · raw message
board/dnp5370/config.mk new file +29 -0
@@ -0,0 +1,29 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# 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 +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +CONFIG_BFIN_CPU = bf537-0.3
board/dnp5370/dnp5370.c new file +104 -0
104 lines not on this page · raw message
boards.cfg +1 -0
@@ -186,6 +186,7 @@ cm-bf537e blackfin blackfin cm-bf537u blackfin blackfin cm-bf548 blackfin blackfin cm-bf561 blackfin blackfin +dnp5370 blackfin blackfin ibf-dsp561 blackfin blackfin ip04 blackfin blackfin tcm-bf518 blackfin blackfin
doc/README.dnp5370 new file +67 -0
67 lines not on this page · raw message
include/configs/dnp5370.h new file +131 -0
131 lines not on this page · raw message
Signature · 1 line
1.7.3.3
PATCH v2 1/1 Blackfin: dnp5370: new board port
Dear Mike Frysinger,
Quoted 11 lines · In message <[email protected]> you wrote:
From: Andreas Schallenberg <[email protected]>
Info about the hardware can be found here:
http://www.dilnetpc.com/dnp0086.htmSigned-off-by Andreas Schallenberg <[email protected]>Signed-off-by Mike Frysinger <[email protected]>
MAINTAINERS Peter Meerwald <[email protected]> · line 1095
Quoted 6 lines
MAINTAINERS +3
-0@@ -1090,6 +1090,10 @@ Peter Meerwald <[email protected]> bct-brettl2 BF536 +M.Hasewinkel (MHA) <[email protected]> + + dnp5370 BF537
Please keep list sorted.
Quoted 5 lines
board/dnp5370/config.mk new file +0
-0
...
Quoted 1 line
+CONFIG_BFIN_CPU = bf537-0.3
Please mode to board config file, and drop the config.mk
board/dnp5370/config.mk
Quoted 4 lines
board/dnp5370/config.mk new file +4
-0+#define CONFIG_IPADDR 10.100.100.21 +#define CONFIG_NETMASK 255.255.0.0 +#define CONFIG_GATEWAYIP 10.100.100.1 +#define CONFIG_SERVERIP 10.100.100.12
NAK. We do not allow this.
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 Unix is supported by IBM, like a hanging man is supported by rope. - Don Libes & Sandy Ressler: _Life With Unix_
PATCH v2 1/1 Blackfin: dnp5370: new board port
Quoted 5 lines · On Saturday, December 18, 2010 18:17:43 Wolfgang Denk wrote:
Quoted 4 lines · Mike Frysinger
MAINTAINERS +0
-0@@ -1090,6 +1090,10 @@ Peter Meerwald <[email protected]>
Quoted 7 lines
MAINTAINERS Peter Meerwald <[email protected]> · line 1095
Quoted 5 lines
MAINTAINERS +3
-0bct-brettl2 BF536 +M.Hasewinkel (MHA) <[email protected]> + + dnp5370 BF537Please keep list sorted.
the list is already not sorted, nor is it really feasible to do so. it's grouped by maintainer which may have multiply named boards.
Quoted 5 lines
board/dnp5370/config.mk line 29
Quoted 3 lines
board/dnp5370/config.mk new file +1
-0+CONFIG_BFIN_CPU = bf537-0.3Please mode to board config file, and drop the config.mk
as noted in the other patch, this is the only place for it.
Quoted 6 lines
board/dnp5370/config.mk
Quoted 4 lines
board/dnp5370/config.mk new file +4
-0+#define CONFIG_IPADDR 10.100.100.21 +#define CONFIG_NETMASK 255.255.0.0 +#define CONFIG_GATEWAYIP 10.100.100.1 +#define CONFIG_SERVERIP 10.100.100.12NAK. We do not allow this.
i dont see why. these are *default* settings. there is nothing here that prevents people in their own board from overriding at runtime and saving the result into their environment. where as having default settings often makes new builds/tests a lot smoother.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101218/ff80b8c0/attachment.pgp
PATCH v2 1/1 Blackfin: dnp5370: new board port
Dear Mike Frysinger,
Quoted 7 lines · In message <[email protected]> you wrote:
Quoted 7 lines
Quoted 7 lines
MAINTAINERS +0
-0@@ -1090,6 +1090,10 @@ Peter Meerwald <[email protected]> bct-brettl2 BF536
Quoted 8 lines
Quoted 5 lines
MAINTAINERS Peter Meerwald <[email protected]> · line 1095
Quoted 3 lines
MAINTAINERS +3
-0+M.Hasewinkel (MHA) <[email protected]> + + dnp5370 BF537Please keep list sorted.
the list is already not sorted, nor is it really feasible to do so. it's grouped by maintainer which may have multiply named boards.
If you don't want to help to clean up (which I can live with), then please at least do not add to the mess.
Quoted 11 lines
Quoted 6 lines
MAINTAINERS Peter Meerwald <[email protected]> · line 1099
Quoted 4 lines
MAINTAINERS +4
-0+#define CONFIG_IPADDR 10.100.100.21 +#define CONFIG_NETMASK 255.255.0.0 +#define CONFIG_GATEWAYIP 10.100.100.1 +#define CONFIG_SERVERIP 10.100.100.12NAK. We do not allow this.
i dont see why. these are *default* settings. there is nothing here that prevents people in their own board from overriding at runtime and saving the result into their environment. where as having default settings often makes new builds/tests a lot smoother.
It's still NAK.
Best regards,
Wolfgang Denk
Signature · 8 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
Hello! I'm from outer space, and I've made myself look like a signa-
ture. While you are reading this, I'm having sex with your eyes. I
know it feels good to you, because you're smiling. I'm very horny, so
send me to someone else when you've had enough. Thanks!
Sincerely, A Stranger in a Strange LandPATCH v2 1/1 Blackfin: dnp5370: new board port
Quoted 13 lines · On Sunday, December 19, 2010 07:27:05 Wolfgang Denk wrote:
Quoted 12 lines · Mike Frysinger
Quoted 11 lines
MAINTAINERS Peter Meerwald <[email protected]> · line 1095
Quoted 9 lines
MAINTAINERS +3
-0@@ -1090,6 +1090,10 @@ Peter Meerwald <[email protected]> bct-brettl2 BF536 +M.Hasewinkel (MHA) <[email protected]> + + dnp5370 BF537Please keep list sorted.
Quoted 5 lines
Quoted 2 lines
the list is already not sorted, nor is it really feasible to do so. it's grouped by maintainer which may have multiply named boards.
If you don't want to help to clean up (which I can live with), then please at least do not add to the mess.
i'm saying that if the list cant be sorted, then there isnt a mess and there isnt anything to "clean up"
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
MAINTAINERS Peter Meerwald <[email protected]> · line 1099
Quoted 4 lines
MAINTAINERS +4
-0+#define CONFIG_IPADDR 10.100.100.21 +#define CONFIG_NETMASK 255.255.0.0 +#define CONFIG_GATEWAYIP 10.100.100.1 +#define CONFIG_SERVERIP 10.100.100.12NAK. We do not allow this.
Quoted 6 lines
Quoted 4 lines
i dont see why. these are *default* settings. there is nothing here that prevents people in their own board from overriding at runtime and saving the result into their environment. where as having default settings often makes new builds/tests a lot smoother.
It's still NAK.
so the logic here is "because i said so"
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101219/a313b1db/attachment.pgp
PATCH v2 1/1 Blackfin: dnp5370: new board port
Dear Mike Frysinger,
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 3 lines
If you don't want to help to clean up (which I can live with), then please at least do not add to the mess.
i'm saying that if the list cant be sorted, then there isnt a mess and there isnt anything to "clean up"
The list can be sorted. Within each section it should be sorted by last name of the maintainers.
Quoted 10 lines
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
NAK. We do not allow this.
i dont see why. these are *default* settings. there is nothing here that prevents people in their own board from overriding at runtime and saving the result into their environment. where as having default settings often makes new builds/tests a lot smoother.
It's still NAK.
so the logic here is "because i said so"
This has been discussed several times in the past, and somebody who has been around as long as you should either remember these arguments or be able to look them up in the archives. In short: defaults that may be good for you are most probably bad for (m)any other users of the board. Instead of spreading such bad defaults we default to not setting any.
You may call it "policy", if this helps you to accept that.
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 Memories of you remind me of you. - Karl Lehenbauer
PATCH v2 1/1 Blackfin: dnp5370: new board port
Quoted 9 lines · On Sunday, December 19, 2010 15:05:34 Wolfgang Denk wrote:
Quoted 5 lines · Mike Frysinger
Quoted 2 lines
If you don't want to help to clean up (which I can live with), then please at least do not add to the mess.
i'm saying that if the list cant be sorted, then there isnt a mess and there isnt anything to "clean up"
The list can be sorted. Within each section it should be sorted by last name of the maintainers.
i cant say ive noticed this policy, but changing to that should be easy.
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
NAK. We do not allow this.
i dont see why. these are *default* settings. there is nothing here that prevents people in their own board from overriding at runtime and saving the result into their environment. where as having default settings often makes new builds/tests a lot smoother.
It's still NAK.
Quoted 8 lines
Quoted 1 line
so the logic here is "because i said so"
This has been discussed several times in the past, and somebody who has been around as long as you should either remember these arguments or be able to look them up in the archives. In short: defaults that may be good for you are most probably bad for (m)any other users of the board. Instead of spreading such bad defaults we default to not setting any.
just because ive seen you use this same logic before ("i said so") doesnt mean i agree with it or even understand it. there is no such thing as "bad defaults" when it comes to network settings here. having a default IP that doesnt match your local LAN is just as "bad" as not having any IP at all. in both cases, things need the same amount of effort to change.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101219/df98abbb/attachment.pgp
PATCH v2 1/1 Blackfin: dnp5370: new board port
Dear Mike Frysinger,
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 3 lines
The list can be sorted. Within each section it should be sorted by last name of the maintainers.
i cant say ive noticed this policy, but changing to that should be easy.
It has been mentioned several times before.
Quoted 8 lines
Quoted 6 lines
This has been discussed several times in the past, and somebody who has been around as long as you should either remember these arguments or be able to look them up in the archives. In short: defaults that may be good for you are most probably bad for (m)any other users of the board. Instead of spreading such bad defaults we default to not setting any.
just because ive seen you use this same logic before ("i said so") doesnt mean
Just for the records: I'm not alone with this opinion.
Quoted 4 lines
i agree with it or even understand it. there is no such thing as "bad defaults" when it comes to network settings here. having a default IP that doesnt match your local LAN is just as "bad" as not having any IP at all. in both cases, things need the same amount of effort to change.
I disagree. Setting random default values can cause collisions with existing addresses, i. e. cause trouble that may even interrupt operation of other, innocent systems; having no values set will only cause your local system not to work, but will never do any damage to others.
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
If the facts don't fit the theory, change the facts.
-- Albert EinsteinPATCH v3 1/1 Blackfin: dnp5370: new board port
In reply to Mike FrysingerFrom: Andreas Schallenberg <[email protected]>
Info about the hardware can be found here:
http://www.dilnetpc.com/dnp0086.htm
---
v3
- sort MAINTAINERS
- drop default network settings
MAINTAINERS | 4 ++ board/dnp5370/Makefile | 54 +++++++++++++++++++ board/dnp5370/config.mk | 29 ++++++++++ board/dnp5370/dnp5370.c | 104 ++++++++++++++++++++++++++++++++++++ boards.cfg | 1 + doc/README.dnp5370 | 67 ++++++++++++++++++++++++ include/configs/dnp5370.h | 127 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 386 insertions(+), 0 deletions(-) create mode 100644 board/dnp5370/Makefile create mode 100644 board/dnp5370/config.mk create mode 100644 board/dnp5370/dnp5370.c create mode 100644 doc/README.dnp5370 create mode 100644 include/configs/dnp5370.h
MAINTAINERS +4 -0
@@ -1045,6 +1045,10 @@ Blackfin Team <[email protected]> BF548-EZKIT BF548 BF561-EZKIT BF561 +M.Hasewinkel (MHA) <[email protected]> + + dnp5370 BF537 + Brent Kandetzki <[email protected]> IP04 BF532
board/dnp5370/Makefile new file +54 -0
54 lines not on this page · raw message
board/dnp5370/config.mk new file +29 -0
@@ -0,0 +1,29 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# 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 +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +CONFIG_BFIN_CPU = bf537-0.3
board/dnp5370/dnp5370.c new file +104 -0
104 lines not on this page · raw message
boards.cfg +1 -0
@@ -190,6 +190,7 @@ cm-bf537e blackfin blackfin cm-bf537u blackfin blackfin cm-bf548 blackfin blackfin cm-bf561 blackfin blackfin +dnp5370 blackfin blackfin ibf-dsp561 blackfin blackfin ip04 blackfin blackfin tcm-bf518 blackfin blackfin
doc/README.dnp5370 new file +67 -0
67 lines not on this page · raw message
include/configs/dnp5370.h new file +127 -0
127 lines not on this page · raw message
Signature · 1 line
1.7.3.4