Android Tablets Forum banner
1 - 11 of 11 Posts

·
Developer
Joined
·
247 Posts
Discussion Starter · #1 ·
A lot of work by Omegamon, Olegk0, Galland, Justin have happened on this so far..

Quite a bit of development activity is on... hopefully something should come up soon... (hopefully
)
Just a small update on where we are

1. Upgraded PicUntu Kernel to 3.036+ (for MK808)
Added MALI GPU.
Working so far, working very good. This is a kernel extracted from Gallands github.
We are due to release a ditribution, with all the linuxroot images... Priority 3

2. Media Tek 5931/BT 6622 still NOT working.. spent a lot of energy, the 3.0.36+ kernel has a mtk_common, module, but that does not help.
We (both me and Galland, have spent several days) - non-stop, trying to get the MT5931/BT6622 to work... tried from different sources, but it seems that the drier sources are incomplete.
Have written to Media Tek for some answers. Nothing received so far.
I have asked my business partner in Taiwan to connect with MediaTek team so that we can get some answers... lets hope for the best... for now, this is again parked back. Priotiy 2

3. Received Tronsmart 428 (Thanks to Perry) for sending the sticks.
a. Tried different versions of Android kernels on them - Finless, 411 1.4 rom is the only one that works... but unfortunately, it fails the rkunpack check... so am not able to dig deeper into it, will try to port in other ROMs... into my kitchen and see what is possible.
b. Linux 3.0.36+ does mention the possibility of rk3188... giving it a shot... no luck so far... get a blank boot screen...
c. Tried to setup debug consoles... - not very successful yet.

Will continue to work on the same... and keep you guys updated...

Alok
 

·
Registered
Joined
·
2 Posts
A lot of work by Omegamon, Olegk0, Galland, Justin have happened on this so far..

...

2. Media Tek 5931/BT 6622 still NOT working.. spent a lot of energy, the 3.0.36+ kernel has a mtk_common, module, but that does not help.
We (both me and Galland, have spent several days) - non-stop, trying to get the MT5931/BT6622 to work... tried from different sources, but it seems that the drier sources are incomplete.
Have written to Media Tek for some answers. Nothing received so far.
I have asked my business partner in Taiwan to connect with MediaTek team so that we can get some answers... lets hope for the best... for now, this is again parked back. Priotiy 2

Will continue to work on the same... and keep you guys updated...

Alok
Hi Alok and Co&,
same Problem to create MTK_5931 Driver on MK802IIIS under Debian wheezy 3.0.8+
Slopes on the compilation of the module:

#~make modules_prepare ARCH=arm
#~make modules ARCH=arm

