# How to list uBoot Overlays

**URL:** <https://forum.digikey.com/t/how-to-list-uboot-overlays/1411>\
**Category:** Linux Discussions\
**Created:** [April 29, 2018, 1:58pm UTC](https://forum.digikey.com/t/how-to-list-uboot-overlays/1411 "2018-04-29T13:58:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoffiz](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@hoffiz](https://forum.digikey.com/u/hoffiz)\
**Post date:** [April 29, 2018, 1:58pm UTC](https://forum.digikey.com/t/how-to-list-uboot-overlays/1411/1 "2018-04-29T13:58:19Z")

</div>

Is there a way to list currently loaded overlays after the Beagle has boot up? I’m disabling the video overlay in /boot/uEnv.txt and would like to see a before an after. Most of the print out, from other postes, seem to be with the debug port but curious of there is a way to know after it has boot up. I’m working on Beaglebone Black and this is the output of version.sh:

$ sudo /opt/scripts/tools/version.sh  
git:/opt/scripts/:[ea6ea9fca05f36f5044398884375b0231348d6e2]  
eeprom:[A335BNLT00C05014BBBK0DE2]  
model:[TI\_AM335x\_BeagleBone\_Black]  
dogtag:[[BeagleBoard.org](http://BeagleBoard.org) Debian Image 2018-01-28]  
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.01-00002-g9aa111a004]  
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2017.03-00002-gd12b1519b4]  
kernel:[4.9.78-ti-r94]  
nodejs:[v6.14.1]  
uboot\_overlay\_options:[enable\_uboot\_overlays=1]  
uboot\_overlay\_options:[disable\_uboot\_overlay\_video=1]  
uboot\_overlay\_options:[enable\_uboot\_cape\_universal=1]  
pkg:[bb-cape-overlays]:[4.4.20180423.0-0rcnee0~stretch+20180423]  
pkg:[bb-wl18xx-firmware]:[1.20180328-0rcnee2~stretch+20180328]  
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]  
groups: ‘debian’: no such user  
groups:[]  
dmesg | grep pinctrl-single  
[1.459364] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568  
END

---

<div class="post-metadata">

**Author:** ![RobertCNelson](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/robertcnelson/32/12_2.png) [@RobertCNelson](https://forum.digikey.com/u/RobertCNelson)\
**Post date:** [April 30, 2018, 1:12am UTC](https://forum.digikey.com/t/how-to-list-uboot-overlays/1411/2 "2018-04-30T01:12:08Z")

</div>

Your version of u-boot on the eMMC is too old thus blocking the new u-boot overlays feature.

Just save what your need and clear out the MBR in the eMMC…

```bash
sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10

```

Regards,

---

<div class="post-metadata">

**Author:** ![hoffiz](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@hoffiz](https://forum.digikey.com/u/hoffiz)\
**Post date:** [April 30, 2018, 1:13pm UTC](https://forum.digikey.com/t/how-to-list-uboot-overlays/1411/3 "2018-04-30T13:13:52Z")

</div>

Thanks, although that did upgrade the bootloader in the eMMC I’m still curious if there is a way to know which overlays are loaded, I used to: cat /sys/devices/platform/bone\_capemgr/slots but that file does not exist anymore. I’m aware it was move to uBoot overlays just curious if there is a way to what is loaded without looking at uEnv.tx.

---

<div class="post-metadata">

**Author:** ![RobertCNelson](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/robertcnelson/32/12_2.png) [@RobertCNelson](https://forum.digikey.com/u/RobertCNelson)\
**Post date:** [April 30, 2018, 6:40pm UTC](https://forum.digikey.com/t/how-to-list-uboot-overlays/1411/4 "2018-04-30T18:40:51Z")

</div>

@hoffiz sorry no, only eeprom detectable/loaded capes will show up in list dumped to /proc/cmdline, anything that’s just loaded thru /boot/uEnv.txt will not be reported anywhere outside /boot/uEnv.txt

You can see one example of that with the DLPDLCR2000 cape, as we need to issue 2 i2c commands to switch it’s display configuration on bootup:

> <https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L50-L59>

Regards,

---

<div class="post-metadata">

**Author:** ![hoffiz](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@hoffiz](https://forum.digikey.com/u/hoffiz)\
**Post date:** [May 2, 2018, 11:59am UTC](https://forum.digikey.com/t/how-to-list-uboot-overlays/1411/5 "2018-05-02T11:59:05Z")

</div>

Thank you. Cool cape :).
