Trouble disabling HDMI + EMMC overlays?

1,780 views
Skip to first unread message

Riley Porter

unread,
Dec 18, 2015, 12:08:31 AM12/18/15
to beagl...@googlegroups.com
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:


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

Robert Nelson

unread,
Dec 18, 2015, 12:15:48 AM12/18/15
to Beagle Board, riley...@gmail.com
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,

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

John Syne

unread,
Dec 18, 2015, 1:40:26 AM12/18/15
to beagl...@googlegroups.com
As Robert described, your uEnv.txt should look like this:


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


BTW, if you don’t need cape_universal, the last line should be:

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

Regards,
John


--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Riley Porter

unread,
Dec 20, 2015, 12:15:57 AM12/20/15
to beagl...@googlegroups.com
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 :)

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

Riley

Claudio La Rosa

unread,
Nov 3, 2017, 1:20:25 PM11/3/17
to BeagleBoard
Hi!

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

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
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_uio (4.4.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
#enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks...
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###
#cmdline=coherent_pool=1M net.ifnames=0 quiet
cmdline=coherent_pool=1M quiet init=/lib/systemd/systemd
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet 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=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
#cape_enable=bone_capemgr.enable_partno=
##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
dtb=am335x-boneblack-overlay.dtb

The only uncommented line are:
cape_disable=bone_capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
dtb=am335x-boneblack-overlay.dtb

But the P8_3...P8_6 and P8_20...P8_25 pins do not work. 

Ineed these pins. What am I doing wrong?



Robert Nelson

unread,
Nov 3, 2017, 2:51:24 PM11/3/17
to Beagle Board, Claudio La Rosa
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

Claudio La Rosa

unread,
Nov 4, 2017, 2:07:45 AM11/4/17
to Robert Nelson, Beagle Board

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

 

 

Da: Robert Nelson
Inviato: venerdì 3 novembre 2017 19:50
A: Beagle Board; Claudio La Rosa
Oggetto: Re: [beagleboard] Trouble disabling HDMI + EMMC overlays?

Robert Nelson

unread,
Nov 4, 2017, 11:55:52 AM11/4/17
to Claudio La Rosa, Beagle Board
On Sat, Nov 4, 2017 at 1:07 AM, Claudio La Rosa
<claudio...@gmail.com> wrote:
> 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..

Claudio La Rosa

unread,
Nov 4, 2017, 3:11:01 PM11/4/17
to Robert Nelson, Beagle Board

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

 

 

 

Da: Robert Nelson
Inviato: sabato 4 novembre 2017 16:55
A: Claudio La Rosa
Cc: Beagle Board


Oggetto: Re: [beagleboard] Trouble disabling HDMI + EMMC overlays?

 

On Sat, Nov 4, 2017 at 1:07 AM, Claudio La Rosa

dee...@gmail.com

unread,
Dec 5, 2017, 10:25:53 AM12/5/17
to BeagleBoard
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/ocp*P8_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!







Robert Nelson

unread,
Dec 5, 2017, 10:36:20 AM12/5/17
to Beagle Board, dee...@gmail.com
Reply all
Reply to author
Forward
0 new messages