blob: c49b2a896bcb45ab77c23c210cb6219a61d9e9c7 [file] [log] [blame]
wdenk9c53f402003-10-15 23:53:47 +00001Motorola MPC8540ADS and MPC8560ADS board
2
3Xianghua Xiao(X.Xiao@motorola.com)
4Created 10/15/03
5-----------------------------------------
6
wdenk6fcda222003-10-22 09:00:28 +000070. Toolchain
wdenk0359dde2004-06-09 10:15:00 +00008The Binutils in ELDK toolchain 3.0 or earlier does not support the
9MPC85xx chip. You need use the newest binutils-2.14.tar.bz2 from
10http://ftp.gnu.org/gnu/binutils.
wdenk6fcda222003-10-22 09:00:28 +000011
wdenk9c53f402003-10-15 23:53:47 +0000121. SWITCH SETTINGS & JUMPERS
wdenk0359dde2004-06-09 10:15:00 +000013
wdenk9c53f402003-10-15 23:53:47 +0000141.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)
wdenkcc245992004-06-09 00:51:50 +000018 SW11[2]='OFF for 8560, ON for 8540' (single switch to toggle 8540.8560 mode)
19 SW11[7]='ON' (rev2), 'OFF' (rev1)
wdenk9c53f402003-10-15 23:53:47 +000020 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)
wdenk0359dde2004-06-09 10:15:00 +000024
wdenkcc245992004-06-09 00:51:50 +0000251.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
wdenk0359dde2004-06-09 10:15:00 +000029 half of its original value.
30
wdenkcc245992004-06-09 00:51:50 +0000311.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
wdenk9c53f402003-10-15 23:53:47 +000035
362. MEMORY MAP TO WORK WITH LINUX KERNEL
wdenkcc245992004-06-09 00:51:50 +000037
382.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
wdenk0359dde2004-06-09 10:15:00 +000042 0x0000_0000 0x7fff_ffff DDR 2G
wdenkcc245992004-06-09 00:51:50 +000043 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
512.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
wdenk9c53f402003-10-15 23:53:47 +000058
wdenk0359dde2004-06-09 10:15:00 +000059
wdenk9c53f402003-10-15 23:53:47 +0000603. DEFINITIONS AND COMPILATION
wdenk0359dde2004-06-09 10:15:00 +000061
wdenk9c53f402003-10-15 23:53:47 +0000623.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
wdenk9c53f402003-10-15 23:53:47 +000067 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
wdenkcc245992004-06-09 00:51:50 +000075 CONFIG_DDR_DLL DLL fix on some ADS boards needed for more stability.
wdenk9c53f402003-10-15 23:53:47 +000076 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
wdenk9c53f402003-10-15 23:53:47 +0000833.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
wdenk0359dde2004-06-09 10:15:00 +000090
wdenkcc245992004-06-09 00:51:50 +0000914. Notes:
wdenk0359dde2004-06-09 10:15:00 +000092
wdenkcc245992004-06-09 00:51:50 +0000934.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
97set speed 115200
98set carrier-watch off
99set handshake none
100set flow-control none
101robust
102
wdenkcc245992004-06-09 00:51:50 +00001034.2 Sometimes after U-Boot is up, the 'tftp' won't work well with TSEC ethernet. If that
wdenk9c53f402003-10-15 23:53:47 +0000104 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
wdenkcc245992004-06-09 00:51:50 +0000112
wdenk0359dde2004-06-09 10:15:00 +00001134.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.
wdenkcc245992004-06-09 00:51:50 +0000115
1164.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
wdenk9c53f402003-10-15 23:53:47 +0000123
1245. Screen dump:
wdenk0359dde2004-06-09 10:15:00 +0000125
wdenk9c53f402003-10-15 23:53:47 +00001265.1 MPC8540ADS board
127U-Boot 1.0.0-pre (Oct 15 2003 - 13:40:33)
128
129Motorola PowerPC ProcessorID=00000000 Rev. PVR=80200010
130Board: Motorola MPC8540ADS Board
131 CPU: 792 MHz
132 CCB: 264 MHz
133 DDR: 132 MHz
134 LBC: 66 MHz
135L1 D-cache 32KB, L1 I-cache 32KB enabled.
136I2C: ready
137DRAM: DDR module detected, total size:128MB.
138128 MB
139FLASH: 16 MB
140L2 cache enabled: 256KB
141*** Warning - bad CRC, using default environment
142
143In: serial
144Out: serial
145Err: serial
146Net: MOTOROLA ETHERNE
147Hit any key to stop autoboot: 0
148MPC8540ADS=> fli
149
150Bank # 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)
166MPC8540ADS=> 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
175MPC8540ADS=> bdinfo
176memstart = 0x00000000
177memsize = 0x08000000
178flashstart = 0xFF000000
179flashsize = 0x01000000
180flashoffset = 0x00000000
181sramstart = 0x00000000
182sramsize = 0x00000000
183immr_base = 0xFDF00000
184bootflags = 0x40003F80
185intfreq = 792 MHz
186busfreq = 264 MHz
187ethaddr = 00:01:AF:07:9B:8A
188eth1addr = 00:01:AF:07:9B:8B
189eth2addr = 00:01:AF:07:9B:8C
190IP addr = 10.82.0.105
191baudrate = 115200 bps
192MPC8540ADS=> printenv
193bootargs=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
194bootcmd=bootm 0xff300000 0xff700000
195bootdelay=3
196baudrate=115200
197loads_echo=1
198ethaddr=00:01:af:07:9b:8a
199eth1addr=00:01:af:07:9b:8b
200eth2addr=00:01:af:07:9b:8c
201ipaddr=10.82.0.105
202serverip=163.12.64.52
203rootpath=/home/r6aads/mpclinux/eldk-2.0.2/ppc_82xx
204gatewayip=10.82.1.254
205netmask=255.255.254.0
206hostname=MPC8560ADS_PILOT_003
207bootfile=pImage
208stdin=serial
209stdout=serial
210stderr=serial
211
212Environment size: 560/8188 bytes
213MPC8540ADS=> 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
222mpc85xx_init(): exit
223id mach(): done
224MMU:enter
225Memory CAM mapping: CAM0=64Mb, CAM1=64Mb, CAM2=0Mb residual: 0Mb
226MMU:hw init
227MMU:mapin
228MMU:mapin_ram done
229MMU:setio
230MMU:exit
231Linux version 2.4.21-rc5 (@etest) (gcc version 2.95.3 20010315 (release)) #1 Wed Oct 15 09:05:42 CDT 2003
232setup_arch: enter
233setup_arch: bootmem
234mpc85xx_setup_arch
235Host Bridge Vendor ID = 1057
236Host Bridge Device ID = 3
237Host Bridge header = 0
238arch: exit
239On node 0 totalpages: 32768
240zone(0): 32768 pages.
241zone(1): 0 pages.
242zone(2): 0 pages.
243Kernel 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
244openpic: enter
245OpenPIC Version 1.2 (1 CPUs and 44 IRQ sources) at fdf40000
246openpic: timer
247openpic: external
248openpic: spurious
249openpic: exit
250time_init: decrementer frequency = 33.000000 MHz
251Calibrating delay loop... 226.09 BogoMIPS
252Memory: 127488k available (1344k kernel code, 448k data, 248k init, 0k highmem)
253Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
254Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
255Mount cache hash table entries: 512 (order: 0, 4096 bytes)
256Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
257Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
258POSIX conformance testing by UNIFIX
259PCI: Probing PCI hardware
260
261Linux NET4.0 for Linux 2.4
262Based upon Swansea University Computer Society NET3.039
263Initializing RT netlink socket
264Starting kswapd
265Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
266pty: 256 Unix98 ptys configured
267Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
268ttyS00 at 0xfdf04500 (irq = 90) is a 16550A
269ttyS01 at 0xfdf04600 (irq = 0) is a 16550A
270eth0: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8a:
271eth1: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8b:
272RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
273loop: loaded (max 8 devices)
274Intel(R) PRO/1000 Network Driver - version 5.0.43-k1
275Copyright (c) 1999-2003 Intel Corporation.
276PPP generic driver version 2.4.2
277PPP Deflate Compression module registered
278NET4: Linux TCP/IP 1.0 for NET4.0
279IP Protocols: ICMP, UDP, TCP, IGMP
280IP: routing cache hash table of 1024 buckets, 8Kbytes
281TCP: Hash tables configured (established 8192 bind 8192)
282IP-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=
286NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
287Looking up port of RPC 100003/2 on 163.12.64.52
288Looking up port of RPC 100005/1 on 163.12.64.52
289VFS: Mounted root (nfs filesystem).
290Freeing unused kernel memory: 248k init
291INIT: version 2.78 booting
292Activating swap...
293Checking all file systems...
294Parallelizing fsck version 1.22 (22-Jun-2001)
295Mounting local filesystems...
296nothing was mounted
297Cleaning: /etc/network/ifstate.
298Setting up IP spoofing protection: rp_filter.
299Disable TCP/IP Explicit Congestion Notification: done.
300Configuring network interfaces: done.
301Starting portmap daemon: portmap.
302Cleaning: /tmp /var/lock /var/run.
303INIT: Entering runlevel: 2
304Starting system log daemon: syslogd klogd.
305Starting internet superserver: inetd.
306
307mpc8540ads-003 login: root
308Last login: Thu Jan 1 00:00:07 1970 on console
309Linux mpc8540ads-003 2.4.21-rc5 #1 Wed Oct 15 09:05:42 CDT 2003 ppc unknown
310
311root@mpc8540ads-003:~# ls
31221142.o aa e100.o hello.o mii.o timer.o
313root@mpc8540ads-003:~# /sbin/ifconfig
314eth0 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
323lo 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
331root@mpc8540ads-003:~# ping 163.12.64.52
332PING 163.12.64.52 (163.12.64.52): 56 data bytes
33364 bytes from 163.12.64.52: icmp_seq=0 ttl=63 time=0.2 ms
33464 bytes from 163.12.64.52: icmp_seq=1 ttl=63 time=0.1 ms
33564 bytes from 163.12.64.52: icmp_seq=2 ttl=63 time=0.1 ms
336
337--- 163.12.64.52 ping statistics ---
3383 packets transmitted, 3 packets received, 0% packet loss
339round-trip min/avg/max = 0.1/0.1/0.2 ms
340root@mpc8540ads-003:~#
341
3425.2 MPC8560ADS board
343U-Boot 1.0.0-pre (Oct 15 2003 - 13:42:04)
344
345Motorola PowerPC ProcessorID=00000000 Rev. PVR=80200010
346Board: Motorola MPC8560ADS Board
347 CPU: 792 MHz
348 CCB: 264 MHz
349 DDR: 132 MHz
350 LBC: 66 MHz
351 CPM: 264 Mhz
352L1 D-cache 32KB, L1 I-cache 32KB enabled.
353I2C: ready
354DRAM: DDR module detected, total size:128MB.
355128 MB
356FLASH: 16 MB
357L2 cache enabled: 256KB
358*** Warning - bad CRC, using default environment
359
360In: serial
361Out: serial
362Err: serial
363Net: MOTOROLA ETHERNE
364Hit any key to stop autoboot: 3
365MPC8560ADS=> bdinfo
366memstart = 0x00000000
367memsize = 0x08000000
368flashstart = 0xFF000000
369flashsize = 0x01000000
370flashoffset = 0x00000000
371sramstart = 0x00000000
372sramsize = 0x00000000
373immr_base = 0xFDF00000
374bootflags = 0x00000000
375vco = 528 MHz
376sccfreq = 132 MHz
377brgfreq = 132 MHz
378intfreq = 792 MHz
379cpmfreq = 264 MHz
380busfreq = 264 MHz
381ethaddr = 00:01:AF:07:9B:8A
382eth1addr = 00:01:AF:07:9B:8B
383eth2addr = 00:01:AF:07:9B:8C
384IP addr = 10.82.0.105
385baudrate = 115200 bps
386MPC8560ADS=> printenv
387bootargs=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
388bootcmd=bootm 0xff400000 0xff700000
389bootdelay=3
390baudrate=115200
391loads_echo=1
392ethaddr=00:01:af:07:9b:8a
393eth1addr=00:01:af:07:9b:8b
394eth2addr=00:01:af:07:9b:8c
395ipaddr=10.82.0.105
396serverip=163.12.64.52
397rootpath=/home/r6aads/mpclinux/eldk-2.0.2/ppc_82xx
398gatewayip=10.82.1.254
399netmask=255.255.254.0
400hostname=MPC8560ADS_PILOT_003
401bootfile=pImage
402stdin=serial
403stdout=serial
404stderr=serial
405
406Environment size: 560/8188 bytes
407MPC8560ADS=> fli
408
409Bank # 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)
425MPC8560ADS=> 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
434MPC8560ADS=> tftp 1000000 pImage.dracom.public
435TFTP from server 163.12.64.52; our IP address is 10.82.0.105; sending through gateway 10.82.1.254
436Filename 'pImage.dracom.public'.
437Load address: 0x1000000
438Loading: *#################################################################
439 #################################################################
440 ##################
441done
442Bytes transferred = 755425 (b86e1 hex)
443MPC8560ADS=> 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
452mpc85xx_init(): exit
453id mach(): done
454MMU:enter
455Memory CAM mapping: CAM0=64Mb, CAM1=64Mb, CAM2=0Mb residual: 0Mb
456MMU:hw init
457MMU:mapin
458MMU:mapin_ram done
459MMU:setio
460MMU:exit
461Linux version 2.4.21-rc5 (@etest) (gcc version 2.95.3 20010315 (release)) #2 Wed Oct 15 09:13:46 CDT 2003
462setup_arch: enter
463setup_arch: bootmem
464mpc85xx_setup_arch
465Host Bridge Vendor ID = 1057
466Host Bridge Device ID = 3
467Host Bridge header = 0
468arch: exit
469On node 0 totalpages: 32768
470zone(0): 32768 pages.
471zone(1): 0 pages.
472zone(2): 0 pages.
473Kernel 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
474openpic: enter
475OpenPIC Version 1.2 (1 CPUs and 44 IRQ sources) at fdf40000
476openpic: timer
477openpic: external
478openpic: spurious
479openpic: exit
480time_init: decrementer frequency = 33.000000 MHz
481Calibrating delay loop... 226.09 BogoMIPS
482Memory: 127624k available (1276k kernel code, 384k data, 236k init, 0k highmem)
483Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
484Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
485Mount cache hash table entries: 512 (order: 0, 4096 bytes)
486Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
487Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
488POSIX conformance testing by UNIFIX
489PCI: Probing PCI hardware
490
491Linux NET4.0 for Linux 2.4
492Based upon Swansea University Computer Society NET3.039
493Initializing RT netlink socket
494Starting kswapd
495Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
496CPM UART driver version 0.01
497ttyS0 on SCC1 at 0x8000, BRG1
498UART interrupt installed(40)
499pty: 256 Unix98 ptys configured
500eth0: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8a:
501eth1: Three Speed Ethernet Controller Version 0.2, 00:01:af:07:9b:8b:
502RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
503loop: loaded (max 8 devices)
504Intel(R) PRO/1000 Network Driver - version 5.0.43-k1
505Copyright (c) 1999-2003 Intel Corporation.
506PPP generic driver version 2.4.2
507PPP Deflate Compression module registered
508NET4: Linux TCP/IP 1.0 for NET4.0
509IP Protocols: ICMP, UDP, TCP, IGMP
510IP: routing cache hash table of 1024 buckets, 8Kbytes
511TCP: Hash tables configured (established 8192 bind 8192)
512IP-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=
516NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
517Looking up port of RPC 100003/2 on 163.12.64.52
518Looking up port of RPC 100005/1 on 163.12.64.52
519VFS: Mounted root (nfs filesystem).
520Freeing unused kernel memory: 236k init
521INIT: version 2.78 booting
522Activating swap...
523Checking all file systems...
524Parallelizing fsck version 1.22 (22-Jun-2001)
525Mounting local filesystems...
526nothing was mounted
527Cleaning: /etc/network/ifstate.
528Setting up IP spoofing protection: FAILED
529Configuring network interfaces: done.
530Starting portmap daemon: portmap.
531Cleaning: /tmp /var/lock /var/run.
532INIT: Entering runlevel: 2
533Starting system log daemon: syslogd klogd.
534Starting internet superserver: inetd.
535
536mpc8560ads-003 login: root
537Last login: Thu Jan 1 00:00:05 1970 on console
538Linux mpc8560ads-003 2.4.21-rc5 #2 Wed Oct 15 09:13:46 CDT 2003 ppc unknown
539
540root@mpc8560ads-003:~# ls
54121142.o aa e100.o hello.o mii.o timer.o
542root@mpc8560ads-003:~# cd /
543root@mpc8560ads-003:/# ls
544bin boot dev etc home lib mnt opt proc root sbin tmp usr var
545root@mpc8560ads-003:/# /sbin/ifconfig
546eth0 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
555lo 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
563root@mpc8560ads-003:/# ping 163.12.64.52
564PING 163.12.64.52 (163.12.64.52): 56 data bytes
56564 bytes from 163.12.64.52: icmp_seq=0 ttl=63 time=0.1 ms
56664 bytes from 163.12.64.52: icmp_seq=1 ttl=63 time=0.1 ms
56764 bytes from 163.12.64.52: icmp_seq=2 ttl=63 time=0.1 ms
568
569--- 163.12.64.52 ping statistics ---
5703 packets transmitted, 3 packets received, 0% packet loss
571round-trip min/avg/max = 0.1/0.1/0.1 ms
572root@mpc8560ads-003:/#