This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Foundation_v8: guest mem/stat dump ?

Hi All,

Hope this is the place to ask.

I'd like to get a Foundation_V8 running guest memory dump, either the raw meme dump, and if I could get the proc state would be nice (but optional).

I need this to implement a kernel debugger before Linux is able to actually do a kernel crash dump.

Thanx in advance for any pointers

Cheers,

Phi

  • Hi All,

    Thanx Alban for moving my initial probe to a more appropriate list.

    I look for people in charge of the Foundation_v8 development, in case they can provide advises.

    May be my need can be fullfilled with stock Foundation_v8, or may be I need a 'special'

    My need could be expressed like this, upon a given signal number sent
    to Foundation_v8, it would.
    - dump the processor(s) regs (I use only 1 processor, so a special
      could handle UP only)
    - Dump the phys mem area
    - Produce a text file describing each dump file.

    The dump files are plain binary 64bits words, named like reg.0, reg.1,
    reg.N for processors N register files, and mem.0, mem.1, mem.N for phys
    mem area N.

    The text file gives
    The register names order found in each reg.X followed by couple
    mem.X, start phys addr. (the file size give the length).

    With this I would be able to work on my kernel crash dump debugger.


    Note that I understand that Foundation_v8 is non public, so I don't
    offer to impleemnt this myself. If I am wrong and Foundation_v8 can be
    'hacked' I would be happy to contribute.

    Cheers,
    Phi

  • Hi Phi,

    Thanks for showing your interests in Foundation v8 model. I am one of the Fast Models Engineers. Foundation Model is a cut down version of Fixed Virtual Platform based on ARM "Fast Models". Unfortunately, the functionalities you are asking for are only available in Fast Models full product. The purpose of the Foundation v8 model is to provide a tasting opportunity of v8 architecture, no more than that. In the full product, we offers debug interface,called CADI, for bare metal debugging. Also MTI trace plugins can reveal many internal status, such as registers, TLB, cache etc. More technical details about the Fast Models can be found on http://infocenter.arm.com by following the routine below

    http://inforcenter.arm.com -> Modeling and ESL -> Fast Models -> 8.2

    Sorry for that Foundation v8 model cannot satisfy your requirements. But you are welcome to contact ARM for a product trail. The product information can be found via following link Fast Models - ARM

    Best regards,

    George

  • Thanx George for your answer.

    Cheers,

    Phi