[Miscellaneous Android Development] mfd10000:
cube u30gt - 3.0.36 kernel

Hello!

I try for a while to compile cube u30gt - 3.0.36 kernel and make it funtional. The one from: https://github.com/crewrktablets/rk3x_kernel_3.0.36

Building is OK.

I have tested the kernel with:

CrewRKTablets_RK30_Genio by Oma_AOSP_4.2.2_v3.3 - replaced recovery with the one for 3.0.36 and boot from the old build (3.0.36)

Oma_RK31_Chuwi_V88_CM10.1_4.2.2_v1.3.2

Oma_RK31_Radxa Rock_Box_JB_4.2.2_v2.4

On all tests it boots up, everytings looks ok, sensors - working, power managemet - ok, etc.

The only thing in witch i'm stuck in, is WIFI an BT (2 i gues)...

The dmesg log is:

<4>[ 345.950783] standby rt5631

<4>[ 358.971290] =======================================================

<4>[ 358.971303] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====

<4>[ 358.971312] =======================================================

<4>[ 358.971323] RKWIFI WiFi driver (Powered by Rockchip,Ver 4.49.WFD) init.

<7>[ 358.971340] bus: 'sdio': add driver dummy_sdmmc

<4>[ 358.971561] =========== WLAN placed in POWER ON ========

<7>[ 358.971589] bus: 'platform': add driver bcmdhd_wlan

<7>[ 358.971637] bus: 'platform': driver_probe_device: matched device bcmdhd_wlan.1 with driver bcmdhd_wlan

<7>[ 358.971652] bus: 'platform': really_probe: probing driver bcmdhd_wlan with device bcmdhd_wlan.1

<3>[ 358.971673] ANDROID-ERROR) wifi_set_power = 1

<6>[ 358.971686] Pornesc puterea: rk29sdk_wifi_power: 1

<6>[ 358.971695] Apel gpio_open()

<6>[ 358.971702] am intrat la initializare pe mmc1

<6>[ 358.971709] daca pe mmc1 pornit

<6>[ 359.073503] am iesit din mmc1

<6>[ 359.173712] Mihai wifi turn on power

<3>[ 359.173717] ANDROID-ERROR) wifi_set_carddetect = 1

<6>[ 359.173725] Incep detectare card: rk29sdk_wifi_set_carddetect:1

<6>[ 359.173731] mmc1: slot status change detected(0-1)

<6>[ 359.173736] am intrat pe bus cu mmc1-ok trimit comenzi

<6>[ 359.173774] rk29_sdmmc_change_clk_div..1956.. newDiv=42, newCLK=294Khz [sdio]

<7>[ 359.173785] driver: 'bcmdhd_wlan.1': driver_bound: bound to device 'bcmdhd_wlan'

<7>[ 359.173792] bus: 'platform': really_probe: bound device bcmdhd_wlan.1 to driver bcmdhd_wlan

<7>[ 359.173988] bus: 'platform': add driver bcm4329_wlan

<6>[ 359.367769]

<6>[ 359.367793] drivers/mmc/core/core.c...1824.. ===== mmc_rescan Begin....[mmc1]

<6>[ 359.411936]

<6>[ 359.411959] mmc_attach_sdio..801.. ===== Begin to identify card as SDIO-card. [mmc1]

<7>[ 359.426866] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)

<7>[ 359.429386] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

<7>[ 359.431858] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

<7>[ 359.436229] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)

<6>[ 359.505590] rk29_sdmmc_change_clk_div..1956.. newDiv=0, newCLK=24750Khz [sdio]

<6>[ 359.505853] am intrat pe bus cu mmc1-ok trimit comenzi

<6>[ 359.515063] mmc1: new high speed SDIO card at address 0001

<7>[ 359.515229] device: 'mmc1:0001': device_add

<7>[ 359.515360] bus: 'mmc': add device mmc1:0001

<7>[ 359.515597] PM: Adding info for mmc:mmc1:0001

<7>[ 359.516995] bus: 'mmc': driver_probe_device: matched device mmc1:0001 with driver mmcblk

<7>[ 359.517088] bus: 'mmc': really_probe: probing driver mmcblk with device mmc1:0001

<7>[ 359.517308] device: 'mmc1:0001:1': device_add

<7>[ 359.517416] bus: 'sdio': add device mmc1:0001:1

<7>[ 359.518005] PM: Adding info for sdio:mmc1:0001:1

<7>[ 359.519315] bus: 'sdio': driver_probe_device: matched device mmc1:0001:1 with driver dummy_sdmmc

<7>[ 359.519409] bus: 'sdio': really_probe: probing driver dummy_sdmmc with device mmc1:0001:1

<7>[ 359.519817] driver: 'mmc1:0001:1': driver_bound: bound to device 'dummy_sdmmc'

<7>[ 359.519901] bus: 'sdio': really_probe: bound device mmc1:0001:1 to driver dummy_sdmmc

<7>[ 359.520043] device: 'mmc1:0001:2': device_add

<7>[ 359.520099] bus: 'sdio': remove driver dummy_sdmmc

<7>[ 359.520182] dummy_sdmmc mmc1:0001:1: rpm_resume flags 0x4

<7>[ 359.520233] bus: 'sdio': add device mmc1:0001:2

