Error at compiling wireless driver using Android 9 and Kernel 5.10

69 views
Skip to first unread message

BrokenE39

unread,
Nov 11, 2021, 2:08:33 AM11/11/21
to Android-x86
Since I noticed there's a 5.10 branch in the source code, I wanted to try compiling Pie with that kernel to see if it'll fix my video issue. However, I'm running into these errors during compile and don't know how to address it. I have attached a copy of my config file as reference.

I'm confused as to why it's failing at wireless drivers that I marked not to include. My bash file is referring to the config file correctly since it didn't complain about it, or at least I think it's referring to it correctly.

FAILED: out/target/product/x86_64/obj/kmodule/rtl8812au
/bin/bash -c "(mkdir -p out/target/product/x86_64/obj/kmodule && prebuilts/build-tools/linux-x86/bin/acp -fr external/kernel-drivers/rtl8812au out/target/product/x86_64/obj/kmodule ) && (make -j3 -j\$(nproc) -l\$((\$(nproc)+2)) -C kernel O=/home/daniel/Android9/out/target/product/x86_64/obj/kernel ARCH=x86_64 CROSS_COMPILE=\" \"  YACC=/home/daniel/Android9/prebuilts/build-tools/linux-x86/bin/bison LEX=/home/daniel/Android9/prebuilts/misc/linux-x86/flex/flex-2.5.39  M=/home/daniel/Android9/out/target/product/x86_64/obj/kmodule/rtl8812au modules || ( rm -rf out/target/product/x86_64/obj/kmodule/rtl8812au && exit 1 ) )"

It also failed at kmodule/wl but I also excluded the Broadcom wireless devices in the kernel config file.
my_defconfig

Mauro Rossi

unread,
Nov 12, 2021, 1:53:41 PM11/12/21
to Android-x86
Hi,
you may try this branch to see if it solves your problem

Daniel Cheung

unread,
Nov 13, 2021, 3:22:36 PM11/13/21
to andro...@googlegroups.com
OK I resolved the problem. Since it has been a long time since I played around the Kernel 5.xx, I had to remove the external kernel drivers folder to get pass the problem. I'm interested to see if there is any difference between your 5.10 kernel and the one committed to the Android X86 repo. Last time I tried Kernel 5.xx the Intel GPU driver simply doesn't work on the Cherrytrail Z8350 CPU.

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/69cc5ea7-6fcb-401e-94d2-5ea0a8c811afn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages