LOADING KERNEL MODULE ISSUE IN IMX6UL evk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
i am using imx6ul evk , in that board i have booted kernel, i need to load my module to run in that board,i was created a .ko file using cross-compile tool-chain,but when i am trying to load module using insmod hello.ko i am getting an error as hello: loading out-of-tree module taints kernel.how to over come this problem.
Thanks&Regards,
Naga Prasad.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it a simple hello KLM? Can you share the code?
Carlos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include <linux/init.h>
#include <linux/module.h>
static int __init hello_init(void)
{
printk("loading module....hello world!!!!\n");
return 0;
}
static void __exit hello_exit(void)
{
printk("unloading...module good bye!!!!\n");
}
module_init(hello_init);
module_exit(hello_exit);
MODULE_AUTHOR("prasad");
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("simple hello world");
output:insmod hello.ko
hello: loading out-of-tree module taints kernel.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
