BBBW wlan0 testing

I have been trying to resolve what causes a successful setup of connman to fail in Beaglebone Black Wireless. These are the steps:
(1) Make a SDcard using bone-debian-8.7-lxqt-4gb-armhf-2017-02-12-4gb (successful)
(2) Use connmamctl to setup wlan0 (successful)
(3) #apt-get update #apt-get install leafpad #apt-get install gdbserver (successful)
(4) #nano /boot/uEnv.txt (remove # from “dtb=am335x-boneblack-emmc-overlay.dtb”)
(5) reboot
(5) #ifconfig -a (HEY wlan0 has disappeared and eth0 is now present with no internet)
(6) #nano /boot/uEnv.txt (replace # in front of “dtb=am335x-boneblack-emmc-overlay.dtb”)
(7) #reboot
(8) #ifconfig -a (HEY wlan0 has appeared and eth0 reappeared with internet working!)
@RobertCNelson please help!

Extra item (9) #shutdown no longer is successful. BBBW immediately self reboots…

So, due to the shear number of *.dtb files, i haven't implemented a
direct "emmc-overlay" specific for the bbbw.

Instead, i've implemented something newer, utilizing U-Boot overlays.

First check what version of U-Boot you have installed via:

debian@test-bbb-1:~$ cd /opt/scripts/
debian@test-bbb-1:/opt/scripts$ git pull
remote: Counting objects: 24, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 24 (delta 17), reused 16 (delta 9), pack-reused 0
Unpacking objects: 100% (24/24), done.
   59138cd..9427614 master -> origin/master
Updating 59138cd..9427614
tools/ | 31 +++++++++++++++++++++++++------
1 file changed, 25 insertions(+), 6 deletions(-)
debian@test-bbb-1:/opt/scripts$ sudo /opt/scripts/tools/
dogtag:[ console Debian Image 2015-08-17]
bootloader:[/dev/mmcblk0]:[U-Boot 2017.03-rc1-00003-gad8008]

Next take a look at this document:

to implement "dtb=am335x-boneblack-emmc-overlay.dtb" for the bbbw use
these options in /boot/uEnv.txt


(make sure you don't have a /uEnv.txt file as that isn't implemented
with this new method)