1 =============================================================================
3 U-Boot port on the LEOX's ELPT860 CPU board
4 -------------------------------------------
6 LEOX.org is about the development of free hardware and software resources
9 For more information, contact The LEOX team <team@leox.org>
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
19 =============================================================================
21 The ELPT860 CPU board has the following features:
23 Processor: - MPC860T @ 50MHz
26 - Caches: D->4KB, I->4KB
29 - SPI, I2C, PCMCIA, Parallel
31 CPU board: - DRAM: 16 MB
32 - FLASH: 512 KB + (2 * 4 MB)
35 - 2 Ethernet 10 BaseT Channels
37 On power-up the processor jumps to the address of 0x02000100
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.
43 =============================================================================
47 =============================================================================
50 ##################################################
51 # Operation on the serial console (SMC1)
52 ##############################
54 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
66 Type "run nfsboot" to mount root filesystem over NFS
68 Hit any key to stop autoboot: 0
70 askenv - get environment variables from stdin
71 autoscr - run script from memory
72 base - print or set address offset
73 bdinfo - print Board Info structure
74 bootm - boot application image from memory
75 bootp - boot image via network using BootP/TFTP protocol
76 bootd - boot default, i.e., run 'bootcmd'
78 coninfo - print console devices and informations
80 crc32 - checksum calculation
81 echo - echo args to console
82 erase - erase FLASH memory
83 flinfo - print FLASH memory information
84 go - start application at address 'addr'
85 help - print online help
86 iminfo - print header information for application image
87 loadb - load binary file over serial line (kermit mode)
88 loads - load S-Record file over serial line
89 loop - infinite loop on address range
91 mm - memory modify (auto-incrementing)
92 mtest - simple RAM test
93 mw - memory write (fill)
94 nm - memory modify (constant address)
95 printenv- print environment variables
96 protect - enable or disable FLASH write protection
97 rarpboot- boot image via network using RARP/TFTP protocol
98 reset - Perform RESET of the CPU
99 run - run commands in an environment variable
100 saveenv - save environment variables to persistent storage
101 setenv - set environment variables
102 sleep - delay execution for some time
103 tftpboot- boot image via network using TFTP protocol
104 and env variables ipaddr and serverip
105 version - print monitor version
108 ##################################################
109 # Environment Variables (CFG_ENV_IS_IN_NVRAM)
110 ##############################
112 LEOX_elpt860: printenv
119 ethaddr=00:03:ca:00:64:df
121 netmask=255.255.255.0
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
135 Environment size: 730/16380 bytes
137 ##################################################
138 # Flash Memory Information
139 ##############################
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
149 ##################################################
150 # Board Information Structure
151 ##############################
154 memstart = 0x00000000
156 flashstart = 0x02000000
157 flashsize = 0x00080000
158 flashoffset = 0x00030000
159 sramstart = 0x00000000
160 sramsize = 0x00000000
161 immr_base = 0xFF000000
162 bootflags = 0x00000001
165 ethaddr = 00:03:ca:00:64:df
166 IP addr = 192.168.0.30
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 ##############################
177 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
189 Type "run nfsboot" to mount root filesystem over NFS
191 Hit any key to stop autoboot: 0
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 ...
210 Hit any key to exit ...
212 ## Application terminated, rc = 0x0
214 ##################################################
215 # Image download and run over ethernet interface
216 # Linux-2.4.4 (uImage) + Root filesystem mounted over NFS
217 ##############################
219 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
231 Type "run nfsboot" to mount root filesystem over NFS
233 Hit any key to stop autoboot: 0
234 LEOX_elpt860: run nfsboot
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 #############################
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
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
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:
297 Checking all file systems.
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 ]
308 Last login: Wed Dec 31 19:00:41 on ttyS0
311 ##################################################
312 # Image download and run over ethernet interface
313 # Linux-2.4.4 + Root filesystem mounted from RAM (pMulti)
314 ##############################
316 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
328 Type "run nfsboot" to mount root filesystem over NFS
330 Hit any key to stop autoboot: 0
331 LEOX_elpt860: run ramboot
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 ########################################################
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
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
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
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
393 Configuring Gateway...
395 Please press Enter to activate this console.
399 Welcome to Linux-2.4.4 for ELPT CPU board (MPC860T @ 50MHz)
406 | | _ ____ _ _ _ _ 8`._.' Y8.
407 | | | | _ \| | | |\ \/ / d/ `8b.
408 | |___ | | | | | |_| |/ \ .dP . Y8b.
409 |_____||_|_| |_|\____|\_/\_/ d8:' " `::88b.
417 login[21]: root login on `ttyS0'
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.