Robert,

Please disregard. I realized my mistake -- I was not changing the value, 
only the commented line.. I have since got it to do what it's told!

debian@beaglebone:~$ sudo show-pins | grep spi
> P9.31 / hdmi audio clk           100 fast rx  up  3 spi 1 clk        
> spi@481a0000 (pinmux_bb_spi1_pins)
> P9.29 / hdmi audio fs            101 fast     up  3 spi 1 d0 miso    
> spi@481a0000 (pinmux_bb_spi1_pins)
> P9.30                            102 fast rx  up  3 spi 1 d1 mosi    
> spi@481a0000 (pinmux_bb_spi1_pins)
> P9.28 / hdmi audio data          103 fast     up  3 spi 1 cs 0       
> spi@481a0000 (pinmux_bb_spi1_pins)
>

My issue now is that I believe the spidev library is still trying to access 
P9_30 as MOSI and P9_29 as MISO. This is my guess anyways.


On Thursday, August 29, 2019 at 1:23:38 PM UTC-6, [email protected] wrote:
>
> While attempting to use the SPI1 pins, I have had trouble in configuring 
> the pins. I had it working after updating to the 4.19.50-ti-rt-r25 kernel, 
> but then it mysteriously stopped working. I believe it stopped when I 
> included the BB-I2C2-00A0.dtbo file in the uBoot, but I can't be sure.
>
> Here's where the error happens:
> debian@beaglebone:~$ config-pin -a 928 spi_cs
> P9_28 pinmux file not found!
> bash: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state: No such file or 
> directory
> Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state
>
> When I look for this P9_28 file in the ocp directory, I do not see 9_28, 
> 9_29, 9_30, nor 9_31 pinmux.
> drwxrwxr-x   3 root gpio    0 Aug 23 15:14 ocp:P9_27_pinmux
> drwxrwxr-x   3 root gpio    0 Aug 23 15:14 ocp:P9_41_pinmux
> It skips right over.
>
> debian@beaglebone:~$ uname -r
> 4.19.59-ti-rt-r25
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> [sudo] password for debian:
> git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
> eeprom:[A335BNLTEIA04218BBBK0D06]
> model:[TI_AM335x_BeagleBone_Black]
> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
> 2018.09-00002-g0b54a51eee]:[location: dd MBR]
> kernel:[4.19.59-ti-rt-r25]
> nodejs:[v6.14.4]
> uboot_overlay_options:[enable_uboot_overlays=1]
>
> uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo]
> uboot_overlay_options:[disable_uboot_overlay_video=1]
> uboot_overlay_options:[disable_uboot_overlay_audio=1]
>
> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
> uboot_overlay_options:[enable_uboot_cape_universal=1]
> pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
> <pkg>]
> pkg:[bb-cape-overlays]:[4.4.20190812.0-0rcnee0~stretch+20190812]
> pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
> pkg:[kmod]:[23-2rcnee1~stretch+20171005]
> pkg:[librobotcontrol]:[1.0.3-git20181005.0-0rcnee0~stretch+20181005]
> pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
> plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep 
> admin spi tisdk weston-launch xenomai]
> cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
> root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
> net.ifnames=0 quiet]
> dmesg | grep pinctrl-single
> [    1.315958] pinctrl-single 44e10800.pinmux: 142 pins, size 568
> dmesg | grep gpio-of-helper
> [    1.339726] gpio-of-helper ocp:cape-universal: ready
> END
>
>
>
>
>

-- 
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/499de88f-986c-45f0-a6a1-00863b5ef8ce%40googlegroups.com.

Reply via email to