blob: aa41ff8fd2c0dfe030e592219af52268f306af16 [file] [log] [blame]
wdenkef5fe752003-03-12 10:41:04 +00001=============================================================================
2
wdenk57b2d802003-06-27 21:31:46 +00003 U-Boot port on the LEOX's ELPT860 CPU board
4 -------------------------------------------
wdenkef5fe752003-03-12 10:41:04 +00005
6LEOX.org is about the development of free hardware and software resources
wdenk57b2d802003-06-27 21:31:46 +00007 for system on chip.
wdenkef5fe752003-03-12 10:41:04 +00008
9For more information, contact The LEOX team <team@leox.org>
10
11References:
12~~~~~~~~~~
13 1) Get the last stable release from denx.de:
wdenk57b2d802003-06-27 21:31:46 +000014 o ftp://ftp.denx.de/pub/u-boot/u-boot-0.2.0.tar.bz2
wdenkef5fe752003-03-12 10:41:04 +000015 2) Get the current CVS snapshot:
wdenk57b2d802003-06-27 21:31:46 +000016 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
wdenkef5fe752003-03-12 10:41:04 +000018
19=============================================================================
20
21The ELPT860 CPU board has the following features:
22
23Processor: - 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
31CPU 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
37On power-up the processor jumps to the address of 0x02000100
38
39Thus, U-Boot is configured to reside in flash starting at the address of
400x02001000. The environment space is located in NVRAM separately from
41U-Boot, at the address of 0x03000000.
42
43=============================================================================
44
wdenk57b2d802003-06-27 21:31:46 +000045 U-Boot test results
wdenkef5fe752003-03-12 10:41:04 +000046
47=============================================================================
48
wdenkef5fe752003-03-12 10:41:04 +000049##################################################
50# Operation on the serial console (SMC1)
51##############################
52
53U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
54
55CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
wdenk57b2d802003-06-27 21:31:46 +000056 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
wdenkef5fe752003-03-12 10:41:04 +000057Board: ### No HW ID - assuming ELPT860
58DRAM: 16 MB
59FLASH: 512 kB
60In: serial
61Out: serial
62Err: serial
63Net: SCC ETHERNET
64
65Type "run nfsboot" to mount root filesystem over NFS
66
67Hit any key to stop autoboot: 0
68LEOX_elpt860: help
69askenv - get environment variables from stdin
wdenkef5fe752003-03-12 10:41:04 +000070base - print or set address offset
71bdinfo - print Board Info structure
72bootm - boot application image from memory
73bootp - boot image via network using BootP/TFTP protocol
74bootd - boot default, i.e., run 'bootcmd'
75cmp - memory compare
76coninfo - print console devices and informations
77cp - memory copy
78crc32 - checksum calculation
79echo - echo args to console
80erase - erase FLASH memory
81flinfo - print FLASH memory information
82go - start application at address 'addr'
83help - print online help
84iminfo - print header information for application image
85loadb - load binary file over serial line (kermit mode)
86loads - load S-Record file over serial line
87loop - infinite loop on address range
88md - memory display
89mm - memory modify (auto-incrementing)
90mtest - simple RAM test
91mw - memory write (fill)
92nm - memory modify (constant address)
93printenv- print environment variables
94protect - enable or disable FLASH write protection
95rarpboot- boot image via network using RARP/TFTP protocol
96reset - Perform RESET of the CPU
97run - run commands in an environment variable
98saveenv - save environment variables to persistent storage
99setenv - set environment variables
100sleep - delay execution for some time
Peter Tyserd78876c2009-09-16 21:38:10 -0500101source - run script from memory
wdenkef5fe752003-03-12 10:41:04 +0000102tftpboot- boot image via network using TFTP protocol
wdenk57b2d802003-06-27 21:31:46 +0000103 and env variables ipaddr and serverip
wdenkef5fe752003-03-12 10:41:04 +0000104version - print monitor version
105? - alias for 'help'
106
107##################################################
Jean-Christophe PLAGNIOL-VILLARDfdb79c32008-09-10 22:47:59 +0200108# Environment Variables (CONFIG_ENV_IS_IN_NVRAM)
wdenkef5fe752003-03-12 10:41:04 +0000109##############################
110
111LEOX_elpt860: printenv
112bootdelay=5
113loads_echo=1
114baudrate=9600
115stdin=serial
116stdout=serial
117stderr=serial
118ethaddr=00:03:ca:00:64:df
119ipaddr=192.168.0.30
120netmask=255.255.255.0
121serverip=192.168.0.1
122nfsserverip=192.168.0.1
123preboot=echo;echo Type "run nfsboot" to mount root filesystem over NFS;echo
124gatewayip=192.168.0.1
125ramargs=setenv bootargs root=/dev/ram rw
Wolfgang Denk86eb3b72005-11-20 21:40:11 +0100126rootargs=setenv rootpath /tftp/${ipaddr}
127nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${nfsserverip}:${rootpath}
128addip=setenv bootargs ${bootargs} ip=${ipaddr}:${nfsserverip}:${gatewayip}:${netmask}:${hostname}:eth0:
wdenkef5fe752003-03-12 10:41:04 +0000129ramboot=tftp 400000 /home/leox/pMulti;run ramargs;bootm
130nfsboot=tftp 400000 /home/leox/uImage;run rootargs;run nfsargs;run addip;bootm
131bootcmd=run ramboot
132clocks_in_mhz=1
133
134Environment size: 730/16380 bytes
135
136##################################################
137# Flash Memory Information
138##############################
139
140LEOX_elpt860: flinfo
141
142Bank # 1: AMD AM29F040 (4 Mbits)
143 Size: 512 KB in 8 Sectors
144 Sector Start Addresses:
wdenk57b2d802003-06-27 21:31:46 +0000145 02000000 (RO) 02010000 (RO) 02020000 (RO) 02030000 (RO) 02040000
146 02050000 02060000 02070000
wdenkef5fe752003-03-12 10:41:04 +0000147
148##################################################
149# Board Information Structure
150##############################
151
152LEOX_elpt860: bdinfo
153memstart = 0x00000000
154memsize = 0x01000000
155flashstart = 0x02000000
156flashsize = 0x00080000
157flashoffset = 0x00030000
158sramstart = 0x00000000
159sramsize = 0x00000000
160immr_base = 0xFF000000
161bootflags = 0x00000001
162intfreq = 50 MHz
163busfreq = 50 MHz
164ethaddr = 00:03:ca:00:64:df
165IP addr = 192.168.0.30
166baudrate = 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
176U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
177
178CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
wdenk57b2d802003-06-27 21:31:46 +0000179 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
wdenkef5fe752003-03-12 10:41:04 +0000180Board: ### No HW ID - assuming ELPT860
181DRAM: 16 MB
182FLASH: 512 kB
183In: serial
184Out: serial
185Err: serial
186Net: SCC ETHERNET
187
188Type "run nfsboot" to mount root filesystem over NFS
189
190Hit any key to stop autoboot: 0
191LEOX_elpt860: loads
192## Ready for S-Record download ...
193S804040004F3050154000501709905014C000501388D
194## First Load Addr = 0x00040000
195## Last Load Addr = 0x0005018B
196## Total Size = 0x0001018C = 65932 Bytes
197## Start Addr = 0x00040004
198LEOX_elpt860: go 40004 This is a test !!!
199## Starting application at 0x00040004 ...
200Hello World
201argc = 6
202argv[0] = "40004"
203argv[1] = "This"
204argv[2] = "is"
205argv[3] = "a"
206argv[4] = "test"
207argv[5] = "!!!"
208argv[6] = "<NULL>"
209Hit 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
218U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
219
220CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
wdenk57b2d802003-06-27 21:31:46 +0000221 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
wdenkef5fe752003-03-12 10:41:04 +0000222Board: ### No HW ID - assuming ELPT860
223DRAM: 16 MB
224FLASH: 512 kB
225In: serial
226Out: serial
227Err: serial
228Net: SCC ETHERNET
229
230Type "run nfsboot" to mount root filesystem over NFS
231
232Hit any key to stop autoboot: 0
233LEOX_elpt860: run nfsboot
234ARP broadcast 1
235TFTP from server 192.168.0.1; our IP address is 192.168.0.30
236Filename '/home/leox/uImage'.
237Load address: 0x400000
238Loading: #################################################################
wdenk57b2d802003-06-27 21:31:46 +0000239 #############################
wdenkef5fe752003-03-12 10:41:04 +0000240done
241Bytes 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
250Linux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002
251On node 0 totalpages: 4096
252zone(0): 4096 pages.
253zone(1): 0 pages.
254zone(2): 0 pages.
255Kernel 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:
256rtsched version <20010618.1050.24>
257Decrementer Frequency: 3125000
258Warning: real time clock seems stuck!
259Calibrating delay loop... 49.76 BogoMIPS
260Memory: 14720k available (928k kernel code, 384k data, 44k init, 0k highmem)
261Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
262Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
263Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
264Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
265POSIX conformance testing by UNIFIX
266Linux NET4.0 for Linux 2.4
267Based upon Swansea University Computer Society NET3.039
268Starting kswapd v1.8
269CPM UART driver version 0.03
270ttyS0 on SMC1 at 0x0280, BRG1
271block: queued sectors max/low 9701kB/3233kB, 64 slots per queue
272RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
273eth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:df
274NET4: Linux TCP/IP 1.0 for NET4.0
275IP Protocols: ICMP, UDP, TCP
276IP: routing cache hash table of 512 buckets, 4Kbytes
277TCP: Hash tables configured (established 1024 bind 1024)
278NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
279Looking up port of RPC 100003/2 on 192.168.0.1
280Looking up port of RPC 100005/2 on 192.168.0.1
281VFS: Mounted root (nfs filesystem).
282Freeing unused kernel memory: 44k init
283INIT: version 2.78 booting
wdenk57b2d802003-06-27 21:31:46 +0000284 Welcome to DENX Embedded Linux Environment
285 Press 'I' to enter interactive startup.
wdenkef5fe752003-03-12 10:41:04 +0000286Mounting proc filesystem: [ OK ]
287Configuring kernel parameters: [ OK ]
288Cannot access the Hardware Clock via any known method.
289Use the --debug option to see the details of our search for an access method.
290Setting clock : Wed Dec 31 19:00:11 EST 1969 [ OK ]
291Activating swap partitions: [ OK ]
292Setting hostname 192.168.0.30: [ OK ]
293Finding module dependencies:
294[ OK ]
295Checking filesystems
296Checking all file systems.
297[ OK ]
298Mounting local filesystems: [ OK ]
299Enabling swap space: [ OK ]
300INIT: Entering runlevel: 3
301Entering non-interactive startup
302Starting system logger: [ OK ]
303Starting kernel logger: [ OK ]
304Starting xinetd: [ OK ]
305
306192 login: root
307Last login: Wed Dec 31 19:00:41 on ttyS0
308bash-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
315U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
316
317CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
wdenk57b2d802003-06-27 21:31:46 +0000318 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
wdenkef5fe752003-03-12 10:41:04 +0000319Board: ### No HW ID - assuming ELPT860
320DRAM: 16 MB
321FLASH: 512 kB
322In: serial
323Out: serial
324Err: serial
325Net: SCC ETHERNET
326
327Type "run nfsboot" to mount root filesystem over NFS
328
329Hit any key to stop autoboot: 0
330LEOX_elpt860: run ramboot
331ARP broadcast 1
332TFTP from server 192.168.0.1; our IP address is 192.168.0.30
333Filename '/home/leox/pMulti'.
334Load address: 0x400000
335Loading: #################################################################
wdenk57b2d802003-06-27 21:31:46 +0000336 #################################################################
337 #################################################################
338 #################################################################
339 #################################################################
340 ########################################################
wdenkef5fe752003-03-12 10:41:04 +0000341done
342Bytes 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
355Linux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002
356On node 0 totalpages: 4096
357zone(0): 4096 pages.
358zone(1): 0 pages.
359zone(2): 0 pages.
360Kernel command line: root=/dev/ram rw
361rtsched version <20010618.1050.24>
362Decrementer Frequency: 3125000
363Warning: real time clock seems stuck!
364Calibrating delay loop... 49.76 BogoMIPS
365Memory: 13280k available (928k kernel code, 384k data, 44k init, 0k highmem)
366Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
367Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
368Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
369Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
370POSIX conformance testing by UNIFIX
371Linux NET4.0 for Linux 2.4
372Based upon Swansea University Computer Society NET3.039
373Starting kswapd v1.8
374CPM UART driver version 0.03
375ttyS0 on SMC1 at 0x0280, BRG1
376block: queued sectors max/low 8741kB/2913kB, 64 slots per queue
377RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
378eth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:df
379RAMDISK: Compressed image found at block 0
380Freeing initrd memory: 1436k freed
381NET4: Linux TCP/IP 1.0 for NET4.0
382IP Protocols: ICMP, UDP, TCP
383IP: routing cache hash table of 512 buckets, 4Kbytes
384TCP: Hash tables configured (established 1024 bind 1024)
385IP-Config: Incomplete network configuration information.
386NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
387VFS: Mounted root (ext2 filesystem).
Albert ARIBAUD60fbc8d2011-08-04 18:45:45 +0200388Freeing unused kernel memory: 44k init
wdenkef5fe752003-03-12 10:41:04 +0000389init started: BusyBox v0.60.2 (2002.07.01-12:06+0000) multi-call Configuring hostname
390Configuring lo...
391Configuring eth0...
392Configuring Gateway...
393
394Please press Enter to activate this console.
395
396ELPT860 login: root
397Password:
398Welcome to Linux-2.4.4 for ELPT CPU board (MPC860T @ 50MHz)
399
wdenk57b2d802003-06-27 21:31:46 +0000400 a8888b.
401 d888888b.
402 8P"YP"Y88
wdenkef5fe752003-03-12 10:41:04 +0000403 _ _ 8|o||o|88
404 | | |_| 8' .88
405 | | _ ____ _ _ _ _ 8`._.' Y8.
406 | | | | _ \| | | |\ \/ / d/ `8b.
407 | |___ | | | | | |_| |/ \ .dP . Y8b.
408 |_____||_|_| |_|\____|\_/\_/ d8:' " `::88b.
wdenk57b2d802003-06-27 21:31:46 +0000409 d8" `Y88b
410 :8P ' :888
411 8a. : _a88P
412 ._/"Yaa_ : .| 88P|
413 \ YP" `| 8P `.
414 / \._____.d| .'
415 `--..__)888888P`._.'
wdenkef5fe752003-03-12 10:41:04 +0000416login[21]: root login on `ttyS0'
417
418
419
420BusyBox v0.60.3 (2002.07.20-10:39+0000) Built-in shell (ash)
421Enter 'help' for a list of built-in commands.
422
423root@ELPT860:~ #