OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [frv/] [frv400/] [current/] [misc/] [install_notes] - Blame information for rev 791

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
3 October, 2001
2
 
3
Installing RedBoot on Fujitsu FRV400 system.
4
 
5
Orient the motherboard like this:
6
 
7
+-------------------------------------------------------------+
8
|                                                             |
9
|   |========================|  |==========================|  |
10
|   |========================|  |==========================|  |
11
|               CPU board                                     |
12
| +-+-+                                                       |
13
| |o|o|                                                       |
14
| |o|o|                                                       |
15
| |o|o|                                                       |
16
| |o|o|    +-+                                                |
17
| |o|o|    |o|  Special power                                 |
18
| |o|o|    |o|  cable to CPU board                            |
19
| |o|o|    |o|                                                |
20
| |o|o|    |o|                                                |
21
| +-+-+    +-+                                                |
22
|                                                             |
23
| ATX                                                         |
24
|Power                                                        |
25
|                           +------------------------------+  |
26
|                           |      |                       |  |
27
|                           +------------------------------+  |
28
|                                  PCI slot                   |
29
|                                                             |
30
|                           +------------------------------+  |
31
|                           |      |                       |  |
32
|                           +------------------------------+  |
33
|                                  PCI slot                   |
34
|                                                             |
35
|                           +------------------------------+  |
36
|                           |      |                       |  |
37
|                           +------------------------------+  |
38
|                                  PCI slot                   |
39
|                                                             |
40
|         +--------+  +--------+  +--------+                  |
41
|         |xxoooooX|  |oooooooo|  |xxoxxxxx|            R1    |
42
|         +--------+  +--------+  +--------+            R     |
43
|           SW1          CLK1        CLK2               R  SS==]
44
|                                                       R  SS  ]
45
|                                                       R  SS  ]
46
|                                                       R  SS==]
47
|                                                       R     |
48
|                                                             |
49
|                                                             |
50
|                                                             |
51
+-------------------------------------------------------------+
52
 
53
For the switches, x is down (on this diagram), o is up and X
54
will be both.
55
 
56
There is also a ribbon cable from the CPU board to the serial
57
connectors.  Orient this cable so that the red stripe connects
58
to pin R1 and is at the bottom of the CPU board.  Directions
59
are in the hardware installation guide, but this part wasn't
60
terribly clear to me.
61
 
62
1. Bring up the existing Fujitsu board monitor.
63
 
64
   Attach a serial cable to the top serial port - 38400/8N1.
65
   Make sure that SW1-1 (X above) is up.
66
   Turn on power.  You will also have to press the RED button.
67
 
68
2. Download RedBoot into the FLASH.
69
 
70
   Using the attached programs (minicom has a terrible time
71
   with ASCII downloads - use these instead), download the
72
   frv.ROM image.  Use these commands
73
 
74
      *************************************************************
75
      ** VDK LOADER for FR400 (BOOT ROM:IC8)                     **
76
      **                                                         **
77
      **                                           Version 1.02  **
78
      ** ALL RIGHTS RESERVED, COPYRIGHT(C) FUJITSU LIMITED 2000  **
79
      *************************************************************
80
 
81
      Would you like to check SDRAM and SRAM ? (Y/N) : n
82
 
83
      >r 3f00000
84
      Flash ROM : IC7. OK ? (Y/N) Y
85
      Blank check
86
      Blank error !! Erase ? (Y/N) Y
87
      Erase..
88
      Work memory clear
89
      Hex Data Offset Address=0x03F00000
90
      Recieve....
91
 
92
   At this point, send the file frv.ROM using simple ASCII protocol.
93
   Since minicom does this poorly, I use the attached 'dl_slow' script.
94
   I set up minicom like this:
95
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
96
x     Name             Program                 Name U/D FullScr IO-Red. Multi  x
97
x A  zmodem     /usr/bin/sz -vv -b              Y    U    N       Y       Y    x
98
x B  ymodem     /usr/bin/sb -vv                 Y    U    N       Y       Y    x
99
x C  xmodem     /usr/bin/sx -vv -k              Y    U    N       Y       N    x
100
x D  zmodem     /usr/bin/rz -vv -b -E           N    D    N       Y       Y    x
101
x E  ymodem     /usr/bin/rb -vv                 N    D    N       Y       Y    x
102
x F  xmodem     /usr/bin/rx -vv                 Y    D    N       Y       N    x
103
x G  kermit     /usr/bin/kermit -i -l %l -s     Y    U    Y       N       N    x
104
x H  kermit     /usr/bin/kermit -i -l %l -r     N    D    Y       N       N    x
105
x I  ascii      /usr/bin/ascii-xfr -dsv         Y    U    N       Y       N    x
106
x J  slow       /home/gthomas/bin/dl_slow       Y    U    N       Y       N    x
107
x K    -                                                                       x
108
x L    -                                                                       x
109
x M  Zmodem download string activates... D                                     x
110
x N  Use filename selection window...... No                                    x
111
x O  Prompt for download directory...... No                                    x
112
x                                                                              x
113
x   Change which setting? (SPACE to delete)                                    x
114
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
115
 
116
   You'll know if the file is being transferred correctly by the LEDs doing a
117
   little address dance (i.e. they are showing the address being loaded).
118
 
119
   When the download completes, you may need to hit 'enter' a couple of times.
120
   Then you should see:
121
      Write Start...
122
      Write OK!
123
      Verify Start...
124
      Verify OK!
125
      Complete !!
126
 
127
 
128
      >
129
 
130
   At this point, change SW1-1 to be down (x).  Press reset (the bottom blue
131
   button on the CPU).  You should get:
132
 
133
      +FLASH configuration checksum error or invalid key
134
 
135
      RedBoot(tm) bootstrap and debug environment [ROMRAM]
136
      Non-certified release, version UNKNOWN - built 13:39:14, Oct  2 2001
137
 
138
      Platform: MB93091-CB10 evaluation board (Fujitsu FR400)
139
      Copyright (C) 2000, 2001, Free Software Foundation, Inc.
140
 
141
      RAM: 0x00000000-0x04000000, 0x00007000-0x03fed000 available
142
      FLASH: 0xff000000 - 0xff200000, 32 blocks of 0x00010000 bytes each.
143
      RedBoot>
144
 
145
   Be sure and run 'fis init'.
146
 
147
Notes:
148
 
149
* There are two FLASH devices on the motherboard.  Using SW1-1, they swap
150
  memory addresses.  We use one (IC7) and the Fujitsu loader uses the other.
151
  I see no reason (ATM) to replace the Fujitsu monitor other than to let
152
  RedBoot be the primary.  This way, reverting SW1-1, at least you can always
153
  reprogram RedBoot.
154
 
155
  CAUTION!! Do not change SW1-1 until after you've programmed RedBoot.  If
156
  you do it beforehand, you'll overwrite the Fujitsu monitor.
157
 
158
 
159
 
160
 
161
 
162
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.