Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 26 Mar 2015 07:07 AM by  Adam Ford
disabling wifi and bluetooth from Android BSP during build
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mvly
Basic Member
Basic Member
Posts:104


--
24 Mar 2015 12:49 PM

    I am using the Torpedo DM3730 without the wifi and bluetooth module. I notice in the debug serial comm port that the modules is always looking for these devices. In the old Android BSP, the kernel drivers (*.ko) would be in modules and I can easily remove them from the modules folder. But with this updated Android BSP, it seems like it's built into the kernel. Is there an easy way remove them and prevent them from booting when I build a new image android image?

     

    I tried ./build.sh -K to get the to the kernel build menu and remove it, but the wifi there seems to be many default drivers. Should I remove all of them?

     

    Thanks!

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    25 Mar 2015 01:56 PM
    Sorry for the delayed response.

    ./build.sh -K

    From the Menu Config, select Networking Support--->Wireless--->

    Then de-select cfg80211 - wireless configuration API

    This will disable Wifi

    I am trying to figure out how to disable Bluetooth properly because I am getting some error messages on build when I disable Bluetooth. I hope to have some more feedback shortly.

    adam

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    26 Mar 2015 07:07 AM
    To disable the Bluetooth in the kernel:

    ./build.sh -K

    From the Menu Config, highlight Networking Support--->Bluetooth subsystem support

    Press 'N' to remove Bluetooth.

    From there, you'll have to modify the build-tools/build_android.sh a bit.

    Line 542 looks like this:

    cp -a ${MODINST}/lib/firmware ${ANDROID_PRODUCT_OUT}/system/etc

    Change it to read:

    [ -e "${MODINST}/lib/firmware}" ] && cp -a ${MODINST}/lib/firmware ${ANDROID_PRODUCT_OUT}/system/etc

    This will prevent an error when the kernel is build without firmware modules.

    adam



    You are not authorized to post a reply.