When I uncomment "#dtb=am335x-boneblack-emmc-overlay.dtb" and add a line for BB-SPIDEV1 as follows:
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=4.4.38-bone-rt-r14 ###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 cape_enable=bone_capemgr.enable_partno=BB-SPIDEV1 ... (nothing is changed beyond this point) The system appears to fail during boot. This has worked for a long time on the BBB and I'm trying to move a running application to the BBGW. root@bbgw:/home/cd5# uname -a Linux bbgw 4.4.38-bone-rt-r14 #1 PREEMPT RT Mon Dec 12 10:10:25 UTC 2016 armv7l GNU/Linux I have also tried to use config-pin, but I haven't been able to find any documentation that will allow me to work through the problems. For example: cd5@bbgw:~$ sudo ./config-pin P8_18 low P8_18 pinmux file not found! cape-universala overlay not found run "config-pin overlay cape-universala" to load the cape root@bbgw:/home/cd5# ./config-pin overlay cape-universala Loading cape-universala overlay root@bbgw:/home/cd5# ./config-pin overlay BB-SPIDEV1 Loading BB-SPIDEV1 overlay bash: line 0: echo: write error: File exists Error loading device tree overlay file: BB-SPIDEV1 It appears that cape-universala loads both spidev0 and spidev1 - I need the spidev0 pins available for gpio Trying to push on: root@bbgw:/home/cd5# ./config-pin -l p8_18 default gpio gpio_pu gpio_pd root@bbgw:/home/cd5# ./config-pin -i p8_18 Pin name: P8_18 Function if no cape loaded: gpio Function if cape loaded: default gpio gpio_pu gpio_pd Function information: gpio2_1 default gpio2_1 gpio2_1 gpio2_1 Cape: cape-universala cape-universal cape-universaln Kernel GPIO id: 65 PRU GPIO id: 97 root@bbgw:/home/cd5# ./config-pin -q p8_18 Cannot read pinmux file: /sys/devices/platform/ocp/ocp*P8_18_pinmux/state I can't see where to go from here except to post this hoping that someone can help with either the uEnv.txt problem or the config-pin problems. When all is configured properly I should have spidev1 (the second spi bus) enabled along with a long list of gpios needed for the application. Thanks in advance, Tim -- 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/1546c704-46ee-41b3-8f01-ec0dbafcada6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
