VeriSilicon / TIM-VX

VeriSilicon Tensor Interface Module
Other
216 stars 85 forks source link

does aarch64_A311D_6.4.8.tgz support Linux Kernel 5.1x? #241

Closed likegogogo closed 2 years ago

likegogogo commented 2 years ago

rt. Thanks.

likegogogo commented 2 years ago

uname -a: Linux Khadas 5.16.0-rc2 #1.0.9 SMP Fri Dec 17 14:44:28 CST 2021 aarch64 aarch64 aarch64 GNU/Linux

aarch64_A311D_6.4.8 run with tengine lite failed.

gdb bt: 微信图片_20211219123340

sunshinemyson commented 2 years ago

You can check dmesg if it compatible with your kernel or not when execute "insmod"

likegogogo commented 2 years ago

You can check dmesg if it compatible with your kernel or not when execute "insmod"

aarch64_A311D_6.4.8/lib# insmod galcore.ko insmod: ERROR: could not insert module galcore.ko: Invalid module format

[ 306.446813] galcore: version magic '4.9.y SMP preempt mod_unload modversions aarch64' should be '5.16.0-rc2 SMP mod_unload aarch64'

likegogogo commented 2 years ago

it looks like the aarch64_A311D_6.4.8 is compiled in kernel 4.9. Can you help with compile one use 5.16 kernel?

or tell me the method to compile.

Thanks.

sunshinemyson commented 2 years ago

@ideafold ,

No plan to do this yet. Please stay with kernel 4.9, kernel module required commercial license, so you cannot compile it by yourself.

sunshinemyson commented 2 years ago

@ideafold ,

You can ask Khadas for the kernel driver build with 5.16 kernel. They should support this as vendor. Thanks