; bdiGDB configuration file for Cavium CN3010 (From CN3860) ; ------------------------------------------- ; ; This configuration uses the monitor setup the board ; [INIT] ; ; Invalidate Caches IVIC ;Invalidate IC IVDC ;Invalidate DC WCP0 12 0x504000e5 ; status WM64 0x8001180000000000 0x0000000080bf1f40 ;write to mio_breg_cfg0 WM64 0x8001180000000048 0x0004fc01441471c2 ;write to mio_breg_tim0 [TARGET] ; common parameters POWERUP 2000 ;power-up delay 2 seconds JTAGCLOCK 0 ;use 16 MHz JTAG clock ; ;====================================================== ; !!!! defines the cores numbers without any holes !!!! ;====================================================== ; ; Core#0 parameters (active core after reset) #0 CPUTYPE CNMIPS ;the used target CPU type #0 ENDIAN BIG ;target is big endian #0 JTAGDELAY 5 ;40 TCK's access delay #0 STARTUP HALT ;STOP mode is used to let the monitor init the system ; #0 WORKSPACE 0xA0000080 ;workspace in target RAM for fast download #0 BREAKMODE HARD ;SOFT or HARD #0 SCANPRED 1 5 ; select 2nd device in scan chain #0 SCANSUCC 0 0 ; ;====================================================== [HOST] IP 192.168.1.102 ;#0 FILE E:\temp\dump1024k.bin ;#0 FORMAT BIN 0xA0020000 ;#0 FILE E:\cygwin\home\demo\mips64\fibo.x ;#0 FORMAT ELF #0 PROMPT cnMIPS#0> [FLASH] ; only to test execution of target code\ CHIPTYPE MIRRORX8 ;Flash type (S29GL064) CHIPSIZE 0x00400000 ;The size of one flash chip in bytes BUSWIDTH 8 ;The width of the flash memory bus in bits ;FILE E:\temp\dump16k.bin ;FORMAT BIN 0xA0300000 [REGS] ;used for all cores unless overridden DMM1 0xFF300000 ;DSU base address DMM2 0x8000000000000000 ;xkphys segment FILE $regCNMIPS.def