Toybrick

Fedora kernel version and devel kernel version unmatch

zdai

新手上路

积分
9
楼主
发表于 2020-8-25 09:24:45    查看: 5694|回复: 2 | [复制链接]    打印 | 只看该作者
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

新手上路

积分
9
沙发
 楼主| 发表于 2020-8-25 09:28:14 | 只看该作者
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

版主

积分
13007
板凳
发表于 2020-8-25 10:58:54 | 只看该作者
You have to build kernel / module and include headers from our source code :
https://github.com/rockchip-toybrick/kernel
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表