[yocto] Kernel access of bad area in kernel module

2013-10-01 Thread Jack
Hi, I want to set/reset GPIO registers in freescale p1022 processor. I saw a hello-mod kernel module in yocto and I added it to my image and it worked. According to hello-mod kernel module, I created GPIO module like hello-mod. But it GPIO module failed when I run it in kernel level. I checked

Re: [yocto] Kernel access of bad area in kernel module

2013-10-01 Thread Anders Darander
Jack jackrubby2...@gmail.com wrote: Hi, I want to set/reset GPIO registers in freescale p1022 processor. I saw a hello-mod kernel module in yocto and I added it to my image and it worked. According to hello-mod kernel module, I created GPIO module like hello-mod. But it GPIO module failed when I