Menu

support arm64?

Help
2019-07-15
2019-07-15
  • alicatlover

    alicatlover - 2019-07-15

    Hi Alex, at first, I wanna appreciate your contributions for this project. May I know do you any plan for support arm64 arch? Or could you share with me how you interact with crash? I'd like to write some python scripts to get some informations from crash. Thanks a lot.

     
  • Alex Sidorenko

    Alex Sidorenko - 2019-07-15

    Hello,

    I work for HPE and some time ago I hoped that we'll get access to ARM64 but so far we have none. If you want to add support for it, it would be great. PyKdump used to work with IA-64 many years ago, but then Redhat stopped supporting it and I have removed it from PyKdump.

    There are three groups of changes to support new architectures:
    1. Possible changes in C-module (related to integer sizes and endianness)
    2. Python parts of framework, once again possibly related to integer sizes
    3. There are differences in kernel structures between ARM64 and X86_64

    PyKdump is built against GDB, so the first thing to do would be to build GDB for ARM64 from sources. After that you need to build Python-3.7 from sources following the instructions in Wiki. After that, you build PyKdump itself and if it builds, try simple scripts to see whether they work or something needs to be changed.

    You can write me directly to asid@hpe.com if you have more questions.

    Regards,
    Alex

     

Log in to post a comment.