版本比较

密钥

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

Fdeion is a dedicated memory distribution kernel module for Phytium X100 GPUs. If your system is using a graphics card other than a Phytium X100 GPU, you can simply ignore this tutorial.

In general, the fdeion module can be installed by executing the 'apt install' command directly in the terminal command line interface, which automatically downloads and installs the required packages from the appropriate repositories.

Of course, if you want to compile and install FDEION manually, you can do so by following the steps below.

  • Get the source code of fdeion

代码块
cd ~ && git clone https://gitee.com/openfde/fdeion.git
  • Install dh-make

代码块
sudo apt-get install dh-make
  • Install dkms

代码块
sudo apt-get install dkms
  • Copy fdeion to the specified directory

代码块
sudo cp -a fdeion /usr/src/fdeion-1.0
  • Add fdeion version 1.0 to the DKMS source management module

代码块
sudo dkms add -m fdeion -v 1.0
  • Build fdeion 1.0

代码块
sudo dkms build -m fdeion -v 1.0
  • Package fdeion 1.0 into a deb package

代码块
sudo dkms mkdeb -m fdeion -v 1.0

where "-v 1.0" indicates the version of the compiled fdeion, and if you compile fdeion for personal projects, the version number can be determined by you. After the successful execution of the command, a file named "fdeion-dkms_1.0_arm64.deb" will be generated in the directory /var/lib/dkms/fdeion/1.0/deb/.

  • Navigate to the directory where the deb package is located and install the corresponding deb package.

代码块
cd /var/lib/dkms/fdeion/1.0/deb/ && sudo dpkg -i fdeion-dkms_1.0_arm64.deb