Git Product home page Git Product logo

Comments (18)

crondog avatar crondog commented on August 24, 2024

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

crondog avatar crondog commented on August 24, 2024

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

crondog avatar crondog commented on August 24, 2024

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

crondog avatar crondog commented on August 24, 2024

Have you copied the firmware to /etc/firmware

from arch-flo.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

crondog avatar crondog commented on August 24, 2024

Did you also copy the wcnss.b00 etc file too?

from arch-flo.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

No, where should that be/go?

from arch-flo.

crondog avatar crondog commented on August 24, 2024

in /etc/firmware/

You need to have all of the android /etc/firmware in the arch /etc/firmware

from arch-flo.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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:

http://pastebin.com/uCKHEZKb

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.

DelusionalLogic avatar DelusionalLogic commented on August 24, 2024

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.

crondog avatar crondog commented on August 24, 2024

Good to hear

from arch-flo.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.