<7>[ 359.520305] dummy_sdmmc mmc1:0001:1: rpm_resume returns -11

<7>[ 359.520511] PM: Adding info for sdio:mmc1:0001:2

<7>[ 359.521594] driver: 'dummy_sdmmc': driver_release

<4>[ 359.521659] Linux Kernel SDIO/MMC Driver

<7>[ 359.521721] bus: 'sdio': add driver bcmsdh_sdmmc

<7>[ 359.521845] bus: 'sdio': driver_probe_device: matched device mmc1:0001:1 with driver bcmsdh_sdmmc

<7>[ 359.521932] bus: 'sdio': really_probe: probing driver bcmsdh_sdmmc with device mmc1:0001:1

<7>[ 359.522317] driver: 'mmc1:0001:1': driver_bound: bound to device 'bcmsdh_sdmmc'

<7>[ 359.522398] bus: 'sdio': really_probe: bound device mmc1:0001:1 to driver bcmsdh_sdmmc

<7>[ 359.522489] bus: 'sdio': driver_probe_device: matched device mmc1:0001:2 with driver bcmsdh_sdmmc

<7>[ 359.522569] bus: 'sdio': really_probe: probing driver bcmsdh_sdmmc with device mmc1:0001:2

<4>[ 359.524572] dhdsdio_probe : no mutex held. set lock

<4>[ 359.524920] FW_PATH = /system/etc/firmware/fw_RK903.bin

<4>[ 359.524952] NVRAM_PATH = /system/etc/firmware/nvram_RK903_26M.cal

<4>[ 359.525500] F1 signature read @0x18000000=0x16044330

<4>[ 359.542116] DHD: dongle ram size is set to 294912(orig 294912)

<4>[ 359.542448] dhd_bus_select_firmware_name_by_chip: firmware_path=/system/etc/firmware/fw_RK903b2.bin

<7>[ 359.542596] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542611] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542624] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542638] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542650] cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542663] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542675] cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542688] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542700] cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542713] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542724] cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542738] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542749] cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542763] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542774] cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542787] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542799] cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542812] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542823] cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542837] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542848] cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542861] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542873] cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542886] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542897] cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542911] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542922] cfg80211: Updating information on frequency 2484 MHz for a 20 MHz width channel with regulatory rule:

<7>[ 359.542935] cfg80211: 2474000 KHz - 2494000 KHz @ KHz), (600 mBi, 2000 mBm)

<7>[ 359.542950] device: 'phy0': device_add

<7>[ 359.543021] PM: Adding info for No Bus:phy0

<7>[ 359.543260] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain

<7>[ 359.543303] device: 'rfkill1': device_add

<7>[ 359.543375] PM: Adding info for No Bus:rfkill1

<4>[ 359.543872] wl_create_event_handler thr:694 created

<4>[ 359.543922] wl_create_event_handler thr:694 started

<7>[ 359.543944] device: 'rfkill2': device_add

<7>[ 359.544040] PM: Adding info for No Bus:rfkill2

<7>[ 359.544550] device: 'p2p0': device_add

<7>[ 359.544723] PM: Adding info for No Bus:p2p0

<4>[ 359.545832] p2p0: P2P Interface Registered

<4>[ 359.545905] dhd_attach thr:695 created

<4>[ 359.545960] dhd_attach thr:695 started

<4>[ 359.546007] dhd_attach thr:696 created

<4>[ 359.548874] dhd_attach thr:696 started

<4>[ 359.548938] dhd_attach thr:697 created

<4>[ 359.548971] dhd_attach thr:697 started

<3>[ 359.549270] ANDROID-ERROR) wifi_get_mac_addr

<4>[ 359.549283] bcmsdh_set_drvdata Enter

<7>[ 359.549332] device: 'wlan0': device_add

<7>[ 359.549510] PM: Adding info for No Bus:wlan0

<4>[ 359.549930] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:90:4c:11:22:33

<4>[ 359.549944] dhdsdio_probe : the lock is released.

<7>[ 359.549956] driver: 'mmc1:0001:2': driver_bound: bound to device 'bcmsdh_sdmmc'

<7>[ 359.549970] bus: 'sdio': really_probe: bound device mmc1:0001:2 to driver bcmsdh_sdmmc

<4>[ 359.550034]

<4>[ 359.550037] Dongle Host Driver, version 1.28.13.1.1 (r)

<4>[ 359.550042] Compiled in drivers/net/wireless/bcmdhd on Mar 18 2013 at 10:57:53

<3>[ 359.550727] ANDROID-ERROR) wifi_set_power = 0

<6>[ 359.550744] Pornesc puterea: rk29sdk_wifi_power: 0

<6>[ 359.550754] Apel inchidere. De unde???

<6>[ 359.550762] am intrat la initializare pe mmc1

<6>[ 359.550769] daca pe mmc1 oprit

<6>[ 359.554818] mmc_rescan_try_freq..1675.. ===== Initialize SDIO successfully. [mmc1]

<6>[ 359.652997] am iesit din mmc1

<6>[ 359.753940] Aci opri! wifi shut off power

<4>[ 359.753947] =========== WLAN placed in RESET ========

In this moment, I'm not sure iven if is a kernel isue or a firmware isue...

If someone can give me a push in the right direction...

Thanks