2012-10-26 42 views
0

當我連接到目標從日食我得到的消息: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 */ 

但後來當我停止正在運行的內核: 0xc06f2674
無來源可用於「」

另外,當我嘗試步驟: 目標請求失敗:無法找到當前函數的邊界。

看來vmlinux中沒有符號。但是內核正在重新設置DEBUG_KERNEL和DEBUG_INFO。

內核2.6.39 CPU 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 

回答