Files
hardkernel-uboot/include
Joseph Chen d0df954bf3 arm: lib: add arm32/64 stacktrace support
This patch supports dump arm32/64 stacktrace as the format of raw
address info. The U-Boot symbol table is not available now, please
use ./scripts/stacktrace.sh script to parse stacktrace info with command:

    ./scripts/stacktrace.sh <file>       // stacktrace info file

Example on RK3399:
    Call trace:
     PC:   [< 00258a7c >]  dwc3_gadget_uboot_handle_interrupt+0xa0/0x5bc
     LR:   [< 002052f8 >]  usb_gadget_handle_interrupts+0x10/0x1c

    Stack:
           [< 00258a7c >]  dwc3_gadget_uboot_handle_interrupt+0xa0/0x5bc
           [< 0025bd6c >]  sleep_thread.isra.20+0xb0/0x114
           [< 0025cf58 >]  fsg_main_thread+0x2c8/0x1814
           [< 0020db58 >]  do_rkusb+0x250/0x338
           [< 00226a00 >]  cmd_process+0xac/0xe0
           [< 00212df4 >]  run_list_real+0x6fc/0x72c
           [< 00212f94 >]  parse_stream_outer+0x170/0x67c
           [< 002126e0 >]  parse_string_outer+0xdc/0xf4
           [< 00212bb0 >]  run_list_real+0x4b8/0x72c
           [< 00212f94 >]  parse_stream_outer+0x170/0x67c
           [< 00212698 >]  parse_string_outer+0x94/0xf4
           [< 00225f30 >]  run_command_list+0x38/0x90
           [< 00202d08 >]  rockchip_dnl_mode_check+0x4c/0xd4
           [< 00202db0 >]  setup_boot_mode+0x20/0xf0
           [< 00203010 >]  board_late_init+0x10/0x40
           [< 0027071c >]  initcall_run_list+0x44/0x80
           [< 00213d68 >]  board_init_r+0x20/0x24

The "dump_stack()" is available to trigger stacktrace.

Change-Id: Ib1423269dd255fa4a34231489cd3b7e6ddd22540
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-02-13 09:04:23 +08:00
..
2017-07-03 17:35:28 -04:00
2017-08-22 09:56:09 +02:00
2017-11-14 10:55:45 +08:00
2016-12-03 13:21:21 -05:00
2017-02-08 15:56:28 -05:00
2017-06-05 11:02:29 -04:00
2018-09-17 09:32:28 +08:00
2018-08-06 11:15:19 +08:00
2018-02-24 19:02:43 +08:00
2016-10-19 09:01:51 +02:00
2017-07-28 23:34:39 +02:00
2017-04-13 09:41:10 -04:00
2018-10-19 15:27:57 +08:00
2018-01-16 18:16:48 +08:00
2016-11-14 23:24:03 +01:00
2017-08-16 08:30:24 -04:00
2017-11-14 10:55:45 +08:00
2017-08-22 09:56:09 +02:00
2016-12-08 10:36:22 -06:00
2017-09-03 15:30:35 -04:00
2018-07-18 16:33:02 +08:00
2017-07-23 09:24:47 -04:00
2019-01-23 21:17:03 +08:00
2017-06-12 08:37:55 -04:00
2017-04-14 19:38:57 -06:00
2018-01-17 15:27:28 +08:00
2018-10-19 15:27:57 +08:00
2017-07-11 22:41:54 -04:00
2017-07-28 12:02:47 -06:00
2017-06-12 08:37:55 -04:00
2018-01-17 15:27:28 +08:00
2018-12-19 17:08:21 +08:00
2017-10-24 16:22:17 +08:00
2017-07-28 23:34:07 +02:00
2019-01-23 21:17:03 +08:00
2018-05-11 11:08:38 +08:00
2017-04-10 10:02:03 +08:00
2017-09-12 16:04:25 +08:00
2017-08-23 10:41:58 +02:00
2017-08-16 08:22:18 -04:00
2018-09-25 19:32:33 +08:00
2017-06-01 07:03:16 -06:00
2018-01-17 15:28:11 +08:00
2017-04-12 13:28:27 -04:00
2017-08-24 11:00:47 +08:00
2016-10-23 18:33:48 -04:00