Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] GPIO support #331

Closed
vbatts opened this issue Jan 27, 2021 · 3 comments
Closed

[RFC] GPIO support #331

vbatts opened this issue Jan 27, 2021 · 3 comments
Labels
good first issue Get started with Flatcar contribution with this issue. kind/feature A feature request

Comments

@vbatts
Copy link
Member

vbatts commented Jan 27, 2021

Current situation

As Flatcar is being included in more edge deployments (amd64 and arm64), there are integrations with devices needed (sensors, cameras, etc.), which is not included

Impact
blocks certain edge use-cases

Ideal future situation
GPIO is present so folks can continue doing cool stuff on Flatcar

Implementation options
CONFIG_GPIO_SYSFS so that /sys/class/gpio/... is present, and /dev/gpiomem is present

cc @janakiramm

@vbatts vbatts added the kind/feature A feature request label Jan 27, 2021
@raballew
Copy link

raballew commented Jul 22, 2021

@vbatts I am currently working on a custom build of Flatcar for Raspberry Pi 4B's so that I can deploy a sensor k8s cluster and would love help implementing this. But since I am quite new to Flatcar, could you point me in the right direction or is it just setting CONFIG_GPIO_SYSFS=y?

@t-lo
Copy link
Member

t-lo commented Aug 19, 2021

I believe enabling CONFIG_GPIO_SYSFS is a good next step here.

Instructions for adding the kernel config are in the OS image build doc's kernel modules section. To get this change into Flatcar we need a PR to https://github.com/kinvolk/coreos-overlay/blob/main/sys-kernel/coreos-modules/files/commonconfig-5.10.

@t-lo t-lo added the good first issue Get started with Flatcar contribution with this issue. label Aug 19, 2021
@jepio
Copy link
Member

jepio commented Jan 28, 2022

These options are present in current stable flatcar images.

@jepio jepio closed this as completed Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Get started with Flatcar contribution with this issue. kind/feature A feature request
Projects
None yet
Development

No branches or pull requests

4 participants