Joe Hamman | c646bba | 2007-08-09 15:11:03 -0500 | [diff] [blame] | 1 | Wind River SBC8641D reference board |
| 2 | =========================== |
| 3 | |
| 4 | Created 06/14/2007 Joe Hamman |
| 5 | Copyright 2007, Embedded Specialties, Inc. |
Paul Gortmaker | ecdc3df | 2015-10-17 16:40:31 -0400 | [diff] [blame] | 6 | Copyright 2007 Wind River Systems, Inc. |
Joe Hamman | c646bba | 2007-08-09 15:11:03 -0500 | [diff] [blame] | 7 | ----------------------------- |
| 8 | |
| 9 | 1. Building U-Boot |
| 10 | ------------------ |
| 11 | The SBC8641D code is known to build using ELDK 4.1. |
| 12 | |
| 13 | $ make sbc8641d_config |
| 14 | Configuring for sbc8641d board... |
| 15 | |
| 16 | $ make |
| 17 | |
| 18 | |
| 19 | 2. Switch and Jumper Settings |
| 20 | ----------------------------- |
| 21 | All Jumpers & Switches are in their default positions. Please refer to |
| 22 | the board documentation for details. Some settings control CPU voltages |
| 23 | and settings may change with board revisions. |
| 24 | |
| 25 | 3. Known limitations |
| 26 | -------------------- |
| 27 | PCI: |
| 28 | The PCI command may hang if no boards are present in either slot. |
Paul Gortmaker | 743d759 | 2015-10-17 16:40:29 -0400 | [diff] [blame] | 29 | |
| 30 | 4. Reflashing U-Boot |
| 31 | -------------------- |
| 32 | The board has two independent flash devices which can be used for dual |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame^] | 33 | booting, or for U-Boot backup and recovery. A two pin jumper on the |
Paul Gortmaker | 743d759 | 2015-10-17 16:40:29 -0400 | [diff] [blame] | 34 | three pin JP10 determines which device is attached to /CS0 line. |
| 35 | |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame^] | 36 | Assuming one device has a functional U-Boot, and the other device has |
Paul Gortmaker | 743d759 | 2015-10-17 16:40:29 -0400 | [diff] [blame] | 37 | a recently installed non-functional image, to perform a recovery from |
| 38 | that non-functional image goes essentially as follows: |
| 39 | |
| 40 | a) power down the board and jumper JP10 to select the functional image. |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame^] | 41 | b) power on the board and let it get to U-Boot prompt. |
Paul Gortmaker | 743d759 | 2015-10-17 16:40:29 -0400 | [diff] [blame] | 42 | c) while on, using static precautions, move JP10 back to the failed image. |
| 43 | d) use "md fff00000" to confirm you are looking at the failed image |
| 44 | e) turn off write protect with "prot off all" |
| 45 | f) get new image, i.e. "tftp 200000 /somepath/u-boot.bin" |
Paul Gortmaker | ecdc3df | 2015-10-17 16:40:31 -0400 | [diff] [blame] | 46 | g) erase failed image: "erase FFF00000 FFF5FFFF" |
| 47 | h) copy in new image: "cp.b 200000 FFF00000 60000" |
Paul Gortmaker | 743d759 | 2015-10-17 16:40:29 -0400 | [diff] [blame] | 48 | i) ensure new image is written: "md fff00000" |
| 49 | k) power cycle the board and confirm new image works. |