Comments (18)
I do not have this issue on my end. The only thing i can think of is that you are not using the same compiler as me (the prebuilt one from android)
from arch-flo.
I'm using the toolchain found on the android wiki https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
You are certain that you are doing a clean compile from with a clean repo? because if you have any local changes that could explain it.
It looks like bluetooth is fine, it's just wlan that refuses to work.
from arch-flo.
I use the 4.7 prebuilt. I always do the following and have no problems
make clean
make mrproper
ARCH=arm make flo_defconfig
ARCH=arm CROSS_COMPILE=~/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- make LOCALVERSION= -j8 zImage
from arch-flo.
I didn't know there was a 4.7. I'm going to give that a shot with a clean clone of the kernel repo!
from arch-flo.
Nope. I still got the ramdump error, i gave it a shot and just applied my "fix" for that. Then it compiled, smacked it in a boot.img and fasbooted that.
This kernel doesn't include any modules, so i obviously removed them from the lib and didn't even bother making them. Do you do that as well? otherwise you might be loading an old version of the wlan driver, and that is what is actually working.
Still just a dummy and a loopback in ifconfig. from a clean kernel
from arch-flo.
So i'm not sure what the problem is. I also don't have time to try and sort it out right now.If you like you could try reverting crondog/kernel_msm@26aa7a9 as that commit updated the wlan driver.
from arch-flo.
I'll give that a try tomorrow.
I did one last try today. I enabled PRIMA as a module, and WCNSS as part of the kernel. Here's the actual dmesg output: http://pastebin.com/280T8Ypw
The second to last message is what i get when i run modprobe wlan.
from arch-flo.
Reverting that commit and compiling from a clean flo_defconfig
(And removing the current modules on the device) nothing happens. modprobe
does nothing, no kernel error or anything. ifconfig
still just shows dummy0 and lo (loopback)
Damn.
from arch-flo.
Have you copied the firmware to /etc/firmware
from arch-flo.
Copied it from android to /usr/lib/firmware/wlan/prima/
(as the instructions said), when this didn't work i tried copying the firmware from the compile directory (forgot where that is) to /usr/lib/firmware/wlan/prima/
Shouldn't it go there?
from arch-flo.
Did you also copy the wcnss.b00 etc file too?
from arch-flo.
No, where should that be/go?
from arch-flo.
in /etc/firmware/
You need to have all of the android /etc/firmware in the arch /etc/firmware
from arch-flo.
There's no wcnss.b00
in /system/etc/firmware
I'm going to try copying the one from /system/vendor/firmware
to arch /etc/firmware
, together with copying arch /usr/lib/firmware/wlan/prima/
to arch /etc/firmware
from arch-flo.
No such luck. I copied all the files from /system/vendor/firmware/
to /etc/firmware/
. Then i grabbed all the files from /usr/lib/firmware/wlan/prima/
and put them in there as well, just for good measure. These are the files now in there: http://paste.ubuntu.com/8411455/ (where wlan/prima is the WCNSS_cfg/qcom stuff)
The error persists [ 12.546417] wlan: [216:F :HDD] hdd_driver_init: WCNSS driver not ready
EDIT:
So it turns out that i actually did copy that directory, just to /usr/lib/firmware instead (as the readme says). So i went ahead and symlinked /etc/firmware to /usr/lib/firmware. Still the same error. I just wanted to clarify that i had them there all along.
from arch-flo.
So. I got a little bit further yesterday. Instead of compiling with defaults i set WCNSS_CORE=m
instead of y
So now both prima and core is set to module. This nets me this boot log:
At least now looks like it's trying to do something, and it's actually doing something. I'm still lost as to what is broken D:
from arch-flo.
SUCCESS! I copied the config files from drivers/staging/prima/wlan
(compile dir) to /usr/lib/firmware
(tablet) and it loaded. I configured wpa_supplicant and now it actually works!
from arch-flo.
Good to hear
from arch-flo.
Related Issues (9)
- Request: more detailed information in the README HOT 26
- systemd 217 and kernel 3.4 HOT 1
- fbterm: the systemd [email protected] unit can be written shorter HOT 1
- Using a normal chroot instead of a file system image HOT 4
- Help needed troubleshooting HOT 55
- Missing information to configure ADB and WiFi HOT 17
- Details needed HOT 38
- Using Android Adreno drivers with LibHybris and Wayland HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-flo.