Hi,
I have a custom AM437x board and ti-sdk-am437x-evm from which I want to build and load wifi and bluetooth modules into my kernel.
(I am using WL18xx for wifi)
Now I see that the wifi drivers for wl18xx are already present (in: ~/ti-sdk-am437x-evm-07.01.00.00/board-support/linux-3.12.10-ti2013.12.01/drivers/net/wireless/ti/ directory)
moreover, the module: wl18xx.ko is also present in wl18xx directory. However I observed that in the driver files, none of the symbols are exported.
Is there any other wl18xx drivers for am437x that are required to be used and not these that are in the ti directory?
The wl18xx.ko module is present in the targetNFS directory which I can also see when I login to my board. However, when I try to insmod wl18xx.ko, it shouts that all the symbols are unknown!
Secondly, what lines would need to be added into the Makefile present in the ~/ti-sdk-am437x-evm-07.01.00.00/ directory, if I were to specifically make and install wl18xx drivers by traversing inside to: "~/ti-sdk-am437x-evm-07.01.00.00/board-support/linux-3.12.10-ti2013.12.01/drivers/net/wireless/ti/wl18xx" and only then exeecuting the Makefile ?
currently my Makefile in the ~/ti-sdk-am437x-evm-07.01.00.00/ folder looks like this:
# Wireless build targets wireless: wifi-firmware wireless_install: wifi-firmware_install wireless_clean: wifi-firmware_clean wifi-firmware: @echo ================================ @echo Building wifi firmware @echo ================================ @echo "Nothing to do" wifi-firmware_install: @echo ================================== @echo Installing wifi firmware @echo ================================== @cd board-support/extra-drivers; \ cd `find . -maxdepth 1 -name "wl18xx-firmware*"`; \ make DEST_DIR=${DESTDIR} install wifi-firmware_clean: @echo ================================ @echo Cleaning wifi firmware @echo ================================ @echo "Nothing to do"
As you can see, it builds and installs firmware for the wireless device, but doesn't do anything about the driver itself. What patch do i need to add so that the driver gets loaded and module gets up and running at boot up?
Please let me know if you need any more details..