按照
http://zero.lichee.pro/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/bsp_cam.html
这里的教程来做的,编译出来的ko文件在系统上不能正常加载,有人遇到过这样的问题吗,还是我的流程有问题?
# modinfo ov5647_mipi.ko
filename: /root/ov5647_mipi.ko
license: GPL
description: A low-level driver for OV5647_mipi sensors
author: raymonxiu
srcversion: 8BDE00E1D768767AD28E1F2
alias: i2c:ov5647_mipi
depends:
intree: Y
vermagic: 3.4.39 mod_unload modversions ARMv7 p2v8
# modprobe ov5647_mipi.ko
modprobe: FATAL: Module ov5647_mipi.ko not found in directory /lib/modules/3.4.39
# depmod ov5647_mipi.ko
depmod: ERROR: Bad version passed ov5647_mipi.ko
#
离线
modprobe: FATAL: Module ov5647_mipi.ko not found in directory /lib/modules/3.4.39
/lib/modules/3.4.39 没有 ov5647_mipi.ko 文件
编译后安装驱动的正确姿势:
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make modules_install INSTALL_MOD_PATH=/opt/buildroot-2018.08.2/output/target/
离线
modprobe: FATAL: Module ov5647_mipi.ko not found in directory /lib/modules/3.4.39
/lib/modules/3.4.39 没有 ov5647_mipi.ko 文件
编译后安装驱动的正确姿势:
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make modules_install INSTALL_MOD_PATH=/opt/buildroot-2018.08.2/output/target/
进入系统还要modprobe吗?
离线