; ----------------------------------------- ; Minimal bdiGDB configuration for iMX53QSB ; ----------------------------------------- ; ; For Linux kernel debugging make sure the parameter jtag=on is set ; If necessary change the approriate U-boot variable. ; Append 'jtag=on' to the bootargs_base environment variable ; Example: ; setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 gpu_nommu ${vga} jtag=on' ; saveenv ; [INIT] [TARGET] POWERUP 2000 ;start delay after power-up detected in ms CLOCK 8000000 1000000 ;JTAG clock: start with 1MHz then use 8MHz TRST OPENDRAIN ;TRST driver type (OPENDRAIN | PUSHPULL) RESET NONE ;see SCANINIT ; CPUTYPE CORTEX-A8 0xc0008000 ;Cortex-A8, APB core debug base at 0xc0008000 ;STARTUP HALT ;halt as soon as possible STARTUP STOP 2000 ;let U-boot setup the system ENDIAN LITTLE ;memory model (LITTLE | BIG) BREAKMODE HARD ;SOFT or HARD MEMACCESS CORE 10 ;memory access via Core (80 TCK's access delay) ;MEMACCESS AHB 8 ;memory access via AHB (64 TCK's access delay) ; SCANPRED 2 9 ;two devices before DAP SCANSUCC 0 0 ;no devices after DAP ; ; There is no debug communication possible when RESET is asserted. ; In order be able to hard reset the system we use SCANINIT SCANINIT r1:w100:t1:w100:t0: ;assert reset and toggle TRST SCANINIT w1000:ch10:w1000: ;clock TCK with TMS high and wait SCANINIT r0:w10000 ;release reset ; [HOST] PROMPT iMX53> [REGS] FILE $regIMX53.def