Skip to contentSkip to conversation

Add support for SBC8641D

PATCH New Joe Hamman 4 participants 5 messages Jul 31, 2007 Kbuild

lore
Share & tools
lore

Joe Hamman

author
#0 lore raw

PATCH 2/2 Add support for SBC8641D

Add support for Wind River's SBC8641D reference board.

Signed-off by: Joe Hamman <[email protected]>

doc/README.sbc8641d +27 -0
diff -uprN -X dontdiff u-boot/doc/README.sbc8641d u-boot-esi/doc/README.sbc8641d
@@ -0,0 +1,27 @@
+Wind River SBC8641D reference board
+===========================
+
+Created 06/14/2007 Joe Hamman
+Copyright 2007, Embedded Specialties, Inc.
+-----------------------------
+
+1. Building U-Boot
+------------------
+The SBC8641D code is known to build using ELDK 4.1.
+
+    $ make sbc8641d_config
+    Configuring for sbc8641d board...
+
+    $ make
+
+
+2. Switch and Jumper Settings
+-----------------------------
+All Jumpers & Switches are in their default positions.  Please refer to
+the board documentation for details.  Some settings control CPU voltages
+and settings may change with board revisions.
+
+3. Known limitations
+--------------------
+PCI:
+	The PCI command may hang if no boards are present in either slot.
drivers/tsec.h +1 -1
diff -uprN -X dontdiff u-boot/drivers/tsec.h u-boot-esi/drivers/tsec.h
@@ -70,7 +70,7 @@
 #define miim_end -2
 #define miim_read -1
 
-#define TBIPA_VALUE		0x1f
+#define TBIPA_VALUE		0x1e
 #define MIIMCFG_INIT_VALUE	0x00000003
 #define MIIMCFG_RESET		0x80000000
 
include/configs/sbc8641d.h +597 -0

597 lines not on this page · raw message

MAINTAINERS +4 -0
diff -uprN -X dontdiff u-boot/MAINTAINERS u-boot-esi/MAINTAINERS
@@ -179,6 +179,10 @@ Howard Gray <[email protected]>
 
 	MVS1			MPC823
 
+Joe Hamman <[email protected]>
+
+	sbc8641d		MPC8641D
+
 Klaus Heydeck <[email protected]>
 
 	KUP4K			MPC855
Makefile +2 -0
diff -uprN -X dontdiff u-boot/Makefile u-boot-esi/Makefile
@@ -1856,6 +1856,8 @@ TQM8560_config:		unconfig
 MPC8641HPCN_config:    unconfig
 	@./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
 
+sbc8641d_config:	unconfig
+	@./mkconfig $(@:_config=) ppc mpc86xx sbc8641d
 
 #########################################################################
 ## 74xx/7xx Systems
#1 lore raw

PATCH 2/2 Add support for SBC8641D

Joe Hamman wrote:
<snip>

include/configs/sbc8641d.h line 536

Quoted 13 lines
include/configs/sbc8641d.h +12 -0
+
+/*
+ * Environment Configuration
+ */
+
+/* The mac addresses for all ethernet interface */
+#if defined(CONFIG_TSEC_ENET)
+#define CONFIG_ETHADDR   00:E0:0C:00:00:01
+#define CONFIG_ETH1ADDR  00:E0:0C:00:01:FD
+#define CONFIG_ETH2ADDR  00:E0:0C:00:02:FD
+#define CONFIG_ETH3ADDR  00:E0:0C:00:03:FD
+#endif

If you're going to default MAC addresses (which IMHO is a bad idea), they should be private ones (i.e. bit 41 is set). The ones you've listed belong to somebody (or more likely some faceless organization). It would be better to leave these out and make the user program them at board bring-up.

regards,
Ben

author
#2 lore raw

PATCH 2/2 Add support for SBC8641D

Quoted 30 lines

-----Original Message-----
From: Ben Warren [mailto:bwarren at qstreams.com]
Sent: Tuesday, July 31, 2007 10:36 AM
To: joe.hamman at embeddedspecialties.com
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] [PATCH 2/2] Add support for SBC8641D

Joe Hamman wrote:
<snip>

include/configs/sbc8641d.h line 536

Quoted 13 lines
include/configs/sbc8641d.h +12 -0
+
+/*
+ * Environment Configuration
+ */
+
+/* The mac addresses for all ethernet interface */
+#if defined(CONFIG_TSEC_ENET)
+#define CONFIG_ETHADDR   00:E0:0C:00:00:01
+#define CONFIG_ETH1ADDR  00:E0:0C:00:01:FD
+#define CONFIG_ETH2ADDR  00:E0:0C:00:02:FD
+#define CONFIG_ETH3ADDR  00:E0:0C:00:03:FD
+#endif

If you're going to default MAC addresses (which IMHO is a bad idea), they should be private ones (i.e. bit 41 is set). The ones you've listed belong to somebody (or more likely some faceless organization). It would be better to leave these out and make the user program them at board bring-up.

Quoted 2 lines

regards,
Ben

Good idea. I'll set them to private and repost. I forgot to copy u-boot-patches & jdl.

Thanks,
Joe

#3 lore raw

PATCH 2/2 Add support for SBC8641D

Quoted 5 lines · Joe Hamman

Good idea. I'll set them to private and repost. I forgot to copy u-boot-patches & jdl.

Thanks,
Joe

I'm reading 'em here just fine too! :-)

jdl

#4 lore raw

PATCH 2/2 Add support for SBC8641D

Quoted 3 lines · In message <1185904629.13176.56.camel@ld0161-tx32> you wrote:
Quoted 3 lines

Good idea. I'll set them to private and repost. I forgot to copy u-boot-patches & jdl.

u-boot-patches is dead. Don't try using it.

It will be revived ASAP, but the old OTRS based thing is discontinued.

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
Mirrors should reflect a little before throwing back images.
- Jean Cocteau