Broadcom WL issues on newer kernels/distros

311 views
Skip to first unread message

Cezar

unread,
Jan 13, 2019, 12:41:22 PM1/13/19
to Android-x86
Hi,

As title say I thought is better to create a new topic for this issue
My both test machines(equipped with BCM4360 and BCM4335 ) need Broadcom WL driver  to function and since kernel 4.9+ and android x86 couldn't managed to get it working.
What I tried so far:

- nougat-x86 with kernel 4.8 works with the bug of not connecting or reconnecting after sleep automatically.
- oreo-x86 with kernel 4.19(driver and patches attached) can't find any network.
- bliss branch of pie-x86(couldn't fetch official pie-x86 to try) and kernel 4.9  it has same issue, no network find.
- blacklisted/removed incompatible modules as per https://github.com/antoineco/broadcom-wl still no joy, I am kinda out of ideas atm.

If anyone have more ideas about this issue please share.

A bit off-topic, anyone know some tips for build time management? I thought on my 6 core E5 xeon with 128GB of RAM and 1TB nvme 970 evo will get some good build time but it still takes over an hour on nougat and over two on pie, kinda makes me lose the mood to develop... :(
wl.tar.gz

Chih-Wei Huang

unread,
Jan 14, 2019, 12:07:50 AM1/14/19
to Android-x86
Cezar <iulliu...@gmail.com> 於 2019年1月14日 週一 上午1:41寫道:
>
> As title say I thought is better to create a new topic for this issue
> My both test machines(equipped with BCM4360 and BCM4335 ) need Broadcom WL driver to function and since kernel 4.9+ and android x86 couldn't managed to get it working.
> What I tried so far:
>
> - nougat-x86 with kernel 4.8 works with the bug of not connecting or reconnecting after sleep automatically.
> - oreo-x86 with kernel 4.19(driver and patches attached) can't find any network.
> - bliss branch of pie-x86(couldn't fetch official pie-x86 to try) and kernel 4.9 it has same issue, no network find.
> - blacklisted/removed incompatible modules as per https://github.com/antoineco/broadcom-wl still no joy, I am kinda out of ideas atm.
>
> If anyone have more ideas about this issue please share.

Is there any Linux distribution on which it works?
If yes, check what kernel/driver/patches they use.

> A bit off-topic, anyone know some tips for build time management? I thought on my 6 core E5 xeon with 128GB of RAM and 1TB nvme 970 evo will get some good build time but it still takes over an hour on nougat and over two on pie, kinda makes me lose the mood to develop... :(

Sounds like a very high end machine.
How many cores does it have?

It's similar to our build server which just takes
about half an hour to build oreo-x86.

Did you use parallel build? Try

time m -j$(nproc) iso_img

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

Cezar

unread,
Jan 14, 2019, 1:51:09 PM1/14/19
to Android-x86
#### build completed successfully (01:37:21 (hh:mm:ss)) ####


real    97m21.426s
user    1035m18.848s
sys    40m21.544s

^^ that on oreo-x86(with gapps).

CPU is Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz 6core/12 threads on asus x99a-usb3.1 board with 128GB DDR4 2400 ECC and work dir on 1TB ext4 Samsung 970 Evo Nvme, Linux is Ubuntu 14.04 LTS on Samsung 850 Evo ssd.(tried latest and failed to build any android-x86, so I installed what I remember it worked on kk/lolipop and up distros)
I have the -j12 added on any make dunno what else I sould do for speed bump.

Cezar

unread,
Jan 29, 2019, 9:24:43 AM1/29/19
to Android-x86
 OK, so for nougat there is a missing/forgotten patch to apply from this repo https://github.com/Kitsune2222/Android_Yoga_Tablet_2-1051F_Kernel
B/w kernel 4.15 and latest 4.2.5 LTS  Broadcom WL is broken, works with latest LTS as I said(tested on Ubuntu), looked for diffs but there are too many to create a simple patch, better IMHO to upgrade to latest LTS kernel.

Cezar

unread,
Feb 3, 2019, 2:14:33 AM2/3/19
to Android-x86
I came to a conclusion, is not just the kernel issue but also some changes made on oreo and up that create the WiFi bug.
What I did to get to this conclusion:
I took the kernel 4.9 folder that I use on nougat with all patches and WiFi working and put it on both oreo or pie, compiled and guess what same bug, not connecting/finding any network, so IMHO if somebody else is investigating this issue the bug looks like is mostly on OS core then on kernel side, something changed on OS stack that is not included on kernel part, at this moment I am out of any idea.


On Monday, January 14, 2019 at 7:07:50 AM UTC+2, Chih-Wei Huang wrote:
Cezar <iulliu...@gmail.com> 於 2019年1月14日 週一 上午1:41寫道:

Is there any Linux distribution on which it works?
If yes, check what kernel/driver/patches they use.
Reply all
Reply to author
Forward
0 new messages