Problems setting up cape manager device tree overlay

34 views
Skip to first unread message

jlem...@gmail.com

unread,
Dec 3, 2017, 10:16:50 AM12/3/17
to BeagleBoard
I have previously set up the device tree overlay for UART with no problems using Debian Version 7x.  In short, I compiled a device tree source file into a .dtbo file, and then loaded the overlay .dtbo file using the following:
echo BB-UART2 > /sys/devices/bone_capemgr.*/slots  // this works for debian version 7x and earlier

It appears Debian version 8x has changed this location slightly and now is /sys/devices/platform/bone_capemgr/slots.
when I compile the device tree source file and attempt to load using:
echo BB-UART2 > /sys/devices/platform/bone_capemgr/slots
I get the following response:
-bash: echo: write error: File exists

And the UART2 does not work

I would like to know what I should be doing in Debian 8x to get this working.

Thanks

Drew Fustini

unread,
Dec 4, 2017, 10:25:23 AM12/4/17
to Beagle Board
You may be running into an issue with cape-universal and/or u-boot overlays.

Please paste the contents of:
/sys/devices/platform/bone_capemgr/slots
/boot/uEnv.txt
/etc/dogtag
/etc/debian_version

There should also be this script to print out more system version info:
/opt/scripts/tool/version.sh

(I'm typing from memory on my phone so I may have typos in the above paths)

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 beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5d5a5812-36c3-49ca-a0c4-201dc18679f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jlem...@gmail.com

unread,
Dec 4, 2017, 3:35:40 PM12/4/17
to BeagleBoard
Drew,

Here is the information you requested:
 Contents of file slots located in /sys/devices/platform/bone_capemgr
 
 0: PF----  -1
 1: PF----  -1
 2: PF----  -1
 3: PF----  -1
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,cape-universaln

Contents of file uEnv.txt in /boot

uname_r=4.1.13-ti-r30
##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=
##Disable HDMI/eMMC (v3.8.x)
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
##Disable HDMI (v3.8.x)
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
##Disable eMMC (v3.8.x)
#cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G
##Audio Cape (needs HDMI Audio disabled) (v3.8.x)
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI
#cape_enable=capemgr.enable_partno=BB-BONE-AUDI-02

##enable Generic eMMC Flasher:
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
uuid=fc2e7ab3-b253-42cf-8243-bfb98707a236

Contents of file dogtag in /etc

BeagleBoard.org Debian Image 2015-11-15

Contents of file debian_version in /etc
8.2
Reply all
Reply to author
Forward
0 new messages