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