xref: /OK3568_Linux_fs/u-boot/board/sbc8641d/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWind River SBC8641D reference board
2*4882a593Smuzhiyun===========================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunCreated 06/14/2007 Joe Hamman
5*4882a593SmuzhiyunCopyright 2007, Embedded Specialties, Inc.
6*4882a593SmuzhiyunCopyright 2007 Wind River Systems, Inc.
7*4882a593Smuzhiyun-----------------------------
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun1. Building U-Boot
10*4882a593Smuzhiyun------------------
11*4882a593SmuzhiyunThe SBC8641D code is known to build using ELDK 4.1.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun    $ make sbc8641d_config
14*4882a593Smuzhiyun    Configuring for sbc8641d board...
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun    $ make
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun2. Switch and Jumper Settings
20*4882a593Smuzhiyun-----------------------------
21*4882a593SmuzhiyunAll Jumpers & Switches are in their default positions.  Please refer to
22*4882a593Smuzhiyunthe board documentation for details.  Some settings control CPU voltages
23*4882a593Smuzhiyunand settings may change with board revisions.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun3. Known limitations
26*4882a593Smuzhiyun--------------------
27*4882a593SmuzhiyunPCI:
28*4882a593Smuzhiyun	The PCI command may hang if no boards are present in either slot.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun4. Reflashing U-Boot
31*4882a593Smuzhiyun--------------------
32*4882a593SmuzhiyunThe board has two independent flash devices which can be used for dual
33*4882a593Smuzhiyunbooting, or for U-Boot backup and recovery.  A two pin jumper on the
34*4882a593Smuzhiyunthree pin JP10 determines which device is attached to /CS0 line.
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunAssuming one device has a functional U-Boot, and the other device has
37*4882a593Smuzhiyuna recently installed non-functional image, to perform a recovery from
38*4882a593Smuzhiyunthat non-functional image goes essentially as follows:
39*4882a593Smuzhiyun
40*4882a593Smuzhiyuna) power down the board and jumper JP10 to select the functional image.
41*4882a593Smuzhiyunb) power on the board and let it get to U-Boot prompt.
42*4882a593Smuzhiyunc) while on, using static precautions, move JP10 back to the failed image.
43*4882a593Smuzhiyund) use "md fff00000" to confirm you are looking at the failed image
44*4882a593Smuzhiyune) turn off write protect with "prot off all"
45*4882a593Smuzhiyunf) get new image, i.e. "tftp 200000 /somepath/u-boot.bin"
46*4882a593Smuzhiyung) erase failed image: "erase FFF00000 FFF5FFFF"
47*4882a593Smuzhiyunh) copy in new image: "cp.b 200000 FFF00000 60000"
48*4882a593Smuzhiyuni) ensure new image is written: "md fff00000"
49*4882a593Smuzhiyunk) power cycle the board and confirm new image works.
50