On Saturday, August 20, 2016 at 2:42:12 PM UTC-7, William Wendin wrote:
>
> Background Info:
> 1) We are using BeagleBone Black to power our robot, using it since 
> November.  
> 2) We use ADC, I2C1, I2C2, SPI0, 5 PWMs, and almost every available GPIO. 
>  We have all these working using overlays, or config-pin, whichever is 
> needed.   All is good.
> 3) Up until now I have not had to alter the default kernel or uEnv.txt.*
> 4) Upgraded to 4.4.9 a month or two ago.    I am up-to-date with all 
> "apt-get update" and "apt-get upgrade".
> 5) /boot/uEnv.txt is attached.
> 6) root@beaglebone:/home/debian# uname -a
>            Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 
> 2016 armv7l GNU/Linux
>
> The problem: Now we need SPI1 (yes, we need two SPI busses).     I want to 
> use all the IOs listed above  (see #2).
>
> I think the best way is to use the default universal cape that comes with 
> 4.4.9 (see above where I use it for all my IOs with little effort), but 
> enable SPI1 instead of MCASP.
>
> What I've tried:
> * I've seen that folks say that the only way to add SPIDEV1 overlay is via 
> /etc/rc.local (echo 'BB-SPIDEV1' > 
> /sys/devices/platform/bone_capemgr/slots).    However, that then wipes out 
> the availability of I2C, PWMs, etc.
> * I've also tried adding BB-SPIDEV1 via uEnv.txt but that didn't work at 
> all.
>
> I've spent a few days trying various combination and can't find it.   
> Looked at source code too to try and see what is up, but didn't figure it 
> out yet.
>
> I guess my idea of the "best way" is heading down the wrong path.   
>
> Questions:
> * Do I have to make a whole new universal custom cape?
> * Follow on question: Anybody have a way to turn on everything I use (see 
> #2 above) and SPIDEV1 too?
>

-- 
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/84254e17-e364-4164-afe6-2e348c87f3f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.4.9-ti-r25
#uuid=
#dtb=

##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)

##BeagleBone Black: HDMI (Audio/Video) disabled:
#dtb=am335x-boneblack-emmc-overlay.dtb

##BeagleBone Black: eMMC disabled:
#dtb=am335x-boneblack-hdmi-overlay.dtb

##BeagleBone Black: HDMI Audio/eMMC disabled:
#dtb=am335x-boneblack-nhdmi-overlay.dtb

##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
#dtb=am335x-boneblack-overlay.dtb

##BeagleBone Black: wl1835
#dtb=am335x-boneblack-wl1835mod.dtb

##BeagleBone Green: eMMC disabled
#dtb=am335x-bonegreen-overlay.dtb

cmdline=coherent_pool=1M quiet cape_universal=enable

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M quiet cape_universal=enable 
video=HDMI-A-1:1024x768@60e

##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
#cape_enable=bone_capemgr.enable_partno=BB-SPIDEV1

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

Reply via email to