-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
insmod: ERROR: could not insert module galcore.ko: Invalid module format #16
Comments
Please share result of dmesg and |
@thezha |
The provided "galcore.ko" is built using Fenix 0.8.1 based on Kernel 4.9.0, so it might not be compatible with 5.5.0 kernel. Linux Khadas 4.9.206 #13 SMP PREEMPT Tue Dec 31 00:37:47 CST 2019 aarch64 aarch64 aarch64 GNU/Linux It would be good to get the exact error messages in |
Have you tried --force option with insmod? |
@thezha I have try it,but failed. |
@wuqiangch The fastest way is to switch to 4.9.0 system image until we can supply a prebuilt-sdk for 5.5.0. You may also have trouble building it yourself since the galcore used by TIM-VX might not match the opensource version you have. Thanks! |
@thezha Ok.Thanks! |
@wuqiangch your system need to switch to VIM3_V0.9-20200530(i guess your board is vim3).
you can switch to other apt source, such as Ali source(https://developer.aliyun.com/mirror/).
other reference: https://github.com/OAID/Tengine/blob/tengine-lite/doc/npu_tim-vx_user_manual.md |
It's solved. |
Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
A311D,Fenix 0.8.2 Ubuntu 18.04.3 LTS Linux 5.5.0-rc2
sudo insmod galcore.ko
insmod: ERROR: could not insert module galcore.ko: Invalid module format
The text was updated successfully, but these errors were encountered: