; bdiGDB configuration file for PPC8260 Board ; -------------------------------------------- ; [INIT] ; init core register WREG MSR 0x00000000 ;clear MSR WM32 0x000101a8 0xF0000000 WM32 0xF0010004 0xFFFFFFC3 ;SYPCR: disable watchdog WM32 0xF0010C80 0x00000001 ;SCCR : normal operation WM32 0xF0010024 0x00000000 ;BCR init WM32 0xF0010000 0x80260000 ;SIUMCR init WM32 0xF0010C94 0x00000000 ; init memory controller WM32 0xF0010104 0xFFF00836 ;OR0: Boot ROM 1MB, CS early negate, 3 w.s., Timing relax WM32 0xF0010100 0xFFF00801 ;BR0: Boot ROM @0xFFF00000, 8 bit, no parity WM32 0xF001010C 0xFF800836 ;OR1: Flash 8MB, CS early negate, 3 w.s., Timing relax WM32 0xF0010108 0xFF000001 ;BR1: Flash @0xFF000000, 64 bit, no parity ; init SDRAM Init (PPC bus) WM16 0xF0010184 0x4000 ;MPTPR WM8 0xF001019C 0x0f ;PSRT WM32 0xF0010114 0xFE002CC0 ;OR2: SDRAM WM32 0xF0010110 0x00000041 ;BR2: SDRAM WM32 0xF0010190 0x284AA252 ;PSDMR: Precharge all banks WM8 0x00000000 0xFF ;Access SDRAM WM32 0xF0010190 0x084AA252 ;PSDMR: CBR Refresh WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM32 0xF0010190 0x184AA252 ;PSDMR: Mode Set WM8 0x00000110 0xFF ;Access SDRAM WM32 0xF0010190 0x404AA252 ;PSDMR: enable refresh, normal operation ; map more areas WM32 0xF001011C 0xFFF00858 ;OR3: SRAM WM32 0xF0010118 0x40001001 ;BR3: SRAM WM32 0xF0010124 0xFFFF8656 ;OR4: DiskOnChip WM32 0xF0010120 0xF4000801 ;BR4: DiskOnChip WM32 0xF001012C 0xFFFF8686 ;OR5: FDC37C78 WM32 0xF0010128 0xF1000801 ;BR5: FDC37C78 WM32 0xF0010134 0xFFFF8850 ;OR6: Board registers WM32 0xF0010130 0xF2000801 ;BR6: Board registers ; enable flash writing WM8 0xF2000003 0x3 [TARGET] CPUTYPE 8260 ;the CPU type (603EV,750,8240,8260) JTAGCLOCK 0 ;use 16 MHz JTAG clock BOOTADDR 0x00000100 ;boot address used for start-up break WORKSPACE 0x00004000 ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT | GATEWAY) BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoints VECTOR NOCATCH ;catch unhandled exceptions DCACHE NOFLUSH ;data cache flushing (FLUSH | NOFLUSH) MMU XLAT ;translate effective to physical address POWERUP 5000 ;start delay after power-up detected in ms ;REGLIST SPR ;select register to transfer to GDB ;REGLIST ALL ;select register to transfer to GDB [HOST] IP 192.168.3.1 FILE /tftpboot/CPU86/ppcboot.bin FORMAT BIN LOAD MANUAL ;load code MANUAL or AUTO after reset DEBUGPORT 2001 PROMPT CPU86> ;new prompt for Telnet [FLASH] CHIPTYPE AM29F ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x80000 ;The size of one flash chip in bytes (AM29DL648) BUSWIDTH 8 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64) ;WORKSPACE 0xFFF00000 ;workspace in dual port RAM FILE /tftpboot/CPU86/ppcboot.bin ;The file to program FORMAT BIN [REGS] DMM1 0xF0000000 FILE reg8260.def