Changing uEnv.txt cause problem(disabling HDMI)

Hello all,

I have a beaglebone black on Angstrom lastest version, and disabled HDMI to use audio cape
by ADDING follows to the uEnv.txt file.

drm.debug=7, capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

After reboot,
user LED light on the board has a solid light on D4.

Why is this happened? How can I boot this board again?

You left out “optargs=” at the front of the line. The SW is hung trying to figure out what you want it to do. If you reflash the board it will fix it.

Gerald

Hi Gerald,

Thanks for your kind reply
but that part was already written on the file.
Due to my board doesn’t work I could not remember that part.

As I remember,
optargs= quiet was the original contents of it.

So I can say that this solid single light happened after I modified the file as follows.

optargs= quiet, drm.debug=7, capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

You have a space between the first = and quiet.
And you have HDMIN instead of HDMI

Gerald

It should look like the example in this wiki:
http://circuitco.com/support/index.php?title=Weather_Cape_Work-Around

I tested it and it successfully disabled the cape.

Hello Juan,

That tutorial is really good!!

Thank you!!

Br,

Maria

Great! Glad it helped!

Maria,
May I ask if you got the audio cape to output audio on the BBB? If so how did you do it?

drm.debug=7, <— remove the coma, and leave a space

Hello Maria, does the Audio Cape works now?
Thanks!

I’ve tested the Audio Cape myself and it does work… but just barely. Its VERY noisy most of the time. Only about 1 in 5 plays of a file comes out clean.

Tommy

Hi,

Yes, now I can enable HDMI and disable Audio cape with angstrom by changing uEnv.txt.

below is my uEnv.txt file.

optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G capemgr.enable_partno=BB-BONE-AUDI-01

but it work only for Angstrom,
still cannot do this for Ubuntu.

and I also have a same noise problem like Tommy snyder is mentioning below.

-Maria

It should also work on Ubuntu.. Unless your kernel is too old..

what is the output of 'uname -r'

Regards,

Robert Nelson,

It is 3.8.13-bone21

Could you give me a sample uEnv.txt to enable the audio cape?

I might repeating wrong tries, because I am not familar with writing script for uEnv.

The board won’t boot when I change the file, so I should reflash everytime.

Regards,

Maria

Well close... but it's stuck on a pin-conflict..

I just added:

##BeagleBone Black:
##Disable HDMI/eMMC
#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
capemgr.enable_partno=BB-BONE-AUDI-01

on this image:
http://elinux.org/BeagleBoardUbuntu#Raring_13.04_armhf

