[fedora-arm] Re: what do i have to do to enable spi on fedora 27 on a raspberry pi

2018-02-25 Thread Richard Ryniker
You might try Fedberry.  I uncommented "dtparam=spi=on" in
/boot/config.txt and now see the /dev/spidev0.0 and /dev/spidev0.1
devices.  The GPIO devices (gpiochip0, gpiochip1, and gpiochip2) are
present by default, without any special configuration.

With F27, uncertain about what device tree overlay capabilities actually
exist, I experimented by manually adding the SPI text to the initial
binary device tree file (dtc from binary or tree to source, edit, dtc
back to binary) but this did not work.  I wonder whether the F27 SPI DT
overlay data may be incomplete (Raspbian has more detail), or if your
suspicion about kernel configuration is the fundamental problem.

I2C is what I need currently, and F27 has been very good for that.
___
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-le...@lists.fedoraproject.org


[fedora-arm] [Fedocal] Reminder meeting : Fedora ARM & AArch64 status meeting

2018-02-25 Thread pwhalen
Dear all,

You are kindly invited to the meeting:
   Fedora ARM & AArch64 status meeting on 2018-02-27 from 15:00:00 to 16:00:00 
UTC
   At fedora-meetin...@irc.freenode.net

The meeting will be about:
Fedora ARM & AArch64 weekly status meeting. 

More information available at:
[https://fedoraproject.org/wiki/Architectures/ARM](https://fedoraproject.org/wiki/Architectures/ARM)


Source: https://apps.fedoraproject.org/calendar/meeting/8698/

___
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-le...@lists.fedoraproject.org


[fedora-arm] what do i have to do to enable spi on fedora 27 on a raspberry pi

2018-02-25 Thread adpdyj+4aw13di0ccx1w
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