Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

New device. New troubles. Searches reveal... nothing?

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

    New device. New troubles. Searches reveal... nothing?

    Gentlemen.
    I'm back!

    Bossman slapped a new device on my desk, based on the Tronsmart MK908II with a 3188T stuck inside.
    I can edit/maim the android firmware all I want, but that is boring.

    Unfortunately it seems none of the kernels I have tried will produce ANY signs of life on the screen.

    Does anyone have a source for the 3188T that at least boots?
    Buy me a beer with
    DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
    or
    BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

    #2
    Well I was able to flash the complete OS here:


    And it boots! Better than staring at a black screen.

    However, wifi does not work, and the little tutorial here:


    Does not produce a working kernel either.

    Also, the /proc/config.gz option is not turned on (oh boy!) I have no idea what config made the kernel work.

    cmdline string is this, however:
    console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init mac_addr=de:ad:de:ad:be:ef initrd=0x62000000,0x004F0000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot) bootver=2013-12-02#2.08 firmware_ver=4.2.2
    Buy me a beer with
    DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
    or
    BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

    Comment


      #3
      Heh. Really helps when you use the correct cross compile toolchain.
      Oh well, it was only a week or se wasted, right?

      Now I got that and the ASIX eth0 driver compiled, I'd like to take a full snapshot of my progress from the device.

      Anyone know how to backup an image from a device?

      upgrade_tool doesnt seem to be able, can the windows firmware loading client?
      Buy me a beer with
      DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
      or
      BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

      Comment


        #4
        Originally posted by tyeo098 View Post
        Heh. Really helps when you use the correct cross compile toolchain.
        Oh well, it was only a week or se wasted, right?

        Now I got that and the ASIX eth0 driver compiled, I'd like to take a full snapshot of my progress from the device.

        Anyone know how to backup an image from a device?

        upgrade_tool doesnt seem to be able, can the windows firmware loading client?
        Windows tool can do it.
        Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

        Comment


          #5
          Thanks I'll look into that.

          Last peice of my puzzle is the wifi.
          This board is equipped with an AP6210, which from what I gather using the rkwifi.ko module will create the device.
          However, it seems the device is unable to locate the chip on the board... unable to power up the wifi.

          216.517041] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====[ 216.517066] ================================================== =====
          [ 216.517085] RKWIFI WiFi driver (Powered by Rockchip,Ver 4.49.WFD) init.
          [ 216.517135] bus: 'sdio': add driver dummy_sdmmc
          [ 216.517189] =========== WLAN placed in POWER ON ========
          [ 216.517238] bus: 'platform': add driver bcmdhd_wlan
          [ 216.517286] bus: 'platform': driver_probe_device: matched device bcmdhd_wlan.1 with driver bcmdhd_wlan
          [ 216.517320] bus: 'platform': really_probe: probing driver bcmdhd_wlan with device bcmdhd_wlan.1
          [ 216.517753] ANDROID-ERROR) wifi_set_power = 1
          [ 216.517828] rk29sdk_wifi_power: 1
          [ 216.672044] wifi turn on power
          [ 216.672060] ANDROID-ERROR) wifi_set_carddetect = 1
          [ 216.672105] rk29sdk_wifi_set_carddetect:1
          [ 216.672136] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 216.672167] driver: 'bcmdhd_wlan.1': driver_bound: bound to device 'bcmdhd_wlan'
          [ 216.672195] bus: 'platform': really_probe: bound device bcmdhd_wlan.1 to driver bcmdhd_wlan
          [ 216.672291] bus: 'platform': add driver bcm4329_wlan
          [ 218.667477]
          [ 218.667490] failed to power up wifi chip, retry again (4 left) **
          [ 218.667515]
          [ 218.667598] bus: 'sdio': remove driver dummy_sdmmc
          [ 218.667754] driver: 'dummy_sdmmc': driver_release
          [ 218.667973] bus: 'platform': remove driver bcmdhd_wlan
          [ 218.668043] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume flags 0x4
          [ 218.668108] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume returns -11
          [ 218.668201] ANDROID-ERROR) ## wifi_remove
          [ 218.668401] ANDROID-ERROR) wifi_set_power = 0
          [ 218.668480] rk29sdk_wifi_power: 0
          [ 218.769548] wifi shut off power
          [ 218.769568] ANDROID-ERROR) wifi_set_carddetect = 0
          [ 218.769609] rk29sdk_wifi_set_carddetect:0
          [ 218.769628] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 218.769702] driver: 'bcmdhd_wlan': driver_release
          [ 218.769725] bus: 'platform': remove driver bcm4329_wlan
          [ 218.769751] driver: 'bcm4329_wlan': driver_release
          [ 218.769765] =========== WLAN placed in POWER OFF ========
          [ 218.769783] bus: 'sdio': add driver dummy_sdmmc
          [ 218.769818] =========== WLAN placed in POWER ON ========
          [ 218.769842] bus: 'platform': add driver bcmdhd_wlan
          [ 218.769870] bus: 'platform': driver_probe_device: matched device bcmdhd_wlan.1 with driver bcmdhd_wlan
          [ 218.769895] bus: 'platform': really_probe: probing driver bcmdhd_wlan with device bcmdhd_wlan.1
          [ 218.769923] ANDROID-ERROR) wifi_set_power = 1
          [ 218.769949] rk29sdk_wifi_power: 1
          [ 218.922110] wifi turn on power
          [ 218.922126] ANDROID-ERROR) wifi_set_carddetect = 1
          [ 218.922167] rk29sdk_wifi_set_carddetect:1
          [ 218.922197] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 218.922227] driver: 'bcmdhd_wlan.1': driver_bound: bound to device 'bcmdhd_wlan'
          [ 218.922255] bus: 'platform': really_probe: bound device bcmdhd_wlan.1 to driver bcmdhd_wlan
          [ 218.922349] bus: 'platform': add driver bcm4329_wlan
          [ 220.917484]
          [ 220.917495] failed to power up wifi chip, retry again (3 left) **
          [ 220.917518]
          [ 220.917585] bus: 'sdio': remove driver dummy_sdmmc
          [ 220.917715] driver: 'dummy_sdmmc': driver_release
          [ 220.917782] bus: 'platform': remove driver bcmdhd_wlan
          [ 220.917844] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume flags 0x4
          [ 220.917907] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume returns -11
          [ 220.917965] ANDROID-ERROR) ## wifi_remove
          [ 220.918049] ANDROID-ERROR) wifi_set_power = 0
          [ 220.918142] rk29sdk_wifi_power: 0
          [ 221.020215] wifi shut off power
          [ 221.020243] ANDROID-ERROR) wifi_set_carddetect = 0
          [ 221.020297] rk29sdk_wifi_set_carddetect:0
          [ 221.020328] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 221.020419] driver: 'bcmdhd_wlan': driver_release
          [ 221.020453] bus: 'platform': remove driver bcm4329_wlan
          [ 221.020494] driver: 'bcm4329_wlan': driver_release
          [ 221.020514] =========== WLAN placed in POWER OFF ========
          [ 221.020540] bus: 'sdio': add driver dummy_sdmmc
          [ 221.020598] =========== WLAN placed in POWER ON ========
          [ 221.020639] bus: 'platform': add driver bcmdhd_wlan
          [ 221.020679] bus: 'platform': driver_probe_device: matched device bcmdhd_wlan.1 with driver bcmdhd_wlan
          [ 221.020715] bus: 'platform': really_probe: probing driver bcmdhd_wlan with device bcmdhd_wlan.1
          [ 221.020756] ANDROID-ERROR) wifi_set_power = 1
          [ 221.020793] rk29sdk_wifi_power: 1
          [ 221.172286] wifi turn on power
          [ 221.172301] ANDROID-ERROR) wifi_set_carddetect = 1
          [ 221.172342] rk29sdk_wifi_set_carddetect:1
          [ 221.172363] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 221.172391] driver: 'bcmdhd_wlan.1': driver_bound: bound to device 'bcmdhd_wlan'
          [ 221.172422] bus: 'platform': really_probe: bound device bcmdhd_wlan.1 to driver bcmdhd_wlan
          [ 221.172518] bus: 'platform': add driver bcm4329_wlan
          [ 223.167555]
          [ 223.167574] failed to power up wifi chip, retry again (2 left) **
          [ 223.167597]
          [ 223.167664] bus: 'sdio': remove driver dummy_sdmmc
          [ 223.167782] driver: 'dummy_sdmmc': driver_release
          [ 223.167846] bus: 'platform': remove driver bcmdhd_wlan
          [ 223.167910] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume flags 0x4
          [ 223.167969] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume returns -11
          [ 223.168033] ANDROID-ERROR) ## wifi_remove
          [ 223.168133] ANDROID-ERROR) wifi_set_power = 0
          [ 223.168262] rk29sdk_wifi_power: 0
          [ 223.268561] wifi shut off power
          [ 223.268582] ANDROID-ERROR) wifi_set_carddetect = 0
          [ 223.268630] rk29sdk_wifi_set_carddetect:0
          [ 223.268649] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 223.268723] driver: 'bcmdhd_wlan': driver_release
          [ 223.268763] bus: 'platform': remove driver bcm4329_wlan
          [ 223.268806] driver: 'bcm4329_wlan': driver_release
          [ 223.268835] =========== WLAN placed in POWER OFF ========
          [ 223.268867] bus: 'sdio': add driver dummy_sdmmc
          [ 223.268933] =========== WLAN placed in POWER ON ========
          [ 223.268971] bus: 'platform': add driver bcmdhd_wlan
          [ 223.269014] bus: 'platform': driver_probe_device: matched device bcmdhd_wlan.1 with driver bcmdhd_wlan
          [ 223.269052] bus: 'platform': really_probe: probing driver bcmdhd_wlan with device bcmdhd_wlan.1
          [ 223.269094] ANDROID-ERROR) wifi_set_power = 1
          [ 223.269133] rk29sdk_wifi_power: 1
          [ 223.419408] wifi turn on power
          [ 223.419424] ANDROID-ERROR) wifi_set_carddetect = 1
          [ 223.419463] rk29sdk_wifi_set_carddetect:1
          [ 223.419487] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 223.419526] driver: 'bcmdhd_wlan.1': driver_bound: bound to device 'bcmdhd_wlan'
          [ 223.419559] bus: 'platform': really_probe: bound device bcmdhd_wlan.1 to driver bcmdhd_wlan
          [ 223.419651] bus: 'platform': add driver bcm4329_wlan
          [ 225.417393]
          [ 225.417398] failed to power up wifi chip, retry again (1 left) **
          [ 225.417406]
          [ 225.417434] bus: 'sdio': remove driver dummy_sdmmc
          [ 225.417481] driver: 'dummy_sdmmc': driver_release
          [ 225.417510] bus: 'platform': remove driver bcmdhd_wlan
          [ 225.417538] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume flags 0x4
          [ 225.417560] bcmdhd_wlan bcmdhd_wlan.1: rpm_resume returns -11
          [ 225.417586] ANDROID-ERROR) ## wifi_remove
          [ 225.417631] ANDROID-ERROR) wifi_set_power = 0
          [ 225.417695] rk29sdk_wifi_power: 0
          [ 225.518128] wifi shut off power
          [ 225.518147] ANDROID-ERROR) wifi_set_carddetect = 0
          [ 225.518185] rk29sdk_wifi_set_carddetect:0
          [ 225.518203] rk29sdk_wifi_set_carddetect, nobody to notify
          [ 225.518270] driver: 'bcmdhd_wlan': driver_release
          [ 225.518304] bus: 'platform': remove driver bcm4329_wlan
          [ 225.518339] driver: 'bcm4329_wlan': driver_release
          [ 225.518364] =========== WLAN placed in POWER OFF ========
          [ 225.518390]
          [ 225.518395] failed to power up wifi chip, max retry reached, exits **
          [ 225.518410]
          Buy me a beer with
          DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
          or
          BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

          Comment


            #6
            Well I ran the GPIO testing and got this for my GPIO pins...

            <4>[ 422.781369] GPIO gpio0 160 poweronpin
            <4>[ 422.781622] GPIO gpio0 165 ap6210_wake_host
            <4>[ 422.781847] GPIO gpio0 170 remotectl
            <4>[ 422.781984] GPIO gpio0 173 rtc gpio
            <4>[ 422.782250] GPIO gpio0 179 cvbs
            <4>[ 422.782382] GPIO gpio0 182 it66121
            <4>[ 422.782970] GPIO gpio1 195 ap6210_rts
            <4>[ 422.783924] GPIO gpio1 216 cx-led
            <4>[ 422.784584] GPIO gpio2 231 wifi reset
            <4>[ 422.785638] GPIO gpio2 255 rk1000 spk ctrl
            <4>[ 422.785734] GPIO gpio3 257 mmc-pwr
            <4>[ 422.785780] GPIO gpio3 258 mmc0-clk
            <4>[ 422.785824] GPIO gpio3 259 mmc0-cmd
            <4>[ 422.785870] GPIO gpio3 260 mmc0-data0
            <4>[ 422.785918] GPIO gpio3 261 mmc0-data1
            <4>[ 422.785967] GPIO gpio3 262 mmc0-data2
            <4>[ 422.786014] GPIO gpio3 263 mmc0-data3
            <4>[ 422.786148] GPIO gpio3 266 ?
            <4>[ 422.786407] GPIO gpio3 272 mmc1-cmd
            <4>[ 422.786455] GPIO gpio3 273 mmc1-data0
            <4>[ 422.786501] GPIO gpio3 274 mmc1-data1
            <4>[ 422.786548] GPIO gpio3 275 mmc1-data2
            <4>[ 422.786597] GPIO gpio3 276 mmc1-data3
            <4>[ 422.786643] GPIO gpio3 277 mmc1-clk
            <4>[ 422.786687] GPIO gpio3 278 ap6210_wake
            <4>[ 422.786736] GPIO gpio3 279 ap6210_poweron
            <4>[ 422.786787] GPIO gpio3 280 wifi_power
            <4>[ 422.786837] GPIO gpio3 281 ap6210_reset
            <4>[ 422.786971] GPIO gpio3 284 rk1000 reset
            <4>[ 422.787020] GPIO gpio3 285 ?
            And it seems I have multiple pins?
            ap6210_power and wifi_power

            wifi_power is the one already set in the board.c file, and when I change it to the GPIO pins for the AP6210... I get nothing different.

            And it seems when I compile my modules I am not compiling rkwifi.ko?? wtf?
            How can I compile rkwifi.ko?
            Buy me a beer with
            DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
            or
            BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

            Comment

            Working...
            X