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