新手入门
- 积分
- 9
- 金钱
- 9
- 注册时间
- 2024-3-14
- 在线时间
- 2 小时
|
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
|
|