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 =============================================================================
49 ##################################################
50 # Operation on the serial console (SMC1)
51 ##############################
53 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
65 Type "run nfsboot" to mount root filesystem over NFS
67 Hit any key to stop autoboot: 0
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'
76 coninfo - print console devices and informations
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
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
107 ##################################################
108 # Environment Variables (CONFIG_ENV_IS_IN_NVRAM)
109 ##############################
111 LEOX_elpt860: printenv
118 ethaddr=00:03:ca:00:64:df
120 netmask=255.255.255.0
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
134 Environment size: 730/16380 bytes
136 ##################################################
137 # Flash Memory Information
138 ##############################
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
148 ##################################################
149 # Board Information Structure
150 ##############################
153 memstart = 0x00000000
155 flashstart = 0x02000000
156 flashsize = 0x00080000
157 flashoffset = 0x00030000
158 sramstart = 0x00000000
159 sramsize = 0x00000000
160 immr_base = 0xFF000000
161 bootflags = 0x00000001
164 ethaddr = 00:03:ca:00:64:df
165 IP addr = 192.168.0.30
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 ##############################
176 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
188 Type "run nfsboot" to mount root filesystem over NFS
190 Hit any key to stop autoboot: 0
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 ...
209 Hit any key to exit ...
211 ## Application terminated, rc = 0x0
213 ##################################################
214 # Image download and run over ethernet interface
215 # Linux-2.4.4 (uImage) + Root filesystem mounted over NFS
216 ##############################
218 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
230 Type "run nfsboot" to mount root filesystem over NFS
232 Hit any key to stop autoboot: 0
233 LEOX_elpt860: run nfsboot
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 #############################
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
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
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:
296 Checking all file systems.
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 ]
307 Last login: Wed Dec 31 19:00:41 on ttyS0
310 ##################################################
311 # Image download and run over ethernet interface
312 # Linux-2.4.4 + Root filesystem mounted from RAM (pMulti)
313 ##############################
315 U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
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
327 Type "run nfsboot" to mount root filesystem over NFS
329 Hit any key to stop autoboot: 0
330 LEOX_elpt860: run ramboot
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 ########################################################
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
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
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
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
392 Configuring Gateway...
394 Please press Enter to activate this console.
398 Welcome to Linux-2.4.4 for ELPT CPU board (MPC860T @ 50MHz)
405 | | _ ____ _ _ _ _ 8`._.' Y8.
406 | | | | _ \| | | |\ \/ / d/ `8b.
407 | |___ | | | | | |_| |/ \ .dP . Y8b.
408 |_____||_|_| |_|\____|\_/\_/ d8:' " `::88b.
416 login[21]: root login on `ttyS0'
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.