1702e6014SWolfgang DenkFreescale MPC8610HPCD board 2702e6014SWolfgang Denk=========================== 3702e6014SWolfgang Denk 4702e6014SWolfgang Denk 5702e6014SWolfgang DenkBuilding U-Boot 6702e6014SWolfgang Denk--------------- 7702e6014SWolfgang Denk 8702e6014SWolfgang Denk $ make MPC8610HPCD_config 9702e6014SWolfgang Denk Configuring for MPC8610HPCD board... 10702e6014SWolfgang Denk 11702e6014SWolfgang Denk $ make 12702e6014SWolfgang Denk 13702e6014SWolfgang Denk 14702e6014SWolfgang DenkFlashing U-Boot 15702e6014SWolfgang Denk--------------- 16702e6014SWolfgang DenkThe flash is 128M starting at 0xF800_0000. 17702e6014SWolfgang Denk 18702e6014SWolfgang DenkThe alternate image is at 0xFBF0_0000 19702e6014SWolfgang DenkThe boot image is at 0xFFF0_0000. 20702e6014SWolfgang Denk 21702e6014SWolfgang Denk 22702e6014SWolfgang DenkTo Flash U-Boot into the booting bank: 23702e6014SWolfgang Denk 24702e6014SWolfgang Denk tftp 1000000 u-boot.bin 25702e6014SWolfgang Denk protect off all 26702e6014SWolfgang Denk erase fff00000 +$filesize 27702e6014SWolfgang Denk cp.b 1000000 fff00000 $filesize 28702e6014SWolfgang Denk 29702e6014SWolfgang Denk 30*a187559eSBin MengTo Flash U-Boot into the alternate bank 31702e6014SWolfgang Denk 32702e6014SWolfgang Denk tftp 1000000 u-boot.bin 33702e6014SWolfgang Denk erase fbf00000 +$filesize 34702e6014SWolfgang Denk cp.b 1000000 fbf00000 $filesize 35702e6014SWolfgang Denk 36702e6014SWolfgang Denk 37702e6014SWolfgang Denkpixis_reset command 38702e6014SWolfgang Denk------------------- 39702e6014SWolfgang DenkA new command, "pixis_reset", is introduced to reset mpc8610hpcd board 40702e6014SWolfgang Denkusing the FPGA sequencer. When the board restarts, it has the option 41702e6014SWolfgang Denkof using either the current or alternate flash bank as the boot 42702e6014SWolfgang Denkimage, with or without the watchdog timer enabled, and finally with 43702e6014SWolfgang Denkor without frequency changes. 44702e6014SWolfgang Denk 45702e6014SWolfgang DenkUsage is; 46702e6014SWolfgang Denk 47702e6014SWolfgang Denk pixis_reset 48702e6014SWolfgang Denk pixis_reset altbank 49702e6014SWolfgang Denk pixis_reset altbank wd 50702e6014SWolfgang Denk pixis_reset altbank cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio> 51702e6014SWolfgang Denk pixis_reset cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio> 52702e6014SWolfgang Denk 53702e6014SWolfgang DenkExamples; 54702e6014SWolfgang Denk 55702e6014SWolfgang Denk /* reset to current bank, like "reset" command */ 56702e6014SWolfgang Denk pixis_reset 57702e6014SWolfgang Denk 58702e6014SWolfgang Denk /* reset board but use the to alternate flash bank */ 59702e6014SWolfgang Denk pixis_reset altbank 60702e6014SWolfgang Denk 61702e6014SWolfgang Denk /* reset board, use alternate flash bank with watchdog timer enabled*/ 62702e6014SWolfgang Denk pixis_reset altbank wd 63702e6014SWolfgang Denk 64702e6014SWolfgang Denk /* reset board to alternate bank with frequency changed. 65702e6014SWolfgang Denk * 40 is SYSCLK, 2.5 is COREPLL ratio, 10 is MPXPLL ratio 66702e6014SWolfgang Denk */ 67702e6014SWolfgang Denk pixis-reset altbank cf 40 2.5 10 68702e6014SWolfgang Denk 69702e6014SWolfgang Denk 70702e6014SWolfgang DenkDIP Switch Settings 71702e6014SWolfgang Denk------------------- 72702e6014SWolfgang DenkTo manually switch the flash banks using the DIP switch 73702e6014SWolfgang Denksettings, toggle both SW6:1 and SW6:2. 74