README.mpc85xxads 21 KB

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