- Jun 22, 2017
-
-
Soumen Ghosh authored
As DCC is not going to be enabled on secure device, SDI would dump required registers in standard dcc dumping format. So extend ramparser’s DCC parsing support for <address><value> format. The KMISC section would contain all registers address value pair as mentioned below. Parse the data and generate the “dcc_captured_data.xml” and it should be same as actual dcc dump parsed xml. Change-Id: Ib042ebc6895f0594f5784600174087a979e8709f
-
- Jun 07, 2017
-
-
Sri Krishna Madireddy authored
Add support for generating sram.bin from DCC_SRAM.BIN With this NEW sram will call version 2 of DCC driver for parsing. Change-Id: If8012b1f38ba29daa5bdac2fd15820de51ea9cab
-
- May 26, 2017
-
-
Soumen Ghosh authored
A minidump supports fewer features than a full ramdump, but does not require the user to save all 4GB+ of memory. Instead a small subset of DDR is saved by crashscope as an elf file. Currently dmesg logs, rtb logs, and the cpu context parser are supported. Example usage: python ramparse.py --vmlinux <vmlinux> --minidump --ram-elf <elf_file> --ram-file <OCIMEM.bin> --everything Change-Id: Ib689b4811d66472ac20aa7c63893fdaed915512e
-
- May 08, 2017
-
-
Soumen Ghosh authored
This changes to fetch serila number of HW from dump Change-Id: I93ee37feafd9e407fe380761c0e6469fabe40f7d
-
- Mar 29, 2017
-
-
Patrick Daly authored
When calling read_structure_field with an undefined symbol, the desired behavior is to return None rather than crash. Change-Id: Iaf172a038779cf767b55c47ec37b8e90e194aa0f
-
- Mar 27, 2017
-
-
Patrick Daly authored
Add a function for reading a signed 64 bit value from a ramdump. Change-Id: Ic7e5a8a7cb9d5fd551ffb2c3add2499a25aff540
-
- Mar 22, 2017
-
-
Ritesh Harjani authored
This prints kimage_voffset info if kaslr is enabled. Change-Id: Ia18bba9f2df1c579721aeb44a8dd2b7143183b89
-
- Mar 08, 2017
-
-
Siba Prasad authored
This adds remove_file function to ramdump class. Change-Id: Ibe6196aad7ccd1c2bb381b9adab682394244f879
-
- Jan 24, 2017
-
-
Kyle Yan authored
As of commit c4c54dd1 (kernel/cpu.c: change type of cpu_possible_bits and friends), cpu_present_bits no longer exists. Add new method of finding number of cpus and also change other functions to use the get_num_cpus API instead of defining it again. Change-Id: I6d38d505ba7674b94e8481e6679226803eba977e
-
- Jan 04, 2017
-
-
Runmin Wang authored
Add check to avoid "object has no attribute 'kaslr_addr'" on boards where kaslr_addr is not defined. Change-Id: I2691b313f6a0ab75b216cd678245e97cf22ce4e7
-
- Dec 22, 2016
-
-
Runmin Wang authored
Kaslr-offset in stored in imem by the kernel driver. This patch enables the parser to extract the required offset before parsing. Change-Id: Ie773a2e52989b0f2a83c19d39ffdba7f77911e39
-
- Dec 17, 2016
-
-
Runmin Wang authored
When kernel address space layout randomization is enabled by kernel, a new kaslr_offset will be added to the kimage_vaddress. This patch adds this offset to get the correct kimage_vaddress. Change-Id: Ia19c5b4d47674e2753ba167e5a50295902720457
-
- Dec 12, 2016
-
-
Olav Haugan authored
The startup scripts used with T32 is not generated properly for use with Linux. Fix this: * Make T32 use absolute paths on both Windows and Linux * Update T32 config scripts to work with Linux Change-Id: If96dd762d8cb5a9419d149d370ae21cf222ed93b
-
- Oct 20, 2016
-
-
Patrick Daly authored
the paths used by the T32 launcher used the incorrect directory when the autodump option was passed. Additionally, fix an issue where not all of the files detected by autodump are printed out. Change-Id: Id96500e6a59961aa1d06af515560b367a42f2e5b
-
- Oct 07, 2016
-
-
Prashanth Bhatta authored
Customers normally share extracted logs from RAMDUMP because of various reasons including security and to protect personal information. Add support to extract WLAN module debug details so that customer issues can be triaged easily. CRs-fixed: 1074311 Change-Id: If7a3f2c6ed990d9203ea93c8e0688c5c44f13c53
-
- Sep 09, 2016
-
-
Gopi Krishna Nedanuri authored
File creation is failing in some filers if it is created in a non-existing folder. Change-Id: Ieaacc3f1992b38683c52df6225727ab88944d65a
-
- Sep 02, 2016
-
-
Kyle Yan authored
Latest kernel introduces KIMAGE_VADDR which allows the virtual base of the kernel region to be below PAGE_OFFSET. Change-Id: I9d063f882e220d0795eca45a618ad72580dff552
-
- Jul 21, 2016
-
-
Patrick Daly authored
The board number is intended to be a human readable identification value. Allowing this to be a string is more flexible. CRs-Fixed: 1013327 Change-Id: If523acafc54f5026680d18c95e4899fb0436599d
-
- Jul 19, 2016
-
-
Patrick Daly authored
Calling read_byte() on windows may return the empty string '' prior to the end of the file without opening the file in 'rb' mode. The 'rb' mode was removed by commit 5743b613 ("lrdp-v2: ramdump: Fix autoparse for some targets.") Change-Id: Ibea608112400c06a9adc6f1fd3b4842a87717846
-
- Jul 11, 2016
-
-
Gopi Krishna Nedanuri authored
Add memory files used for some targets. Change-Id: I64df5549568a97f907b0e493f3d4cac81a98ddf9
-
- Jul 06, 2016
-
-
Jonathan Avila authored
Add support for parsing dump_info.txt and load.cmm to properly set phys offset and find the base addresses of memory files. This change fixed autoparse on a few targets, though may not apply to all platforms and situations. Changes based heavily on those made from a prior change. See Change-Id: I4be54a48a659ac1e6346d9178d19a8b40e2e1b6d CRs-Fixed: 1038185 Change-Id: If98a4073e9afc98fd3903e606539b9e4e9ca2c51
-
- Apr 14, 2016
-
-
David Garibaldi authored
Debug image parsing currently includes QDSS ETM and ETR binary data parsing by default. However, these two parsing operations can take a significant amount of time if either of their respective data buffers are very large. Furthermore, this binary data is not needed for most common debug image parsing use cases. Add an argument to optionally disable QDSS ETM and ETR binary data parsing when debug image parsing has also been selected. Change-Id: Iab25c15d00dde1bb5dfafb3149e6e55760fd6291
-
- Mar 24, 2016
-
-
Adrian Salido-Moreno authored
Add module to get information from MDP dumps, which can occur under situations where MDP cannot recover. Change-Id: I8ecdced37206947c434c7ddf4d7d61979c9cf92f
-
- Feb 13, 2016
-
-
Mitchel Humpherys authored
Currently we split each config line on the equals sign, assuming that there's only one equals sign there. This isn't a valid assumption for cases like: CONFIG_CMDLINE="console=ttyAMA0" Fix this by splitting at the first equals sign, rather than splitting at *all* equals signs. Change-Id: I01e44fe2e9a0f09a8bebdd76715002f6b12cf0b5
-
- Jan 11, 2016
-
-
Robert Morrison authored
Add '--kaslr-offset' option. This specifies the offset for loading symbols for a KASLR-enabled kernel. Change-Id: I208d964ea3ca58536a0b80a32b4e334c73aae534
-
- Dec 17, 2015
-
-
Mitchel Humpherys authored
Some of our module documentation is a bit lacking. Fix this by filling in some docstrings and add then adding some pointers to existing modules/functions in the docs. Change-Id: Ibf714225f1fc185be916e514861540fd98cb2de5
-
- Nov 17, 2015
-
-
Mitchel Humpherys authored
Most read functions that take a virtual address also understand string variable names, for convenience. Add this support to the `hexdump' function as well. Change-Id: I773992ba3793a68226b49525b66141b021924387
-
Mitchel Humpherys authored
Most of the time 100 is a good default max length when reading any old C-string. Use it. Change-Id: I1805b0b4b2b9bc18c06f4ca0e7cd6cd70b854620
-
Mitchel Humpherys authored
GdbMI.symbol_at returns a string, not a GdbSymbol object, so the extra field traversal is unnecessary. Change-Id: I85acd83657e4b6055bd1f7945da73dcf9d4839f1
-
Mitchel Humpherys authored
The name symbol_at gives a better idea of what the function does, and it more closely mirrors the corresponding gdbmi function. Change-Id: If2f3df505bc129a3b963ea363e4c544599626948
-
Mitchel Humpherys authored
In lieu of a more generic way of reading fields from structures, introduce another specialized structure field reader for reading C strings. Change-Id: I6aba392f59179fa70a065a08f19a694e87f683dd
-
Mitchel Humpherys authored
Rename addr_lookup to address_of to match common terminology more closely. Change-Id: I7fc744ce88d1f8880f13dfbf83fb0efcbe9ba0f2
-
- Nov 10, 2015
-
-
Mitchel Humpherys authored
Pointers can be either 32-bits or 64-bits, depending on the architecture. Add an accessor function to abstract this away. Change-Id: I64e2c18c85ec3d9ca7304163dc5a42edc83f1443
-
Mitchel Humpherys authored
A few reader functions currently assume that a virtual address (a number) was passed in, but those functions also support reading variable names. Resolve the address or name to a virtual address before doing arithmetic on it. Change-Id: I55aa649ff203926565f8eaf3cb234677ef6b6104
-
Mitchel Humpherys authored
Some of the return sequences in the memory accessor code are unnecessarily complex. Simplify them. Change-Id: Iefe489b3ce4a4591574a2cc8d51aa23ce425b2b1
-
Mitchel Humpherys authored
Currently there are "trace" print statements scattered throughout the code. These make the code harder to follow and aren't terribly useful. Remove them in favor of on-demand instrumentation or more sophisticated debugging methods (like a debugger). Change-Id: I70a91b8dca34566d48ed1f4902cba5b9f9b4de40
-
Mitchel Humpherys authored
The memory accessor functions that have documentation are using comments rather than docstrings. Fix this. Also rename some variables for improved self-documentation. Change-Id: I6a196ff27665c5b0c96b3c5095b39690015b07e1
-
Mitchel Humpherys authored
It can be useful to look up the values of config items. Store a dictionary mapping config options to their values. Change-Id: I99f7615b2c5926558dfba100fa0c45b6e29ecdb5
-
- Sep 01, 2015
-
-
Amey Telawane authored
Presently auto-dump option finds DDR base addresses from statically defined per target meta data in boards.py. This leads to auto-dump feature fail on different targets, say with different DDR base and size. Add support to parse DDR base addresses from load.cmm, dump_info.txt or ramdump_msg.txt which ever is available in that order. Fall-back to conventional static populated data in boards.py if none of them is available. Change-Id: Ie4ac4f281e92c9b527de17fa665c9cd6c3d5d384
-
- Aug 31, 2015
-
-
Sarangdhar Joshi authored
The ram_dump.kernel_version variable is defined as a list and incorrectly compared with tuple. This comparison always fails. Fix it by changing ram_dump.kernel_version variable to tuple. Change-Id: I12d4556693101fccfad795e5ea737b42e96acac7
-