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,