mk808b wifi (bcm40183)

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Thu Apr 11, 2013 7:33 am

jps wrote:Puff.. i dont know then. Maybe a micro small chip with a micro small letters??? :S

:cry: maybe, i will follow searching.,

jps
Posts: 36
Joined: Wed Mar 13, 2013 3:27 pm

Re: mk808b wifi (bcm40183)

Postby jps » Thu Apr 11, 2013 10:11 am

leolas wrote:
jps wrote:Puff.. i dont know then. Maybe a micro small chip with a micro small letters??? :S

:cry: maybe, i will follow searching.,


Queria decir de mirar con una lupa :P, mi chip PMU WM8326, es como una moneda de 1centimo, un pelin mas pequeño.
I wanna mean, to search with a ... "big cristal" (i dont know the traducction). My PMU WM8326 is like a 1 cte of euro, a bit more small. (Sry my english)

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Thu Apr 11, 2013 11:55 am

I assure you that is not a chip with that size in my mk808b jajaja, apart od nand,ram and proccesor. Fixed regulator maybe? More things to test jajaja

Te aseguro q no hay nada de ese tamaño en mi stick jajaja aparte de la nad, ram y el procesador. Quizas un regulador fijo?. Mas cosas que probar jajaja

jps
Posts: 36
Joined: Wed Mar 13, 2013 3:27 pm

Re: mk808b wifi (bcm40183)

Postby jps » Thu Apr 11, 2013 1:31 pm

Maybe a PMU integrated on another chip?... i have no more ideas

jps
Posts: 36
Joined: Wed Mar 13, 2013 3:27 pm

Re: mk808b wifi (bcm40183)

Postby jps » Fri Apr 12, 2013 7:56 pm

Esto me aparece con la wifi detectada. This appears to me with the wifi detected.

root@minix:~/# rfkill list
0: rk903_26M: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Wed Apr 24, 2013 5:58 am

No advances, fixed regulator didn't work, out of ideas for now. Any advances in your side omegamoon?

t3l3m4k0
Posts: 3
Joined: Sat Feb 09, 2013 12:18 pm

Re: mk808b wifi (bcm40183)

Postby t3l3m4k0 » Wed Apr 24, 2013 3:18 pm

leolas wrote:I assure you that is not a chip with that size in my mk808b jajaja, apart od nand,ram and proccesor. Fixed regulator maybe? More things to test jajaja

Te aseguro q no hay nada de ese tamaño en mi stick jajaja aparte de la nad, ram y el procesador. Quizas un regulador fijo?. Mas cosas que probar jajaja







you are rigtht MK808, MK808B don't have PMU chip, but maybe there is one GPIO pin to enable Bluetooth/Wlan.

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Wed Apr 24, 2013 6:55 pm

t3l3m4k0 wrote:
leolas wrote:I assure you that is not a chip with that size in my mk808b jajaja, apart od nand,ram and proccesor. Fixed regulator maybe? More things to test jajaja

Te aseguro q no hay nada de ese tamaño en mi stick jajaja aparte de la nad, ram y el procesador. Quizas un regulador fijo?. Mas cosas que probar jajaja







you are rigtht MK808, MK808B don't have PMU chip, but maybe there is one GPIO pin to enable Bluetooth/Wlan.

Then it will be hard to find it.

mawkish
Posts: 2
Joined: Tue Jul 16, 2013 10:49 am

Re: mk808b wifi (bcm40183)

Postby mawkish » Sun Aug 11, 2013 4:20 am

Hello all, recently I bought a MK808B but it turns out that the wifi driver is not working on picuntu, so I decided to debug it and find out the problem.
I think I have some findings on the problem and wanna see if someone is still fixing it.

As many of you suggested that the wl_reg_on pin is somehow remapped to another pin, I have tried some weird testing hoping to find out the pin from Finless 2.1 ROM by hard-coding a gpio testing module using the debugfs.
It appears that the wl_reg_on pin(D0 I suppose) may not be remapped as I find that it is already requested (barely means a name is marked on the pin desc) by someone ( I believe it is the sdmmc kernel that does this) and the whole GPIO3_PC[0-7] pins are requested, unless the kernel programmer forgot to clear the request calls :roll:
Here is what I find about GPIO3_P[ C and D ]: where X is requested, 1/0 is current pin value

Code: Select all

X,X,X,X,X,X,X,X,X,X,1,1,1,1,1,1

so PC[0-7], PD0 PD1 are all requested. (Don't readlly sure about the pin value is correct or not, but I think the request state is more relevant as you move on to the story below)

As I have no kernel development experience and minimal C skills, I don't dig into the gpio_request function and don't try to see the current gpio value behind it, as I believe the existing turn-on logic should work.

But then I observed an interesting phenomenon when I try to do the same testing on other pins.
I try to request all pins values and their request state, after I did so, the wifi module stops working. (Hopefully the stick was not burnt out as I understand messing with the gpio can causes severe problem)
Then I pin down which pin causes that problem by requesting it one by one, it appears that when I request GPIO0_D[6](just do a gpio_request), the system loses the spi connection with the module.
I find on RK3066_datasheet_brief.pdf this pin has an alternative function of PWM2..

Oops... and then I hesitate to dig in further as I will probably burn the RK903 chip easily in case it is truly used as a pwm pin to drive an external circuit to power the RK903.

So forgive me, I truly don't want to break the case of my android stick and investigate the circuit. :|
I hope that someone can continue to work on it in case my infomation is relevant
Thanks everyone :mrgreen:

mawkish
Posts: 2
Joined: Tue Jul 16, 2013 10:49 am

Re: mk808b wifi (bcm40183)

Postby mawkish » Sun Aug 11, 2013 12:20 pm

Good news
Finally I got the bcm40181.ko passes the famous timeout error
The rk903 module can now be identitied by as the sdio-card just like the stock firmware
I will post the changes tomorrow when I get back home from work
It seems the chip is either driving the pwm as a clock / driving an additional power circuit for the wifi module

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Mon Aug 26, 2013 4:48 pm

And the long awaited kernel patch...
http://www.freaktab.com/showthread.php? ... for-MK808B

Thanks for the idea, mawkish ;)
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

fkpwolf
Posts: 1
Joined: Fri Mar 08, 2013 9:47 pm

Re: mk808b wifi (bcm40183)

Postby fkpwolf » Mon Sep 16, 2013 10:32 am

I used the patch and it works! but I found an issue when add bcm40181 in /etc/modules, dmesg report error:
bcm40181: section 2 reloc 10 sym 'printk': relocation 28 out of range.

If I login in console, type "modprobe bcm40181", it works.


Return to “Development”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest