Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Temporary RK903 Wifi Patch for MK808B

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    We are two now. It would be awesome if someone could teach us how-to apply this patch on Picuntu.
    Thanks!
    Last edited by NiCOi; 16 January 2014, 17:47. Reason: "[...] on picuntu"

    Comment


      #62
      Originally posted by NiCOi View Post
      We are two now. It would be awesome if someone could teach us how-to apply this patch on Picuntu.
      Thanks!
      Also see here
      https://www.miniand.com/forums/forum...768-resolution Just use the BCM* files provided to get wifi working with RK903 wifi chipset.

      To use the patch included in this thread you can manually copy the differences to the kernel source files and recompile the kernel in linux.

      Comment


        #63
        Originally posted by NiCOi View Post
        We are two now. It would be awesome if someone could teach us how-to apply this patch on Picuntu.Thanks!
        in kernel source directory :
        patch -p1 < wifi.patch
        if you want to backup :
        patch -p1 -b < wifi.patch
        . And then recompile the kernel
        Last edited by Snail; 16 January 2014, 21:43.

        Comment


          #64
          Originally posted by mo123 View Post
          Also see here
          https://www.miniand.com/forums/forum...768-resolution Just use the BCM* files provided to get wifi working with RK903 wifi chipset.
          That link says this:

          -----

          Download bcmdhd.cal and fw_bcmdhd.bin: https://docs.google.com/file/d/0B5rg...it?usp=sharing https://docs.google.com/file/d/0B5rg...it?usp=sharing and copy to /lib/firmware/

          sudo modprobe bcm40181 and see iwconfig

          -----

          I put the files in /lib/firmware, but when I do modprobe bcm40181 I get the following after a few seconds:

          ERROR: could not insert 'bcm40181': Invalid argument

          iwconfig returns no working links, and /etc/network/interface only has lo and eth0.

          Comment


            #65
            I successfully managed to compile Galland's Kernel with this WiFi patch. Please, let me know if it worked out.
            http://rghost.net/51781XXX

            Not working

            Iron Mew, you told us you got Picuntu running on your MK808b, could you please upload a tar of your Picuntu sd?
            Last edited by NiCOi; 20 January 2014, 18:09.

            Comment


              #66
              Hi NiCOi

              Could you perhaps apply the wifi patch to this kernel source, and upload it to github or a zip file(or only the files that were changed)?
              https://github.com/mazen912/rk30_r-box_kernel 3.0.36 RK3066 MK808/B
              This kernel also compiles(RK30 Hotdog defconfig) and boots Android successfully, but no wifi.

              I also tried this
              I would like to know if you have noticed this thread about a temporary patch to make this wifi chip work. http://www.freaktab.com/showthread.php?6454-Temporary-RK903-Wifi-Patch-for-MK808B

              'Proposal for 3.0.8 Aloksinha2001 kernel:

              at https://github.com/aloksinha2001/pic...30-sdk-sdmmc.c line 435 this:
              #define WIFI_HOST_WAKE RK30_PIN3_PD2
              should be updated to:
              #ifdef CONFIG_RK903
              #define WIFI_HOST_WAKE RK30_PIN6_PA7
              #else
              #define WIFI_HOST_WAKE RK30_PIN3_PD2
              #endif
              so if RK903 is selected under drivers>network>wireless, the correct GPIO will be used'

              but is doesn't work, maybe Galland's sources has a commit that the https://github.com/mazen912/rk30_r-box kernel sources need to work with above patch?

              Any help would be appreciated
              mo123

              Comment


                #67
                Originally posted by NiCOi View Post
                I successfully managed to compile Galland's Kernel with this WiFi patch. Please, let me know if it worked out.
                http://rghost.net/51781335
                Hangs on startup.

                First attempt
                Second attempt

                Note that I didn't copy your fw+mod over Galland's, because I made a size comparison of the extracted contents and it came as exactly the same, so I assumed your files are identical to those I already have in /lib/firmware on the MK808B. Is this correct?

                Iron Mew, you told us you got Picuntu running on your MK808b, could you please upload a tar of your Picuntu sd?
                It currently refuses to change resolution to 1920x1080 for reasons unclear to me, even by manually using xrandr (it reports a crtc error). I can share it anyway if you'd like to help me solve that problem, but if it's left unsolved it isn't much good on a 1080p screen.

                Comment


                  #68
                  Iron Mew: the fw+mod I uploaded are the same.

                  Originally posted by mawkish View Post
                  Many thanks for you all.
                  Are there any stable picuntu kernel source that I can compile and test my patch on my MK808B?
                  I used Galland's 3.0.36+ source but it seems that it is not suitable for my device as it crashes often early at the boot stage, either reboot with blooming hex lines filling up the screen or freezes entirely.
                  Oh, I'm an idiot. I didn't read that. The Kernel I uploaded won't work. I'm sorry

                  This is beyond my knowledge. I will try to apply this patch on other available kernels soon. If someone wants to compile a Recovery Kernel with this Patch Galland explains it here.

                  To apply this patch just copy the Mawkish ".config" file instead of Galland's ".config" file. Use "cp"
                  Then apply the patch file like Snail told us before:
                  in kernel source directory
                  Code:
                   patch -p1 < wifi.patch
                  I hope some developer can release a full-featured kernel for our MK808b like mawkish told us before.
                  Last edited by NiCOi; 29 January 2014, 21:01.

                  Comment


                    #69
                    Oh well. Thanks for trying!

                    I'm utterly worthless at compiling anything. I've been using Linux (at varying degrees of competence) for years, and I've never managed to get one compile process to end successfully. These days I no longer even bother, which is why I asked if someone else could post the compiled kernel.

                    Edit: well, Picuntu 4.5 apparently doesn't stay running very long. Today I tried actually using the mk808b (low resolution and all) and it has the unpleasant tendency to hang hard.

                    Back to 0.9 RC3, I guess.
                    Last edited by Iron Mew; 21 January 2014, 01:59.

                    Comment


                      #70
                      I am sorry but I don't have knowledge about kernel compile and path can anybody share the kernel and modules with wifi/bt work or complete Linux image to port to my mk808b.
                      thanks in advanced

                      Comment


                        #71
                        Can someone please modify the patch to work with new KitKat kernels?

                        Comment


                          #72
                          can you help me?

                          [QUOTE =感伤; 93615]不知道是否有帮助
                          ,我认为您已经阅读:https://wiki.archlinux.org/index.php/WPA_Supplicant

                          Particularlly围:#IP链路组接口最多的wpa_supplicant#-B-D nl80211 -i 接口 -c /etc/wpa_supplicant/foobar.conf#的dhcpcd-A 接口 [/ QUOTE]


                          hi man, i have problem too.

                          root@LINUXIUMONE:~# iwconfig
                          lo no wireless extensions.


                          sit0 no wireless extensions.


                          ip6tnl0 no wireless extensions.


                          ra0 Ralink STA ESSID:"linksys" Nickname:"MT7601STA"
                          Mode:Managed Frequency=2.437 GHz Access Point: 00:16:B6:EC:A9:90
                          Bit Rate=54 Mb/s
                          RTS thrff Fragment thrff
                          Encryption key:51D9-C468-F7B9-EAF0-F01C-2731-D664-01C7 [3] Security mode:restricted Security modepen
                          Link Quality=100/100 Signal level:-48 dBm Noise level:-79 dBm
                          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
                          Tx excessive retries:0 Invalid misc:0 Missed beacon:0


                          eth1 IEEE 802.11-DS ESSID:""
                          Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
                          Bit Rate:65 Mb/s Tx-Power:32 dBm
                          Retry min limit:7 RTS thrff Fragment thrff
                          Power Managementmode:All packets received
                          Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
                          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
                          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

                          [ 938.038557] ==>rt_ioctl_giwmode(mode=2)
                          [ 938.069230] ==>rt_ioctl_giwfreq 6
                          [ 938.099690] rt28xx_get_wireless_stats --->
                          [ 938.108886] <--- rt28xx_get_wireless_stats
                          [ 938.938232] RtmpUSBNullFrameKickOut - Send NULL Frame @24 Mbps...
                          [ 944.024188] MediaState is connected
                          [ 944.056412] ==>rt_ioctl_giwmode(mode=2)
                          [ 944.086389] ==>rt_ioctl_giwfreq 6
                          [ 944.116505] rt28xx_get_wireless_stats --->
                          [ 944.120148] <--- rt28xx_get_wireless_stats
                          [ 949.622280] RtmpUSBNullFrameKickOut - Send NULL Frame @24 Mbps...
                          [ 950.006259] MediaState is connected
                          [ 950.036774] ==>rt_ioctl_giwmode(mode=2)
                          [ 950.068204] ==>rt_ioctl_giwfreq 6
                          [ 950.073151] rt28xx_get_wireless_stats --->
                          [ 950.077066] <--- rt28xx_get_wireless_stats
                          [ 952.664907] rt28xx_get_wireless_stats --->
                          [ 952.693557] <--- rt28xx_get_wireless_stats
                          [ 952.746938] [DHD] wl_iw_set_essid: join SSID=linksys ch=6
                          [ 952.929714] connect failed event=0 e->status 0x3




                          root@LINUXIUMONE:~# iwconfig eth1 essid linksys key 12345678
                          Error for wireless request "Set Encode" (8B2A) :
                          SET failed on device eth1 ; Invalid argument.
                          root@LINUXIUMONE:~#



                          root@LINUXIUMONE:~# ifconfig
                          eth1 Link encap:Ethernet HWaddr 98:3b:16:aa:0e:d1
                          inet6 addr: fe80::9a3b:16ff:feaa:ed1/64 Scope:Link
                          UP BROADCAST MULTICAST MTU:1500 Metric:1
                          RX packets:16 errors:0 dropped:16 overruns:0 frame:0
                          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
                          collisions:0 txqueuelen:1000
                          RX bytes:1092 (1.0 KiB) TX bytes:3736 (3.6 KiB)


                          lo Link encap:Local Loopback
                          inet addr:127.0.0.1 Mask:255.0.0.0
                          inet6 addr: ::1/128 Scope:Host
                          UP LOOPBACK RUNNING MTU:16436 Metric:1
                          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                          collisions:0 txqueuelen:0
                          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


                          ra0 Link encap:Ethernet HWaddr 00:36:76:07:00:85
                          inet addr:172.16.142.73 Bcast:172.16.142.255 Mask:255.255.255.0
                          inet6 addr: fe80::236:76ff:fe07:85/64 Scope:Link
                          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                          RX packets:12634 errors:0 dropped:0 overruns:0 frame:0
                          TX packets:1958 errors:0 dropped:0 overruns:0 carrier:0
                          collisions:0 txqueuelen:1000
                          RX bytes:1364243 (1.3 MiB) TX bytes:719019 (702.1 KiB)


                          root@LINUXIUMONE:~# iwlist eth1 scan
                          eth1 Interface doesn't support scanning : Invalid argument



                          root@LINUXIUMONE:~# lsmod
                          Module Size Used by
                          bcm40181 372371 0
                          mt7601Usta 717424 1
                          bnep 9020 2
                          rfcomm 30227 0
                          bluetooth 131199 10 rfcomm,bnep
                          cpufreq_powersave 700 0
                          cpufreq_conservative 5051 0
                          cpufreq_userspace 1750 0








                          :红
                          dmesg is a.txt in the Attachments
                          Attached Files

                          Comment

                          Working...
                          X