i am making a kernel module in petalinux with QEMU(emulator).
I mean, my computer's OS is ubuntu. And then I turn on the QEMU, and next I turn on the petalinux.
My problem is that I can't make a kernel module with SDK or Makefile.
First of all, when I make a module with SDK, I don't understand the Manual.
I think manual is for board.
Second, when I make a module with Makefile, module was generated.
But when I download the module in petalinux.
There is error which is 'invalid module format' message.
Third, There is module in linux, and I want to run this module in petalinux.
Is it possible??
If there is a solution, how can i run that module.
I have no idea about them.
I want to solve the problem as soon as possible.
If you have any ideas, please let me know. Thank you.