Part Number: PROCESSOR-SDK-AM335X
Tool/software: Linux
Hello,
I'm attempting to use BeagleBone Black to test some features of the WL18XX in advance of using it on our own board.
I've followed SDK instructions (link) to make sd card, as well as apply patch per appendix A (link) and build everything again, and have the machine boot successfully w/ my new binaries & filesystems
However, I have yet to get the WLAN to work.
the biggest 'guess' for me in the whole process, is related to 'Appendix B: Device Tree file - patching and updating' (link)
after much experimentation, through this forum link we find out that for the beaglebone black we don't in fact need either of the 'cape' patches, but we do indeed need the device tree.
this is where the ambiguity is... there are no explicit paths or commands in the forum post for updating device tree for beaglebone black.
what I did was:
cd $TI_SDK/board-support/<linux version>/arch/arm/boot/dts wget https://raw.githubusercontent.com/beagleboard/linux/4.9/arch/arm/boot/dts/am335x-boneblack-wl1835.dtsi wget https://raw.githubusercontent.com/beagleboard/linux/4.9/arch/arm/boot/dts/am335x-boneblack.dts then cd $TI_SDK/ make all #then I copied the new dtd to the sdcard. sudo cp am335x-boneblack.dtb /<sdcard>/rootfs/boot
yet, on boot there is no wlan, and manually inserting the modules does not work, they have 'unknown symbols'.
I resolved unknown symbols by loading supporting kernel modules first, so in order:
cd /lib/modules/4.9.59-ga75d8e9305/kernel/net/wireless insmod cfg80211.ko cd /lib/modules/4.9.59-ga75d8e9305/kernel/net/mac80211 insmod mac80211.ko cd /lib/modules/4.9.59-ga75d8e9305/kernel/drivers/net/wireless/ti/wlcore insmod wlcore.ko cd /lib/modules/4.9.59-ga75d8e9305/kernel/drivers/net/wireless/ti/wl18xx insmod wl18xx.ko
Now everything loads, no unknown symbols - but also no actual wlan0 and nothing binds to the hardware.
lsmod Module Size Used by wl18xx 86511 0 wlcore 182102 1 wl18xx mac80211 382653 2 wl18xx,wlcore cfg80211 230976 3 wl18xx,wlcore,mac80211
I wrote in hopes that TI can both clarify, as well as disambiguate the documentation in Appendix B step 1 for beagleboard black users.
(At they very least this forum link should be linked to / referenced in Appendix B step 1 - it saves beaglebone black users from trying both patches and head-scratching and email before finding the link :)
Yet the fact is, that forum link is ambiguous, and official explicit instructions should be added to Appendix B.
Thank you !