Tool/software: Linux
Hi,
I am trying to insert cmem module to linux built AM572x-evm. I am using the latest SDK (version 5) and have run make cmem and make cmem_install. Cmem now seems to be installed on my system however running:
/sbin/insmod cmemk.ko pools=4x30000,2x500000 phys_start=0x0 phys_end=0x300000
As is suggested by the guide, does not find cmem.ko. Pointing directly to it
/sbin/insmod /lib/modules/4.14.40-g4796173fc5/extra/cmemk.ko pools=4x30000,2x500000 phys_start=0x0 phys_end=0x300000
gives this error:
[ 2596.766052] cmemk: disagrees about version of symbol module_layout
insmod: ERROR: could not insert module /lib/modules/4.14.40-g4796173fc5/extra/cm
emk.ko: Invalid module format
As such i cannot install the module.
Thanks,
Max