Skip to contentSkip to conversation

Add support for SBC8641D

PATCH New Joe Hamman 3 participants 4 messages Aug 9, 2007 – Aug 10, 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 +28 -0
diff -uprN -X ../dontdiff a/doc/README.sbc8641d b/doc/README.sbc8641d
@@ -0,0 +1,28 @@
+Wind River SBC8641D reference board
+===========================
+
+Created 06/14/2007 Joe Hamman
+Copyright 2007, Embedded Specialties, Inc.
+Copyright 2007 Wind River Systemes, 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.
include/configs/sbc8641d.h +599 -0

599 lines not on this page · raw message

MAINTAINERS +4 -0
diff -uprN -X ../dontdiff a/MAINTAINERS b/MAINTAINERS
@@ -179,6 +179,10 @@ Howard Gray <[email protected]>
 
 	MVS1			MPC823
 
+Joe Hamman <[email protected]>
+
+	sbc8641d		MPC8641D
+
 Klaus Heydeck <[email protected]>
 
 	KUP4K			MPC855
MAKEALL +1 -1
diff -uprN -X ../dontdiff a/MAKEALL b/MAKEALL
@@ -156,7 +156,7 @@ LIST_85xx="	\
 #########################################################################
 
 LIST_86xx="	\
-    MPC8641HPCN	\
+    MPC8641HPCN		SBC8641D \
 "
 
 #########################################################################
Makefile +2 -0
diff -uprN -X ../dontdiff a/Makefile b/Makefile
@@ -1849,6 +1849,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

Quoted 3 lines · In message <1186690263.7118.6.camel@server> you wrote:

Add support for Wind River's SBC8641D reference board.

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

ACK by Wolfgang Denk <[email protected]>

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
When in doubt, mumble;   when in trouble, delegate;  when in  charge,
ponder.                                             -- James H. Boren
#2 lore raw

PATCH 2/2 Add support for SBC8641D

In reply to Joe Hamman
Quoted 3 lines · Joe Hamman

Add support for Wind River's SBC8641D reference board.

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

Joe,

I have applied both of your SBC8641 patches to the -mpc86xx custodian tree now. Note, however, that they have been applied on top of the PCI rework patches that happened a bit earlier in our tree. As those patches have already been pulled upstream, we will need to do some minor re-work of your PCI initialization to make it work again.

Just to make some progress here, I have applied your patches, but have _disabled_ the PCI with an "#undef PCI" in the config file for now. Doing this allows the board to build and MAKEALL to be happy. We'll call this progress.

Please take a look at the mpc8641hpcn.c file for how it now sets up and calls fsl_pci_init() instead of pci_mpc86xx_init(). I hope this is pretty clear and workable for you.

When you have this working, I will apply it to the -mpc86xx custodian tree and request Wolfgang pull it! To that end, please try to get that to me before the close of this merge window on the 17th.

Thanks!
jdl

author
#3 lore raw

PATCH 2/2 Add support for SBC8641D

Hi Jon,

Quoted 22 lines

-----Original Message-----
From: Jon Loeliger [mailto:jdl at freescale.com]
Sent: Friday, August 10, 2007 2:58 PM
To: joe.hamman at embeddedspecialties.com
Cc: u-boot-users
Subject: Re: [PATCH 2/2] Add support for SBC8641D

Quoted 3 lines · Joe Hamman

Add support for Wind River's SBC8641D reference board.

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

Joe,

I have applied both of your SBC8641 patches to the -mpc86xx custodian tree now. Note, however, that they have been applied on top of the PCI rework patches that happened a bit earlier in our tree. As those patches have already been pulled upstream, we will need to do some minor re-work of your PCI initialization to make it work again.

Quoted 4 lines

Just to make some progress here, I have applied your patches, but have _disabled_ the PCI with an "#undef PCI" in the config file for now. Doing this allows the board to build and MAKEALL to be happy. We'll call this progress.

Sounds good. PCI isn't a requirement for my customer, anyway.

Quoted 4 lines

Please take a look at the mpc8641hpcn.c file for how it now sets up and calls fsl_pci_init() instead of pci_mpc86xx_init(). I hope this is pretty clear and workable for you.

Will I find the new PCI code in the testing tree?

Quoted 6 lines

When you have this working, I will apply it to the -mpc86xx custodian tree and request Wolfgang pull it! To that end, please try to get that to me before the close of this merge window on the 17th.

I'll get it in ASAP.

Best regards,
Joe