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
..
2018-08-17 11:41:20 +08:00
2019-02-13 09:04:23 +08:00
2017-07-03 17:35:28 -04:00
2019-01-22 17:06:47 +08:00
2019-01-28 20:42:54 +08:00
2019-02-01 16:17:34 +08:00
2017-08-26 14:56:11 -04:00
2017-06-01 19:55:50 -07:00
2019-02-13 09:04:23 +08:00
2017-08-22 09:56:09 +02:00
2017-11-14 10:55:45 +08:00
2019-01-28 20:42:54 +08:00
2019-02-01 10:31:28 +08:00
2019-01-28 20:42:54 +08:00
2016-12-03 13:21:21 -05:00
2017-06-01 07:03:17 -06:00
2018-01-17 15:27:28 +08:00
2018-01-17 15:27:28 +08:00
2017-08-16 08:30:24 -04:00
2017-02-08 15:56:28 -05:00
2017-08-17 16:44:17 +09:00
2017-11-14 10:55:46 +08:00
2017-11-14 10:55:46 +08:00
2019-01-30 16:51:22 +08:00
2017-11-14 10:55:46 +08:00
2018-08-06 11:15:19 +08:00
2017-06-05 11:02:29 -04:00
2017-05-15 10:38:09 -04:00
2017-07-12 06:57:38 +02:00
2018-11-21 10:11:40 +08:00
2017-10-31 16:13:17 +08:00
2018-09-17 09:32:28 +08:00
2018-01-17 15:27:28 +08:00
2018-08-06 11:15:19 +08:00
2017-06-05 14:13:09 -04:00
2018-01-16 18:13:59 +08:00
2018-02-24 19:02:43 +08:00
2018-05-25 11:46:18 +08:00
2017-08-11 15:41:52 -04:00
2018-12-10 14:51:17 +08:00
2017-07-08 15:55:34 -04:00
2016-12-02 21:32:38 -05:00
2017-01-28 08:47:30 -05:00
2017-08-11 15:41:51 -04:00
2017-01-28 08:47:42 -05:00
2018-07-18 15:52:38 +08:00
2017-08-14 17:06:06 -04:00
2017-08-07 15:22:29 -05:00
2017-07-11 10:08:19 -06:00
2016-10-13 12:25:02 -05:00
2016-10-19 09:01:51 +02:00
2017-06-01 07:03:11 -06:00
2018-07-19 09:57:48 +08:00
2017-07-28 23:34:39 +02:00
2017-07-11 10:08:19 -06:00
2016-11-25 17:59:31 -07:00
2017-04-13 09:41:10 -04:00
2017-06-01 07:03:08 -06:00
2018-08-15 10:10:19 +08:00
2018-08-06 11:15:19 +08:00
2017-09-12 16:04:38 +08:00
2018-12-10 18:03:51 +08:00
2017-04-04 20:01:57 -06:00
2018-06-28 16:24:34 +08:00
2017-08-17 16:44:17 +09:00
2018-10-19 15:27:57 +08:00
2018-08-15 10:10:19 +08:00
2017-07-25 10:58:07 +02:00
2017-08-18 10:53:23 +02:00
2018-01-16 18:16:48 +08:00
2016-11-14 23:24:03 +01:00
2017-09-05 20:17:08 -04:00
2018-06-15 16:48:11 +08:00
2018-01-17 15:27:28 +08:00
2017-08-16 08:30:24 -04:00
2016-11-21 14:07:27 -05:00
2018-08-17 11:45:16 +08:00
2018-01-16 18:16:48 +08:00
2018-08-13 09:58:31 +08:00
2017-11-14 10:55:45 +08:00
2018-12-24 17:20:37 +08:00
2018-01-17 15:27:28 +08:00
2018-12-24 17:20:37 +08:00
2017-08-22 09:56:09 +02:00
2018-01-17 15:27:28 +08:00
2018-03-06 15:33:28 +08:00
2017-08-09 09:57:33 -07:00
2017-04-14 13:50:41 +02:00
2017-04-12 13:28:32 -04:00
2017-01-04 19:40:52 -05:00
2017-04-17 09:03:30 -07:00
2017-07-12 09:44:22 +02:00
2017-06-05 14:12:59 -04:00
2017-03-17 09:27:08 +01:00
2016-12-08 10:36:22 -06:00
2017-01-04 19:40:19 -05:00
2017-03-28 09:03:04 -07:00
2017-07-28 23:34:41 +02:00
2017-05-31 19:38:14 -04:00
2017-05-10 13:37:22 -06:00
2017-06-12 08:38:02 -04:00
2017-09-03 15:30:35 -04:00
2018-08-06 11:15:19 +08:00
2017-11-14 10:55:45 +08:00
2019-01-24 15:33:12 +08:00
2017-08-23 10:41:58 +02:00
2017-04-05 16:36:56 -04:00
2017-04-05 13:52:35 -04:00
2018-12-24 16:44:06 +08:00
2018-07-18 16:33:02 +08:00
2017-07-23 09:24:47 -04:00
2018-01-30 17:25:14 +08:00
2019-01-23 21:17:03 +08:00
2017-06-01 07:03:16 -06:00
2018-12-18 17:03:59 +08:00
2017-06-16 10:14:55 -04:00
2019-01-18 09:09:34 +08:00
2016-10-23 18:33:57 -04:00
2017-06-12 08:37:55 -04:00
2017-04-14 19:38:57 -06:00
2017-09-07 10:44:37 -04:00
2018-01-17 15:27:28 +08:00
2017-06-01 07:03:15 -06:00
2016-11-07 11:28:16 -06:00
2016-12-20 07:40:04 +01:00
2018-10-19 15:27:57 +08:00
2017-07-08 15:55:26 -04:00
2017-07-11 22:41:54 -04:00
2017-11-14 10:55:44 +08:00
2017-07-28 13:41:49 +02:00
2017-08-24 11:00:47 +08:00
2017-08-13 15:17:31 -04:00
2017-06-01 07:03:06 -06:00
2017-07-28 12:02:47 -06:00
2016-12-04 13:54:51 -05:00
2018-01-17 15:27:28 +08:00
2018-11-29 20:40:09 +08:00
2017-08-13 15:17:32 -04:00
2017-05-31 10:09:03 +02:00
2017-06-12 08:37:55 -04:00
2017-08-07 15:18:30 -05:00
2018-01-17 15:27:28 +08:00
2017-06-01 07:03:15 -06:00
2017-07-08 15:55:26 -04:00
2017-05-10 13:37:21 -06:00
2018-12-19 17:08:21 +08:00
2017-10-24 16:22:17 +08:00
2017-09-12 16:04:36 +08:00
2017-04-05 16:36:57 -04:00
2017-06-01 07:03:15 -06:00
2017-07-28 23:34:07 +02:00
2019-01-23 21:17:03 +08:00
2017-10-20 08:59:10 +08:00
2018-05-11 11:08:38 +08:00
2018-06-13 10:56:38 +08:00
2017-10-25 20:39:04 +08:00
2018-08-13 10:25:21 +08:00
2017-04-10 10:02:03 +08:00
2016-10-06 20:57:40 -04:00
2017-08-17 16:44:17 +09:00
2017-07-11 10:08:19 -06: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
2017-08-24 11:00:47 +08:00
2017-02-06 11:38:46 +08:00
2018-09-25 19:32:33 +08:00
2016-10-06 15:07:35 -04:00
2017-06-01 07:03:16 -06:00
2018-01-17 15:28:11 +08:00
2017-01-13 17:40:38 +01:00
2019-02-13 09:04:23 +08:00
2017-06-16 10:14:55 -04:00
2017-07-31 12:21:40 -04:00
2018-01-17 15:27:28 +08:00
2017-09-12 16:04:36 +08:00
2019-01-24 15:33:12 +08:00
2016-10-19 09:01:50 +02:00
2017-01-14 16:46:30 -05:00
2017-03-26 13:22:58 -06:00
2017-04-17 09:03:30 -07:00
2017-04-12 13:28:27 -04:00
2017-07-28 23:34:34 +02:00
2017-11-03 11:57:10 +08:00
2018-01-16 18:17:07 +08:00
2017-08-24 11:00:47 +08:00
2018-12-26 18:45:34 +08:00
2016-10-23 18:33:48 -04:00
2018-02-23 10:28:27 +08:00
2016-10-23 18:33:54 -04:00
2018-01-17 15:27:28 +08:00
2017-01-10 10:18:11 +01:00
2017-07-08 15:55:32 -04:00
2017-08-13 15:17:34 -04:00
2019-01-31 11:08:44 +08:00
2017-04-08 09:26:54 -04:00
2017-08-02 09:11:52 +02:00
2016-11-15 15:28:04 +01:00