]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - doc/README.mpc8641hpcn
Merge branch '080202_at91rm9200dk' of git://linux-arm.org/u-boot-armdev
[karo-tx-uboot.git] / doc / README.mpc8641hpcn
index 8ea0b1e9eeb841c4e912da04167223dfcdc9fcb3..ac56ccaf23be3c88bb693005016d8bfbf3baed98 100644 (file)
@@ -30,7 +30,7 @@ Switches:
        SW1(6-8) = 001          CFG_SYSCLK      = 000   :: SYSCLK = 33MHz
                                                  001   :: SYSCLK = 40MHz
 
-       SW2(1-4) = 1100         CFG_CCBPLL      = 0010  :: 2X 
+       SW2(1-4) = 1100         CFG_CCBPLL      = 0010  :: 2X
                                                  0100  :: 4X
                                                  0110  :: 6X
                                                  1000  :: 8X
@@ -96,20 +96,23 @@ To Flash U-Boot into the booting bank (0xFFC00000 - 0xFFFFFFFF):
 
        tftp 1000000 u-boot.bin
        protect off all
-       erase fff00000 ffffffff
-       cp.b 1000000 fff00100 80000
+       erase fff00000 +$filesize
+       cp.b 1000000 fff00000 $filesize
+
+or use tftpflash command:
+       run tftpflash
 
 To Flash U-boot into the alternative bank (0xFF800000 - 0xFFBFFFFF):
 
        tftp 1000000 u-boot.bin
-       erase ffb00000 ffbfffff
-       cp.b 1000000 ffb00100 80000
+       erase ffb00000 +$filesize
+       cp.b 1000000 ffb00000 $filesize
 
 
 4. Memory Map
 -------------
 
-       Memory Range                    Device          Size            
+       Memory Range                    Device          Size
        ------------                    ------          ----
        0x0000_0000     0x7fff_ffff     DDR             2G
        0x8000_0000     0x9fff_ffff     PCI1/PEX1 MEM   512M
@@ -121,3 +124,37 @@ To Flash U-boot into the alternative bank (0xFF800000 - 0xFFBFFFFF):
        0xe300_0000     0xe3ff_ffff     PCI2/PEX2 IO    16M
        0xfe00_0000     0xfeff_ffff     Flash(alternate)16M
        0xff00_0000     0xffff_ffff     Flash(boot bank)16M
+
+5. pixis_reset command
+--------------------
+A new command, "pixis_reset", is introduced to reset mpc8641hpcn board
+using the FPGA sequencer.  When the board restarts, it has the option
+of using either the current or alternate flash bank as the boot
+image, with or without the watchdog timer enabled, and finally with
+or without frequency changes.
+
+Usage is;
+
+       pixis_reset
+       pixis_reset altbank
+       pixis_reset altbank wd
+       pixis_reset altbank cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>
+       pixis_reset cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>
+
+Examples;
+
+       /* reset to current bank, like "reset" command */
+       pixis_reset
+
+       /* reset board but use the to alternate flash bank */
+       pixis_reset altbank
+
+       /* reset board, use alternate flash bank with watchdog timer enabled*/
+       pixis_reset altbank wd
+
+       /* reset board to alternate bank with frequency changed.
+        * 40 is SYSCLK, 2.5 is COREPLL ratio, 10 is MPXPLL ratio
+        */
+       pixis-reset altbank cf 40 2.5 10
+
+Valid clock choices are in the 8641 Reference Manuals.