; Linux debug script ; ------- ;written by Steven Blakeslee 2002 ;based on the HMI script written by Greg Davis ; [INIT] ; init core register WSPR 638 0xfa200000 ;;IMMR: internal memory at 0xFA200000 ; ; init SIU register WM32 0xFA200004 0xffffff89 ;;SYPCR: enable bus monitor, disable software watchdog ; WSPR 796 0x00000000 ;M_TWB: invalidate TWB WM32 0x000000f0 0x00000000 ;invalidate page table base ; WSPR 149 0x0082000F ;DER: enable PRIE,TRE,LBRK,IBRK,EBRK,DPI ; [TARGET] CPUCLOCK 50000000 ;the CPU clock rate after processing the init list WORKSPACE 0x00000000 ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT) BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoints MMU XLAT 0xC0000000 ;enable virtual address mode PTBASE 0x000000f0 ;here is the pointer to the page table pointers DCACHE NOFLUSH ;data cache flushing (FLUSH | NOFLUSH) ; [HOST] IP 10.0.0.198 FILE z.srec FORMAT SREC LOAD MANUAL ;load code MANUAL or AUTO after reset ; [REGS] DMM1 0xFA200000 FILE defs/reg860.def