to quote the fedoraproject wiki on the raspberry pi:
Are Device Tree Overlays supported?
There's basic support for overlays in u-boot and the linux kernel but an
overlay manager isn't yet upstream. There's (sic)
Is GPIO supported?
GPIO isn't supported well as they need to be mapped with Device Tree overlays.
This will be improved in the F-27 cycle, and in Fedora 28.
Is SPI supported?
Yes, basic SPI is supported.
Is I2C supported?
Yes, basic I2C is supported.
by default, i know that i2c is functional since i added an rtc and added a
simple udev rule to make it work, however, spi isn't that simple
i have an enc28j60 wired to the gpio in hopes of having a secondary ethernet
interface, i know it's wired correctly since i downloaded raspbian and added
the appropriate overlay magic to config.txt and it automatically registers as
eth1
on fedora, a simple modprobe spidev or modprobe spi-bcm2835{,aux} doesn't seem
to populate /dev/ with any spidev*
i even grafted all of the fedora kernel patches
(https://src.fedoraproject.org/rpms/kernel.git) onto the raspberry pi kernel
(https://github.com/raspberrypi/linux.git, rpi-4.15.y), built it (make
olddefconfig), installed it, did all that funny mkimage crap, booted off it
(raspberries instead of penguins (everything else still worked)), and still no
functional spi
i think this implies that between raspbian and fedora there's a specific
CONFIG_ option in the kernel i need to add, but i don't know what one (ones?)
it would be
any help would be appreciated
Sent using Sharklasers.com
Block or report abuse:
https://www.sharklasers.com//abuse/?a=QFN5JQEJUKAGxgix9HENcwTVQsCV0cMeyLZF
___
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-le...@lists.fedoraproject.org