Hello everyone! This is my first post in the NXP community.
I've been trying for some time to build some crypto modules on the LX2160ARDB and having trouble compiling and installing the module after compilation.
I had difficulty compiling because of fixdep and modpost even though cross-compiling was built on X86_64. This was later fixed by compiling directly on the board!
Having solved the issue above another issue is found installing with "sudo make install" it tells me "modules_install: missing 'System.map" and insmod reports invalid parameters.
When trying to put the cryptodev module into the modules folder manually the dmesg reports several conflicts and errors.
[11239.510466] cryptodev: Unknown symbol get_user_pages_remote (err -22)
[11239.510483] cryptodev: disagrees about version of symbol kmem_cache_alloc
[11239.510485] cryptodev: Unknown symbol kmem_cache_alloc (err -22)
[11239.510536] cryptodev: disagrees about version of symbol kmalloc_caches
[11239.510538] cryptodev: Unknown symbol kmalloc_caches (err -22)
[11370.492845] cryptodev: disagrees about version of symbol __put_page
[11370.492850] cryptodev: Unknown symbol __put_page (err -22)
[11370.492858] cryptodev: disagrees about version of symbol vmemmap
[11370.492860] cryptodev: Unknown symbol vmemmap (err -22)
[11370.492900] cryptodev: disagrees about version of symbol get_user_pages_remote
[11370.492901] cryptodev: Unknown symbol get_user_pages_remote (err -22)
[11370.492917] cryptodev: disagrees about version of symbol kmem_cache_alloc
[11370.492919] cryptodev: Unknown symbol kmem_cache_alloc (err -22)
[11370.492969] cryptodev: disagrees about version of symbol kmalloc_caches
[11370.492971] cryptodev: Unknown symbol kmalloc_caches (err -22)
[11383.666562] cryptodev: disagrees about version of symbol __put_page
[11383.666568] cryptodev: Unknown symbol __put_page (err -22)
[11383.666575] cryptodev: disagrees about version of symbol vmemmap
[11383.666577] cryptodev: Unknown symbol vmemmap (err -22)
[11383.666616] cryptodev: disagrees about version of symbol get_user_pages_remote
[11383.666618] cryptodev: Unknown symbol get_user_pages_remote (err -22)
[11383.666636] cryptodev: disagrees about version of symbol kmem_cache_alloc
[11383.666637] cryptodev: Unknown symbol kmem_cache_alloc (err -22)
[11383.666686] cryptodev: disagrees about version of symbol kmalloc_caches
[11383.666688] cryptodev: Unknown symbol kmalloc_caches (err -22)
Tested with LSDK21.08 - ubuntu 20.04 and the kernel tested was LK 5.4.47 also LK 5.10.35. Both with the same problem!
BR,
Matheus C. França