Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

kernel 4.6.3 device driver crash

Featured Replies

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..

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.