| #
f961f5ac |
| 09-Jul-2021 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: stacktrace: print PC surrounding instructions
Call trace: PC: [< 00a7b36c >] printch+0x3c/0x68 /home4/cjh/uboot-nextdev/drivers/serial/ns16550.c:280 LR: [< 00a247e4 >] puts+0x1
scripts: stacktrace: print PC surrounding instructions
Call trace: PC: [< 00a7b36c >] printch+0x3c/0x68 /home4/cjh/uboot-nextdev/drivers/serial/ns16550.c:280 LR: [< 00a247e4 >] puts+0x1c/0x30 /home4/cjh/uboot-nextdev/common/console.c:592
Stack: [< 00a7b36c >] printch+0x3c/0x68 [< 00ab337c >] printf+0x90/0xb4 [< 00a036e4 >] rk_board_fdt_fixup+0x30/0x1a8 [< 00a01f10 >] arch_fixup_fdt+0xc/0x94 [< 00a2aa28 >] image_setup_libfdt+0x14/0x114 [< 00a26d1c >] image_setup_linux+0x4c/0x6c ......
PC Surrounding Instructions: a7b358: 528001a2 mov w2, #0xd // #13 a7b35c: b9000022 str w2, [x1] a7b360: b4000192 cbz x18, a7b390 <printch+0x60> a7b364: f9400642 ldr x2, [x18,#8] a7b368: 373000e2 tbnz w2, #6, a7b384 <printch+0x54> a7b36c: f940d242 ldr x2, [x18,#416] a7b370: b4000102 cbz x2, a7b390 <printch+0x60> a7b374: f940d241 ldr x1, [x18,#416] a7b378: b9401422 ldr w2, [x1,#20] a7b37c: 362fffe2 tbz w2, #5, a7b378 <printch+0x48> a7b380: b9000020 str w0, [x1]
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I48391165094708dd86eeeabea09739a4c14fcf6f
show more ...
|
| #
73251fc2 |
| 20-Jun-2019 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: stacktrace: support parse spl/tpl stacktrace info
Usage: ./scripts/stacktrace.sh ./dump.txt ./scripts/stacktrace.sh ./dump.txt tpl ./scripts/stacktrace.sh ./dump.txt spl
Change-Id: I6a4
scripts: stacktrace: support parse spl/tpl stacktrace info
Usage: ./scripts/stacktrace.sh ./dump.txt ./scripts/stacktrace.sh ./dump.txt tpl ./scripts/stacktrace.sh ./dump.txt spl
Change-Id: I6a496109206d26917d5677c076aa770388c36ae6 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
b97fba2c |
| 01-Feb-2019 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: add stacktrace.sh to parse stacktrace info
Usage: ./scripts/stacktrace.sh <file>
@<file>: stacktrace info file
Change-Id: I1a7b4798d9826d87ce03186958c51b30784d03e1 Signed-off-by: Joseph
scripts: add stacktrace.sh to parse stacktrace info
Usage: ./scripts/stacktrace.sh <file>
@<file>: stacktrace info file
Change-Id: I1a7b4798d9826d87ce03186958c51b30784d03e1 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|