I believe GPIO is broken because the Raspbery Pi hardware platform is not
correctly recognized, but I have not had available time to look
carefully.

[root@RPi3-1 ryniker]# uname -a
Linux RPi3-1 4.8.4-301.fc25.armv7hl #1 SMP Tue Oct 25 02:01:39 UTC 2016 armv7l 
armv7l armv7l GNU/Linux

Simple test to demonstrate failure:

[root@RPi3-1 ryniker]# echo 23 >/sys/class/gpio/export
bash: echo: write error: Invalid argument
[root@RPi3-1 ryniker]#

Suspicious symptom:  look at /proc/cpuinfo and see:

Hardware        : Generic DT based system
Revision        : 0000
Serial          : 00000000b9dd7fd3

Using Raspbian, where GPIO works, /proc/cpuinfo reports:

Hardware        : BCM2709
Revision        : a22082
Serial          : 00000000e0b59fb5

I suspect the required files may be present in Fedora, possibly one of these:

/boot/dtb-4.8.4-301.fc25.armv7hl/bcm2836-rpi-2-b.dtb
/boot/dtb-4.8.4-301.fc25.armv7hl/bcm2837-rpi-3-b.dtb
 
but they may not be used because of some failure to correctly identify
the hardware platform.  On the other hand:

[ryniker@RPi3-1 ~]$ echo $(cat /sys/firmware/devicetree/base/model)
Raspberry Pi 3 Model B
[ryniker@RPi3-1 ~]$ 

seems to get it right, therefore it is not complete failure to recognize
the platform, maybe just a partial failure because names have evolved so
some match fails.  And it remains possible some configuration data is
simply absent, or incorrect.
_______________________________________________
arm mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to