Debian Testing (2017-04-30) U-Boot Overlays are now enabled by Default

Hey Everyone,

It's that time, U-Boot Overlays are now enabled by Default.

With no /boot/uEnv.txt changes you can swap in a 4/7 lcd panel
(*supported) and the image will seamlessly use the lcd overlay.

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2017-04-30

Remember the biggest gotcha is U-Boot, we now rely on U-Boot being the
most upto date, specially for new LCD's or anything that needs
eMMC/HDMI/WL18xx disabled to be utilzed.

Bootloader:

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh | grep bootloader
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
2017.05-rc2-00002-g1516ae]

If you have something eariler then 2017.05-rc2, please upgrade your version:

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

/boot/uEnv.txt walkthru

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

I’ve personally tested 1-wie on P8.26, a ds3232 RTC on I2C-2, enabled I2C-1, with an unusual I2C PMIC or sorts( for lead acid batteries ), UART1, all channel ADCs, and various GPO’s, and GPI’s. UART1 and the ADC’s are using stock overlays, the rest are all in one big custom overlay. Oh, and right, 6 channels PWM too.

Hello Everyone,

I am not able to enable ADC overlay, I am not sure what I am doing wrong:

dtb=am335x-boneblack.dtb

enable_uboot_overlays=1
disable_uboot_overlays_emmc=1
disable_uboot_overlays_video=1
disable_uboot_overlays_audio=1
disable_uboot_overlays_wireless=1
#disable_uboot_overlays_adc=1

uboot_overlay_adc=/lib/firmware/BB-ADC-00A0.dtbo

cmdline=coherent_pool=1M quiet

Thank you for help!

Hello Everyone,

I am not able to enable ADC overlay, I am not sure what I am doing wrong:

First see:

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

and verify you are running the latest version of u-boot:

dtb=am335x-boneblack.dtb

drop this, u-boot will decide what *.dtb to use

enable_uboot_overlays=1
disable_uboot_overlays_emmc=1
disable_uboot_overlays_video=1
disable_uboot_overlays_audio=1
disable_uboot_overlays_wireless=1
#disable_uboot_overlays_adc=1

uboot_overlay_adc=/lib/firmware/BB-ADC-00A0.dtbo

Drop the uboot_overlay, adc will automatically be loaded.

cmdline=coherent_pool=1M quiet

Thank you for help!

Regards,

Robert, thank you!

I do not know why but after I upgraded U-boot to the latest version, I was not able to set Ethernet connection through USB.
I will try one more time later today.

Actually, my goal is to 1) enable pru, and use pins: p8_11 for output and p8_16, p8_15, and p9_24 for input;
2) enable ADC overlay.
3) disable everything esle.

Thank you.

I tried to use bone-debian-8.7-lxqt-4gb-armhf-2017-03-19-4gb.img.xz and I had problems described here: https://groups.google.com/forum/#!topic/beagleboard/FasKfwC_2Z8

I get:
fatal: unable to access ‘https://github.com/StrawsonDesign/Robotics_Cape_Installer.git/’: Failed to connect to github.com port 443: Connection refused
and apt-get update does not work.

I can ping google.com.

I would appreciate any help fixing it.

I fixed apt-get on beaglebone by running :
su (or sudo su)
sudo sh -c “echo nameserver 8.8.8.8 > /etc/resolv.conf”
checked with cat /etc/resolv.conf".

I 'm trying to load an overlay we’ve written: EBB-PRU-ADC4.dtbo which worked on an old version of Debian. It has been copied to ./lib/firmware. I edited /boot/uEnv.txt: uncommentine the line:

dtb_overlay=/lib/firmware/EBB-PRU-ADC4.dtbo

This was a mistake, because now the BBB won’t boot normally. I can boot from the SD card, but of course the old uEnv.txt is invisible.

Can I undo this mistake?

Can someone tell me why I can blink LED_RED on the Beaglebone Blue (P8_7), but when I try the same thing in Bonescript I get:

ocp:P8_07_pinmux was not found under /sys/devices/platform/ocp

LED is a different sub-system..

Regards,

Robert,

I really appreciate what you do for the community. However, your answer to my question was less than helpful. What troubles me is that you have a better answer, but for some reason you felt you need to marginalize me. Bottom line, I don’t know why in the hell one would turn on uboot overlays and in the process break bonescript, node-red and who knows what else.

By the way, I can write python if I want, or for that matter c/c++.

Sam

Happy New Years!

Please let me know how I can improve my support. But please remember I have a full time day job, and my wife and I do Foster Care. So I do this only in my free time.

PS if you let us know where you purchased your board I could help you more…

Regards,

Hi Everyone,

I've been working with a Beaglebone Black recently and its eQEP peripheral; running into an issue where it works great when I manually configure it (with the config-pin command), but not when I set the pins up with a .dtbo...
First, here's my system info:
[[root@beaglebone](mailto:root@beaglebone)]> uname -a
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l GNU/Linux

[[root@beaglebone](mailto:root@beaglebone)]> cat /boot/uEnv.txt
#Docs: [http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0](http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0)

uname_r=4.4.91-ti-r133
#uuid=
dtb=
#dtb=am335x-boneblack-overlay.dtb

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

Hello Sir,

I brought New beaglebone black and when I try to interface LCD to beaglebone black using HDMI cable I get ‘No signal’

Mostly first way is to enable video and cape universal in boot/uEnv.txt in sd card for debian9 image

enable_uboot_cape_universal=1
enable_uboot_overlays_video=1

I did it again checked and it is already included still I am getting ‘No Signal’ on LCD

Next thing I search on websites

https://elinux.org/Beagleboard:BeagleBoneBlack_HDMI

as per their guidance for HDMI, the etc/X11 consist of the xorg.config file, but in my sd card, I didn’t see that particular file.Even on Ubuntu in /etc/X11 i see xorg.config.failsafe file instead.

I am unable to find out the reason for getting ‘No signal’ on LCD.

Is that new BBB requires setting for HDMI?