"cape_enable" is a variable that places the following text into the Linux boot time parameters.
If you ... debian@beaglebone:~$ *cat /proc/cmdline* console=tty0 console=ttyO0,115200n8 beaglebone-capemgr.enable_partno=BB-CAN1 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait fixrtc You most likely will see that your uEnv.txt modification did not "stick. On Sun, Jun 7, 2015 at 3:46 PM, William Hermans <[email protected]> wrote: > *root@beaglebone:/# cat /boot/uEnv.txt |egrep -v '^(#|$)'* >> * uname_r=4.1.0-rc6-bone6* >> * cmdline=quiet init=/lib/systemd/systemd* >> * bone_capemgr.enable_partno=BB-**SPIDEV0* >> * cape_disable=capemgr.disable_**partno=BB-BONELT-HDMI,BB-* >> *BONELT-HDMIN,BB-BONE-EMMC-2G* >> > > > *cape_enable=bone_capemgr.enable_partno=BB-**SPIDEV0* > > On Sun, Jun 7, 2015 at 2:32 PM, Drew Fustini <[email protected]> wrote: > >> On Fri, Jun 5, 2015 at 2:01 PM, Robert Nelson <[email protected]> >> wrote: >> > Do you want to test the 4.1 spi overlays?? ;) >> >> thanks, that did work for me. although the uEnv.txt settings seemed >> to have no effect. I had to echo the cape name into slots: >> >> root@beaglebone:/# uname -a >> Linux beaglebone 4.1.0-rc6-bone6 #1 Mon Jun 1 22:44:52 UTC 2015 armv7l >> GNU/Linux >> >> root@beaglebone:/# cat /sys/devices/platform/bone_capemgr/slots >> 0: 54:PF---- -1 >> 1: 55:PF---- -1 >> 2: 56:PF---- -1 >> 3: 57:PF---- -1 >> >> root@beaglebone:/# cat /boot/uEnv.txt |egrep -v '^(#|$)' >> uname_r=4.1.0-rc6-bone6 >> cmdline=quiet init=/lib/systemd/systemd >> bone_capemgr.enable_partno=BB-SPIDEV0 >> >> cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G >> >> root@beaglebone:/# echo 'BB-SPIDEV0' > >> /sys/devices/platform/bone_capemgr/slots >> >> root@beaglebone:/# cat /sys/devices/platform/bone_capemgr/slots >> 0: 54:PF---- -1 >> 1: 55:PF---- -1 >> 2: 56:PF---- -1 >> 3: 57:PF---- -1 >> 4: ff:P-O-L- 0 Override Board Name,00A0,Override Manuf,BB-SPIDEV0 >> >> root@beaglebone:/# ls -la /dev/spi* >> crw-rw---T 1 root spi 153, 1 Jun 7 21:03 /dev/spidev1.0 >> crw-rw---T 1 root spi 153, 0 Jun 7 21:03 /dev/spidev1.1 >> >> Here is additional output: >> https://gist.github.com/pdp7/14a813bd3254254b94fe >> >> >> thanks, >> drew >> >> -- >> 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]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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]. For more options, visit https://groups.google.com/d/optout.
