0%

ARM64 qemu native build

  1. cd qemu; mkdir build; cd build;

  2. install pkg-config

  3. install zlib1g-dev zlib1g

  4. ERROR: glib-2.22 gthread-2.0 is required to compile QEMU
    install libglib2.0-dev

  5. ERROR: pixman >= 0.21.8 not present. Your options: …
    install libpixman-1-dev

  6. ERROR: DTC (libfdt) version >= 1.4.0 not present. Your options: …
    install libfdt-dev

  7. ./configure –target-list=aarch64-softmmu –enable-fdt –enable-kvm –disable-werror

  8. make

  9. make install # better uninstall previous qemu version if had one.

  10. qemu-system-aarch64 –version

    root@linaro-developer:~/qemu/build# qemu-system-aarch64 –version
    QEMU emulator version 2.5.50, Copyright (c) 2003-2008 Fabrice Bellard

In aarch64 ubuntu-16.04, there is doc: cnblogs.com/from-zero/p/14327440.html