Build Fdeion on Phytium x100
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
Add fdeion version 1.0 to the DKMS source management module
Build fdeion 1.0
Package fdeion 1.0 into a deb package
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.