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