我可以在哪里下载用于内核版本#2.6.31-rc7-omap1-06331-g757f531的OMAP3530文件系统,或者如何从源代码创建一个?
TI提供的文件系统用于内核版本为2.6.29-rc3-omap1。(基于/lib/modules/)。
我构建了2.6.31-rc7-omap1-06331-g757f531版本的新uImage (内核)和一个模块(.ko)文件,所以当我尝试插入模块时,它会报告:
无法加载/lib/modules/2.6.31-rc7-omap1-06331-g757f531/modules.dep: root@omap3evm:~# -r pci.ko致命错误:无法加载modprobe没有这样的文件或目录
因为文件系统在/lib/modules下只有文件夹'2.6.29-rc3-omap1‘。
我尝试使用"-f“或"--force-vermagic”和"--force-modversion“插入模块,但都不起作用。
发布于 2015-07-22 01:58:09
您不需要为特定的内核版本构建单独的文件系统。文件系统是通用的,它应该与所有内核一起工作。使用以下命令将特定的内核版本安装到文件系统中。
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- INSTALL_MOD_PATH=<target filesystem> modules_install这将在/lib/modules/文件夹中创建内核版本的新目录。
https://stackoverflow.com/questions/28350923
复制相似问题