1*702e6014SWolfgang DenkOverview 2*702e6014SWolfgang Denk-------- 3*702e6014SWolfgang DenkMPC8569MDS is composed of two boards - PB (Processor Board) and PIB (Platform 4*702e6014SWolfgang DenkI/O Board). The mpc8569 PowerTM processor is mounted on PB board. 5*702e6014SWolfgang Denk 6*702e6014SWolfgang DenkBuilding U-boot 7*702e6014SWolfgang Denk----------- 8*702e6014SWolfgang Denk make MPC8569MDS_config 9*702e6014SWolfgang Denk make 10*702e6014SWolfgang Denk 11*702e6014SWolfgang DenkMemory Map 12*702e6014SWolfgang Denk---------- 13*702e6014SWolfgang Denk0x0000_0000 0x7fff_ffff DDR 2G 14*702e6014SWolfgang Denk0xa000_0000 0xbfff_ffff PCIe MEM 512MB 15*702e6014SWolfgang Denk0xe000_0000 0xe00f_ffff CCSRBAR 1M 16*702e6014SWolfgang Denk0xe280_0000 0xe2ff_ffff PCIe I/O 8M 17*702e6014SWolfgang Denk0xc000_0000 0xdfff_ffff SRIO 512MB 18*702e6014SWolfgang Denk0xf000_0000 0xf3ff_ffff SDRAM 64MB 19*702e6014SWolfgang Denk0xf800_0000 0xf800_7fff BCSR 32KB 20*702e6014SWolfgang Denk0xf800_8000 0xf800_ffff PIB (CS4) 32KB 21*702e6014SWolfgang Denk0xf801_0000 0xf801_7fff PIB (CS5) 32KB 22*702e6014SWolfgang Denk0xfe00_0000 0xffff_ffff Flash 32MB 23*702e6014SWolfgang Denk 24*702e6014SWolfgang Denk 25*702e6014SWolfgang DenkFlashing u-boot Images 26*702e6014SWolfgang Denk--------------- 27*702e6014SWolfgang Denk 28*702e6014SWolfgang DenkUse the following commands to program u-boot image into flash: 29*702e6014SWolfgang Denk 30*702e6014SWolfgang Denk => tftp 1000000 u-boot.bin 31*702e6014SWolfgang Denk => protect off all 32*702e6014SWolfgang Denk => erase fff80000 ffffffff 33*702e6014SWolfgang Denk => cp.b 1000000 fff80000 80000 34*702e6014SWolfgang Denk 35*702e6014SWolfgang Denk 36*702e6014SWolfgang DenkSetting the correct MAC addresses 37*702e6014SWolfgang Denk----------------------- 38*702e6014SWolfgang DenkThe command - "mac", is introduced to set on-board system EEPROM in the format 39*702e6014SWolfgang Denkdefined in board/freescale/common/sys_eeprom.c. we must set all 8 MAC 40*702e6014SWolfgang Denkaddresses for the MPC8569MDS's 8 Ethernet ports and save it by "mac save" when 41*702e6014SWolfgang Denkwe first get the board. The commands are as follows: 42*702e6014SWolfgang Denk => mac i NXID /* Set NXID to this EEPROM */ 43*702e6014SWolfgang Denk => mac e 01 /* Set Errata, this value is not defined by hardware 44*702e6014SWolfgang Denk designer, we can set whatever we want */ 45*702e6014SWolfgang Denk => mac n a0 /* Set Serial Number. This is not defined by hardware 46*702e6014SWolfgang Denk designer, we can set whatever we want */ 47*702e6014SWolfgang Denk => mac date 090512080000 /* Set the date in YYMMDDhhmmss format */ 48*702e6014SWolfgang Denk 49*702e6014SWolfgang Denk => mac p 8 /* Set the number of mac ports, it should be 8 */ 50*702e6014SWolfgang Denk => mac 0 xx:xx:xx:xx:xx:xx /* xx:xx:xx:xx:xx:xx should be the real mac 51*702e6014SWolfgang Denk address, you can refer to the value on 52*702e6014SWolfgang Denk the sticker of the rear side of the board 53*702e6014SWolfgang Denk */ 54*702e6014SWolfgang Denk ..... 55*702e6014SWolfgang Denk => mac 7 xx:xx:xx:xx:xx:xx 56*702e6014SWolfgang Denk => mac read 57*702e6014SWolfgang Denk => mac save 58*702e6014SWolfgang Denk 59*702e6014SWolfgang DenkAfter resetting the board, the ethxaddrs will be filled with the mac addresses 60*702e6014SWolfgang Denkif such environment variables are blank(never been set before). If the ethxaddr 61*702e6014SWolfgang Denkhas been set but we want to update it, we can use the following commands: 62*702e6014SWolfgang Denk => setenv ethxaddr /* x = "none",1,2,3,4,5,6,7 */ 63*702e6014SWolfgang Denk => save 64*702e6014SWolfgang Denk => reset 65*702e6014SWolfgang Denk 66*702e6014SWolfgang Denk 67*702e6014SWolfgang DenkProgramming the ucode to flash 68*702e6014SWolfgang Denk--------------------------------- 69*702e6014SWolfgang DenkMPC8569 doesn't have ROM in QE, so we must upload the microcode(ucode) to QE's 70*702e6014SWolfgang DenkIRAM so that the QE can work. The ucode binary can be downloaded from 71*702e6014SWolfgang Denkhttp://opensource.freescale.com/firmware/, and it must be programmed to 72*702e6014SWolfgang Denkthe address 0xfff0000 in the flash. Otherwise, the QE can't work and uboot 73*702e6014SWolfgang Denkhangs at "Net:" 74*702e6014SWolfgang Denk 75*702e6014SWolfgang Denk 76*702e6014SWolfgang DenkPlease note the above two steps(setting mac addresses and programming ucode) are 77*702e6014SWolfgang Denkvery important to get the board booting up and working properly. 78