[ 1.668518] bone-capemgr bone_capemgr.8: Baseboard:
'A335BNLT,0A5A,1813BBBK0622'
[ 1.676321] bone-capemgr bone_capemgr.8:
compatible-baseboard=ti,beaglebone-black
[ 1.684200] bone-capemgr bone_capemgr.8: Skipping disabled cape
with part# BB-BONE-EMMC-2G
[ 1.692900] bone-capemgr bone_capemgr.8: Skipping disabled cape
with part# BB-BONELT-HDMI
[ 1.701543] bone-capemgr bone_capemgr.8: Skipping disabled cape
with part# BB-BONELT-HDMIN
[ 1.734339] bone-capemgr bone_capemgr.8: slot #0: 'BeagleBone AUDIO
CAPE,00A0,Beagleboardtoys,BB-BONE-AUDI-01'
[ 1.776134] bone-capemgr bone_capemgr.8: slot #1: No cape found
[ 1.813237] bone-capemgr bone_capemgr.8: slot #2: No cape found
[ 1.850348] bone-capemgr bone_capemgr.8: slot #3: No cape found
[ 1.856607] bone-capemgr bone_capemgr.8: slot #4: specific override
[ 1.863212] bone-capemgr bone_capemgr.8: bone: Using override
eeprom data at slot 4
[ 1.871257] bone-capemgr bone_capemgr.8: slot #4:
'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[ 1.881405] bone-capemgr bone_capemgr.8: slot #5: specific override
[ 1.888008] bone-capemgr bone_capemgr.8: bone: Using override
eeprom data at slot 5
[ 1.896050] bone-capemgr bone_capemgr.8: slot #5:
'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[ 1.906108] bone-capemgr bone_capemgr.8: slot #6: specific override
[ 1.912709] bone-capemgr bone_capemgr.8: bone: Using override
eeprom data at slot 6
[ 1.920747] bone-capemgr bone_capemgr.8: slot #6:
'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[ 1.930975] bone-capemgr bone_capemgr.8: enabled_partno part_number
'BB-BONE-AUDI-01', version 'N/A'
[ 1.940569] bone-capemgr bone_capemgr.8: slot #7: generic override
[ 1.947072] bone-capemgr bone_capemgr.8: bone: Using override
eeprom data at slot 7
[ 1.955125] bone-capemgr bone_capemgr.8: slot #7: 'Override Board
Name,00A0,Override Manuf,BB-BONE-AUDI-01'
[ 1.965669] bone-capemgr bone_capemgr.8: Skipping loading of
disabled cape with part# BB-BONE-EMMC-2G
[ 1.975354] bone-capemgr bone_capemgr.8: Skipping loading of
disabled cape with part# BB-BONELT-HDMI
[ 1.984936] bone-capemgr bone_capemgr.8: Skipping loading of
disabled cape with part# BB-BONELT-HDMIN
[ 1.994942] bone-capemgr bone_capemgr.8: loader: before slot-0
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.003851] bone-capemgr bone_capemgr.8: loader: check slot-0
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.012899] bone-capemgr bone_capemgr.8: initialized OK.
[ 2.018535] bone-capemgr bone_capemgr.8: loader: before slot-7
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.027396] bone-capemgr bone_capemgr.8: loader: check slot-7
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.042361] bone-capemgr bone_capemgr.8: loader: after slot-0
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.058819] bone-capemgr bone_capemgr.8: slot #0: Requesting part
number/version based 'BB-BONE-AUDI-01-00A0.dtbo
[ 2.075984] bone-capemgr bone_capemgr.8: loader: after slot-7
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.090869] bone-capemgr bone_capemgr.8: slot #0: Requesting
firmware 'BB-BONE-AUDI-01-00A0.dtbo' for board-name 'BeagleBone AUDIO
CAPE', version '00A0'
[ 2.125524] bone-capemgr bone_capemgr.8: slot #0: dtbo
'BB-BONE-AUDI-01-00A0.dtbo' loaded; converting to live tree
[ 2.136442] bone-capemgr bone_capemgr.8: slot #7: Requesting part
number/version based 'BB-BONE-AUDI-01-00A0.dtbo
[ 2.159041] bone-capemgr bone_capemgr.8: slot #0: #5 overlays
[ 2.165123] bone-capemgr bone_capemgr.8: slot #7: Requesting
firmware 'BB-BONE-AUDI-01-00A0.dtbo' for board-name 'Override Board
Name', version '00A0'
[ 2.191685] bone-capemgr bone_capemgr.8: slot #0: Applied #5 overlays.
[ 2.198633] bone-capemgr bone_capemgr.8: loader: done slot-0
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.222042] bone-capemgr bone_capemgr.8: slot #7: dtbo
'BB-BONE-AUDI-01-00A0.dtbo' loaded; converting to live tree
[ 2.244135] bone-capemgr bone_capemgr.8: slot #7: BB-BONE-AUDI-01
conflict P9.14 (#0:BB-BONE-AUDI-01)
[ 2.253877] bone-capemgr bone_capemgr.8: slot #7: Failed verification
[ 2.260661] bone-capemgr bone_capemgr.8: loader: failed to load
slot-7 BB-BONE-AUDI-01:00A0 (prio 0)

Regards,

Blah... It works fine, when you think about it more...

You are "double initializing" the cape thus the pin conflict via:
capemgr.enable_partno=BB-BONE-AUDI-01 Just disable the other ones and
it loads just fine..

So use:
http://elinux.org/BeagleBoardUbuntu#Raring_13.04_armhf

mount microSD card, open uEnv.txt and uncomment:

##BeagleBone Black:
##Disable HDMI/eMMC
#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

Put card into bbb and boot...

ubuntu@arm:~$ dmesg | grep -i cape
[ 0.000000] Kernel command line: console=ttyO0,115200n8
capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc ip=
[ 1.663982] bone-capemgr bone_capemgr.8: Baseboard:
'A335BNLT,0A5A,1813BBBK0622'
[ 1.671779] bone-capemgr bone_capemgr.8:
compatible-baseboard=ti,beaglebone-black
[ 1.679660] bone-capemgr bone_capemgr.8: Skipping disabled cape
with part# BB-BONE-EMMC-2G
[ 1.688361] bone-capemgr bone_capemgr.8: Skipping disabled cape
with part# BB-BONELT-HDMI
[ 1.696999] bone-capemgr bone_capemgr.8: Skipping disabled cape
with part# BB-BONELT-HDMIN
[ 1.729781] bone-capemgr bone_capemgr.8: slot #0: 'BeagleBone AUDIO
CAPE,00A0,Beagleboardtoys,BB-BONE-AUDI-01'
[ 1.771680] bone-capemgr bone_capemgr.8: slot #1: No cape found
[ 1.808784] bone-capemgr bone_capemgr.8: slot #2: No cape found
[ 1.845895] bone-capemgr bone_capemgr.8: slot #3: No cape found
[ 1.852156] bone-capemgr bone_capemgr.8: slot #4: specific override
[ 1.858761] bone-capemgr bone_capemgr.8: bone: Using override
eeprom data at slot 4
[ 1.866799] bone-capemgr bone_capemgr.8: slot #4:
'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[ 1.876939] bone-capemgr bone_capemgr.8: slot #5: specific override
[ 1.883539] bone-capemgr bone_capemgr.8: bone: Using override
eeprom data at slot 5
[ 1.891576] bone-capemgr bone_capemgr.8: slot #5:
'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[ 1.901620] bone-capemgr bone_capemgr.8: slot #6: specific override
[ 1.908220] bone-capemgr bone_capemgr.8: bone: Using override
eeprom data at slot 6
[ 1.916257] bone-capemgr bone_capemgr.8: slot #6:
'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[ 1.926628] bone-capemgr bone_capemgr.8: Skipping loading of
disabled cape with part# BB-BONE-EMMC-2G
[ 1.936308] bone-capemgr bone_capemgr.8: Skipping loading of
disabled cape with part# BB-BONELT-HDMI
[ 1.945885] bone-capemgr bone_capemgr.8: Skipping loading of
disabled cape with part# BB-BONELT-HDMIN
[ 1.955759] bone-capemgr bone_capemgr.8: initialized OK.
[ 1.961381] bone-capemgr bone_capemgr.8: loader: before slot-0
BB-BONE-AUDI-01:00A0 (prio 0)
[ 1.970236] bone-capemgr bone_capemgr.8: loader: check slot-0
BB-BONE-AUDI-01:00A0 (prio 0)
[ 1.999200] bone-capemgr bone_capemgr.8: loader: after slot-0
BB-BONE-AUDI-01:00A0 (prio 0)
[ 2.014409] bone-capemgr bone_capemgr.8: slot #0: Requesting part
number/version based 'BB-BONE-AUDI-01-00A0.dtbo
[ 2.045583] bone-capemgr bone_capemgr.8: slot #0: Requesting
firmware 'BB-BONE-AUDI-01-00A0.dtbo' for board-name 'BeagleBone AUDIO
CAPE', version '00A0'
[ 2.071226] bone-capemgr bone_capemgr.8: slot #0: dtbo
'BB-BONE-AUDI-01-00A0.dtbo' loaded; converting to live tree
[ 2.089105] bone-capemgr bone_capemgr.8: slot #0: #5 overlays
[ 2.115311] bone-capemgr bone_capemgr.8: slot #0: Applied #5 overlays.
[ 2.122266] bone-capemgr bone_capemgr.8: loader: done slot-0
BB-BONE-AUDI-01:00A0 (prio 0)

Regards,