Trouble disabling HDMI + EMMC overlays?

Hey guys I have edited my uEnv.txt and uncommented the disable hdmi and emmc but a reboot does nothing?

This is my kernel version:

Linux beaglebone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44:55 UTC 2015 armv7l GNU/Linux

This is my /boot/uEnv.txt file:

Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=3.8.13-bone79
#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

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M quiet init=/lib/systemd/systemd 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:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

cmdline=coherent_pool=1M quiet init=/lib/systemd/systemd cape_universal=enable

As you can see I pretty much disabled everything but when I:

root@beaglebone:~# cat /sys/devices/bone_capemgr.9/slots
0: 54:PF—
1: 55:PF—
2: 56:PF—
3: 57:PF—
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-L Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN

Everything is still applied? What am I missing here?

Thanks,

Riley

Hey guys I have edited my uEnv.txt and uncommented the disable hdmi and emmc
but a reboot does nothing?

This is my kernel version:

Linux beaglebone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44:55 UTC 2015 armv7l
GNU/Linux

This is my /boot/uEnv.txt file:

Docs: Beagleboard:U-boot partitioning layout 2.0 - eLinux.org

uname_r=3.8.13-bone79
#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

So "after" setting dtb 5 times, you landed on
"dtb=am335x-bonegreen-overlay.dtb" which technically doesn't exist
with "3.8.13-bone79"...

Those "7" dtb settings are for v4.1.x... So for v3.8.x don't touch
them "any" of the dtb's, just leave them commented out "#dtb=xyz"...

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M quiet init=/lib/systemd/systemd
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

After setting "cape_disable" 4 times, you've landed on
"cape_disable=capemgr.disable_partno=BB-BONELT-HDMI"

Does it makes sense now, how u-boot is setting those variables?

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

cmdline=coherent_pool=1M quiet init=/lib/systemd/systemd
cape_universal=enable

As you can see I pretty much disabled everything but when I:

root@beaglebone:~# cat /sys/devices/bone_capemgr.9/slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-L Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN

Everything is still applied? What am I missing here?

So we end up with the eMMC & the HDMIN "loaded" while, "HDMI"
disabled.. Exactly like you setup in /boot/uEnv.txt...

Regards,

As Robert described, your uEnv.txt should look like this:

Hey guys,

Thanks for the input. I think my major disconnect was the fact that when I was looking at the slots I didnt notice the O vs the L :slight_smile:

So apparently it was not loaded. Sorry guys. Still learning the BeagleBone. This list has been very very helpful.

Riley

Hi!

I have this /boot/uEnv.txt on my SD Card (beagleBone Green):

#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.4.91-ti-r133
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
#enable_uboot_overlays=1

Remove both of those changes, if you want to disable
hdmi/hdmi-audio/emmc with newer images you have to follow these
directions:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

enable_uboot_overlays=1
disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1
enable_uboot_cape_universal=1

Regards,

Thank you for the reply.

I tried on a first BeagleBone and it did not work.

I tried on a second BeagleBone Green (transferring the SD Card) and last night it worked all the times I tried.

This morning, however, it does not work anymore

So reflash... your emmc was probally getting in the way.

those modifications i gave you will work..

Regards,

Are you saying that I should reflash eMMC?
Meanwhile … it works and sometimes does not work …

Hello, I have the same issue

I’ve tried many combinations in the uEnv.txt file to disable my emmc, but all of the time I get…

`

root@beaglebone:~# config-pin -a P8_4 in+
bash: /sys/devices/platform/ocp/ocpP8_04_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp
P8_04_pinmux/state
`

in dmesg:

`
[ 37.905449] bone-pinmux-helper ocp:P8_04_pinmux: Error applying setting, reverse things back
[ 37.938495] pinctrl-single 44e10800.pinmux: pin 44e1081c.0 already requested by 481d8000.mmc; cannot claim for ocp:P8_04_pinmux
[ 37.950240] pinctrl-single 44e10800.pinmux: pin-7 (ocp:P8_04_pinmux) status -22
[ 37.957691] pinctrl-single 44e10800.pinmux: could not request pin 7 (44e1081c.0) from group pinmux_P8_04_default_pin on device pinctrl-single
[ 37.970584] bone-pinmux-helper ocp:P8_04_pinmux: Error applying setting, reverse things back
[ 37.979109] bone-pinmux-helper ocp:P8_04_pinmux: Failed to select default state

`

in slots:

`

root@beaglebone:~# 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,cape-universala
`

some info:
Debian Jessie, running on a BeagleBone Green

`

root@beaglebone:~# cat /etc/dogtag
BeagleBoard.org Debian Image 2017-10-10
root@beaglebone:~# uname -na
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l GNU/Linux
`

If someone can give me some help, I’d really appreciate this!
thanks!

sudo /opt/scripts/tools/version.sh

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices

Regards,