Skip to content
Snippets Groups Projects
  1. Jan 24, 2017
    • Kyle Yan's avatar
      ldrp-v2: Add new method of finding number of CPUs as of kernel 4.5 · 38976141
      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
      38976141
  2. Jan 04, 2017
  3. Dec 22, 2016
  4. Dec 17, 2016
    • Runmin Wang's avatar
      lrdp-v2: Add support for kaslr · b64ed70b
      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
      b64ed70b
  5. Dec 12, 2016
    • Olav Haugan's avatar
      lrdp_v2: Fix generated startup script for use with Linux · 8a928c8f
      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
      8a928c8f
  6. Oct 20, 2016
    • Patrick Daly's avatar
      lrdpv2: Fix path issues with autodump · 08cfef61
      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
      08cfef61
  7. Oct 07, 2016
    • Prashanth Bhatta's avatar
      lrdp-v2: Parse WLAN module as part of parser · 0775e624
      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
      0775e624
  8. Sep 09, 2016
  9. Sep 02, 2016
  10. Jul 21, 2016
    • Patrick Daly's avatar
      lrdp-v2: Change board_num to a string · be9942e9
      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
      be9942e9
  11. Jul 19, 2016
    • Patrick Daly's avatar
      lrdp-v2: Use 'rb' mode when opening DDR files · 8362a3f3
      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
      8362a3f3
  12. Jul 11, 2016
  13. Jul 06, 2016
    • Jonathan Avila's avatar
      lrdp-v2: ramdump: Fix autoparse for some targets. · 5743b613
      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
      5743b613
  14. Apr 14, 2016
    • David Garibaldi's avatar
      lrdpv2: Make QDSS binary data parsing optional · d025a0db
      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
      d025a0db
  15. Mar 24, 2016
  16. Feb 13, 2016
    • Mitchel Humpherys's avatar
      lrdp-v2: ramdump: Handle equals signs in config values · 63f85b54
      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
      63f85b54
  17. Jan 11, 2016
    • Robert Morrison's avatar
      lrdp-v2: Add KASLR support · 44655976
      Robert Morrison authored
      Add '--kaslr-offset' option.  This specifies the offset for loading symbols
      for a KASLR-enabled kernel.
      
      Change-Id: I208d964ea3ca58536a0b80a32b4e334c73aae534
      44655976
  18. Dec 17, 2015
    • Mitchel Humpherys's avatar
      lrdp-v2: docs: Improve existing documentation · 0b529cc6
      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
      0b529cc6
  19. Nov 17, 2015
  20. Nov 10, 2015
    • Mitchel Humpherys's avatar
      lrdp-v2: Add accessor for pointer variables · fb5e7dda
      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
      fb5e7dda
    • Mitchel Humpherys's avatar
      lrdp-v2: Make sure address is a number before offset'ing · db867b09
      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
      db867b09
    • Mitchel Humpherys's avatar
      lrdp-v2: Simplify some returns in the memory accessor code · ce13475e
      Mitchel Humpherys authored
      Some of the return sequences in the memory accessor code are
      unnecessarily complex.  Simplify them.
      
      Change-Id: Iefe489b3ce4a4591574a2cc8d51aa23ce425b2b1
      ce13475e
    • Mitchel Humpherys's avatar
      lrdp-v2: Remove trace prints · 7c04d080
      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
      7c04d080
    • Mitchel Humpherys's avatar
      lrdp-v2: Improve some {self-,}documentation · b73c27a3
      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
      b73c27a3
    • Mitchel Humpherys's avatar
      lrdp-v2: ramdump: Save config values in a dictionary · 75e18b5e
      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
      75e18b5e
  21. Sep 01, 2015
    • Amey Telawane's avatar
      lrdp-v2: Add option to parse DDR base address · 3c292b97
      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
      3c292b97
  22. Aug 31, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix list vs tuple comparison · 9ad7f414
      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
      9ad7f414
  23. Aug 20, 2015
    • Sarangdhar Joshi's avatar
      lrdpv2: Fix an issue with unwinding stack for NON HLOS · c1f67ce5
      Sarangdhar Joshi authored
      Ram dump parser does not support unwinding the stack for NON
      HLOS images. In certain cases, we get below exception when
      parser tries to dump the context for NON HLOS address. Check
      for NON HLOS address and return from the function without
      unwinding the frame pointer.
      
      Exception: Invalid stage 1 first- or second-level translation
      descriptor: (value: 0x0 {dtype[1:0]=>0x0})
      addr: (value: 0x21812010 {base[47:12]=>0x21812, offset[11:3]=>0x2})
      
      Change-Id: I6cacec18574737d0e8261ba1f39dfe2b9b302304
      c1f67ce5
  24. Jul 11, 2015
  25. Jun 25, 2015
  26. Jun 19, 2015
  27. Apr 23, 2015
    • Steven Cahail's avatar
      linux-ramdump-parser-v2: Integrate IPC Logging · 09615691
      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
      09615691
  28. Apr 20, 2015
    • Steven Cahail's avatar
      linux-ramdump-parser-v2: Pass options object to RamDump constructor · 5e7d333a
      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
      5e7d333a
  29. Mar 25, 2015
Loading