All pastes #445338 Raw Edit

wd

public text v1 · immutable
·published 2007-04-17 20:26 UTC
rendered paste body
;
[INIT]
; init core register
WREG	MSR		0x00001002	;MSR  : ME,RI
WSPR	27		0x00001002	;SRR1 : ME,RI
WSPR	149		0x2002000F	;DER  : set debug enable register
;;WSPR	149		0x2006000F	;DER  : enable SYSIE for BDI flash progr.
WSPR	638		0xFF000000	;IMMR : internal memory at 0xFF000000
WSPR	158		0x00000007	;ICTRL:

; init SIU register
WM32	0xFF000000	0x00600000	;SIUMCR
WM32	0xFF000004	0xFFFFFF89	;SYPCR without wdt
;WM32	0xFF000004	0xFFFFFF8F	;SYPCR with wdt

WSPR    796             0x00000000      ;M_TWB: invalidate TWB

[TARGET]
MMU	    XLAT	; support virtual addresses (for Linux!)
PTBASE	    0x000000F0	; ptr to page table pointers
CPUCLOCK    45000000	;the CPU clock rate after processing the init list
BDIMODE	    AGENT	;the BDI working mode (LOADONLY | AGENT)
BREAKMODE   HARD	;SOFT or HARD, HARD uses PPC hardware breakpoints
DCACHE      NOFLUSH

[HOST]
IP	    192.168.1.1
FILE	    /tftpboot/sevis/u-boot.bin
FORMAT	    BIN
LOAD	    MANUAL	;load code MANUAL or AUTO after reset
DEBUGPORT   2001
START	    0x0100

[FLASH]
CHIPTYPE    AM29BX16	;Flash type (AM29LV160B)
CHIPSIZE    0x80000	;The size of one flash chip in bytes
BUSWIDTH    8		;The width of the flash memory bus in bits (8 | 16 | 32)
WORKSPACE   0xFF002000		; RAM buffer for fast flash programming
FILE	    /tftpboot/sevis/u-boot.bin
FORMAT	    BIN  0x00000000
ERASE	    0x00000000 BLOCK
ERASE	    0x00008000 BLOCK
ERASE	    0x0000C000 BLOCK
ERASE	    0x00010000 BLOCK
ERASE	    0x00020000 BLOCK

[REGS]
DMM1	0xFF000000
FILE	/tftpboot/sevis/reg860.def