OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 907|回复: 0

第一次加载驱动前使用depmod出错

[复制链接]

1

主题

1

帖子

0

精华

新手入门

积分
9
金钱
9
注册时间
2024-3-14
在线时间
2 小时
发表于 2024-3-14 21:28:35 | 显示全部楼层 |阅读模式
hi,原子:

按照文档中的描述加载编译出来的驱动程序,出错。
board : stm32mp157d
31.4.2 运行测试
将上一小节编译出来 keyirq.ko 和 keyirqApp 这两个文件拷贝到 rootfs/lib/modules/5.4.31 目
录中,重启开发板,进入到目录 lib/modules/5.4.31 中,输入如下命令加载 keyirq.ko 驱动模块:
depmod //第一次加载驱动的时候需要运行此命令
modprobe keyirq.ko //加载驱动

出错log:
root@ATK-MP157:/lib/modules# cd 5.4.31-g886e225be/
root@ATK-MP157:/boot/5.4.31-g886e225be# ls
5.4.31-g886e225be  modules.alias              modules.builtin.bin      modules.devname  modules.symbols.bin
kernel             modules.alias.bin          modules.builtin.modinfo  modules.order
keyirqApp          modules.builtin            modules.dep              modules.softdep
keyirq.ko          modules.builtin.alias.bin  modules.dep.bin          modules.symbols
root@ATK-MP157:/boot/5.4.31-g886e225be# depmod
depmod: ERROR: openat(1023, brcmutil, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, brcmfmac, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, aspeed-vhub, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, genet, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, rtl8723ds, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, brcm80211, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, mwifiex, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, rt2x00, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, analogix, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, legacy, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, udc, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, function, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, broadcom, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, b53, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, realtek, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, broadcom, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, marvell, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, ralink, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, stm32, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, vivid, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, gspca, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, uvc, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, videobuf2, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, v4l2-tpg, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, st_lsm6dsx, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, st_sensors, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, cros_ec_sensors, O_RDONLY): Too many open files
depmod: ERROR: openat(1023, etnaviv, O_RDONLY): Too many open files


正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-22 09:37

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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