Jump to content

kernel 4.6.3 device driver crash


Recommended Posts

Hello,

 

I'm using armbian debian Jessie server, kernel 4.6.3 for banana pi m1+.

 

Before, I built device driver with kernel 3.x and was working well, but decided to higher the kernel version because of SPI.

(cpu isolation for the thread with SPI communication did not work in kernel 3.x)

 

In the kernel 4.6.3, cpu isolation was working perfectly. When I used bcm2835 library, SPI also worked.

However, when I tried to use the same device driver code in the kernel 4.6.3, it just crashed and froze.

I had to turn it off and on again to use the pi again.

 

After debugging, I found out that the point of the crash was the method

 

gpio_direction_output(pinNumber, false);

 

I double checked that the all pin number is correct. I have no idea what is the problem..

 

Need help..

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines