; bdiGDB configuration file for Kiska-Island Evaluation Platform ; ------------------------------------------------------------------ ; [INIT] WCP15 0x0001 0x040000F8 ; Set big endian mode WCP15 0x0005 0x0 WCP15 0x010F 0x00002001 ;Enable CP0 and CP13 access WM32 0xc4000000 0xbfff3c43 ; Flash writes WM32 0xc4000004 0xbfff3c43 ; Flash writes WM32 0xc4000008 0xbfff3c43 ; Flash writes WM32 0xc400000c 0xbfff3c43 ; Flash writes ;wm8 0x1fc0000 0x60 ; configuration sector unlock ;wm8 0x1fc0000 0xd0 ;delay 100 ;wm8 0x1fc0000 0xff ; WGPR 0 0 ;Linux needs this !!! WGPR 1 245 ;machine type [TARGET] ;WAKEUP 20000 CPUTYPE MANZANO ;the target CPU type JTAGCLOCK 3 ;use 8 MHz JTAG clock DBGHANDLER 0xFFFF0800 ;debug handler base address ;BDIMODE AGENT RUN ;the BDI working mode (LOADONLY | AGENT) ;STARTUP STOP 2000 ;let the monitor setup the board STARTUP RUN ;STARTUP STOP ENDIAN BIG ;memory model (LITTLE | BIG) BREAKMODE SOFT ;SOFT or HARD ;BREAKMODE HARD ;SOFT or HARD ; VECTOR bit encoding ; 0x80 Trap Fiq ; 0x40 Trap Irq ; 0x20 Reserved - Write 0 ; 0x10 Trap Data Abort ; 0x08 Trap Prefetch Abort ; 0x04 Trap Software Interrupt ; 0x02 Trap Undefined Instruction ; 0x01 Trap Reset ;VECTOR CATCH 0xDE ;trap all vectors ;VECTOR CATCH 0x9A ;trap all vectors except irq ;VTABLO 0xe59ff018 ;Use fixed vectors "ldr pc, [pc, #18]" ;VTABHI 0 0xef9f0000 ;Use fixed vectors ;VTABHI 1 0xea0000dd ;0xffff0004: b 0xffff0380 ;VTABHI 2 0xe59ff410 ;0xffff0008: ldr pc, [pc, #410] ; 0xffff0420 ;VTABHI 3 0xea0000bb ;0xffff000c: b 0xffff0300 ;VTABHI 4 0xea00009a ;0xffff0010: b 0xffff0280 ;VTABHI 5 0xea0000fa ;0xffff0014: b 0xffff0404 ;VTABHI 6 0xea000078 ;0xffff0018: b 0xffff0200 ;VTABHI 7 0xea0000f7 ;0xffff001c: b 0xffff0400 [HOST] ;IP 151.120.25.119 ;FILE E:\cygwin\home\bdidemo\xscale\vmlinux.brh ;FORMAT ELF FILE $kiska/zImage FORMAT BIN 0x00008000 START 0x00008000 LOAD MANUAL ;load code code MANUAL or AUTO after reset ;LOAD AUTO PROMPT kiska_be> [FLASH] CHIPTYPE STRATAX8 ;Flash type CHIPSIZE 0x2000000 ;The size of one flash chip in bytes BUSWIDTH 8 ;The width of the flash memory bus in bits (8 | 16 | 32) FORMAT BIN 0x0 FILE $kiska/redboot.bin FORMAT BIN 0 ERASE 0x00000000 ;erase sector 0 ERASE 0x00020000 ;erase sector 1 ERASE 0x00040000 ;erase sector 2 ERASE 0x00060000 ;erase sector 3 ERASE 0x00080000 ;erase sector 4 [REGS] FILE $ixp2000.def