;bdiGDB configuration file for P4080-DS ;-------------------------------------- ; ; [INIT] ; ; Release cores for booting ;WM32 0xfe0e00e4 0x000000ff ;BRR: ; ; setup device trigger WDCSR 0x204 0x000000ff ;CGCR0: Core Group 0 (0,1,2,3,4,5,6,7) WDCSR 0x20c 0x0000000e ;CGCR1: Core Group 1 (1,2,3) WDCSR 0x214 0x000000f0 ;CGCR2: Core Group 2 (4,5,6,7) ; WDCSR 0x700 0x00020001 ;CSTTACR0: trigger if a core from group 1 enter debug halt WDCSR 0x610 0x00000022 ;CGACRD4 :if device event, halt cores in group 2 ; [TARGET] ; common parameters POWERUP 5000 ;start delay after power-up detected in ms JTAGCLOCK 1 ;use 8 MHz JTAG clock (16 does not work) WAKEUP 200 ;give reset time to complete ; ;======================================================== ; !!!! define the core ID (the #x) without any holes !!!! ; !!!! no need that core ID matches the core number !!!! ; !!!! A valid example is: #1 CPUTYPE P4080 5 0 !!!! ;======================================================== ; ; Core#0 parameters (active vCPU after reset) #0 CPUTYPE P4080 0 0 ;Core0 / SOC0 #0 STARTUP STOP 5000 ;let U-boot setup the system #0 BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoint #0 STEPMODE HWBP ;ICMP or HWBP, HWBP uses a hardware breakpoint ; ; ; Core#1 parameters #1 CPUTYPE P4080 1 0 ;Core1 / SOC0 #1 STARTUP RUN ;let core run ; ; Core#2 parameters #2 CPUTYPE P4080 2 0 ;Core2 / SOC0 #2 STARTUP RUN ;let core run ; ; Core#3 parameters #3 CPUTYPE P4080 3 0 ;Core3 / SOC0 #3 STARTUP RUN ;let core run ; ; Core#4 parameters #4 CPUTYPE P4080 4 0 ;Core4 / SOC0 #4 STARTUP RUN ;let core run ; ; Core#5 parameters #5 CPUTYPE P4080 5 0 ;Core5 / SOC0 #5 STARTUP RUN ;let core run ; ; Core#6 parameters #6 CPUTYPE P4080 6 0 ;Core6 / SOC0 #6 STARTUP RUN ;let core run ; ; Core#7 parameters #7 CPUTYPE P4080 7 0 ;Core7 / SOC0 #7 STARTUP RUN ;let core run ; [HOST] IP 151.120.25.119 ; #0 PROMPT P4080#0> #1 PROMPT P4080#1> #2 PROMPT P4080#2> #3 PROMPT P4080#3> #4 PROMPT P4080#4> #5 PROMPT P4080#5> #6 PROMPT P4080#6> #7 PROMPT P4080#7> ; [FLASH] [REGS] FILE $regP4080.def