2012-10-26 6 views
0

내가 메시지를 얻을 : 0xc06f2674
번호 :JTAG + openocd + 커널 디버깅 (의 vmlinux에서 디버그 정보?) 나는 이클립스에서 대상에 연결하면

symbol-file /opt/Tixi_Repos/KiwiG6v2/buildroot-2011.05/package_tixi/linux-2.6.39/arch/arm/boot/compressed/vmlinux 
target remote localhost:3333 
start() at arch/arm/boot/compressed/head.S:108 
108   kphex r5, 8  /* end of kernel */ 

그러나 이후를 나는 실행중인 커널을 중지 할 때 소스를 사용할 수 없습니다 "

단계를 시도 할 때 : 대상 요청이 실패했습니다 : 현재 기능의 범위를 찾을 수 없습니다.

vmlinux에는 기호가없는 것 같습니다. 그러나 커널은 DEBUG_KERNEL과 DEBUG_INFO가 모두 설정되어 다시 빌드됩니다.

커널 2.6.39 AT91SAM9G25

openocd -f /usr/share/openocd/scripts/interface/jtagkey2.cfg -f /usr/share/openocd/scripts/board/at91sam9g20-ek.cfg 


TapName   | Enabled | IdCode  Expected IrLen IrCap IrMask Instr  
---|--------------------|---------|------------|------------|------|------|------|--------- 
0 | at91sam9g20.cpu | Y | 0x00000000 | 0x0792603f | 0x04 | 0x01 | 0x0f | 0x0f 
Info : max TCK change to: 30000 kHz 
Info : RCLK (adaptive clock speed) 
Info : JTAG tap: at91sam9g20.cpu tap/device found: 0x0792603f (mfg: 0x01f, part:0x7926, ver: 0x0) 
Info : Embedded ICE version 6 
Info : accepting 'gdb' connection from 0 
Warn : acknowledgment received, but no packet pending 

답변