README.mpc85xxads 21 KB

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