Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •  
    • Replace docker storage driver
    • Open a new window and perform the following operations.

      1. Log in to the server via SSH and enter the command line execution entry.
      2. View docker information.

      • docker info
    • 3. Modify the version of the storage driver.
    • If the "storage driver" version is "overlay", no adjustment is required.
      If the version of "storage driver" is "aufs", you need to change "storage driver" from "aufs" to "overlay".
      • 1) Open the "/etc/default/docker" file.

        • vim /etc/default/docker


      • 2) Add the following script.

        • DOCKER_OPTS= -s overlay

          3)It will take effect after restarting docker or reboot.

          • /etc/init.d/docker restart

...

After that, you can access the graphical desktop of the server where the Huawei Kunpeng 920 processor is located through the Windows remote desktop, and log in with the root account.

    • Incorporate

      exagear

      Exagear transcoding patch

    • Exagear module instruction translation software supports AArch32 feature of Kunpeng cloud mobile phone scene, and ensures 100% compatibility of AArch32 instruction application.
    • 1. Create a directory.
      mkdir -p /home/compiler

      2. Download the three source files of linux_4.15.0.orig.tar.gz, linux_4.15.0-65.74.diff.gz, linux_4.15.0-65.74.dsc, and put them into the "/home/compiler/" directory.


    • The physical machine kernel source code download address: https://launchpad.net/ubuntu/+source/linux/4.15.0-65.74

      3. Enter the "/home/compiler/" directory.
      cd /home/compiler/

    • ls
      • linux_4.15.0-65.74.diff.gz  linux_4.15.0-65.74.dsc  linux_4.15.0.orig.tar.gz
    • 4. The source code directory linux-4.15.0 will be generated in the current directory.

    • dpkg-source -x linux_4.15.0-65.74.dsc


    • 5. Please extract exagear-a32a64-docker.tar.gz to the /home/ directory, and rename the decompressed folder to exagear.


    • cd /home/


    • tar zxvf exagear-a32a64-docker.tar.gz

      mv "ExaGear ARM32-ARM64 for Android Docker" exagear //Rename the purpose: to facilitate subsequent use

      cd /home/exagear

      ls

      • android //安卓源码转码补丁

      • translator //物理机上用于转码的二进制可执行文件

      • kernel //物理机内核的转码补丁

    • 6. Copy the transcoded patch to the kernel source directory.
      cp /home/exagear/kernel/ubuntu-4.15.0-65.74.patch /home/compiler/linux-4.15.0/

      cd /home/compiler/linux-4.15.0/

      patch -p1 <ubuntu-4.15.0-65.74.patch

...