Re: activation of SPI on fedora26 with a raspberry3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, 
Sorry I have the spi level enable but I am never able to activate the spidev.
 If you have a solution I am veru interested. 
Best regards. 
Christophe. 


2017-12-27 3:46 GMT+01:00 Reflective Surface <wellpolishedmirror@xxxxxxxxx>:
Hello Christophe,

Were you able to get spi working?
I followed the same steps as listed in this thread and got the same error message in dmesg.

On Mon, Sep 18, 2017 at 8:30 AM, christophe pages <pageschrist@xxxxxxxxx> wrote:
Hello, 
I applied these commands:
fdtput --type s /boot/dtb-4.12.13-300.fc26.armv7hl/bcm2837-rpi-3-b.dtb /soc/spi@7e204000 status "okay"

fdtput --type s /boot/dtb-4.12.13-300.fc26.armv7hl/bcm2837-rpi-3-b.dtb /soc/spi@7e215080 status "okay"
fdtput --type s /boot/dtb-4.12.13-300.fc26.armv7hl/bcm2837-rpi-3-b.dtb  /soc/spi@7e2150c0 status "okay"

And now I see spi_bcm2835 and spi_bcm2835aux modules started, after the reboot. But I can't see my /dev/spi* devices. 

Do you have an idea of the missing step? 

[root@raspchr-fed26 device-tree]# dmesg | grep spi
[   93.646629] spi-bcm2835 3f204000.spi: no tx-dma configuration found - not using dma mode
[root@raspchr-fed26 device-tree]# 

I still see other devices: 
./soc/gpio@7e200000/spi0_gpio35
./soc/gpio@7e200000/spi0_gpio7
./soc/gpio@7e200000/spi1_gpio16
./soc/gpio@7e200000/spi2_gpio40

Do I need to activate them ? 

Thanks for your help. 
Christophe. 


2017-09-16 22:53 GMT+02:00 christophe pages <pageschrist@xxxxxxxxx>:
Thanks for your answer, Yes I added these 2 lines in the config.txt file like for the raspbain . 
So What do I have to do with the dtb files. I see nothing regarding the spi. 
Do I still have to use the config.txt file ? 
Thanks for your help.

2017-09-16 14:57 GMT+02:00 Peter Robinson <pbrobinson@xxxxxxxxx>:
On Sat, Sep 16, 2017 at 1:33 PM, christophe pages <pageschrist@xxxxxxxxx> wrote:
> Hello,
> I try to activate the spi on my raspberry3 using a fedora 26.
> I tried these options:
> device_tree_param=spi=on
> dtoverlay=spi-bcm2708

Did you add that to config.txt? That way of doing it is specific to
Rasspian, the driver in Fedora is the upstream driver which is
spi-bcm2835aux and you'll need to either edit the dtb to enable it or
use a DT overlay as it's disabled by default.

> I use this kernel:
> 4.12.5-300.fc26.armv7hl
>
> I see that the support in kernel seems already inside:
> CONFIG_SPI=y
> # CONFIG_SPI_DEBUG is not set
> CONFIG_SPI_MASTER=y
>
>
> But I never see the devices /dev/spi* appearing.
> I can't see any messages regarding spi in dmesg.
>
> I tested with a raspbian and I see them correctly.
> I think I miss somethiing.
> Could you help.
> Thanks.
>
> _______________________________________________
> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to arm-leave@lists.fedoraproject.org
>



_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@lists.fedoraproject.org



_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux