Remember to add a \n at the end of your printk. Then u can get the message from /proc/kmsg.
I have tried 'dmseg' and /proc/kmsg but couldn't find my printk message. Anyone here know how to make it works in E680? Or is there any workaround to get the debug message from the kernel module.
Remember to add a \n at the end of your printk. Then u can get the message from /proc/kmsg.
Thx, I get it works nowI just change use gcc instead of g++ and it works. I don't expect there is a difference for g++/gcc.