-
Notifications
You must be signed in to change notification settings - Fork 59
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
Enable GPIO support on RPi4 #974
Comments
We just use the built Fedora kernels so we take whatever options are configured by the kernel maintainers there. Though I do notice for
For |
@dustymabe Thats interesting. So basically it's recommended to use For now I see one problem: Why are there no |
Yeah. I have a pi4 running and I don't see any |
The issue linked mentioned some problems with
Also it seems that the [core@localhost ~]$ ls /proc/device-tree/
ls: cannot access '/proc/device-tree/': No such file or directory While [core@localhost ~]$ cat /proc/devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
21 sg
29 fb
128 ptm
136 pts
162 raw
180 usb
188 ttyUSB
189 usb_device
204 ttyAMA
207 ttymxc
226 drm
234 ttyDBC
235 hidraw
236 usbmon
237 wwan_port
238 ttyLP
239 ttyTHS
240 ttyHS
241 ttyMSM
242 ttyMSM
243 ttyAML
244 bsg
245 watchdog
246 ptp
247 pps
248 lirc
249 rtc
250 dma_heap
251 dax
252 tpm
253 ttyMV
254 gpiochip
Block devices:
7 loop
8 sd
9 md
11 sr
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
253 device-mapper
254 mdp
259 blkext |
correct. We don't currently include any SBC specific files in FCOS. That's why I'm using the UEFI firmware. We'd like to do more investigation on this front and make things easier in the future. For context see #855 (comment) |
I think we're going to deal with this for now as a documentation concern. I've tried to address it in coreos/fedora-coreos-docs#336 - landed in the docs site at https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-raspberry-pi4/ |
Describe the enhancement
As FCOS is being included in more edge deployments (
amd64
andarm64
), there are integrations with devices needed (sensors, cameras, etc.), which is not included. My current usecase is, that I would like to use GPIO pins on my Raspberry Pi's to build a sensor cluster.Impact
Blocks certain edge use-cases.
System details
Additional information
An option would be to enable certain kernel options (
CONFIG_GPIOLIB=y
,CONFIG_GPIO_SYSFS=y
andCONFIG_SYSFS=y
) so that/sys/class/gpio/...
is present, and/dev/gpiomem
is present.The text was updated successfully, but these errors were encountered: