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