gpt4 book ai didi

linux - Beagle 板上的模块插入

转载 作者:太空宇宙 更新时间:2023-11-04 04:18:21 25 4
gpt4 key购买 nike

我正在尝试将 .ko 模块插入 beagleboard c3。我使用arm-linux-gnueabi-gcc交叉编译了该模块。但是在使用 insmod 将模块插入 beagle 板(具有 linux 2.6.28-OMAP1)时,显示错误

invalid module format

正常文件运行没有任何问题。(c 程序的可执行文件)。可能是什么问题呢。请帮我解决这个问题。

最佳答案

您需要同时构建uImage和模块,即。构建 uImage 后,您需要构建模块并一起放在板上。

关于linux - Beagle 板上的模块插入,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14994092/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com