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