Hi Tyler,

On Tue, May 22, 2018 at 8:06 AM, Tyler Kolden
<[email protected]> wrote:
> I'm having trouble enabling either one of the SPI ports on the BBBW.  I've
> tried adding the uboot overlays for SPI as well as using the config-pin
> without success.  Any help is greatly appreciated.
>
> root@beaglebone:/dev# config-pin p9_28 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


So with v4.9.x/v4.14.x, when you enable a custom overlay thru u-boot,
config-pin get's disabled..

This is fixed with v4.16.x+ kernels.

But in your case, BB-SPIDEV0-00A0.dtbo/BB-SPIDEV1-00A0.dtbo should
already set p9_28 correctly

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-SPIDEV1-00A0.dts


>> device-tree-override:[dtb=am335x-boneblack-wireless.dtb]

Ps, drop this dtb= option, as that breaks:

>> uboot_overlay_options:[enable_uboot_overlays=1]
>> uboot_overlay_options:[disable_uboot_overlay_video=1]
>> uboot_overlay_options:[disable_uboot_overlay_audio=1]
>> uboot_overlay_options:[enable_uboot_cape_universal=1]

The disable options listed here ^

(thus video/audio don't get disabled)

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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/CAOCHtYhx9noS%2BCyROLEEXNgGjPwzt-HSHnPx8PVs_5gJPVWkxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to