;bdiGDB configuration file
;--------------------------------------------------------------
;
[INIT]
; init core register
WREG MSR 0x00000000 ;MSR : ME,RI
WSPR 1017 0x00000000 ;L2CR : disable L2 cache
WSPR 1008 0x84000000 ;HID0 : disable I/D cache
;init memory controller
[TARGET]
CPUTYPE 7457 ;the CPU type
JTAGCLOCK 0 ;use 16 MHz JTAG clock
BOOTADDR 0xfff00100
;WORKSPACE 0x42000000 ;workspace in target RAM for data cache flush and L3PM access
BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT | GATEWAY)
STARTUP RESET
BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoint
;STEPMODE HWBP ;TRACE or HWBP, HWPB uses a hardware breakpoint
STEPMODE TRACE
;DCACHE FLUSH ;data cache flushing (FLUSH | NOFLUSH)
;MMU XLAT 0xC0000000 ;enable virtual address mode
MMU XLAT
PTBASE 0x000000F0 ;address where kernel/user stores pointer to page table pointers
;VECTOR CATCH ;catch unhandled exceptions
;SIO 7 9600 ;TCP port for serial IO, check BCSR1: enable RS232-1 !!!
;MEMDELAY 4000 ;additional memory access delay
;REGLIST STD ;select register to transfer to GDB
;L3PM 0x00100000 0x80000 ;L3 privat memory
[HOST]
IP 10.18.3.183
LOAD MANUAL ;load code MANUAL or AUTO after reset
DEBUGPORT 2001
[FLASH]
CHIPTYPE STRATAX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16)
CHIPSIZE 0x800000 ;The size of one flash chip in bytes (e.g. Am29LV800BB = 0x100000)
BUSWIDTH 32 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64)
WORKSPACE 0x42000000 ;workspace in SDRAM /marvell internal sram/