Adding Broadcom wireless driver BCMDHD to kernel

933 views
Skip to first unread message

Javad Alipanah

unread,
Jun 11, 2018, 11:34:54 AM6/11/18
to Android-x86
Hi everyone,

I am trying to build android-x86 marshmallow for Rugged Tablet PC (You can see the details of product I am using here).
The build was successful but I have some problems with wireless driver.
I realized that I need BCMDHD driver but I couldn't customize kernel to add this driver because I couldn't find this driver in menuconfig.
I know the wireless needs this driver to work because it has a default OS (Android-IA) which is running well and has the right driver for wireless; you can see the lsmod command outputs below the post.
I will be grateful if someone instruct me how to add this driver to kernel.

Thanks for your attention.


lsmod output:

rtsx_tf_init 12560 0 - Live 0x0000000000000000
atomisp_css2401a0_v21 831799 0 - Live 0x0000000000000000
hid_sensor_hub 24541 0 - Live 0x0000000000000000
sens_col_core 46651 2 hid_sensor_hub, Live 0x0000000000000000
hid_heci_ish 22829 1 sens_col_core, Live 0x0000000000000000
heci_ish 23702 2 sens_col_core,hid_heci_ish, Live 0x0000000000000000
heci 47073 2 hid_heci_ish,heci_ish, Live 0x0000000000000000
vidt_driver 73408 0 - Live 0x0000000000000000
rtsx_usb_sdmmc 27722 0 - Live 0x0000000000000000
rtsx_usb 20232 1 rtsx_usb_sdmmc, Live 0x0000000000000000
unicam_driver 108698 1 - Live 0x0000000000000000
6lowpan_iphc 18591 0 - Live 0x0000000000000000
ip6table_raw 12683 1 - Live 0x0000000000000000
ov2680 29099 1 - Live 0x0000000000000000
iptable_raw 12678 1 - Live 0x0000000000000000
ov8858_driver 57320 0 - Live 0x0000000000000000
bcm_bt_lpm 13187 0 - Live 0x0000000000000000
videobuf_vmalloc 13417 1 atomisp_css2401a0_v21, Live 0x0000000000000000
videobuf_core 24747 2 atomisp_css2401a0_v21,videobuf_vmalloc, Live 0x0000000000000000
rfkill_gpio 13280 0 - Live 0x0000000000000000
bcmdhd 720565 0 - Live 0x0000000000000000
cfg80211 476053 1 bcmdhd, Live 0x0000000000000000

Chih-Wei Huang

unread,
Jun 11, 2018, 12:13:00 PM6/11/18
to Android-x86
2018-06-11 23:34 GMT+08:00 Javad Alipanah <javada...@gmail.com>:
> Hi everyone,
>
> I am trying to build android-x86 marshmallow for Rugged Tablet PC (You can
> see the details of product I am using here).
> The build was successful but I have some problems with wireless driver.
> I realized that I need BCMDHD driver but I couldn't customize kernel to add
> this driver because I couldn't find this driver in menuconfig.
> I know the wireless needs this driver to work because it has a default OS
> (Android-IA) which is running well and has the right driver for wireless;
> you can see the lsmod command outputs below the post.
> I will be grateful if someone instruct me how to add this driver to kernel.

The bcmdhd is not a standard linux driver.
You should ask your vendor to get it.
Alternatively, try the standard linux broadcom driver
like brcmfmac. Read this to see if your chipset is supported:

http://linuxwireless.sipsolutions.net/en/users/Drivers/brcm80211/

Another way is to just use the prebuilt kernel and modules
shipped with your device.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Jose Luis s

unread,
Jun 11, 2018, 12:58:43 PM6/11/18
to Android-x86
Hello Chih-Wei

Can you give us some guide on how to build android-x86 with the prebuilt kernel from some device? This is something I was searching for for a long time?

Chih-Wei Huang

unread,
Jun 11, 2018, 7:19:35 PM6/11/18
to Android-x86
2018-06-12 0:58 GMT+08:00 Jose Luis s <jose...@gmail.com>:
> Hello Chih-Wei
>
> Can you give us some guide on how to build android-x86 with the prebuilt
> kernel from some device? This is something I was searching for for a long
> time?

http://www.android-x86.org/documents/customizekernel

How to extract the prebuilt kernel of your device
is beyond the topic of this forum.
Reply all
Reply to author
Forward
0 new messages