Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. 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
  4. Nov 17, 2015
  5. 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
  6. 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
  7. 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
  8. 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
  9. Jul 11, 2015
  10. Jun 25, 2015
  11. Jun 19, 2015
  12. 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
  13. 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
  14. Mar 25, 2015
  15. Mar 11, 2015
    • Aditya Degwekar's avatar
      linux-ramdump-parser-v2: Parse socinfo only if needed · 7b0aaff3
      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
      7b0aaff3
  16. Nov 26, 2014
    • David Keitel's avatar
      linux-ramdump-parser-v2: add support for cpr-info · 085c329a
      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
      085c329a
  17. Oct 14, 2014
    • David Garibaldi's avatar
      lrdpv2: Update t32 session window titlebars with current RAM dump path · 9cc9d8c6
      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
      9cc9d8c6
    • Mitchel Humpherys's avatar
      lrdpv2: ramdump: return a string from `hexdump' · 2f22e97c
      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
      2f22e97c
  18. Sep 26, 2014
  19. Sep 19, 2014
    • Mitchel Humpherys's avatar
      lrdpv2: randomize t32 intercom port · ca6744c7
      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
      ca6744c7
  20. Aug 14, 2014
  21. Jul 18, 2014
  22. Jul 16, 2014
  23. Jun 22, 2014
  24. Jun 13, 2014
  25. Jun 11, 2014
  26. Jun 04, 2014
  27. May 23, 2014
Loading