Looking for a Linux single board computer with IIO support.
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Looking for a Linux single board computer with IIO support.
Hi,
I'll start off by apologising if I don't have all the nomenclature correct. Some of this is new to me.
I've been a Linux programmer for a few years now and have pretty good programming knowledge of Linux. The application I've been maintaining is an embedded app that was written to run on a board we developed ourselves. At the time the board was developed, the Linux kernel didn't have any native APIs for GPIO so we wrote our own kernel drivers that did the dirty work to allow our application to manipulate GPIOs (AI, DIO). The board also has RTDs and power modules as well.
We are in the process of having the kernel upgraded to the most recent version (4.19?) and plan to get rid of the custom drivers and use the Linux IIO subsystem. This will be a steep learning curve for me since this is all new territory. To get a jump on things, I would like to find a device I could use to learn how the IIO API's work.
Do any of the single board computers that run Linux have support for Linux IIO? Can someone suggest a good one to use to start learning?
GPIO are not usually assigned to any device we're familiar with, and the specs usually only mention familiar devices. In my experience what you need is a dealer with a good knowledge of his products. My advice is to phone some places and try and find some guy who can sift through the specs mentally of what he's selling and name one. It might sometimes be called 'programmable i/o' I have no idea what this is - a search threw it up. It or something like it might be useful http://linuxgizmos.com/i-mx6-ul-base...grammable-zpu/
You can also control it from the userspace, https://elinux.org/GPIO. Yes it works, it is not recommended, however in order to get things done rapidly, I've done this in testing and then switched over to kernel space to make production code.
Thanks for the replies. I realize that 4.19 provides GPIO support but what I'm asking is if here is any specific single-board computer that someone could recommend for learning how to use the GPIO APIs, in particular Linux Industrial I/O subsystem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.