AnsweredAssumed Answered

about *.ko into SD card

Question asked by 燕琳 赵 on Dec 9, 2018
Latest reply on Dec 19, 2018 by 燕琳 赵

Dear expert,

I have downloaded the linux source code BSP 17.0 and BSP 18.0 for S32V234, and I installed the VSDK version 1_1_0 and VSDK version 1_2_0. I disked the SD card and installed files into SD card, and it can work well.

but when I compiled the *.ko driverthere are following cases:

1, BSP 17.0 + s32v234_sdk_1_1_0, I compiled the *.ko with Ubuntu 14.04,and these *.ko files are copied int to root folder of SD card, but when I run commond: insmod oal_cma.ko, the error is shown as following fig_1:

[  32.908157] oal_cma: version magic ‘4.1.26-rt29+g0df2715 SMP preempt mod_unload aarch64’ should be ‘4.14.34-rt27+g5b7d979 SMP mod_unload aarch64’

Insmod Errorcould not insert module ./oal_cma.ko:  Invalid module format.

 

2, BSP 18.0 + s32v234_sdk_1_2_0, I compiled the *.ko with Ubuntu 14.04,and these *.ko files are copied int to root folder of SD card, but when I run commond: insmod oal_cma.ko, the error is shown as following fig_2:

[  22.309899] oal_cma: version magic ‘4.14.34-rt27+g5b7d979 SMP preempt mod_unload aarch64’ should be ‘4.14.34-rt27+g5b7d979 SMP mod_unload aarch64’

Insmod Errorcould not insert module ./oal_cma.ko:  Invalid module format.

 

3, I use *.ko files which is included when s32v234_sdk_1_2_0 is installed, and these *.ko files are copied int to root folder of SD card, when I run commond: insmod oal_cma.ko, there is no error , only give the following hint:

Insmod: ERROR: could not insert module ./oal_cma.ko: File exists.

Could you help me again? How can I solve the error of item 1 and item 2? And about item 3, in SD card ,where is the oal_cma.ko which is automatically loaded?

Thank you very much for your kind help!

 

Attachments

Outcomes