VeriSilicon / TIM-VX

VeriSilicon Tensor Interface Module
Other
221 stars 84 forks source link

PLT Section missing in galkore #529

Closed kventinel closed 11 months ago

kventinel commented 1 year ago

Hello, I try to use galcore.ko from libs in release https://github.com/VeriSilicon/TIM-VX/releases/tag/v1.1.42, but have next output:

/alexrak/vim3l_aarch64/lib # insmod galcore.ko
insmod: can't insert 'galcore.ko': invalid module format
/alexrak/vim3l_aarch64/lib # dmesg
[1128771.137591] galcore: module PLT section(s) missing
[1128771.161401] galcore: module PLT section(s) missing

Can you help me to find out from error with PLT section missing?

sunshinemyson commented 1 year ago

@kventinel ,

Did you tried contact khadas for help? I think this maybe a compatible issue between the kernel driver and your BSP.

kventinel commented 1 year ago

I have found already, that problem was in 32-bit userspace on my device. But currently I need to build Tim-vx from source, but don't know where I can find prebuilt SDK for arm7. Can you help me with that?

sunshinemyson commented 1 year ago

Hi kventinel,

Do you have the our SDK from khadas? If you have them, you can build tim-vx from source by set EXTERNAL_VIV_SDK properly.

kventinel commented 1 year ago

Nope.