The Qualcomm platform captures ramdump and uses qcap for parsing, ramdumpqcap

Source: Internet
Author: User

The Qualcomm platform captures ramdump and uses qcap for parsing, ramdumpqcap

You can use ramdump to analyze whether Qualcomm crashes or finds sleep problems. The specific steps are as follows:

Check that the kernel is configured with CONFIG_MSM_DLOAD_MODE and that download_mode is 1.

Grep-rin CONFIG_MSM_DLOAD_MODE out/target/product/xxxxx/obj/KERNEL_OBJ/. config

Adb shell

Cd/sys

Find-name download_mod

Cat download_mod

Use QPST Configuration to capture ramdump

Reduce the PS_HOLD value by less than 200 ms. You can try it when starting the system and practice it. (sometimes it is difficult to enter ramdump due to poor control or manual triggering.

Dump to confirm the ramdump mode, echo c>/proc/sysrq-triggel)

The following information is printed on the serial port:

D-102632-pm_driver_init, Delta

B-427854-clock_init, Start

D-152-clock_init, Delta

B-3539189-Sahara: Hello pkt sent

Then use qcap for analysis

For more information about qcap usage, see 80-NR964-54SC (Chinese) 80-NR964-54.

Select IE browser. When you open the website, you will be prompted to download java from the java official website, install it as prompted, and restart the browser.

1. The Product item of the software Product in pait.html.

2. Select All For subsystem analysis.

3. Select the meta build path, that is, the modem code path or separately place the required symbol file to the path captured by dump.

In the log folder, you can refer to the following prompts to find the symbol file.

-Summary:

1) You can check your contexts. xml, such:

M8936FAAAANYZQ *. elf

Modem_proc/build/MS/

In the contexts. xml file of modem, find the file corresponding to the sysbol or elf string. If the machine code and the compiled code

If the code is inconsistent or the found code is inconsistent, the parsing of the red font fails.

A document will be generated after success,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.