Hello all, I am new to BBB. My eventual aim is to use the BBB to flash a 
rom with libreboot on my Lenovo Thinkpad. I am using this 
<http://elinux.org/BeagleBone_Black_Enable_SPIDEV#SPI0> guide at eLinux. It 
says that I need to disable HDMI before I can enable SPI.
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 do 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:

[email protected] 
19 Feb 
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:

[email protected] 
16 May 
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 hope that given the limited purpose of using BBB I won't need to learn a 
whole lot about embedded systems, device tree overlays, etc, just in order 
to do flash my rom, however interesting it is!

Any help greatly appreciated. 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/580ed40f-e5e4-4ba5-94af-a45c9a50228a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to