Hi , I am also facing the same issue on Linux arm 4.4.30-ti-r66 .
On Wednesday, August 3, 2016 at 4:58:50 PM UTC+5:30, caongu...@gmail.com wrote: > > Hi ALL > I work with beaglebone balck ubuntu 14.04 Linux arm 4.1.13-ti-r36 > I want interface spi but after execution: > open file uEnv.txt > #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 > > uname_r=4.1.13-ti-r36 > #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 Black: replicape > #dtb=am335x-boneblack-replicape.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= > > cape_disable=bone_capemgr.disable_partno=BB-SPIDEV0,BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G > cape_enable=bone_capemgr.enable_partno=BB-I2C1,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 > savle file and rebbot > That : > > *cat /sys/devices/platform/bone_capemgr/slots* > > 0: PF---- -1 > > 1: PF---- -1 > > 2: PF---- -1 > > 3: PF---- -1 > > > *cat /sys/devices/platform/bone_capemgr/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 > > > after I run my code > > BlackLib::BlackSPI mySpi4(BlackLib::SPI1_0, 8, BlackLib::SpiDefault, > 2400000); > bool isOpened4 = mySpi4.open( BlackLib::ReadWrite | > BlackLib::NonBlock); > if( !isOpened4 ) > { > std::cout << "SPI DEVICE CAN\'T OPEN " << std::endl; > cout<<" value 4: " <<isOpened3; > cout<<" \r\n "<<endl; > } > else > { > cout<<" OPEN spi 4: " <<endl; > cout<<" value open spi:" <<isOpened2; > cout<<" \r\n "<<endl; > } > > > notification > SPI DEVICE CAN\'T OPEN > > please help > > thanks all > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7fdfc6c1-4016-4a7b-8fbc-72b76950ab7d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.