Kimberly Posted October 25, 2016 Posted October 25, 2016 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..
Recommended Posts