Patches by Jon Loeliger, 11 May 2004:
[kernel/u-boot.git] / doc / README.mpc85xxads
1 Motorola MPC8540ADS and MPC8560ADS board
2
3 Xianghua Xiao(X.Xiao@motorola.com)
4 Created 10/15/03
5 -----------------------------------------
6
7 0. Toolchain
8 The Binutils in current ELDK toolchain will not support MPC85xx chip. You need
9 use the newest binutils-2.14.tar.bz2 from http://ftp.gnu.org/gnu/binutils.
10
11 1. SWITCH SETTINGS & JUMPERS
12 1.1 First, make sure the board default setting is consistent with the document
13     shipped with your board. Then apply the following changes:
14     SW3[1-6]="all OFF"  (boot from 32bit flash, no boot sequence is used)
15     SW10[2-6]="all OFF" (turn on CPM SCC for serial port,works for 8540/8560)
16     SW11[2]='OFF for 8560, ON for 8540' (single switch to toggle 8540.8560 mode)
17     SW11[7]='ON' (rev2), 'OFF' (rev1)
18     SW4[7-8]="OFF OFF" (enable serial ports,I'm using the top serial connector)
19     SW22[1-4]="OFF OFF ON OFF"
20     SW5[1-10[="ON ON OFF OFF OFF OFF OFF OFF OFF OFF"
21     J1 = "Enable Prog" (Make sure your flash is programmable for development)
22 1.2 If you want to test PCI functionality with a 33Mhz PCI card, you will
23     have to change the system clock from the default 66Mhz to 33Mhz by
24     setting SW15[1]="OFF" and SW17[8]="OFF". After that you may also need
25     double your platform clock(SW6) because the system clock is now only
26     half of its original value. 
27 1.3 SW6 is a very important switch, it decides your platform clock and CPU
28     clock based on the on-board system clock(default 66MHz). Check the
29     document along with your board for details.
30
31
32 2. MEMORY MAP TO WORK WITH LINUX KERNEL
33
34 2.1. For the initial bringup, we adopted a consistent memory scheme
35      between u-boot and linux kernel, you can customize it based on your
36      system requirements:
37
38      0x0000_0000     0x7fff_ffff     DDR                     2G 
39      0x8000_0000     0x9fff_ffff     PCI MEM                 512M
40      0xc000_0000     0xdfff_ffff     Rapid IO                512M
41      0xe000_0000     0xe000_ffff     CCSR                    1M
42      0xe200_0000     0xe2ff_ffff     PCI IO                  16M
43      0xf000_0000     0xf7ff_ffff     SDRAM                   128M
44      0xf800_0000     0xf80f_ffff     BCSR                    1M
45      0xff00_0000     0xffff_ffff     FLASH (boot bank)       16M
46
47 2.2 We are submitting Linux kernel patches for MPC8540 and MPC8560. You
48     can download them from linuxppc-2.4 public source. Please make sure the
49     kernel's ppcboot.h is consistent with U-Boot's u-boot.h. You can use two
50     default configuration files as your starting points to configure the
51     kernel:
52         arch/ppc/configs/mpc8540_ads_defconfig
53         arch/ppc/configs/mpc8560_ads_defconfig
54
55 3. DEFINITIONS AND COMPILATION
56 3.1 Explanation on NEW definitions in include/configs/MPC8540ADS.h and include/
57     configs/MPC8560ADS.h
58     CONFIG_BOOKE            BOOKE(e.g. Motorola MPC85xx, IBM 440, etc)
59     CONFIG_E500             BOOKE e500 family(Motorola)
60     CONFIG_MPC85xx          MPC8540,MPC8560 and their derivatives
61     CONFIG_MPC8540          MPC8540 specific
62     CONFIG_MPC8560          MPC8560 specific
63     CONFIG_MPC8540ADS       MPC8540ADS board specific
64     CONFIG_MPC8560ADS       MPC8560ADS board specific
65     CONFIG_TSEC_ENET        Use on-chip 10/100/1000 ethernet for networking
66     CONFIG_SPD_EEPROM       Use SPD EEPROM for DDR auto configuration, you can also
67                             manual config the DDR after undef this definition.
68     CONFIG_DDR_ECC          only for ECC DDR module
69     CONFIG_DDR_DLL          DLL fix on some ADS boards needed for more stability.
70     CONFIG_RAM_AS_FLASH     after define this, you can load U-Boot into localbus
71                             SDRAM and treat localbus SDRAM as a flash. We use this
72                             memory based U-Boot before flash is working while Metrowerks
73                             and Windriver are still working on their flash/JTAG tools.
74                             if you can program the flash directly, undef this.
75     Other than the above definitions, the rest in the config files are straightforward.
76
77
78 3.2 Compilation
79    export CROSS_COMPILE=your-cross-compile-prefix(assuming you're using BASH shell)
80    cd u-boot
81    make distclean
82    make MPC8560ADS_config (or make MPC8540ADS_config)
83    make
84
85 4.  Notes:
86 4.1 When connecting with kermit, the following commands must be present.in
87    your .kermrc file. These are especially important when booting as
88    MPC8560, as the serial console will not work without them:
89
90 set speed 115200
91 set carrier-watch off
92 set handshake none
93 set flow-control none
94 robust
95
96    
97 4.2 Sometimes after U-Boot is up, the 'tftp' won't work well with TSEC ethernet. If that
98    happens, you can try the following steps to make network work:
99    MPC8560ADS>tftp 1000000 pImage
100    (if it hangs, use Ctrl-C to quit)
101    MPC8560ADS>nm fdf24524
102    >0
103    >1
104    >. (to quit this memory operation)
105    MPC8560ADS>tftp 1000000 pImage
106 4.3 If you're one of the early developers using the Rev1 8540/8560 chips, please use U-Boot 
107    1.0.0, as the newer silicon will only support Rev2 and future revisions of 8540/8560.
108
109
110 4.4 Reflash U-boot Image using U-boot
111
112     => tftp 0 u-boot.bin
113     => protect off fff80000 ffffffff
114     => erase fff80000 ffffffff
115     => cp.b 0 fff80000 80000
116
117
118 5. Screen dump:
119 5.1 MPC8540ADS board
120 U-Boot 1.0.0-pre (Oct 15 2003 - 13:40:33)
121
122 Motorola PowerPC ProcessorID=00000000 Rev. PVR=80200010
123 Board: Motorola MPC8540ADS Board
124         CPU: 792 MHz
125         CCB: 264 MHz
126         DDR: 132 MHz
127         LBC: 66 MHz
128 L1 D-cache 32KB, L1 I-cache 32KB enabled.
129 I2C:   ready
130 DRAM:  DDR module detected, total size:128MB.
131 128 MB
132 FLASH: 16 MB
133 L2 cache enabled: 256KB
134 *** Warning - bad CRC, using default environment
135
136 In:    serial
137 Out:   serial
138 Err:   serial
139 Net:   MOTOROLA ETHERNE
140 Hit any key to stop autoboot:  0
141 MPC8540ADS=> fli
142
143 Bank # 1: Intel 28F640J3A (64 Mbit, 64 x 128K)
144   Size: 16 MB in 64 Sectors
145   Sector Start Addresses:
146     FF000000      FF040000      FF080000      FF0C0000      FF100000
147     FF140000      FF180000      FF1C0000      FF200000      FF240000
148     FF280000      FF2C0000      FF300000      FF340000      FF380000
149     FF3C0000      FF400000      FF440000      FF480000      FF4C0000
150     FF500000      FF540000      FF580000      FF5C0000      FF600000
151     FF640000      FF680000      FF6C0000      FF700000      FF740000
152     FF780000      FF7C0000      FF800000      FF840000      FF880000
153     FF8C0000      FF900000      FF940000      FF980000      FF9C0000
154     FFA00000      FFA40000      FFA80000      FFAC0000      FFB00000
155     FFB40000      FFB80000      FFBC0000      FFC00000      FFC40000
156     FFC80000      FFCC0000      FFD00000      FFD40000      FFD80000
157     FFDC0000      FFE00000      FFE40000      FFE80000      FFEC0000
158     FFF00000      FFF40000      FFF80000 (RO) FFFC0000 (RO)
159 MPC8540ADS=> imi ff000000
160
161 ## Checking Image at ff000000 ...
162    Image Name:   Linux-2.4.21-rc5
163    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
164    Data Size:    800594 Bytes = 781.8 kB
165    Load Address: 00000000
166    Entry Point:  00000000
167    Verifying Checksum ... OK
168 MPC8540ADS=> bdinfo
169 memstart    = 0x00000000
170 memsize     = 0x08000000
171 flashstart  = 0xFF000000
172 flashsize   = 0x01000000
173 flashoffset = 0x00000000
174 sramstart   = 0x00000000
175 sramsize    = 0x00000000
176 immr_base   = 0xFDF00000
177 bootflags   = 0x40003F80
178 intfreq     =    792 MHz
179 busfreq     =    264 MHz
180 ethaddr     = 00:01:AF:07:9B:8A
181 eth1addr    = 00:01:AF:07:9B:8B
182 eth2addr    = 00:01:AF:07:9B:8C
183 IP addr     = 10.82.0.105
184 baudrate    = 115200 bps
185 MPC8540ADS=> printenv
186 bootargs=root=/dev/nfs rw nfsroot=163.12.64.52:/localhome/r6aads/linuxppc/target ip=10.82.0.105:163.12.64.52:10.82.1.254:255.255.254.0:mpc8540ads-003:eth0:off console=ttyS0,115200
187 bootcmd=bootm 0xff300000 0xff700000
188 bootdelay=3
189 baudrate=115200
190 loads_echo=1
191 ethaddr=00:01:af:07:9b:8a
192 eth1addr=00:01:af:07:9b:8b
193 eth2addr=00:01:af:07:9b:8c
194 ipaddr=10.82.0.105
195 serverip=163.12.64.52
196 rootpath=/home/r6aads/mpclinux/eldk-2.0.2/ppc_82xx
197 gatewayip=10.82.1.254
198 netmask=255.255.254.0
199 hostname=MPC8560ADS_PILOT_003
200 bootfile=pImage
201 stdin=serial
202 stdout=serial
203 stderr=serial
204
205 Environment size: 560/8188 bytes
206 MPC8540ADS=> bootm ff000000
207 ## Booting image at ff000000 ...
208    Image Name:   Linux-2.4.21-rc5
209    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
210    Data Size:    800594 Bytes = 781.8 kB
211    Load Address: 00000000
212    Entry Point:  00000000
213    Verifying Checksum ... OK
214    Uncompressing Kernel Image ... OK
215 mpc85xx_init(): exit
216 id mach(): done
217 MMU:enter
218 Memory CAM mapping: CAM0=64Mb, CAM1=64Mb, CAM2=0Mb residual: 0Mb
219 MMU:hw init
220 MMU:mapin
221 MMU:mapin_ram done
222 MMU:setio
223 MMU:exit
224 Linux version 2.4.21-rc5 (@etest) (gcc version 2.95.3 20010315 (release)) #1 Wed Oct 15 09:05:42 CDT 2003
225 setup_arch: enter
226 setup_arch: bootmem
227 mpc85xx_setup_arch
228 Host Bridge Vendor ID = 1057
229 Host Bridge Device ID = 3
230 Host Bridge header = 0
231 arch: exit
232 On node 0 totalpages: 32768
233 zone(0): 32768 pages.
234 zone(1): 0 pages.
235 zone(2): 0 pages.
236 Kernel command line: root=/dev/nfs rw nfsroot=163.12.64.52:/localhome/r6aads/linuxppc/target ip=10.82.0.105:163.12.64.52:10.82.1.254:255.255.254.0:mpc8540ads-003:eth0:off console=ttyS0,115200
237 openpic: enter
238 OpenPIC Version 1.2 (1 CPUs and 44 IRQ sources) at fdf40000
239 openpic: timer
240 openpic: external
241 openpic: spurious
242 openpic: exit
243 time_init: decrementer frequency = 33.000000 MHz
244 Calibrating delay loop... 226.09 BogoMIPS
245 Memory: 127488k available (1344k kernel code, 448k data, 248k init, 0k highmem)
246 Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
247 Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
248 Mount cache hash table entries: 512 (order: 0, 4096 bytes)
249 Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
250 Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
251 POSIX conformance testing by UNIFIX
252 PCI: Probing PCI hardware
253
254 Linux NET4.0 for Linux 2.4
255 Based upon Swansea University Computer Society NET3.039
256 Initializing RT netlink socket
257 Starting kswapd
258 Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
259 pty: 256 Unix98 ptys configured
260 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
261 ttyS00 at 0xfdf04500 (irq = 90) is a 16550A
262 ttyS01 at 0xfdf04600 (irq = 0) is a 16550A
263 eth0: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8a:
264 eth1: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8b:
265 RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
266 loop: loaded (max 8 devices)
267 Intel(R) PRO/1000 Network Driver - version 5.0.43-k1
268 Copyright (c) 1999-2003 Intel Corporation.
269 PPP generic driver version 2.4.2
270 PPP Deflate Compression module registered
271 NET4: Linux TCP/IP 1.0 for NET4.0
272 IP Protocols: ICMP, UDP, TCP, IGMP
273 IP: routing cache hash table of 1024 buckets, 8Kbytes
274 TCP: Hash tables configured (established 8192 bind 8192)
275 IP-Config: Complete:
276       device=eth0, addr=10.82.0.105, mask=255.255.254.0, gw=10.82.1.254,
277      host=mpc8540ads-003, domain=, nis-domain=(none),
278      bootserver=163.12.64.52, rootserver=163.12.64.52, rootpath=
279 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
280 Looking up port of RPC 100003/2 on 163.12.64.52
281 Looking up port of RPC 100005/1 on 163.12.64.52
282 VFS: Mounted root (nfs filesystem).
283 Freeing unused kernel memory: 248k init
284 INIT: version 2.78 booting
285 Activating swap...
286 Checking all file systems...
287 Parallelizing fsck version 1.22 (22-Jun-2001)
288 Mounting local filesystems...
289 nothing was mounted
290 Cleaning: /etc/network/ifstate.
291 Setting up IP spoofing protection: rp_filter.
292 Disable TCP/IP Explicit Congestion Notification: done.
293 Configuring network interfaces: done.
294 Starting portmap daemon: portmap.
295 Cleaning: /tmp /var/lock /var/run.
296 INIT: Entering runlevel: 2
297 Starting system log daemon: syslogd klogd.
298 Starting internet superserver: inetd.
299
300 mpc8540ads-003 login: root
301 Last login: Thu Jan  1 00:00:07 1970 on console
302 Linux mpc8540ads-003 2.4.21-rc5 #1 Wed Oct 15 09:05:42 CDT 2003 ppc unknown
303
304 root@mpc8540ads-003:~# ls
305 21142.o     aa       e100.o      hello.o      mii.o    timer.o
306 root@mpc8540ads-003:~# /sbin/ifconfig
307 eth0      Link encap:Ethernet  HWaddr 00:01:AF:07:9B:8A
308           inet addr:10.82.0.105  Bcast:10.82.1.255  Mask:255.255.254.0
309           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
310           RX packets:4576 errors:0 dropped:0 overruns:0 frame:0
311           TX packets:2587 errors:0 dropped:0 overruns:0 carrier:0
312           collisions:0 txqueuelen:100
313           RX bytes:4457023 (4.2 Mb)  TX bytes:437770 (427.5 Kb)
314           Base address:0x4000
315
316 lo        Link encap:Local Loopback
317           inet addr:127.0.0.1  Mask:255.0.0.0
318           UP LOOPBACK RUNNING  MTU:16436  Metric:1
319           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
320           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
321           collisions:0 txqueuelen:0
322           RX bytes:296 (296.0 b)  TX bytes:296 (296.0 b)
323
324 root@mpc8540ads-003:~# ping 163.12.64.52
325 PING 163.12.64.52 (163.12.64.52): 56 data bytes
326 64 bytes from 163.12.64.52: icmp_seq=0 ttl=63 time=0.2 ms
327 64 bytes from 163.12.64.52: icmp_seq=1 ttl=63 time=0.1 ms
328 64 bytes from 163.12.64.52: icmp_seq=2 ttl=63 time=0.1 ms
329
330 --- 163.12.64.52 ping statistics ---
331 3 packets transmitted, 3 packets received, 0% packet loss
332 round-trip min/avg/max = 0.1/0.1/0.2 ms
333 root@mpc8540ads-003:~#
334
335 5.2 MPC8560ADS board
336 U-Boot 1.0.0-pre (Oct 15 2003 - 13:42:04)
337
338 Motorola PowerPC ProcessorID=00000000 Rev. PVR=80200010
339 Board: Motorola MPC8560ADS Board
340         CPU: 792 MHz
341         CCB: 264 MHz
342         DDR: 132 MHz
343         LBC: 66 MHz
344         CPM: 264 Mhz
345 L1 D-cache 32KB, L1 I-cache 32KB enabled.
346 I2C:   ready
347 DRAM:  DDR module detected, total size:128MB.
348 128 MB
349 FLASH: 16 MB
350 L2 cache enabled: 256KB
351 *** Warning - bad CRC, using default environment
352
353 In:    serial
354 Out:   serial
355 Err:   serial
356 Net:   MOTOROLA ETHERNE
357 Hit any key to stop autoboot:  3
358 MPC8560ADS=> bdinfo
359 memstart    = 0x00000000
360 memsize     = 0x08000000
361 flashstart  = 0xFF000000
362 flashsize   = 0x01000000
363 flashoffset = 0x00000000
364 sramstart   = 0x00000000
365 sramsize    = 0x00000000
366 immr_base   = 0xFDF00000
367 bootflags   = 0x00000000
368 vco         =    528 MHz
369 sccfreq     =    132 MHz
370 brgfreq     =    132 MHz
371 intfreq     =    792 MHz
372 cpmfreq     =    264 MHz
373 busfreq     =    264 MHz
374 ethaddr     = 00:01:AF:07:9B:8A
375 eth1addr    = 00:01:AF:07:9B:8B
376 eth2addr    = 00:01:AF:07:9B:8C
377 IP addr     = 10.82.0.105
378 baudrate    = 115200 bps
379 MPC8560ADS=> printenv
380 bootargs=root=/dev/nfs rw nfsroot=163.12.64.52:/localhome/r6aads/linuxppc/target ip=10.82.0.105:163.12.64.52:10.82.1.254:255.255.254.0:mpc8560ads-003:eth0:off console=ttyS0,115200
381 bootcmd=bootm 0xff400000 0xff700000
382 bootdelay=3
383 baudrate=115200
384 loads_echo=1
385 ethaddr=00:01:af:07:9b:8a
386 eth1addr=00:01:af:07:9b:8b
387 eth2addr=00:01:af:07:9b:8c
388 ipaddr=10.82.0.105
389 serverip=163.12.64.52
390 rootpath=/home/r6aads/mpclinux/eldk-2.0.2/ppc_82xx
391 gatewayip=10.82.1.254
392 netmask=255.255.254.0
393 hostname=MPC8560ADS_PILOT_003
394 bootfile=pImage
395 stdin=serial
396 stdout=serial
397 stderr=serial
398
399 Environment size: 560/8188 bytes
400 MPC8560ADS=> fli
401
402 Bank # 1: Intel 28F640J3A (64 Mbit, 64 x 128K)
403   Size: 16 MB in 64 Sectors
404   Sector Start Addresses:
405     FF000000      FF040000      FF080000      FF0C0000      FF100000
406     FF140000      FF180000      FF1C0000      FF200000      FF240000
407     FF280000      FF2C0000      FF300000      FF340000      FF380000
408     FF3C0000      FF400000      FF440000      FF480000      FF4C0000
409     FF500000      FF540000      FF580000      FF5C0000      FF600000
410     FF640000      FF680000      FF6C0000      FF700000      FF740000
411     FF780000      FF7C0000      FF800000      FF840000      FF880000
412     FF8C0000      FF900000      FF940000      FF980000      FF9C0000
413     FFA00000      FFA40000      FFA80000      FFAC0000      FFB00000
414     FFB40000      FFB80000      FFBC0000      FFC00000      FFC40000
415     FFC80000      FFCC0000      FFD00000      FFD40000      FFD80000
416     FFDC0000      FFE00000      FFE40000      FFE80000      FFEC0000
417     FFF00000      FFF40000      FFF80000 (RO) FFFC0000 (RO)
418 MPC8560ADS=> imi ff100000
419
420 ## Checking Image at ff100000 ...
421    Image Name:   Linux-2.4.21-rc5
422    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
423    Data Size:    755361 Bytes = 737.7 kB
424    Load Address: 00000000
425    Entry Point:  00000000
426    Verifying Checksum ... OK
427 MPC8560ADS=> tftp 1000000 pImage.dracom.public
428 TFTP from server 163.12.64.52; our IP address is 10.82.0.105; sending through gateway 10.82.1.254
429 Filename 'pImage.dracom.public'.
430 Load address: 0x1000000
431 Loading: *#################################################################
432          #################################################################
433          ##################
434 done
435 Bytes transferred = 755425 (b86e1 hex)
436 MPC8560ADS=> bootm ff100000
437 ## Booting image at ff100000 ...
438    Image Name:   Linux-2.4.21-rc5
439    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
440    Data Size:    755361 Bytes = 737.7 kB
441    Load Address: 00000000
442    Entry Point:  00000000
443    Verifying Checksum ... OK
444    Uncompressing Kernel Image ... OK
445 mpc85xx_init(): exit
446 id mach(): done
447 MMU:enter
448 Memory CAM mapping: CAM0=64Mb, CAM1=64Mb, CAM2=0Mb residual: 0Mb
449 MMU:hw init
450 MMU:mapin
451 MMU:mapin_ram done
452 MMU:setio
453 MMU:exit
454 Linux version 2.4.21-rc5 (@etest) (gcc version 2.95.3 20010315 (release)) #2 Wed Oct 15 09:13:46 CDT 2003
455 setup_arch: enter
456 setup_arch: bootmem
457 mpc85xx_setup_arch
458 Host Bridge Vendor ID = 1057
459 Host Bridge Device ID = 3
460 Host Bridge header = 0
461 arch: exit
462 On node 0 totalpages: 32768
463 zone(0): 32768 pages.
464 zone(1): 0 pages.
465 zone(2): 0 pages.
466 Kernel command line: root=/dev/nfs rw nfsroot=163.12.64.52:/localhome/r6aads/linuxppc/target ip=10.82.0.105:163.12.64.52:10.82.1.254:255.255.254.0:mpc8560ads-003:eth0:off console=ttyS0,115200
467 openpic: enter
468 OpenPIC Version 1.2 (1 CPUs and 44 IRQ sources) at fdf40000
469 openpic: timer
470 openpic: external
471 openpic: spurious
472 openpic: exit
473 time_init: decrementer frequency = 33.000000 MHz
474 Calibrating delay loop... 226.09 BogoMIPS
475 Memory: 127624k available (1276k kernel code, 384k data, 236k init, 0k highmem)
476 Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
477 Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
478 Mount cache hash table entries: 512 (order: 0, 4096 bytes)
479 Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
480 Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
481 POSIX conformance testing by UNIFIX
482 PCI: Probing PCI hardware
483
484 Linux NET4.0 for Linux 2.4
485 Based upon Swansea University Computer Society NET3.039
486 Initializing RT netlink socket
487 Starting kswapd
488 Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
489 CPM UART driver version 0.01
490 ttyS0 on SCC1 at 0x8000, BRG1
491 UART interrupt installed(40)
492 pty: 256 Unix98 ptys configured
493 eth0: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8a:
494 eth1: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8b:
495 RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
496 loop: loaded (max 8 devices)
497 Intel(R) PRO/1000 Network Driver - version 5.0.43-k1
498 Copyright (c) 1999-2003 Intel Corporation.
499 PPP generic driver version 2.4.2
500 PPP Deflate Compression module registered
501 NET4: Linux TCP/IP 1.0 for NET4.0
502 IP Protocols: ICMP, UDP, TCP, IGMP
503 IP: routing cache hash table of 1024 buckets, 8Kbytes
504 TCP: Hash tables configured (established 8192 bind 8192)
505 IP-Config: Complete:
506       device=eth0, addr=10.82.0.105, mask=255.255.254.0, gw=10.82.1.254,
507      host=mpc8560ads-003, domain=, nis-domain=(none),
508      bootserver=163.12.64.52, rootserver=163.12.64.52, rootpath=
509 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
510 Looking up port of RPC 100003/2 on 163.12.64.52
511 Looking up port of RPC 100005/1 on 163.12.64.52
512 VFS: Mounted root (nfs filesystem).
513 Freeing unused kernel memory: 236k init
514 INIT: version 2.78 booting
515 Activating swap...
516 Checking all file systems...
517 Parallelizing fsck version 1.22 (22-Jun-2001)
518 Mounting local filesystems...
519 nothing was mounted
520 Cleaning: /etc/network/ifstate.
521 Setting up IP spoofing protection: FAILED
522 Configuring network interfaces: done.
523 Starting portmap daemon: portmap.
524 Cleaning: /tmp /var/lock /var/run.
525 INIT: Entering runlevel: 2
526 Starting system log daemon: syslogd klogd.
527 Starting internet superserver: inetd.
528
529 mpc8560ads-003 login: root
530 Last login: Thu Jan  1 00:00:05 1970 on console
531 Linux mpc8560ads-003 2.4.21-rc5 #2 Wed Oct 15 09:13:46 CDT 2003 ppc unknown
532
533 root@mpc8560ads-003:~# ls
534 21142.o     aa       e100.o      hello.o      mii.o    timer.o
535 root@mpc8560ads-003:~# cd /
536 root@mpc8560ads-003:/# ls
537 bin  boot  dev  etc  home  lib  mnt  opt  proc  root  sbin  tmp  usr  var
538 root@mpc8560ads-003:/# /sbin/ifconfig
539 eth0      Link encap:Ethernet  HWaddr 00:01:AF:07:9B:8A
540           inet addr:10.82.0.105  Bcast:10.82.1.255  Mask:255.255.254.0
541           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
542           RX packets:4608 errors:0 dropped:0 overruns:0 frame:0
543           TX packets:2610 errors:0 dropped:0 overruns:0 carrier:0
544           collisions:0 txqueuelen:100
545           RX bytes:4465943 (4.2 Mb)  TX bytes:440944 (430.6 Kb)
546           Base address:0x4000
547
548 lo        Link encap:Local Loopback
549           inet addr:127.0.0.1  Mask:255.0.0.0
550           UP LOOPBACK RUNNING  MTU:16436  Metric:1
551           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
552           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
553           collisions:0 txqueuelen:0
554           RX bytes:296 (296.0 b)  TX bytes:296 (296.0 b)
555
556 root@mpc8560ads-003:/# ping 163.12.64.52
557 PING 163.12.64.52 (163.12.64.52): 56 data bytes
558 64 bytes from 163.12.64.52: icmp_seq=0 ttl=63 time=0.1 ms
559 64 bytes from 163.12.64.52: icmp_seq=1 ttl=63 time=0.1 ms
560 64 bytes from 163.12.64.52: icmp_seq=2 ttl=63 time=0.1 ms
561
562 --- 163.12.64.52 ping statistics ---
563 3 packets transmitted, 3 packets received, 0% packet loss
564 round-trip min/avg/max = 0.1/0.1/0.1 ms
565 root@mpc8560ads-003:/#