which *.dtb does BBB Wireless use? (4.4.30-ti-r64)

How can I see which dtb file is being loaded? I’ve looked at /boot/uEnv.txt but nothing is specified there - all lines are commented other than uname=…, uuid=… and:

cmdline=coherent_pool=1M quiet cape_universal=enable

I believe I’m using an older uboot. Where/how is the dtb file specified? I see two likely candidates:

/boot/dtbs/4.4.30-ti-r64/am335x-boneblack-wireless.dtb

/boot/dtbs/4.4.30-ti-r64/am335x-boneblack-wl1835mod.dtb

I first tried installing a new version of the “standard” dtb but that didn’t work so I presume it is not the one used for BBBW:

/boot/dtbs/4.4.30-ti-r64/am335x-boneblack.dtb

I’m stumped trying to figure out where this is specified. dmesg did not help either…

Thanks in advance.

U-Boot will correctly pick the correct dtb.

What issues are you seeing?

Regards,

I need to enable uio_pruss (you already kindly provided instructions on how to do that a few months ago).
I just need to figure out which *.dtb to rebuild. If I make a mistake and brick the BBBW, it will be difficult for me to fix it,
so I’m being cautious. However, after posting I realized that if I guess the wrong *.dtb, it won’t get loaded so shouldn’t be a problem.
So I chose am335x-boneblack-wireless.dtb… and of course you will know that worked.

I’d still like to understand how the proper *.dtb is specified or discovered by uboot.

I need to enable uio_pruss (you already kindly provided instructions on how
to do that a few months ago).
I just need to figure out which *.dtb to rebuild. If I make a mistake and
brick the BBBW, it will be difficult for me to fix it,
so I'm being cautious. However, after posting I realized that if I guess the
wrong *.dtb, it won't get loaded so shouldn't be a problem.
So I chose am335x-boneblack-wireless.dtb... and of course you will know that
worked.

yes, "am335x-boneblack-wireless.dtb" is normally the default.. But
not when using U-Boot overlays...

I'd still like to understand how the proper *.dtb is specified or discovered
by uboot.

U-Boot reads the board eeprom...

run, this command to see that information..

sudo /opt/scripts/tools/version.sh

Regards,