~ubuntu-branches/ubuntu/maverick/u-boot-omap3/maverick

« back to all changes in this revision

Viewing changes to board/LEOX/elpt860/README.LEOX

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-03-22 15:06:23 UTC
  • Revision ID: james.westby@ubuntu.com-20100322150623-i21g8rgiyl5dohag
Tags: upstream-2010.3git20100315
Import upstream version 2010.3git20100315

Show diffs side-by-side

added added

removed removed

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