Whats crack'n Vinay!! Looks to me like Wheezy.

Hey Will,
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
The L in P-O-L means loaded, so in the case above it's telling you that the
HDMI hasn't been loaded. So you've successfully disabled it.

When you do this
"Another solution is also simple, just include the line "CAPE=ADAFRUIT-SP0"
in /etc/default/capemgr file. Then reboot and all should work fine"
You'll have to do both, disable the HDMI like you've done (if you want to
use SPI1) and load the SPI dtbo like in the step above.
You should then see it loaded when you cat the slots. Below is what mine
looks like (I have a few different things loaded, but you can see that the
HDMI has been disabled and both SPI's loaded)

root@beaglebone:/sys/devices# cd /sys/devices/bone_capemgr.*
root@beaglebone:/sys/devices/bone_capemgr.9# cat slots
 0: 54:PF---
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
 6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPI0-01
 8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPI1-01
 9: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1
10: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART4
11: ff:P-O-L Override Board Name,00A0,Override Manuf,AEI-UART5
12: ff:P-O-L Override Board Name,00A0,Override Manuf,bspm_P8_32_f
13: ff:P-O-L Override Board Name,00A0,Override Manuf,am33xx_pwm
14: ff:P-O-L Override Board Name,00A0,Override Manuf,bone_pwm_P9_16
root@beaglebone:/sys/devices/bone_capemgr.9#


check for 'spidev1.x' in /dev
e.g
root@beaglebone:~# cd /dev
root@beaglebone:/dev# ls

If spidev is in there, you successfully loaded the SPI

This is the version of linux I'm running on my BBB
root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44:55 UTC 2015 armv7l
GNU/Linux





On Tue, Jul 19, 2016 at 11:11 AM, Vinay Divakar <[email protected]>
wrote:

> Can you provide info about the kernel your using?
>
> On 18 July 2016 at 13:02, <[email protected]> wrote:
>
>> Hello all, I am new to BBB and using it to flash the ROM on my Lenovo
>> Thinkpad T400 with Libreboot, using these
>> <http://elinux.org/BeagleBone_Black_Enable_SPIDEV#SPI0> instructions on
>> eLinux.
>>
>> I disabled HDMI on the Beaglebone by opening vi and removing the comment
>> from the line that says it disables HDMI.
>>
>> I couldn't locate the uEnv.txt file at first, because there isn't a /lib/
>> directory. It was found in /boot/
>>
>> But when I did this, ie reboot and look, it seems that the HDMI is still
>> there:
>>
>> root@beaglebone:/var/lib/cloud9# cat /sys/devices/bone_capemgr.*/slots
>> 0: 54:PF---
>> 1: 55:PF---
>> 2: 56:PF---
>> 3: 57:PF---
>> 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>> 5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>> 6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
>> root@beaglebone:/var/lib/cloud9#
>>
>> ====
>>
>> I have now tried the advice of Vinay:
>>
>>
>> Another solution is also simple, just include the line
>> "CAPE=ADAFRUIT-SP0" in /etc/default/capemgr file. Then reboot and all
>> should work fine.
>>
>> ========
>>
>>
>> This did not work. I still get the same slots listing.
>>
>> I then followed this advice also from vinay:
>> ============
>>
>> Re: [beagleboard] Re: Issues with Enabling SPIDev on Beaglebone Black
>> Other recipients: [email protected], [email protected]
>> Step 1 : Go to root@beaglebone: /boot#
>> Step 2 : Open uEnv.txt file
>> Step 3 : Inside the file
>>
>> You will find these lines, so do the following: In case If you dont find
>> these lines for your kernel, then just append the line
>> "cape_enable=bone_capemgr.enable_partno=BB-SPIDEV0" to the end of the file.
>>
>> ##Example v4.1.x
>> #cape_disable=bone_capemgr.disable_partno=
>> cape_enable=bone_capemgr.enable_partno=BB-SPIDEV0
>>
>> Step 4 : Reboot your BBB
>> Step 5 : Go to /sys/devices/platform/bone_capemgr# cat slots or dmesg to
>> check.
>>
>> Then check if your SPI device has been loaded.
>>
>> This works with Linux beaglebone kernel 4.1.18-ti-r53
>>
>> ===============
>>
>> This didn't work. there is no /sys/devices/platform/bone_capemgr.
>>
>>
>> I would be very grateful for any help with this. With thanks, Will
>>
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAGLDO92iN9qEYTWXO3ZhEE%3DMYJXOi0%3DAzB5wXbmAGJx8nNuV%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to