blob: d9112b67da431d0d1a020a10ce9bb42977a37181 [file] [log] [blame]
Haiying Wang6e2aebc2009-05-20 12:30:42 -04001Overview
2--------
3MPC8569MDS is composed of two boards - PB (Processor Board) and PIB (Platform
4I/O Board). The mpc8569 PowerTM processor is mounted on PB board.
5
6Building U-boot
7-----------
8 make MPC8569MDS_config
9 make
10
11Memory Map
12----------
130x0000_0000 0x7fff_ffff DDR 2G
140xa000_0000 0xbfff_ffff PCIe MEM 512MB
150xe000_0000 0xe00f_ffff CCSRBAR 1M
160xe280_0000 0xe2ff_ffff PCIe I/O 8M
170xc000_0000 0xdfff_ffff SRIO 512MB
180xf000_0000 0xf3ff_ffff SDRAM 64MB
190xf800_0000 0xf800_7fff BCSR 32KB
200xf800_8000 0xf800_ffff PIB (CS4) 32KB
210xf801_0000 0xf801_7fff PIB (CS5) 32KB
220xfe00_0000 0xffff_ffff Flash 32MB
23
24
25Flashing u-boot Images
26---------------
27
28Use the following commands to program u-boot image into flash:
29
30 => tftp 1000000 u-boot.bin
31 => protect off all
32 => erase fff80000 ffffffff
33 => cp.b 1000000 fff80000 80000
34
35
36Setting the correct MAC addresses
37-----------------------
38The command - "mac", is introduced to set on-board system EEPROM in the format
39defined in board/freescale/common/sys_eeprom.c. we must set all 8 MAC
40addresses for the MPC8569MDS's 8 Ethernet ports and save it by "mac save" when
41we first get the board. The commands are as follows:
42 => mac i NXID /* Set NXID to this EEPROM */
43 => mac e 01 /* Set Errata, this value is not defined by hardware
44 designer, we can set whatever we want */
45 => mac n a0 /* Set Serial Number. This is not defined by hardware
46 designer, we can set whatever we want */
47 => mac date 090512080000 /* Set the date in YYMMDDhhmmss format */
48
49 => mac p 8 /* Set the number of mac ports, it should be 8 */
50 => mac 0 xx:xx:xx:xx:xx:xx /* xx:xx:xx:xx:xx:xx should be the real mac
51 address, you can refer to the value on
52 the sticker of the rear side of the board
53 */
54 .....
55 => mac 7 xx:xx:xx:xx:xx:xx
56 => mac read
57 => mac save
58
59After resetting the board, the ethxaddrs will be filled with the mac addresses
60if such environment variables are blank(never been set before). If the ethxaddr
61has been set but we want to update it, we can use the following commands:
62 => setenv ethxaddr /* x = "none",1,2,3,4,5,6,7 */
63 => save
64 => reset
65
66
67Programming the ucode to flash
68---------------------------------
69MPC8569 doesn't have ROM in QE, so we must upload the microcode(ucode) to QE's
70IRAM so that the QE can work. The ucode binary can be downloaded from
71http://opensource.freescale.com/firmware/, and it must be programmed to
72the address 0xfff0000 in the flash. Otherwise, the QE can't work and uboot
73hangs at "Net:"
74
75
76Please note the above two steps(setting mac addresses and programming ucode) are
77very important to get the board booting up and working properly.
78