MODPOST 164 modules
ERROR: "sdio_reinit" [drivers/net/wireless/mtk_5931/wlan_mt6620.ko] undefined!
ERROR: "extern_wifi_set_enable" [drivers/net/wireless/mtk_5931/wlan_mt6620.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Kconfig
Code:
config MT5931<br />
    #depends on WLAN_80211<br />
    select WIRELESS_EXT<br />
    select WEXT_PRIV<br />
    tristate "MT5931_WIFI"<br />
    ---help---<br />
    <br />
config MT5931_OOB_INTR_ONLY<br />
    bool "Use out of band interrupt only"<br />
    depends on MT5931<br />
    default n<br />
    ---help---<br />
       Use out of band interrupt for all interrupts(including SDIO interrupts).<br />
<br />
Makefile
Code:
# ---------------------------------------------------<br />
# Compile Options<br />
# ---------------------------------------------------<br />
<br />
#include $(MTK_PATH_BUILD)/Makefile<br />
#ccflags-y += -DLINUX -DMT6620<br />
ccflags-y += -DLINUX -DMT5931	##mark skynine modify DMT6620-->DMT5931<br />
<br />
ifeq ($(MTK_WAPI_SUPPORT), yes)<br />
    ccflags-y += -DCFG_SUPPORT_WAPI=1<br />
else<br />
    ccflags-y += -DCFG_SUPPORT_WAPI=0<br />
endif<br />
<br />
ifeq ($(HAVE_XLOG_FEATURE), yes)<br />
    ccflags-y += -DCFG_SUPPORT_XLOG=1<br />
else<br />
    ccflags-y += -DCFG_SUPPORT_XLOG=0<br />
endif<br />
<br />
ifeq ($(HAVE_AEE_FEATURE), yes)<br />
    ccflags-y += -DCFG_SUPPORT_AEE=1<br />
else<br />
    ccflags-y += -DCFG_SUPPORT_AEE=0<br />
endif<br />
<br />
#ifeq ($(CONFIG_MTK_COMBO_WIFI_HIF_SDIO1), y)<br />
#    ccflags-y += -D_HIF_SDIO=1<br />
#endif<br />
<br />
MODULE_NAME := wlan_mt6620<br />
<br />
ccflags-y += -D_HIF_SDIO=1<br />
<br />
ccflags-y += -DDBG=0<br />
ccflags-y += -I$(src)/os -I$(src)/os/linux/include -I$(src)/os/linux/hif/sdio/include<br />
ccflags-y += -I$(src)/include -I$(src)/include/nic -I$(src)/include/mgmt<br />
<br />
#obj-$(CONFIG_MTK_COMBO_WIFI) += $(MODULE_NAME).o<br />
obj-$(CONFIG_MT5931) += $(MODULE_NAME).o<br />
obj-m += $(MODULE_NAME).o<br />
<br />
# ---------------------------------------------------<br />
# Directory List<br />
# ---------------------------------------------------<br />
COMMON_DIR  := common/<br />
OS_DIR      := os/linux/<br />
HIF_DIR	    := os/linux/hif/sdio/<br />
NIC_DIR     := nic/<br />
MGMT_DIR    := mgmt/<br />
<br />
<br />
# ---------------------------------------------------<br />
# Objects List<br />
# ---------------------------------------------------<br />
<br />
COMMON_OBJS :=	$(COMMON_DIR)dump.o \<br />
	       		$(COMMON_DIR)wlan_lib.o \<br />
	       		$(COMMON_DIR)wlan_oid.o \<br />
	       		$(COMMON_DIR)wlan_bow.o<br />
<br />
NIC_OBJS := $(NIC_DIR)nic.o \<br />
			$(NIC_DIR)nic_tx.o \<br />
			$(NIC_DIR)nic_rx.o \<br />
			$(NIC_DIR)nic_pwr_mgt.o \<br />
			$(NIC_DIR)cmd_buf.o \<br />
			$(NIC_DIR)que_mgt.o \<br />
			$(NIC_DIR)nic_cmd_event.o<br />
<br />
OS_OBJS :=	$(OS_DIR)gl_init.o \<br />
			$(OS_DIR)gl_kal.o  \<br />
			$(OS_DIR)gl_bow.o \<br />
			$(OS_DIR)gl_wext.o \<br />
			$(OS_DIR)gl_wext_priv.o \<br />
			$(OS_DIR)gl_rst.o \<br />
			$(OS_DIR)gl_cfg80211.o \<br />
			$(OS_DIR)platform.o<br />
<br />
MGMT_OBJS := $(MGMT_DIR)ais_fsm.o \<br />
			 $(MGMT_DIR)aaa_fsm.o \<br />
			 $(MGMT_DIR)assoc.o \<br />
			 $(MGMT_DIR)auth.o \<br />
			 $(MGMT_DIR)bss.o \<br />
			 $(MGMT_DIR)cnm.o \<br />
			 $(MGMT_DIR)cnm_timer.o \<br />
			 $(MGMT_DIR)cnm_mem.o \<br />
			 $(MGMT_DIR)hem_mbox.o \<br />
			 $(MGMT_DIR)mib.o \<br />
			 $(MGMT_DIR)privacy.o  \<br />
			 $(MGMT_DIR)rate.o \<br />
			 $(MGMT_DIR)rlm.o \<br />
			 $(MGMT_DIR)rlm_domain.o \<br />
			 $(MGMT_DIR)rlm_obss.o \<br />
			 $(MGMT_DIR)rlm_protection.o \<br />
			 $(MGMT_DIR)rsn.o \<br />
			 $(MGMT_DIR)saa_fsm.o \<br />
			 $(MGMT_DIR)scan.o \<br />
			 $(MGMT_DIR)scan_fsm.o \<br />
		 	 $(MGMT_DIR)sec_fsm.o \<br />
             $(MGMT_DIR)swcr.o \<br />
             $(MGMT_DIR)roaming_fsm.o<br />
                         <br />
# ---------------------------------------------------<br />
# P2P Objects List<br />
# ---------------------------------------------------      <br />
<br />
COMMON_OBJS += $(COMMON_DIR)wlan_p2p.o<br />
<br />
NIC_OBJS += $(NIC_DIR)p2p_nic.o<br />
<br />
OS_OBJS += $(OS_DIR)gl_p2p.o \<br />
           $(OS_DIR)gl_p2p_cfg80211.o \<br />
           $(OS_DIR)gl_p2p_init.o \<br />
           $(OS_DIR)gl_p2p_kal.o<br />
<br />
MGMT_OBJS += $(MGMT_DIR)p2p_assoc.o \<br />
             $(MGMT_DIR)p2p_bss.o \<br />
             $(MGMT_DIR)p2p_fsm.o \<br />
             $(MGMT_DIR)p2p_func.o \<br />
             $(MGMT_DIR)p2p_rlm.o \<br />
             $(MGMT_DIR)p2p_rlm_obss.o \<br />
             $(MGMT_DIR)p2p_scan.o \<br />
             $(MGMT_DIR)p2p_ie.o \<br />
             $(MGMT_DIR)p2p_state.o        <br />
                 <br />
<br />
ifeq ($(MTK_WAPI_SUPPORT), yes)<br />
MGMT_OBJS += $(MGMT_DIR)wapi.o<br />
endif<br />
<br />
ifeq ($(WLAN_PROC), y)<br />
OS_OBJS += gl_proc.o<br />
endif<br />
<br />
HIF_OBJS :=  $(HIF_DIR)arm.o \<br />
             $(HIF_DIR)sdio.o<br />
<br />
$(MODULE_NAME)-objs  += $(COMMON_OBJS)<br />
$(MODULE_NAME)-objs  += $(NIC_OBJS)<br />
$(MODULE_NAME)-objs  += $(OS_OBJS)<br />
$(MODULE_NAME)-objs  += $(HIF_OBJS)<br />
$(MODULE_NAME)-objs  += $(MGMT_OBJS)<br />
<br />
<br />
clean:<br />
	rm $(HIF_OBJS)	$(OS_OBJS) $(NIC_OBJS) $(MGMT_OBJS) $(COMMON_OBJS)<br />
<br />
Any idea?
Best greetings
 

·
Registered
Joined
·
2 Posts
second helping

Original Firmware on MK802IIIS with adb shell tells me:
Code:
busybox uname -a<br />
Linux localhost 3.0.8+ #4 SMP PREEMPT Fri Jan 18 09:52:28 CST 2013 armv7l unknown<br />
Code:
lsmod<br />
wlan 856 0 - Live 0x00000000<br />
vpu_service 11655 0 - Live 0x00000000<br />
mirroring 12687 0 - Live 0x00000000<br />
rk29_ipp 9321 0 - Live 0x00000000 (C)<br />
mali 101298 6 - Live 0x00000000<br />
ump 26148 7 mali, Live 0x00000000<br />
rk30xxnand_ko 346944 0 - Live 0x00000000<br />
[email protected]:/system/lib/modules #<br />
Code:
<br />
cd /system/lib/modules/<br />
[email protected]:/system/lib/modules # ls -l<br />
-rw-r--r-- root     root       606073 2013-01-17 12:57 8188eu.ko<br />
-rw-r--r-- root     root       606217 2013-01-17 12:57 8188eu.ko.3.0.36+<br />
-rw-r--r-- root     root       548824 2013-01-17 12:57 8192cu.ko<br />
-rw-r--r-- root     root       549096 2013-01-17 12:57 8192cu.ko.3.0.36+<br />
-rw-r--r-- root     root       144794 2013-01-17 12:57 mali.ko<br />
-rw-r--r-- root     root       148417 2013-01-17 12:57 mali.ko.3.0.36+<br />
-rw-r--r-- root     root        16527 2013-01-17 12:57 rk29-ipp.ko<br />
-rw-r--r-- root     root        17271 2013-01-17 12:57 rk29-ipp.ko.3.0.36+<br />
-rw-r--r-- root     root        18101 2013-01-17 12:57 rk30_mirroring_3.0.8+.ko<br />
-rw-r--r-- root     root       539869 2013-01-17 12:57 rkwifi.ko<br />
-rw-r--r-- root     root       569413 2013-01-17 12:57 rkwifi.ko.3.0.36+<br />
-rw-r--r-- root     root        42614 2013-01-17 12:57 ump.ko<br />
-rw-r--r-- root     root        44122 2013-01-17 12:57 ump.ko.3.0.36+<br />
-rw-r--r-- root     root        20737 2013-01-17 12:57 vpu_service.ko<br />
-rw-r--r-- root     root        20743 2013-01-17 12:57 vpu_service.ko.3.0.36+<br />
-rw-r--r-- root     root         2683 2013-01-17 12:57 wlan.ko<br />
-rw-r--r-- root     root         2778 2013-01-17 12:57 wlan.ko.3.0.36+<br />
[email protected]:/system/lib/modules #<br />
Last but not least wifi relevant dmesg
Code:
<4>[   18.800404] =======================================================<br />
<4>[   18.806704] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====<br />
<4>[   18.828832] =======================================================<br />
<4>[   18.835135] MT5931 SDIO WiFi driver (Powered by Rockchip,Ver 2.07) init.<br />
<4>[   18.851223] initWlan<br />
<4>[   18.853436] ## Calling platform_driver_register<br />
<4>[   18.858086] ## wifi_probe<br />
<4>[   18.861258] wifi_set_power = 1<br />
<6>[   18.864401] rk29sdk_wifi_power: 1<br />
<6>[   19.007856] wifi turn on power<br />
<4>[   19.010934] wifi_set_carddetect = 1<br />
<6>[   19.014418] rk29sdk_wifi_set_carddetect:1<br />
<6>[   19.018413] mmc1: slot status change detected(0-1)<br />
<6>[   19.023319] rk29_sdmmc_change_clk_div..1921..  newDiv=42, newCLK=294Khz [sdio]<br />
<4>[   19.031573] wl_android_wifictrl_func_add success.<br />
<6>[   19.228889]<br />
<6>[   19.228901] drivers/mmc/core/core.c...1827..  ===== mmc_rescan Begin....[mmc1]<br />
<6>[   19.272901]<br />
<6>[   19.272912] mmc_attach_sdio..800..  ===== Begin to identify card as SDIO-card. [mmc1]<br />
<6>[   19.310846] rk29_sdmmc_change_clk_div..1921..  newDiv=0, newCLK=24750Khz [sdio]<br />
<6>[   19.321157] mmc1: new high speed SDIO card at address 0001<br />
<4>[   19.331005] wireless_dev prWdev(0xe8f56600) allocated<br />
<4>[   19.336167] wiphy (0xe7028120) allocated<br />
<4>[   19.340258] net_device prDev(0xc2106800) allocated<br />
<4>[   19.347481] Open FW image: WIFI_RAM_CODE done<br />
<4>[   19.362647] Allocating 4096 bytes for COMMON MGMT MEMORY POOL.<br />
<4>[   19.368518] Virtual Address = f7943000 for COMMON MGMT MEMORY POOL.<br />
<4>[   19.374817] Allocating 11136 bytes for SW_RFB_T.<br />
<4>[   19.379630] Virtual Address = f7945000 for SW_RFB_T.<br />
<4>[   19.384854] Allocating 13312 bytes for MSDU_INFO_T.<br />
<4>[   19.390371] Virtual Address = f7949000 for MSDU_INFO_T.<br />
<4>[   19.674358] Using embedded MAC address[wifi] wlan%d netif_carrier_off<br />
<4>[   19.685165] tx_thread starts running...<br />
<4>[   19.691070] MAC address: 00:0c:c4:01:95:31<br />
<6>[   19.707394] mmc_rescan_try_freq..1678..  ===== Initialize SDIO successfully. [mmc1]<br />
<4>[   19.968896] Set Wi-Fi PS mode to CAM (0)<br />
<6>[   19.973725] ADDRCONF(NETDEV_UP): wlan0: link is not ready<br />
<4>[   20.100849] --> mtk_cfg80211_testmode_cmd()<br />
<4>[   20.105051] --> mtk_cfg80211_testmode_sw_cmd()<br />
<4>[   20.109902] --> mtk_cfg80211_testmode_cmd()<br />
<4>[   20.114083] --> mtk_cfg80211_testmode_sw_cmd()<br />
<4>[   20.129631] --> mtk_cfg80211_testmode_cmd()<br />
<4>[   20.133811] --> mtk_cfg80211_testmode_sw_cmd()<br />
<4>[   20.138536] --> mtk_cfg80211_testmode_cmd()<br />
<4>[   20.142839] --> mtk_cfg80211_testmode_sw_cmd()<br />
<4>[   20.147619] --> mtk_cfg80211_testmode_cmd()<br />
<4>[   20.151857] --> mtk_cfg80211_testmode_sw_cmd()<br />
<4>[   20.156522] --> mtk_cfg80211_testmode_cmd()<br />
<4>[   20.160767] --> mtk_cfg80211_testmode_sw_cmd()<br />
<4>[   20.165614] Set Wi-Fi PS mode to FAST PS (2)<br />
<4>[   22.113211] NAF=0,0,0<br />
<4>[   22.119911] ChReq net=0 token=1 b=1 c=1 s=1<br />
<4>[   22.126193] NAF=0,0,0<br />
<4>[   22.128526] ChGrant net=0 token=1 ch=1 sco=1<br />
<4>[   22.142264] QM: (fgIsWmmSupported=1, fgSupportQoS=1)<br />
<4>[   22.147269] QM: (fgIsWmmSupported=1, fgIsQoS=1)<br />
<4>[   22.151975] MQM: Assoc_Rsp Parsing (QoS Enabled=1)<br />
<6>[   22.157598] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready<br />
<4>[   22.163535] [wifi] wlan0 netif_carrier_on [ssid:WLAN-SPEEDPORT W920V 00:24:fe:a8:67:0f]<br />
<4>[   22.173717] QM: +STA[0]<br />
<4>[   22.192737] Set Wi-Fi PS mode to CAM (0)<br />
<4>[   22.207655] ioctl 8b1b<br />
<4>[   22.210043] -277800 CMD:0x8b1b<br />
<4>[   23.812069] Set Wi-Fi PS mode to FAST PS (2)<br />
<6>[   23.879306] acc_open<br />
<6>[   23.881672] acc_release<br />
<4>[   24.119285] ChAbort net=0 token=1<br />
<4>[   26.311136] [URL=QM:Event]QM:Event[/URL] +RxBa<br />
<4>[   26.313960] QM: +RxBA(STA=0 TID=0 WinStart=2 WinEnd=13 WinSize=12)<br />
<3>[   30.132906] init: sys_prop: permission denied [URL=uid:10043]uid:10043[/URL]  [URL=name:sys.ghwui]name:sys.ghwui[/URL].version<br />
<7>[   32.898803] wlan0: no IPv6 routers present<br />
 

·
Registered
Joined
·
1 Posts
Sorry for my poor english.
I have a Motorola laptop dock, it has a LCD with 1366x768 resolution.
When use the 720P kernel, it can display but the typeface blurs.
Raspberry PI can change the resolution by modify config.txt. After some search, i found hdmi_group 2 contain a lot of resolution of computer monitor. It contain 1366x768 also. Does picuntu kernel can do the same?
 

·
Registered
Joined
·
20 Posts
Just received MK908 & planning to install Finlees 1.5. Would it be possible to flash Alok's Picuntu 3.0.8+ kernel or Oleg's kernel (with mali support) to recovery patrition, and use existing Picuntu installation on SD card. For now, that is until the development moves forward. Namely, are 3188 devices "backward compatible" with 3066 (if this is corect terminology and reasoning, forgive my ignorance:)? Thanks, Goran
 

·
Registered
Joined
·
5 Posts
New picuntu for rk3188 is out. But what about rk3066 sticks like imito mx1? Will internal wifi work someday? Or that stiks will not be supported?
 

·
Registered
Joined
·
1 Posts
hi guys!

i tried to run picuntu 4.5 on pipo s1 pro tablet and the screen stayed black after flashing.
any suggestions?

is that because the default resolution is 1920x1080?
where do i start?
 
1 - 11 of 11 Posts
Top