Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / u-boot / board / LEOX / elpt860 / README.LEOX
1 =============================================================================
2
3              U-Boot port on the LEOX's ELPT860 CPU board
4              -------------------------------------------
5
6 LEOX.org is about the development of free hardware and software resources
7          for system on chip.
8
9 For more information, contact The LEOX team <team@leox.org>
10
11 References:
12 ~~~~~~~~~~
13     1) Get the last stable release from denx.de:
14            o ftp://ftp.denx.de/pub/u-boot/u-boot-0.2.0.tar.bz2
15     2) Get the current CVS snapshot:
16            o cvs -d:pserver:anonymous@cvs.u-boot.sourceforge.net:/cvsroot/u-boot login
17            o cvs -z6 -d:pserver:anonymous@cvs.u-boot.sourceforge.net:/cvsroot/u-boot co -P u-boot
18
19 =============================================================================
20
21 The ELPT860 CPU board has the following features:
22
23 Processor:      - MPC860T @ 50MHz
24                 - PowerPC Core
25                 - 65 MIPS
26                 - Caches: D->4KB, I->4KB
27                 - CPM: 4 SCCs, 2 SMCs
28                 - Ethernet 10/100
29                 - SPI, I2C, PCMCIA, Parallel
30
31 CPU board:      - DRAM:   16 MB
32                 - FLASH: 512 KB + (2 * 4 MB)
33                 - NVRAM: 128 KB
34                 - 1 Serial link
35                 - 2 Ethernet 10 BaseT Channels
36
37 On power-up the processor jumps to the address of 0x02000100
38
39 Thus, U-Boot is configured to reside in flash starting at the address of
40 0x02001000.  The environment space is located in NVRAM separately from
41 U-Boot, at the address of 0x03000000.
42
43 =============================================================================
44
45                         U-Boot test results
46
47 =============================================================================
48
49 ##################################################
50 # Operation on the serial console (SMC1)
51 ##############################
52
53 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
54
55 CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
56          *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
57 Board: ### No HW ID - assuming ELPT860
58 DRAM:  16 MB
59 FLASH: 512 kB
60 In:    serial
61 Out:   serial
62 Err:   serial
63 Net:   SCC ETHERNET
64
65 Type "run nfsboot" to mount root filesystem over NFS
66
67 Hit any key to stop autoboot:  0
68 LEOX_elpt860: help
69 askenv  - get environment variables from stdin
70 base    - print or set address offset
71 bdinfo  - print Board Info structure
72 bootm   - boot application image from memory
73 bootp   - boot image via network using BootP/TFTP protocol
74 bootd   - boot default, i.e., run 'bootcmd'
75 cmp     - memory compare
76 coninfo - print console devices and informations
77 cp      - memory copy
78 crc32   - checksum calculation
79 echo    - echo args to console
80 erase   - erase FLASH memory
81 flinfo  - print FLASH memory information
82 go      - start application at address 'addr'
83 help    - print online help
84 iminfo  - print header information for application image
85 loadb   - load binary file over serial line (kermit mode)
86 loads   - load S-Record file over serial line
87 loop    - infinite loop on address range
88 md      - memory display
89 mm      - memory modify (auto-incrementing)
90 mtest   - simple RAM test
91 mw      - memory write (fill)
92 nm      - memory modify (constant address)
93 printenv- print environment variables
94 protect - enable or disable FLASH write protection
95 rarpboot- boot image via network using RARP/TFTP protocol
96 reset   - Perform RESET of the CPU
97 run     - run commands in an environment variable
98 saveenv - save environment variables to persistent storage
99 setenv  - set environment variables
100 sleep   - delay execution for some time
101 source  - run script from memory
102 tftpboot- boot image via network using TFTP protocol
103                and env variables ipaddr and serverip
104 version - print monitor version
105 ?       - alias for 'help'
106
107 ##################################################
108 # Environment Variables (CONFIG_ENV_IS_IN_NVRAM)
109 ##############################
110
111 LEOX_elpt860: printenv
112 bootdelay=5
113 loads_echo=1
114 baudrate=9600
115 stdin=serial
116 stdout=serial
117 stderr=serial
118 ethaddr=00:03:ca:00:64:df
119 ipaddr=192.168.0.30
120 netmask=255.255.255.0
121 serverip=192.168.0.1
122 nfsserverip=192.168.0.1
123 preboot=echo;echo Type "run nfsboot" to mount root filesystem over NFS;echo
124 gatewayip=192.168.0.1
125 ramargs=setenv bootargs root=/dev/ram rw
126 rootargs=setenv rootpath /tftp/${ipaddr}
127 nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${nfsserverip}:${rootpath}
128 addip=setenv bootargs ${bootargs} ip=${ipaddr}:${nfsserverip}:${gatewayip}:${netmask}:${hostname}:eth0:
129 ramboot=tftp 400000 /home/leox/pMulti;run ramargs;bootm
130 nfsboot=tftp 400000 /home/leox/uImage;run rootargs;run nfsargs;run addip;bootm
131 bootcmd=run ramboot
132 clocks_in_mhz=1
133
134 Environment size: 730/16380 bytes
135
136 ##################################################
137 # Flash Memory Information
138 ##############################
139
140 LEOX_elpt860: flinfo
141
142 Bank # 1: AMD AM29F040   (4 Mbits)
143   Size: 512 KB in 8 Sectors
144   Sector Start Addresses:
145     02000000 (RO) 02010000 (RO) 02020000 (RO) 02030000 (RO) 02040000
146     02050000      02060000      02070000
147
148 ##################################################
149 # Board Information Structure
150 ##############################
151
152 LEOX_elpt860: bdinfo
153 memstart    = 0x00000000
154 memsize     = 0x01000000
155 flashstart  = 0x02000000
156 flashsize   = 0x00080000
157 flashoffset = 0x00030000
158 sramstart   = 0x00000000
159 sramsize    = 0x00000000
160 immr_base   = 0xFF000000
161 bootflags   = 0x00000001
162 intfreq     =     50 MHz
163 busfreq     =     50 MHz
164 ethaddr     = 00:03:ca:00:64:df
165 IP addr     = 192.168.0.30
166 baudrate    =   9600 bps
167
168 ##################################################
169 # Image Download and run over serial port
170 #    hello_world (S-Record image)
171 #    ===> 1) Enter "loads" command into U-Boot monitor
172 #    ===> 2) From TeraTerm's bar menu, Select 'File/Send file...'
173 #            Then select 'hello_world.srec' with the file browser
174 ##############################
175
176 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
177
178 CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
179          *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
180 Board: ### No HW ID - assuming ELPT860
181 DRAM:  16 MB
182 FLASH: 512 kB
183 In:    serial
184 Out:   serial
185 Err:   serial
186 Net:   SCC ETHERNET
187
188 Type "run nfsboot" to mount root filesystem over NFS
189
190 Hit any key to stop autoboot:  0
191 LEOX_elpt860: loads
192 ## Ready for S-Record download ...
193 S804040004F3050154000501709905014C000501388D
194 ## First Load Addr = 0x00040000
195 ## Last  Load Addr = 0x0005018B
196 ## Total Size      = 0x0001018C = 65932 Bytes
197 ## Start Addr      = 0x00040004
198 LEOX_elpt860: go 40004 This is a test !!!
199 ## Starting application at 0x00040004 ...
200 Hello World
201 argc = 6
202 argv[0] = "40004"
203 argv[1] = "This"
204 argv[2] = "is"
205 argv[3] = "a"
206 argv[4] = "test"
207 argv[5] = "!!!"
208 argv[6] = "<NULL>"
209 Hit any key to exit ...
210
211 ## Application terminated, rc = 0x0
212
213 ##################################################
214 # Image download and run over ethernet interface
215 #    Linux-2.4.4 (uImage) + Root filesystem mounted over NFS
216 ##############################
217
218 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
219
220 CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
221          *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
222 Board: ### No HW ID - assuming ELPT860
223 DRAM:  16 MB
224 FLASH: 512 kB
225 In:    serial
226 Out:   serial
227 Err:   serial
228 Net:   SCC ETHERNET
229
230 Type "run nfsboot" to mount root filesystem over NFS
231
232 Hit any key to stop autoboot:  0
233 LEOX_elpt860: run nfsboot
234 ARP broadcast 1
235 TFTP from server 192.168.0.1; our IP address is 192.168.0.30
236 Filename '/home/leox/uImage'.
237 Load address: 0x400000
238 Loading: #################################################################
239          #############################
240 done
241 Bytes transferred = 477294 (7486e hex)
242 ## Booting image at 00400000 ...
243    Image Name:   Linux-2.4.4
244    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
245    Data Size:    477230 Bytes = 466 kB = 0 MB
246    Load Address: 00000000
247    Entry Point:  00000000
248    Verifying Checksum ... OK
249    Uncompressing Kernel Image ... OK
250 Linux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002
251 On node 0 totalpages: 4096
252 zone(0): 4096 pages.
253 zone(1): 0 pages.
254 zone(2): 0 pages.
255 Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.1:/tftp/192.168.0.30 ip=192.168.0.30:192.168.0.1:192.168.0.1:255.255.255.0::eth0:
256 rtsched version <20010618.1050.24>
257 Decrementer Frequency: 3125000
258 Warning: real time clock seems stuck!
259 Calibrating delay loop... 49.76 BogoMIPS
260 Memory: 14720k available (928k kernel code, 384k data, 44k init, 0k highmem)
261 Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
262 Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
263 Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
264 Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
265 POSIX conformance testing by UNIFIX
266 Linux NET4.0 for Linux 2.4
267 Based upon Swansea University Computer Society NET3.039
268 Starting kswapd v1.8
269 CPM UART driver version 0.03
270 ttyS0 on SMC1 at 0x0280, BRG1
271 block: queued sectors max/low 9701kB/3233kB, 64 slots per queue
272 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
273 eth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:df
274 NET4: Linux TCP/IP 1.0 for NET4.0
275 IP Protocols: ICMP, UDP, TCP
276 IP: routing cache hash table of 512 buckets, 4Kbytes
277 TCP: Hash tables configured (established 1024 bind 1024)
278 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
279 Looking up port of RPC 100003/2 on 192.168.0.1
280 Looking up port of RPC 100005/2 on 192.168.0.1
281 VFS: Mounted root (nfs filesystem).
282 Freeing unused kernel memory: 44k init
283 INIT: version 2.78 booting
284                 Welcome to DENX Embedded Linux Environment
285                 Press 'I' to enter interactive startup.
286 Mounting proc filesystem:  [  OK  ]
287 Configuring kernel parameters:  [  OK  ]
288 Cannot access the Hardware Clock via any known method.
289 Use the --debug option to see the details of our search for an access method.
290 Setting clock : Wed Dec 31 19:00:11 EST 1969 [  OK  ]
291 Activating swap partitions:  [  OK  ]
292 Setting hostname 192.168.0.30:  [  OK  ]
293 Finding module dependencies:
294 [  OK  ]
295 Checking filesystems
296 Checking all file systems.
297 [  OK  ]
298 Mounting local filesystems:  [  OK  ]
299 Enabling swap space:  [  OK  ]
300 INIT: Entering runlevel: 3
301 Entering non-interactive startup
302 Starting system logger: [  OK  ]
303 Starting kernel logger: [  OK  ]
304 Starting xinetd: [  OK  ]
305
306 192 login: root
307 Last login: Wed Dec 31 19:00:41 on ttyS0
308 bash-2.04#
309
310 ##################################################
311 # Image download and run over ethernet interface
312 #    Linux-2.4.4 + Root filesystem mounted from RAM (pMulti)
313 ##############################
314
315 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
316
317 CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
318          *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
319 Board: ### No HW ID - assuming ELPT860
320 DRAM:  16 MB
321 FLASH: 512 kB
322 In:    serial
323 Out:   serial
324 Err:   serial
325 Net:   SCC ETHERNET
326
327 Type "run nfsboot" to mount root filesystem over NFS
328
329 Hit any key to stop autoboot:  0
330 LEOX_elpt860: run ramboot
331 ARP broadcast 1
332 TFTP from server 192.168.0.1; our IP address is 192.168.0.30
333 Filename '/home/leox/pMulti'.
334 Load address: 0x400000
335 Loading: #################################################################
336          #################################################################
337          #################################################################
338          #################################################################
339          #################################################################
340          ########################################################
341 done
342 Bytes transferred = 1947816 (1db8a8 hex)
343 ## Booting image at 00400000 ...
344    Image Name:   linux-2.4.4-2002-03-21 Multiboot
345    Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
346    Data Size:    1947752 Bytes = 1902 kB = 1 MB
347    Load Address: 00000000
348    Entry Point:  00000000
349    Contents:
350    Image 0:   477230 Bytes = 466 kB = 0 MB
351    Image 1:  1470508 Bytes = 1436 kB = 1 MB
352    Verifying Checksum ... OK
353    Uncompressing Multi-File Image ... OK
354    Loading Ramdisk to 00e44000, end 00fab02c ... OK
355 Linux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002
356 On node 0 totalpages: 4096
357 zone(0): 4096 pages.
358 zone(1): 0 pages.
359 zone(2): 0 pages.
360 Kernel command line: root=/dev/ram rw
361 rtsched version <20010618.1050.24>
362 Decrementer Frequency: 3125000
363 Warning: real time clock seems stuck!
364 Calibrating delay loop... 49.76 BogoMIPS
365 Memory: 13280k available (928k kernel code, 384k data, 44k init, 0k highmem)
366 Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
367 Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
368 Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
369 Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
370 POSIX conformance testing by UNIFIX
371 Linux NET4.0 for Linux 2.4
372 Based upon Swansea University Computer Society NET3.039
373 Starting kswapd v1.8
374 CPM UART driver version 0.03
375 ttyS0 on SMC1 at 0x0280, BRG1
376 block: queued sectors max/low 8741kB/2913kB, 64 slots per queue
377 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
378 eth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:df
379 RAMDISK: Compressed image found at block 0
380 Freeing initrd memory: 1436k freed
381 NET4: Linux TCP/IP 1.0 for NET4.0
382 IP Protocols: ICMP, UDP, TCP
383 IP: routing cache hash table of 512 buckets, 4Kbytes
384 TCP: Hash tables configured (established 1024 bind 1024)
385 IP-Config: Incomplete network configuration information.
386 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
387 VFS: Mounted root (ext2 filesystem).
388 Freeing unused kernel memory: 44k init
389 init started:  BusyBox v0.60.2 (2002.07.01-12:06+0000) multi-call Configuring hostname
390 Configuring lo...
391 Configuring eth0...
392 Configuring Gateway...
393
394 Please press Enter to activate this console.
395
396 ELPT860 login: root
397 Password:
398 Welcome to Linux-2.4.4 for ELPT CPU board (MPC860T @ 50MHz)
399
400                                               a8888b.
401                                              d888888b.
402                                              8P"YP"Y88
403      _      _                                8|o||o|88
404     | |    |_|                               8'    .88
405     | |     _ ____  _   _  _  _              8`._.' Y8.
406     | |    | |  _ \| | | |\ \/ /            d/      `8b.
407     | |___ | | | | | |_| |/    \          .dP   .     Y8b.
408     |_____||_|_| |_|\____|\_/\_/         d8:'   "   `::88b.
409                                         d8"           `Y88b
410                                        :8P     '       :888
411                                         8a.    :      _a88P
412                                       ._/"Yaa_ :    .| 88P|
413                                       \    YP"      `| 8P  `.
414                                       /     \._____.d|    .'
415                                       `--..__)888888P`._.'
416 login[21]: root login  on `ttyS0'
417
418
419
420 BusyBox v0.60.3 (2002.07.20-10:39+0000) Built-in shell (ash)
421 Enter 'help' for a list of built-in commands.
422
423 root@ELPT860:~ #