当前位置:网站首页>解决disagrees about version of symbol device_create
解决disagrees about version of symbol device_create
2022-04-23 12:28:00 【CinzWS】
学习正点原子led驱动移植,出现下面错误:
modprobe newchrled.ko
newchrled: disagrees about version of symbol device_create
newchrled: Unknown symbol device_create (err -22
参考手册给的办法比较概括,如下图所示,现在给出具体的步骤

解决核心思想:内核版本与模块版本不一致造成,更改版本一致即可解决。
1 查看网络挂载的uboot环境,确保编译的zImage和设备树能正常下载

2 重新编译linux内核,命令为./mx6ull_alientek_emmc.sh

3 找到设备树和zImage,并复制到nfs和tftpboot下


4 修改驱动配置和Makefile,路径一定要保持一致

"/home/ws/linux/IMX6ULL/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek/include",
"/home/ws/linux/IMX6ULL/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek/arch/arm/include",
"/home/ws/linux/IMX6ULL/linux/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek/arch/arm/include/generated/"

5 编译,拷贝至开发板

6 重启开发板,跳转到指定目录,运行,OK

版权声明
本文为[CinzWS]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_37619128/article/details/124346470
边栏推荐
- 软银愿景基金进军Web3安全行业 领投CertiK 6000万美元新一轮投资
- 数组---
- 没有空闲服务器?导入 OVF 镜像快速体验 SmartX 超融合社区版
- SQLserver怎么插入或更新当天的星期数,bit而不是文本
- C set Logo Icon and shortcut icon
- Next.js 静态数据生成以及服务端渲染的方式
- The maximum number of remote desktop servers has been exceeded
- Message queuing overview
- Recommended programming AIDS: picture tool snipaste
- Solution of asynchronous clock metastability -- multi bit signal
猜你喜欢

The database navigator uses the default MySQL connection prompt: the server time zone value 'Ö Ð¹ ú±ê ×¼ ʱ ¼ ä’ is unrecognized or repres

一个平面设计师的异想世界|ONES 人物

I changed to a programmer at the age of 31. Now I'm 34. Let me talk about my experience and some feelings

Here comes the detailed picture and text installation tutorial of H5 game

NativeForMySQL 连接MySQL8 提示:1251- Client does not support authentication protocol

Metalama简介4.使用Fabric操作项目或命名空间

外包干了五年,废了...

IDEA 数据库插件Database Navigator 插件

没有空闲服务器?导入 OVF 镜像快速体验 SmartX 超融合社区版

Pagoda panel command line help tutorial (including resetting password)
随机推荐
STM32CubeProgrammer基础使用说明
QT double buffer drawing
[unity note] basic lighting in l4unity
硬核解析Promise对象(这七个必会的常用API和七个关键问题你都了解吗?)
面了一圈,整理了这套面试题。。
XinChaCha Trust SSL Organization Validated
【vulnhub靶场】-dc2
在 VSCode 中调试 Jest 的测试用例,VSCode调试Jest测试用例报错basedir=$(dirname “$(echo “$0“ | sed -e ‘s,\\,/,g‘)“)解决
栈和队列a
论文解读(CGC)《CGC: Contrastive Graph Clustering for Community Detection and Tracking》
Pre competition practice of TIANTI competition
Message queuing overview
Xinwangda announced that the price of battery products had been increased, and the investment of "weixiaoli" exceeded 1 billion
SQL exercise (I)
外包干了五年,废了...
VMware virtual machines export hard disk vmdk files using esxi
Castle. Dynamic proxy implements transaction unit control
Everything can be expected in the future | one 2022 campus recruitment officially opened
The database navigator uses the default MySQL connection prompt: the server time zone value 'Ö Ð¹ ú±ê ×¼ ʱ ¼ ä’ is unrecognized or repres
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]