README 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. Broadcom 95xx BMW CPCI Platform
  2. Overview
  3. =========
  4. BMW is an MPC8245 system controller featuring:
  5. * 3U CPCI Form Factor
  6. * BCM5703 Gigabit Ethernet
  7. * M48T59Y NVRAM
  8. * 16MB DOC
  9. * DIP Socket for Socketed DOC up to 1GB
  10. * 64MB SDRAM
  11. * LCD Display
  12. * Configurable Jumper options for 66,85, and 100Mhz memory bus
  13. BMW System Address Map
  14. ======================
  15. BMW uses the MPC8245 CHRP Address MAP B found in the MPC8245 Users Manual
  16. (P.121, Section 3.1 Address Maps, Address Map B). Other I/O devices found
  17. onboard the processor module are listed briefly below:
  18. 0x00000000 - 0x40000000 - 64MB SDRAM SIMM
  19. (Unregistered PC-100 SDRAM DIMM Module)
  20. 0xFF000000 - 0xFF001FFF - M-Systems DiskOnChip (TM) 2000
  21. TSOP 16MB (MD2211-D16-V3)
  22. 0x70000000 - 0x70001FFF - M-Systems DiskOnChip (TM) 2000
  23. DIP32 (Socketed 16MB - 1GB ) *
  24. NOTE: this is not populated on all systems.
  25. 0x7c000000 - 0x7c000000 - Reset Register
  26. (Write 0 to reset)
  27. 0x7c000001 - 0x7c000001 - System LED
  28. (Clear Bit 7 to turn on, set to shut off)
  29. 0x7c000002 - 0x7c000002 - M48T59 Watchdog IRQ3
  30. (Clear bit 7 to reset, set to assert IRQ3)
  31. 0x7c000003 - 0x7c000003 - M48T59 Write-Protect Register
  32. (Clear bit 7 to make R/W, set to make R/O)
  33. 0x7c002000 - 0x7c002003 - Infineon OSRAM DLR2416 4 Character
  34. 5x7 Dot Matrix Alphanumeric Display
  35. (Each byte sets the appropriate character)
  36. 0x7c004000 - 0x7c005FF0 - SGS-THOMSON M48T59Y 8K NVRAM/RTC
  37. NVRAM Memory Region
  38. 0x7c005FF0 - 0x7c005FFF - SGS-THOMSON M48T59Y 8K NVRAM/RTC
  39. Realtime Clock Registers
  40. 0xFFF00000 - 0xFFF80000 - 512K PLCC32 BootRom
  41. (AMD AM29F040, ST 29W040B)
  42. 0xFFF00100 - System Reset Vector
  43. IO/MMU (BAT) Configuration
  44. ======================
  45. The following Block-Address-Translation (BAT) configuration
  46. is recommended to access all I/O devices.
  47. #define CFG_IBAT0L (0x00000000 | BATL_PP_10 | BATL_MEMCOHERENCE)
  48. #define CFG_IBAT0U (0x00000000 | BATU_BL_256M | BATU_VS | BATU_VP)
  49. #define CFG_IBAT1L (0x70000000 | BATL_PP_10 | BATL_CACHEINHIBIT)
  50. #define CFG_IBAT1U (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP)
  51. #define CFG_IBAT2L (0x80000000 | BATL_PP_10 | BATL_CACHEINHIBIT)
  52. #define CFG_IBAT2U (0x80000000 | BATU_BL_256M | BATU_VS | BATU_VP)
  53. #define CFG_IBAT3L (0xF0000000 | BATL_PP_10 | BATL_CACHEINHIBIT)
  54. #define CFG_IBAT3U (0xF0000000 | BATU_BL_256M | BATU_VS | BATU_VP)
  55. #define CFG_DBAT0L CFG_IBAT0L
  56. #define CFG_DBAT0U CFG_IBAT0U
  57. #define CFG_DBAT1L CFG_IBAT1L
  58. #define CFG_DBAT1U CFG_IBAT1U
  59. #define CFG_DBAT2L CFG_IBAT2L
  60. #define CFG_DBAT2U CFG_IBAT2U
  61. #define CFG_DBAT3L CFG_IBAT3L
  62. #define CFG_DBAT3U CFG_IBAT3U
  63. Interrupt Mappings
  64. ======================
  65. BMW uses MPC8245 discrete mode interrupts. With the following
  66. hardwired mappings:
  67. BCM5701 10/100/1000 Ethernet IRQ1
  68. CompactPCI Interrupt A IRQ2
  69. RTC/Watchdog Interrupt IRQ3
  70. Internal NS16552 UART IRQ4
  71. Jumper Settings
  72. ======================
  73. BMW has a jumper (JP600) for selecting 66, 85, or 100Mhz memory bus.
  74. A jumper (X) is a 0 bit.
  75. Hence 66= 10110
  76. 85= 11000
  77. 100= 10000
  78. Jumper Settings for various Speeds
  79. =======================
  80. J1 J2 J3 J4 J5
  81. X X 66Mhz
  82. =======================
  83. J1 J2 J3 J4 J5
  84. X X X 85Mhz
  85. =======================
  86. J1 J2 J3 J4 J5
  87. X X X X 100Mhz
  88. =======================
  89. Obviously, 100Mhz memory bus is recommended for optimum performance.
  90. U-Boot
  91. ===============
  92. Broadcom BMW board is supported under config_BWM option.
  93. Supported features:
  94. - NVRAM setenv/getenv (used by Linux Kernel for configuration variables)
  95. - BCM570x TFTP file transfer support
  96. - LCD Display Support
  97. - DOC Support - (underway)
  98. U-Boot 1.2.0 (Aug 6 2002 - 17:44:48)
  99. CPU: MPC8245 Revision 16.20 at 264 MHz: 16 kB I-Cache 16 kB D-Cache
  100. Board: BMW MPC8245/KAHLUA2 - CHRP (MAP B)
  101. Built: Aug 6 2002 at 17:44:37
  102. Local Bus at 66 MHz
  103. DRAM: 64 MB
  104. FLASH: 4095 MB
  105. In: serial
  106. Out: serial
  107. Err: serial
  108. DOC: No DiskOnChip found
  109. Hit any key to stop autoboot: 0
  110. =>printenv
  111. bootdelay=5
  112. baudrate=9600
  113. clocks_in_mhz=1
  114. hostname=switch-2
  115. bootcmd=tftp 100000 vmlinux.img;bootm
  116. gateway=10.16.64.1
  117. ethaddr=00:00:10:18:10:10
  118. nfsroot=172.16.40.111:/boot/root-fs
  119. filesize=5ec8c
  120. netmask=255.255.240.0
  121. ipaddr=172.16.40.114
  122. serverip=172.16.40.111
  123. root=/dev/nfs
  124. stdin=serial
  125. stdout=serial
  126. stderr=serial
  127. Environment size: 315/8172 bytes
  128. =>boot
  129. DevTools
  130. ========
  131. ELDK
  132. DENX Embedded Linux Development Kit
  133. ROM Emulator
  134. Grammar Engine PROMICE P1160-90-AI21E (2MBx8bit, 90ns access time)
  135. Grammar Engine PL32E 32Pin PLCC Emulation cables
  136. Grammar Engine 3VA8CON (3Volt adapter with Short cables)
  137. Grammar Engine FPNET PromICE Ethernet Adapters
  138. ICE
  139. WRS/EST VisionICE-II (PPC8240)
  140. =>reset
  141. U-Boot 1.2.0 (Aug 6 2002 - 17:44:48)
  142. CPU: MPC8245 Revision 16.20 at 264 MHz: 16 kB I-Cache 16 kB D-Cache
  143. Board: BMW MPC8245/KAHLUA2 - CHRP (MAP B)
  144. Built: Aug 6 2002 at 17:44:37
  145. Local Bus at 66 MHz
  146. DRAM: 64 MB
  147. FLASH: 4095 MB
  148. In: serial
  149. Out: serial
  150. Err: serial
  151. DOC: No DiskOnChip found
  152. Hit any key to stop autoboot: 0
  153. Broadcom BCM5701 1000Base-T: bus 0, device 13, function 0: MBAR=0x80100000
  154. BCM570x PCI Memory base address @0x80100000
  155. eth0:Broadcom BCM5701 1000Base-T: 100 Mbps half duplex link up, flow control OFF
  156. eth0: Broadcom BCM5701 1000Base-T @0x80100000,node addr 000010181010
  157. eth0: BCM5700 with Broadcom BCM5701 Integrated Copper transceiver found
  158. eth0: 32-bit PCI 33MHz, MTU: 1500,Rx Checksum ON
  159. ARP broadcast 1
  160. TFTP from server 172.16.40.111; our IP address is 172.16.40.114
  161. Filename 'vmlinux.img'.
  162. Load address: 0x100000
  163. Loading: #################################################################
  164. ####################################T #############################
  165. ######################
  166. done
  167. Bytes transferred = 777199 (bdbef hex)
  168. eth0:Broadcom BCM5701 1000Base-T,HALT,POWER DOWN,done - offline.
  169. ## Booting image at 00100000 ...
  170. Image Name: vmlinux.bin.gz
  171. Created: 2002-08-06 6:30:13 UTC
  172. Image Type: PowerPC Linux Kernel Image (gzip compressed)
  173. Data Size: 777135 Bytes = 758 kB = 0 MB
  174. Load Address: 00000000
  175. Entry Point: 00000000
  176. Verifying Checksum ... OK
  177. Uncompressing Kernel Image ... OK
  178. Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
  179. Linux version 2.4.19-rc3 (jfd@que) (gcc version 2.95.3 20010111 (prerelease/franzo/20010111)) #168 Mon Aug 5 23:29:20 PDT 2002
  180. CPU:82xx: 32 I-Cache Block Size, 32 D-Cache Block Size PVR: 0x810000
  181. U-Boot Environment: 0xc01b08f0
  182. IP PNP: 802.3 Ethernet Address=<0:0:10:18:10:10>
  183. cpu0: MPC8245/KAHLUA-II : BMW Platform : 64MB RAM: BPLD Rev. 6e
  184. NOTICE: mounting root file system via NFS
  185. IP PNP: switch-2: eth0 IP 172.16.40.114/255.255.240.0 gateway 10.16.64.1 server 172.16.40.111
  186. On node 0 totalpages: 16384
  187. zone(0): 16384 pages.
  188. zone(1): 0 pages.
  189. zone(2): 0 pages.
  190. Kernel command line: console=ttyS0,9600 ip=172.16.40.114:172.16.40.111:10.16.64.1:255.255.240.0:switch-2:eth0 root=/dev/nfs rw nfsroot=172.16.40.111:/boot/root-fs,timeo=200,retrans=500 nfsaddrs=172.16.40.114:172.16.40.111
  191. root_dev_setup:/dev/nfs or 00:ff
  192. time_init: decrementer frequency = 16.501145 MHz
  193. Calibrating delay loop... 175.71 BogoMIPS
  194. Memory: 62572k available (1396k kernel code, 436k data, 100k init, 0k highmem)
  195. Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
  196. Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
  197. Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
  198. Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
  199. Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
  200. POSIX conformance testing by UNIFIX
  201. PCI: Probing PCI hardware
  202. Linux NET4.0 for Linux 2.4
  203. Based upon Swansea University Computer Society NET3.039
  204. Initializing RT netlink socket
  205. Starting kswapd
  206. devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
  207. devfs: devfs_debug: 0x0
  208. devfs: boot_options: 0x1
  209. Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
  210. pty: 256 Unix98 ptys configured
  211. Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
  212. Testing ttyS0 (0xf7f51500, 0xf7f51500)...
  213. Testing ttyS1 (0xfc004600, 0xfc004600)...
  214. ttyS00 at 0xf7f51500 (irq = 24) is a ST16650
  215. ttyS01 at 0xfc004600 (irq = 25) is a 16550A
  216. Real Time Clock Driver v1.10e
  217. RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
  218. loop: loaded (max 8 devices)
  219. TFFS 5.1.1 Flash disk driver for DiskOnChip
  220. Copyright (C) 1998,2001 M-Systems Flash Disk Pioneers Ltd.
  221. DOC device(s) found: 1
  222. fl_init: registered device at major: 100
  223. fl_geninit: registered device at major: 100
  224. Partition check:
  225. fla: p1
  226. partition: /dev/fl/0: start_sect: 0,nr_sects: 32000 Fl_blk_size[]: 16000KB
  227. partition: /dev/fl/1: start_sect: 2,nr_sects: 31998 Fl_blk_size[]: 15999KB
  228. partition: /dev/fl/2: start_sect: 0,nr_sects: 0 Fl_blk_size[]: 0KB
  229. partition: /dev/fl/3: start_sect: 0,nr_sects: 0 Fl_blk_size[]: 0KB
  230. Broadcom Gigabit Ethernet Driver bcm5700 ver. 3.0.7 (07/17/02)
  231. eth0: Broadcom BCM5701 found at mem bfff0000, IRQ 1, node addr 000010181010
  232. eth0: Broadcom BCM5701 Integrated Copper transceiver found
  233. eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON, 802.1Q VLAN ON
  234. bond0 registered without MII link monitoring, in bonding mode.
  235. rtc: unable to get misc minor
  236. NET4: Linux TCP/IP 1.0 for NET4.0
  237. IP Protocols: ICMP, UDP, TCP, IGMP
  238. IP: routing cache hash table of 512 buckets, 4Kbytes
  239. TCP: Hash tables configured (established 4096 bind 4096)
  240. bcm5700: eth0 NIC Link is UP, 100 Mbps half duplex
  241. IP-Config: Gateway not on directly connected network.
  242. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
  243. 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
  244. All bugs added by David S. Miller <davem@redhat.com>
  245. Looking up port of RPC 100003/2 on 172.16.40.111
  246. Looking up port of RPC 100005/1 on 172.16.40.111
  247. VFS: Mounted root (nfs filesystem).
  248. Mounted devfs on /dev
  249. Freeing unused kernel memory: 100k init
  250. INIT: version 2.78 booting
  251. Mounting local filesystems...
  252. not mounted anything
  253. Setting up symlinks in /dev...done.
  254. Setting up extra devices in /dev...done.
  255. Starting devfsd...Started device management daemon for /dev
  256. INIT: Entering runlevel: 2
  257. Starting internet superserver: inetd.
  258. Welcome to Linux/PPC
  259. MPC8245/BMW
  260. switch-2 login: root
  261. Password:
  262. PAM_unix[49]: (login) session opened for user root by LOGIN(uid=0)
  263. Last login: Thu Nov 25 11:51:14 1920 on console
  264. Welcome to Linux/PPC
  265. MPC8245/BMW
  266. login[49]: ROOT LOGIN on `console'
  267. root@switch-2:~# cat /proc/cpuinfo
  268. cpu : 82xx
  269. revision : 16.20 (pvr 8081 1014)
  270. bogomips : 175.71
  271. vendor : Broadcom
  272. machine : BMW/MPC8245
  273. root@switch-2:~#