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