- Jun 19, 2015
-
-
Shashank Mittal authored
In 3.18 kernel there is a slight change in radix_tree_node structure. Fix irq parser to read radix_tree_node according to kernel version. Change-Id: Ib9e67d137994f4b7424acd2b44676dcdcdb2d0a4
-
- Apr 23, 2015
-
-
Steven Cahail authored
Integrate the IPC Logging extraction script module into linux-ramdump-parser-v2. Move ipc_logging.py from into the linux-ramdump-parser-v2/parsers directory, and create a relative symbolic link in the original location. Add a new file, ipc_logging_ramparse.py, which performs the actual integration. Change-Id: If0db4f82814a644094af7ebd0e4290dd145f94ac
-
- Apr 20, 2015
-
-
Steven Cahail authored
The constructor currently used in ramparse.py to initialize the RamDump object has a very long argument list. This list can be shortened by passing the options object to the constructor, rather than enumerating every member of the options object as a separate argument. Pass the options object to the RamDump constructor instead of passing each member as a separate argument. Change-Id: I7cbf173232838dd8f9fdbdad0e2b7336ad8fc07b
-
- Mar 25, 2015
-
-
Sarangdhar Joshi authored
Do not use hardcoded value for TTBR1. Compute TTBR1 value using swapper_pg_dir_addr and phys_offset variables dynamically. Change-Id: Ia9b4704b07e933c686e366ed0af8230be1d97e9c
-
Sarangdhar Joshi authored
Running launch_t32.bat with newer T32 gives syntax errors without newlines before "SCREEN=" and "PRINTER=WINDOWS" strings in t32_config.t32. Add newlines before these strings to avoid T32 syntax errors. Change-Id: I53ffd02d4c86959804a89bd744bf1ce7f42f163c
-
- Mar 11, 2015
-
-
Aditya Degwekar authored
If user specified --force-hardware, then skip the socinfo parsing to determine the hardware/board information. The user is warned about using the force-hardware option any way. Checking for valid swapper_pg_dir in the vmlinux also ensures that the parsing doesn't trip over when --force-hardware is used along with a bad or stripped vmlinux. Change-Id: Icce1556b39a7533418668a7f38af30f4463c32e5
-
- Nov 26, 2014
-
-
David Keitel authored
Add a parser which parses relevant CPR regulator information such as target quotient, enable flag and most recent voltage for each registered cpr regulator. Change-Id: I15432179a0cfd76575236be9c276f83a8ef7124e
-
- Oct 14, 2014
-
-
David Garibaldi authored
T32 simulator sessions currently launched from lrdp shortcuts do not contain anything that allows separate sessions to be distinguished from one another. Add a line that updates the titlebar of any launched t32 simulator session with the full path to the RAM dumps being loaded in the session. Change-Id: I4273b4f000c96ed13af897dd23c0cd19b36c9a80
-
Mitchel Humpherys authored
hexdump currently prints to stdout. Although that's convenient for interactive debugging it's not very useful for re-use in other parts of the parser. Return a string instead of printing to stdout. Also add a usage example. Change-Id: I18535f5339be85ffc5661e51430bba9a55fe665d
-
- Sep 26, 2014
-
-
Mitchel Humpherys authored
Currently we only generate scripts that work on t32 on Windows. Add support for launcher scripts targeting t32 on Linux. Change-Id: I50a293925e181f1b2370d6f7b0df719facdce18a
-
- Sep 19, 2014
-
-
Mitchel Humpherys authored
Currently our generated t32 launcher script always uses port 20,000 for intercom. This prevents end users from launching two instances of t32 without hacking up the config file by hand. Randomize the port number to avoid this (there will still be a chance of collision, but it should be negligible). Change-Id: Ia6f63a69e0ed315ac08c58d9903c2d1ef34b6c69
-
- Aug 14, 2014
-
-
Laura Abbott authored
T32 is a powerful tool which has some advanced features for remote access and the like. Add a few T32 options to t32_config.t32 to let this work. Change-Id: I158e16208b679689e677f1025efe964e89a8bfd6
-
- Jul 18, 2014
-
-
Xiaogang Cui authored
Fix the t32 tool path for 8939 and 8936, and fix the cpu type in startup script. Change-Id: Ia1b7af9f80f2fb46a2b3c964630aecfe8b82e80a
-
- Jul 16, 2014
-
-
Aparna Das authored
Add support to collect ftrace formats file and parse trace data using QTF tool. Change-Id: I6bd7dda1a39a60f714549dd22fabf11db00020e1
-
- Jun 22, 2014
-
-
Monu Surana authored
DDRCompare currently performs these tasks: * Checks the magic values of all the statically initialized locks * Scans the doubly linked list of the task list to find corruptions Change-Id: Ie4904c2434f073d5711bb439029ffec35919846e
-
- Jun 13, 2014
-
-
Pratik Patel authored
Add support for t32 mmu config for 8994 since it is different from 8916/8939. Change-Id: I2e666f50d34187ae259e35e4b941669c984132aa
-
Pratik Patel authored
Fix the cpu values for 8916, 8939 and 8994 so that the cpu_type used while creating the t32_startup_script.cmm is correct. Change-Id: Ib43aebebde5492a3aa6cbf39467ccae8a94a5fe7
-
- Jun 11, 2014
-
-
Pratik Patel authored
Add autodump parsing support for DDR sizes greater than 2GB. Change-Id: I9b008d08612f08fdbc9ec486e08fc6b00e7d3357
-
- Jun 04, 2014
-
-
Laura Abbott authored
Some binaries may be compiled with a different page offset. Add an option to allow the page offset to be adjusted properly. Change-Id: I50cf0241f8a52aa0f9cd070da827775b5cb4764c
-
- May 23, 2014
-
-
Laura Abbott authored
Commit 4eb3aa20 (linux-ramdump-parser-v2: Update RTB for 64-bit) added support for 64-bit RTB parsing but broke backwards compatibility for old branches that don't have the 64-bit changes. Update the parser to support both old and new formats. Change-Id: I6b9d834e1073d97dd3ffe43c1cc1f753d40e91b8
-
Laura Abbott authored
The arm32 version of stack unwinding was missing a function. Add it back. Change-Id: I46f769938601867fd7d331e01b200071630696af
-
- May 05, 2014
-
-
Laura Abbott authored
arm64 needs different parameters to read ramdumps. Update the script. Change-Id: I33a79d5f98a0fdc271fa769ccd40aad495c677af
-
- Apr 21, 2014
-
-
Laura Abbott authored
Reading 64 bits of data is needed at times. Add a dedicated function Change-Id: Ibef3777a574fb4ea87af51ab8230af7d4402c4f9
-
Mitchel Humpherys authored
The IOMMU parser currently only supports short-descriptor format page tables but hardware supports long-descriptor format page tables. Add support for the long-descriptor format. Most of the existing LPAE MMU code can be re-used for this, although it must be refactored a bit. Change-Id: I464d7edeb8818c0be9de1e1a8224bc9b478eac37
-
- Apr 16, 2014
-
-
Mitchel Humpherys authored
It's useful to be able to dump regions of memory a la `xxd'. Add some machinery to parser_util and RamDump to do this. Example: $ ramparse.py -a . -o parsed --shell >>> dump.hexdump(0, 100, virtual=False) 00000000: fffe ffde 0200 0000 ffff b7bf adf5 a5ff ................ 00000010: e7bf edfe c6fe edf6 fefa fffe befa fefe ................ 00000020: bfbe ffef aebd a5ef ffff 7f7e fefe 5afb ...........~..Z. 00000030: 1b00 2000 3300 4300 1c00 2100 3400 4800 .. .3.C...!.4.H. 00000040: ffff ff7f fafe ffdb effd a5af adf5 a5bf ................ 00000050: 4444 4444 4444 4444 4444 4444 4444 4444 DDDDDDDDDDDDDDDD 00000060: 5fff ffff _... >>> dump.hexdump(0xc0000000, 100, virtual=True) c0000000: fffe ffde 0200 0000 ffff b7bf adf5 a5ff ................ c0000010: e7bf edfe c6fe edf6 fefa fffe befa fefe ................ c0000020: bfbe ffef aebd a5ef ffff 7f7e fefe 5afb ...........~..Z. c0000030: 1b00 2000 3300 4300 1c00 2100 3400 4800 .. .3.C...!.4.H. c0000040: ffff ff7f fafe ffdb effd a5af adf5 a5bf ................ c0000050: 4444 4444 4444 4444 4444 4444 4444 4444 DDDDDDDDDDDDDDDD c0000060: 5fff ffff _... >>> dump.hexdump(dump.addr_lookup('linux_banner'), 144, virtual=True) c0b0006a: 4c69 6e75 7820 7665 7273 696f 6e20 332e Linux version 3. c0b0007a: 3130 2e32 382d 6765 3232 3362 6632 3830 10.28-ge223bf280 c0b0008a: 662d 6469 7274 7920 286d 6974 6368 656c f-dirty (mitchel c0b0009a: 6840 6d69 7463 6865 6c68 2d6c 696e 7578 h@mitchelh-linux c0b000aa: 2920 2867 6363 2076 6572 7369 6f6e 2034 ) (gcc version 4 c0b000ba: 2e37 2028 4743 4329 2029 2023 3720 534d .7 (GCC) ) #7 SM c0b000ca: 5020 5052 4545 4d50 5420 5475 6520 4170 P PREEMPT Tue Ap c0b000da: 7220 3820 3134 3a32 303a 3132 2050 4454 r 8 14:20:12 PDT c0b000ea: 2032 3031 340a 007c 2f2d 5c00 0000 0000 2014..|/-\..... Change-Id: Iecaf80f72845f052085a60eadedd2bb24743224c
-
Mitchel Humpherys authored
The LPAE MMU code can be re-used for other modules that need page table parsing (like the LPAE IOMMU page tables). Refactor the code a bit so that it can be easily re-used later. Change-Id: I0deb80a69f2fca83c3ddcc78867fa2e5f5d18bb2
-
Mitchel Humpherys authored
Some common operations include getting the parent structure of some embedded field as well as getting "sibling" fields within the parent structure. Add some convenience methods to the gdbmi module (as well as wrappers in the RamDump class) for this. Change-Id: Ic65d7e60b930af8c73384a30b6b0dd84fb55f09c
-
Laura Abbott authored
The stack values may be bogus for a variety of reasons. Bounds check these values and error out. Change-Id: I646d7f6e8d2f0e03f0b36bc30d7b1bbaa604fc98
-
- Apr 07, 2014
-
-
Mitchel Humpherys authored
Add support to RamDump.virt_to_phys for automatically looking up addresses of symbols when a string is passed in. This will simplify code that uses the RamDump.read_* routines. Old way: mydata_addr = ramdump.addr_lookup('data_var') mydata2_addr = ramdump.addr_lookup('data2_var') mydata = ramdump.read_word(mydata_addr) mydata2 = ramdump.read_word(mydata2_addr) New way: mydata = ramdump.read_word('data_var') mydata2 = ramdump.read_word('data2_var') Of course, the "Old way" will still work. Change-Id: I0c006f5135b48f8385d2107d9b9d2fe767a266b0
-
- Mar 13, 2014
-
-
Laura Abbott authored
Commit 3d6a90bd (linux-ramdump-parser-v2: Don't use ram start address in socinfo) corrected the case for --auto-dump detection but broke the case of specifying ram files manually with addresses. When specifying the addresses manually, the addresses given are correct so the ram start does need to be added. Correct the code to add the offset by default but not add when doing autodetection. Change-Id: I50d54a932210afeace49a898dd819dc46c3e3aa1
-
Laura Abbott authored
Ram dumps are now being generated for 64-bit ramdumps. Update the parser to account for this. Change-Id: I54a354f39701ad96dd7b81010ec6c5989dd471ad
-
- Mar 12, 2014
-
-
Laura Abbott authored
Rather than assume a text offset, use one that is already found as a symbol. Change-Id: I1ad608085984bb0b658d371858cf01e0732811a3
-
Laura Abbott authored
The socinfo code depends on fixed size types which may be different from the word size. Update the parsing accordingly. Change-Id: I7c4a23f92e13349c9ebd67aa69438d1a55aba721
-
Laura Abbott authored
The PAGE_OFFSET (traditionally 0xc0000000) may change depending on architecture version. Switch it to be a property of the ramdump. Change-Id: Ide04649f59005f39e84d0caa5edab0f46e691b3f
-
Laura Abbott authored
unwind tables may not be used on all dumps. Support unwinding the old fashioned way with framepointers. Change-Id: I978c604dc0974eb6930249e47a205e3d9d37c249
-
Laura Abbott authored
Several of the fields of the task are not being read out as 'true size'. Use more appropriate functions. At the same time, factor out the reading of pc/fc/sp into a ramdump specific functionality since that code may be architectur specific. Change-Id: I5d7bd14031a4431aa665207e8e31e3ecb7dd1cdb
-
Laura Abbott authored
When tracing with read_physical, the result of what was read is printed. The result may contain unprintable characters which wreak havok on terminals. re-use the cleanupString function which is already in use in several places to make the output readable. Change-Id: I1a62c88f1d51038ba2c429d8ec918c58d39af4bf
-
Laura Abbott authored
The return size of read_word may change depending on the architecture. Add functions to read specific types and sizes. Change-Id: I3b9b11c263bf684a8e3783a10dcdc770a6a1b25e
-
- Mar 10, 2014
-
-
Laura Abbott authored
When reading soc info, the ram information has not yet been fully plumbed into the parser (this is very early!). We should not take the address for the start of ram into account at this point as smem should only be given as an offset. Update the calculations. Change-Id: Ib02db2f118685b306457e2591e4bbc5f19f2edbc
-
Laura Abbott authored
When adding a new board, it can be non-obvious what went wrong if the board is not immediately detected. Add an option to trace through socinfo addresses for a specific board to print out useful addresses as a debugging aid. Also clean up some error handling, mostly among the tracing code. Change-Id: I65f4a38b95912b81676f44cd371751abc96aae9e
-