This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Boot issue in loading Modules in linux-am57xx-evm-03.01.00.06

Part Number: AM5728

Tool/software: Linux

Hello ,

I am using linux-am57xx-evm-03.01.00.06 SDK for Sitara EVM, with custom build. i am facing issue in loading modules, some one please let me to resolve the issue:

root@am57xx-evm:~#  journalctl | grep modules
                                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
Oct 03 21:06:12 am57xx-evm systemd-modules-load[137]: Failed to insert 'cmemk': Exec format error
Oct 03 21:06:12 am57xx-evm systemd-modules-load[137]: Failed to insert 'cryptodev': Exec format error
Oct 03 21:06:12 am57xx-evm systemd-modules-load[137]: Failed to insert 'gdbserverproxy': Exec format error
Oct 03 21:06:13 am57xx-evm systemd-modules-load[137]: Failed to insert 'uio_module_drv': Exec format error
Oct 03 21:06:13 am57xx-evm systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Oct 03 21:06:13 am57xx-evm systemd[1]: systemd-modules-load.service: Unit entered failed state.
Oct 03 21:06:13 am57xx-evm systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Oct 03 21:06:19 am57xx-evm kernel[836]: [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
root@am57xx-evm:~# 
root@am57xx-evm:~# 
root@am57xx-evm:~# modinfo /lib/modules/4.4.19-gdb0b54cdad/extra/cryptodev.ko 
filename:       /lib/modules/4.4.19-gdb0b54cdad/extra/cryptodev.ko
license:        GPL
description:    CryptoDev driver
author:         Nikos Mavrogiannopoulos <nmav@gnutls.org>
srcversion:     7421162D9FE97A1692AEFB0
depends:        
vermagic:       4.4.19-gdb0b54cdad SMP preempt mod_unload modversions ARMv7 p2v8 
parm:           cryptodev_verbosity:0: normal, 1: verbose, 2: debug (int)
root@am57xx-evm:~# 
root@am57xx-evm:~# 
root@am57xx-evm:~# modinfo /lib/modules/4.4.19-gdb0b54cdad/kernel/drivers/input/keyboard/gpio_keys.ko
filename:       /lib/modules/4.4.19-gdb0b54cdad/kernel/drivers/input/keyboard/gpio_keys.ko
alias:          platform:gpio-keys
description:    Keyboard driver for GPIOs
author:         Phil Blundell <pb@handhelds.org>
license:        GPL
srcversion:     0CBFCC8DC102183C46C4C5B
alias:          of:N*T*Cgpio-keys*
depends:        
intree:         Y
vermagic:       4.4.19-gdb0b54cdad SMP preempt mod_unload modversions ARMv7 p2v8 
root@am57xx-evm:~# insmod /lib/modules/4.4.19-gdb0b54cdad/extra/cryptodev.ko
[ 3102.462244] cryptodev: disagrees about version of symbol module_layout
insmod: ERROR: could not insert module /lib/modules/4.4.19-gdb0b54cdad/extra/cryptodev.ko: Invalid module format
root@am57xx-evm:~# 

below is my defconfig file content:

5488.custom_defconfig.txt

Regards,

Shweta