标题: Fedora kernel version and devel kernel version unmatch [打印本页] 作者: zdai 时间: 2020-8-25 09:24 标题: Fedora kernel version and devel kernel version unmatch Hi there,
My name is Zeff and I am from Splunk Toronto team.
We recently purcashed 2 RK3399ProD development boards for prototyping.
I am trying to install a linux driver for our PCIe Xilinx FPGA card. I need to build the driver in the Fedora that comes with the board.
The build tool is supposed to locate at /lib/modules/{fedora_version}/build
I did a 'uname -r', and the kernel version is 4.4.167.
I also nstalled the latest the kernel_devel using the command:
# sudo yum -y install kernel-devel kernel-headers
However, the devel version under the /lib/modules folder doesn't match the kernel version.
I did try to update the kernel to the latest version, but after reboot, it remains the same 4.4.167.
Therefore, although I can successfully build the Xilinx driver, I can't insert the module because "the format is invalid".
Can somebody help with this.
thanks
Zefu 作者: zdai 时间: 2020-8-25 09:28
I can read Mandarin, but just cant type Chinese because I currently don't have Chinese input on my mac. Let me know if you prefer Chinese and I will figure out how to get Chinese input on my mac作者: jefferyzhang 时间: 2020-8-25 10:58
You have to build kernel / module and include headers from our source code : https://github.com/rockchip-toybrick/kernel