This is the area to clarify hardware specification if there's anything unclear from the datasheet. If the specification is software related, please ask in the related software section.
GPIO interrupt causes kernel panic

scint
New Member Posts: 2 ✭
Hi, I've found that I can't configure any of the GPIO pins to handle interrupt requests. The following is an example which fails when trying to set Linux GPIO 5 as an IRQ pin:
$ echo 5 > /sys/class/gpio/export
$ cat /sys/class/gpio/gpio5/value
1
$ cat /sys/class/gpio/gpio5/direction
in
$ echo rising > /sys/class/gpio/gpio5/edge
kernel panic
Specs:
Hardware: UP-CHT01
OS: Ubuntu 16.04.5 LTS
Kernel: 4.15.0-37-generic
BIOS: UPC1DM15
Thanks.
Comments
-
Any thoughts? Anyone else experiencing this issue?
-
@scint Did u solve the issue ?
-
Have you followed the instructions to install the UP Kernel (based on Ubuntu 4.15)?
https://wiki.up-community.org/Ubuntu#Install_Ubuntu_for_UP.2C_UP2.2C_UP_Core_and_UP_Core_Plus
-
Tagged
Categories
- All Categories
- 105 Announcements & News
- 55 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 55 Unboxing & Project Sharing
- 32 Tech Updates
- 661 UP Products
- 2 UP 7000
- UP Squared i12
- 8 UP Xtreme i12
- 9 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 18 UP Squared V2
- 54 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 58 UP Squared Pro
- 142 UP Xtreme
- 834 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral