On Fri, Mar 25, 2016 at 9:03 AM, Le Costaouec Vincent
<vincent.lecostao...@gmail.com> wrote:
> Hello,
>
> I' m currently facing the same issue with the SPI1. However, even with your
> solution, it is not working.
>
> # uname -ra
> Linux beagle01 4.1.18-bone20 #4 Fri Mar 18 15:16:19 CET 2016 armv7l
> GNU/Linux
>
>
> # lsb_release -da
> Distributor ID:    Debian
> Description:    Debian GNU/Linux 8.3 (jessie)
> Release:    8.3
> Codename:    jessie
>
> # cat $SLOTS
>  0: PF----  -1
>  1: PF----  -1
>  2: PF----  -1
>  3: PF----  -1
>  4: P-O-L-   0 Override Board Name,00A0,Override Manuf,BB-SPIDEV1
>
> # cat $PINS | grep '990\|998\|994\|99c\|97c'
> pin 95 (44e1097c.0) 00000033 pinctrl-single
> pin 100 (44e10990.0) 00000027 pinctrl-single
> pin 101 (44e10994.0) 00000027 pinctrl-single
> pin 102 (44e10998.0) 00000027 pinctrl-single
> pin 103 (44e1099c.0) 00000027 pinctrl-single

ignore that..


> # cat /boot/uEnv.txt
> uname_r=4.1.18-bone20
> dtb=am335x-boneblack-overlay.dtb
> cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
> cape_enable=bone_capemgr.enable_partno=BB-SPIDEV1

remove 
"cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G"
it's not used with "4.1.x"..

>
> # dmesg |grep SPI
> [    0.000000] Kernel command line: console=ttyO0,115200n8
> capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
> bone_capemgr.enable_partno=BB-SPIDEV1 root=/dev/mmcblk0p1 ro rootfstype=ext4
> rootwait
> [    4.618372] bone_capemgr bone_capemgr: enabled_partno PARTNO 'BB-SPIDEV1'
> VER 'N/A' PR '0'
> [    4.639023] bone_capemgr bone_capemgr: slot #4: 'Override Board
> Name,00A0,Override Manuf,BB-SPIDEV1'
> [    4.655351] bone_capemgr bone_capemgr: slot #4: dtbo
> 'BB-SPIDEV1-00A0.dtbo' loaded; overlay id #0
>
> # ls -la /dev/spi*
> crw-rw---- 1 root spi 153, 0 Mar 25 14:17 /dev/spidev2.0
> crw-rw---- 1 root spi 153, 1 Mar 25 14:17 /dev/spidev2.1

it's loaded, have you actually wired something up to it and tested?

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to