Jump to content

Armbian for Amlogic S912


chocho
 Share

Recommended Posts

Donate and support the project!

7 hours ago, debianxfce said:

Do you see anything wifi related with dmesg? In early boot you see something like al_wifi:... but after 3 seconds you should see -----Wifi Initialization----- .

with command "dmesg | less" the only lines I see about wifi, those lines

[    2.316859] aml_wifi wifi.33: [wifi_dev_probe] no power_on_pin2
[    2.316875] aml_wifi wifi.33: [wifi_dev_probe] set pwm as 32k output
[    2.316929] aml_wifi wifi.33: [wifi_dev_probe] interrupt_pin=241
[    2.316944] aml_wifi wifi.33: [wifi_dev_probe] irq_num=100, irq_trigger_type=1
[    2.316962] aml_wifi wifi.33: [wifi_dev_probe] power_on_pin=240
[    2.316975] aml_wifi wifi.33: [wifi_dev_probe] clock_32k_pin=0
[    2.317354] aml_wifi wifi.33: [wifi_setup_dt] wifi_setup_dt
[    2.317406] aml_wifi wifi.33: [wifi_setup_dt] interrupt_pin(241)
[    2.317429] aml_wifi wifi.33: [wifi_setup_dt] power_on_pin(240)

in the initial boot console. I didn't even see anything about wifi.

 

 

BTW. I'm using Custom android rom (SuperCeleron V8B) with his custom kernel. does it affect the wifi in linux when booting from usb?

Link to comment
Share on other sites

3 hours ago, nodymoha said:

with command "dmesg | less" the only lines I see about wifi, those lines


[    2.316859] aml_wifi wifi.33: [wifi_dev_probe] no power_on_pin2
[    2.316875] aml_wifi wifi.33: [wifi_dev_probe] set pwm as 32k output
[    2.316929] aml_wifi wifi.33: [wifi_dev_probe] interrupt_pin=241
[    2.316944] aml_wifi wifi.33: [wifi_dev_probe] irq_num=100, irq_trigger_type=1
[    2.316962] aml_wifi wifi.33: [wifi_dev_probe] power_on_pin=240
[    2.316975] aml_wifi wifi.33: [wifi_dev_probe] clock_32k_pin=0
[    2.317354] aml_wifi wifi.33: [wifi_setup_dt] wifi_setup_dt
[    2.317406] aml_wifi wifi.33: [wifi_setup_dt] interrupt_pin(241)
[    2.317429] aml_wifi wifi.33: [wifi_setup_dt] power_on_pin(240)

in the initial boot console. I didn't even see anything about wifi.

 

 

BTW. I'm using Custom android rom (SuperCeleron V8B) with his custom kernel. does it affect the wifi in linux when booting from usb?

 

Those early boot lines show even wifi is not working, ie device wlan0 is missing and sudo ifconfig does not show it. Hope you have the wifi_dummy line in /etc/modules and you can also add bcrmfmac driver there too.  Android rom does not affect if you do a cold boot, uboot boots from internal or external flash memory.  A restart can leave firmware into the device memory.

Link to comment
Share on other sites

4 hours ago, debianxfce said:

 

Those early boot lines show even wifi is not working, ie device wlan0 is missing and sudo ifconfig does not show it. Hope you have the wifi_dummy line in /etc/modules and you can also add bcrmfmac driver there too.  Android rom does not affect if you do a cold boot, uboot boots from internal or external flash memory.  A restart can leave firmware into the device memory.

Still no sign of wifi :(

even after trying with latest build

Link to comment
Share on other sites

6 hours ago, nodymoha said:

Still no sign of wifi :(

even after trying with latest build

I did try balbes150 test build with kernel 4.9 and with a class 4 tf card. No sign of wifi like it has with kernel 3.14 and a class 10 tf card. I hope you are using a class 10 tf card, my class 4 card causes many performance problems.

Link to comment
Share on other sites

50 minutes ago, Dariusz Biernat said:

Hi, I am new here and I may be asking a stupid question. I see that it appeared on the armbian site [https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN] with a new date (19.06.2017), but the version has not changed (only date). Has anyone noticed any significant changes? Is there any 3d acceleration for s912 (mecool bb2 pro)?

Regards

No 3d gpu accelerated Linux drivers for S912 available. To develop them, you have to buy Arm DDK licence and no wonder that any Linux project has bought that. One group is developing open source Linux graphics stack for AmLogic  but project is not ready and who knows will it ever be.  Iceweasel plays youtube videos poorly, use the Chromium browser, it can use all 8 cores for graphics rendering. Update Armbian to Debian testing, in Debian you find Chromium. https://forum.armbian.com/index.php?/topic/4495-odroid-c2-with-ovpn-and-aes-instruction-set/

Link to comment
Share on other sites

@Dariusz Biernat I doubt it, since Ubuntu is a simply a derivative of Debian anyway ;) I think he simply meant that on a debian base, change to the testing release branch on order to get a (recent) build of Chromium.  On Ubuntu there is no need as the whole idea of Ubuntu is it is closer to the bleeding edge.

Link to comment
Share on other sites

59 minutes ago, pfeerick said:

@Dariusz Biernat I doubt it, since Ubuntu is a simply a derivative of Debian anyway ;) I think he simply meant that on a debian base, change to the testing release branch on order to get a (recent) build of Chromium.  On Ubuntu there is no need as the whole idea of Ubuntu is it is closer to the bleeding edge.

Ubuntu lts is made from a snapshot of Debian testing, the other version from Sid. They contain canonical bad tweaks, like in the pc installer and xfce they have tuned to shit without virtual desktops etc. Debian is less bloated, so it is far better to these low end cpus. Still you need to remove pulseaudio,networkmanager and other redhat shit like networkmanager.service. Debian testing is a rolling release os, ubuntu is not.

Link to comment
Share on other sites

2 hours ago, Dariusz Biernat said:

Debian is better with video compared to ubuntu? Ubuntu also uses chromium.

Mp4 videos on the Armbian Jessie Xfce desktop does not work, they even hang os with Sunvell T95Z Plus. Debian Jessie uses old Iceweasel browser. Maybe with a player that uses cpu cores you can make them work. Some Linux games use cpu only so gaming is possible too. Youtube videos do work fine with Chromium, test with Netflix etc.

 

Debian Jessie uses old Iceweasel browser and other old software. Avoid fixed distributions.

Link to comment
Share on other sites

10 hours ago, debianxfce said:

I did try balbes150 test build with kernel 4.9 and with a class 4 tf card. No sign of wifi like it has with kernel 3.14 and a class 10 tf card. I hope you are using a class 10 tf card, my class 4 card causes many performance problems.

Actually I didn't use SD card in that try. I used USB (Slow speed. kind of)

 

I did tried with the one with kernel 4.9 and that version give a black screen before the initial boot console screen.

 

Can this device play some java games? or not because no 3d acceleration driver.

Link to comment
Share on other sites

On 21/06/2017 at 2:05 PM, nodymoha said:

Actually I didn't use SD card in that try. I used USB (Slow speed. kind of)

 

I did tried with the one with kernel 4.9 and that version give a black screen before the initial boot console screen.

 

Can this device play some java games? or not because no 3d acceleration driver.

What works for me is the samsung evo 32GB class 10 tf card with the kernel 3.14 version installed. It works also with a good quality usb 3.0 adapter.

 

Minecraft.jar and similar slow games with a rough graphics probably do work. Many simple python games you could try too:

http://pygame.org/project-Super+Mario+Python+Beta-1339-.html

  

Link to comment
Share on other sites

9 hours ago, debianxfce said:

What works for me is the samsung evo 32GB class 10 tf card with the kernel 3.14 version installed. It works also with a good quality usb 3.0 adapter. For testing the kernel 4.9 version more, I did buy a 64GB (the max size that T95Z Plus can use) class 10 tf card.

http://www.ebay.com/itm/Class-10-128GB-64GB-32GB-Micro-SD-Flash-TF-Memory-Card-for-Camera-Mobile-Phone-/371969750227

 

Minecraft.jar and similar slow games with a rough graphics probably do work. Many simple python games you could try too:

http://pygame.org/project-Super+Mario+Python+Beta-1339-.html

  

I'm using one of the fastest USB3.0 Flash Dive in the planet. (250MB/s reading, 190MB/s writing)

 

I have to find a new SD card memory. Since my 64GB C10 become dead without any known reason

Link to comment
Share on other sites

So, This is what I did

 

First. I extracted dtb file from the working android using this method:

And I found that the 1GB version is the same. didn't change.

but my version (which is 2GB) it has a little bit of a change.

 

So, I took the new dtb file and run with it.

 

Unfortunately, no progress has been made. :(

 

Second, I did "sudo modprobe dhd" and the command give me an error (No such device).

 

But the wired thing. after this command, I get a notification that tell me eth0 is connected (I never connected it)

 

So, I write the command "dmesg" to see if there any difference. and this is what I get

 

 

Spoiler

[  265.060848] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  265.570698] wifi_platform_bus_enumerate device present 1
[  265.570765] ======== Card detection to detect SDIO card! ========
[  265.610380] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  265.626401] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  265.633674] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  265.635108] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  265.638728] sdio: clk 200000000 SDR mode tuning start
[  265.641012] sdio: rx_tuning_result[1] = 10
[  265.642839] sdio: rx_tuning_result[2] = 10
[  265.644591] sdio: rx_tuning_result[3] = 10
[  265.646387] sdio: rx_tuning_result[4] = 10
[  265.646445] sdio: best_win_start =1, best_win_size =4
[  265.646503] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  265.646595] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  265.658025] sdio: queuing unknown CIS tuple 0x80 (1 bytes)
[  265.658591] sdio: queuing unknown CIS tuple 0x81 (1 bytes)
[  265.659132] sdio: queuing unknown CIS tuple 0x82 (1 bytes)
[  265.659402] sdio: new ultra high speed SDR104 SDIO card at address 0001
[  265.659461] sdio: clock 200000000, 4-bit-bus-width
                
[  265.662194] [sdio_reinit] finish
[  267.660723] failed to power up DHD generic adapter, 3 retry left
[  267.677073] wifi_platform_set_power = 0
[  267.677100] ======== PULL WL_REG_ON LOW! ========
[  267.677107] wifi_platform_bus_enumerate device present 0
[  267.677112] ======== Card detection to remove SDIO card! ========
[  267.677175] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  267.878010] wifi_platform_set_power = 1
[  267.878021] ======== PULL WL_REG_ON HIGH! ========
[  267.878040] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  268.078076] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  268.580794] wifi_platform_bus_enumerate device present 1
[  268.580855] ======== Card detection to detect SDIO card! ========
[  268.580904] sdio_reset_comm():
[  268.620722] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  268.636681] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  268.643804] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  268.648900] sdio: clk 200000000 SDR mode tuning start
[  268.651360] sdio: rx_tuning_result[1] = 10
[  268.653503] sdio: rx_tuning_result[2] = 10
[  268.655260] sdio: rx_tuning_result[3] = 10
[  268.656983] sdio: rx_tuning_result[4] = 10
[  268.657041] sdio: best_win_start =1, best_win_size =4
[  268.657100] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  268.657169] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  268.657224] [sdio_reinit] finish
[  270.650767] failed to power up DHD generic adapter, 2 retry left
[  270.667459] wifi_platform_set_power = 0
[  270.667530] ======== PULL WL_REG_ON LOW! ========
[  270.667583] wifi_platform_bus_enumerate device present 0
[  270.667625] ======== Card detection to remove SDIO card! ========
[  270.667781] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  270.868090] wifi_platform_set_power = 1
[  270.868102] ======== PULL WL_REG_ON HIGH! ========
[  270.868121] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  271.068161] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  271.570711] wifi_platform_bus_enumerate device present 1
[  271.570778] ======== Card detection to detect SDIO card! ========
[  271.570827] sdio_reset_comm():
[  271.610664] sdio_read_cis: 1 callbacks suppressed
[  271.610753] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  271.626673] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  271.633692] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  271.635141] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  271.638852] sdio: clk 200000000 SDR mode tuning start
[  271.643293] sdio: rx_tuning_result[1] = 10
[  271.645214] sdio: rx_tuning_result[2] = 10
[  271.647095] sdio: rx_tuning_result[3] = 10
[  271.648971] sdio: rx_tuning_result[4] = 10
[  271.649029] sdio: best_win_start =1, best_win_size =4
[  271.649087] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  271.649159] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  271.649213] [sdio_reinit] finish
[  273.640784] failed to power up DHD generic adapter, 1 retry left
[  273.657455] wifi_platform_set_power = 0
[  273.657525] ======== PULL WL_REG_ON LOW! ========
[  273.657576] wifi_platform_bus_enumerate device present 0
[  273.657619] ======== Card detection to remove SDIO card! ========
[  273.657778] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  273.858087] wifi_platform_set_power = 1
[  273.858109] ======== PULL WL_REG_ON HIGH! ========
[  273.858142] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  274.058181] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  274.560790] wifi_platform_bus_enumerate device present 1
[  274.560858] ======== Card detection to detect SDIO card! ========
[  274.560906] sdio_reset_comm():
[  274.600856] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  274.614839] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  274.620969] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  274.622205] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  274.625417] sdio: clk 200000000 SDR mode tuning start
[  274.626513] sdio: rx_tuning_result[1] = 10
[  274.627475] sdio: rx_tuning_result[2] = 10
[  274.628434] sdio: rx_tuning_result[3] = 10
[  274.629390] sdio: rx_tuning_result[4] = 10
[  274.629412] sdio: best_win_start =1, best_win_size =4
[  274.629436] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  274.629462] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  274.629485] [sdio_reinit] finish
[  276.620757] failed to power up DHD generic adapter, 0 retry left
[  276.637411] wifi_platform_set_power = 0
[  276.637481] ======== PULL WL_REG_ON LOW! ========
[  276.637532] wifi_platform_bus_enumerate device present 0
[  276.637574] ======== Card detection to remove SDIO card! ========
[  276.637729] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  276.837943] failed to power up DHD generic adapter, max retry reached**
[  276.837982] unregister wifi platform drivers
[  276.837988] wifi_platform_bus_enumerate device present 0
[  276.837993] ======== Card detection to remove SDIO card! ========
[  276.838013] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  277.038035] dhd_module_init: Failed to load the driver, try cnt 3
[  277.038060] ======== bcm_wlan_set_plat_data ========
[  277.038064] host_oob_irq: 100
[  277.038068] host_oob_irq_flags=0x414
[  277.038071] dhd_wifi_platform_load: Enter
[  277.038102] Power-up adapter 'DHD generic adapter'
[  277.038106] wifi_platform_set_power = 1
[  277.038110] ======== PULL WL_REG_ON HIGH! ========
[  277.038123] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  277.238154] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  277.740716] wifi_platform_bus_enumerate device present 1
[  277.740779] ======== Card detection to detect SDIO card! ========
[  277.740827] sdio_reset_comm():
[  277.780584] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  277.796622] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  277.803748] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  277.805188] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  277.808913] sdio: clk 200000000 SDR mode tuning start
[  277.811343] sdio: rx_tuning_result[1] = 10
[  277.813213] sdio: rx_tuning_result[2] = 10
[  277.815126] sdio: rx_tuning_result[3] = 10
[  277.816998] sdio: rx_tuning_result[4] = 10
[  277.817054] sdio: best_win_start =1, best_win_size =4
[  277.817112] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  277.817177] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  277.817231] [sdio_reinit] finish
[  279.810803] failed to power up DHD generic adapter, 3 retry left
[  279.827469] wifi_platform_set_power = 0
[  279.827539] ======== PULL WL_REG_ON LOW! ========
[  279.827592] wifi_platform_bus_enumerate device present 0
[  279.827635] ======== Card detection to remove SDIO card! ========
[  279.827792] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  280.028153] wifi_platform_set_power = 1
[  280.028167] ======== PULL WL_REG_ON HIGH! ========
[  280.028189] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  280.228233] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  280.730769] wifi_platform_bus_enumerate device present 1
[  280.730831] ======== Card detection to detect SDIO card! ========
[  280.730880] sdio_reset_comm():
[  280.770801] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  280.786919] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  280.793971] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  280.795425] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  280.799129] sdio: clk 200000000 SDR mode tuning start
[  280.801952] sdio: rx_tuning_result[1] = 10
[  280.803822] sdio: rx_tuning_result[2] = 10
[  280.805664] sdio: rx_tuning_result[3] = 10
[  280.807459] sdio: rx_tuning_result[4] = 10
[  280.807515] sdio: best_win_start =1, best_win_size =4
[  280.807574] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  280.807659] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  280.807714] [sdio_reinit] finish
[  282.800777] failed to power up DHD generic adapter, 2 retry left
[  282.817447] wifi_platform_set_power = 0
[  282.817519] ======== PULL WL_REG_ON LOW! ========
[  282.817569] wifi_platform_bus_enumerate device present 0
[  282.817612] ======== Card detection to remove SDIO card! ========
[  282.817768] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  283.018100] wifi_platform_set_power = 1
[  283.018113] ======== PULL WL_REG_ON HIGH! ========
[  283.018132] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  283.218176] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  283.720703] wifi_platform_bus_enumerate device present 1
[  283.720768] ======== Card detection to detect SDIO card! ========
[  283.720817] sdio_reset_comm():
[  283.760749] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  283.776757] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  283.783787] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  283.785195] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  283.788821] sdio: clk 200000000 SDR mode tuning start
[  283.791241] sdio: rx_tuning_result[1] = 10
[  283.792692] sdio: rx_tuning_result[2] = 10
[  283.793364] sdio: rx_tuning_result[3] = 10
[  283.794027] sdio: rx_tuning_result[4] = 10
[  283.794039] sdio: best_win_start =1, best_win_size =4
[  283.794052] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  283.794067] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  283.794082] [sdio_reinit] finish
[  285.790835] failed to power up DHD generic adapter, 1 retry left
[  285.807496] wifi_platform_set_power = 0
[  285.807572] ======== PULL WL_REG_ON LOW! ========
[  285.807624] wifi_platform_bus_enumerate device present 0
[  285.807667] ======== Card detection to remove SDIO card! ========
[  285.807816] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  286.008053] wifi_platform_set_power = 1
[  286.008066] ======== PULL WL_REG_ON HIGH! ========
[  286.008085] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  286.208124] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  286.710781] wifi_platform_bus_enumerate device present 1
[  286.710848] ======== Card detection to detect SDIO card! ========
[  286.710896] sdio_reset_comm():
[  286.750765] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  286.766741] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  286.773791] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  286.775238] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  286.778941] sdio: clk 200000000 SDR mode tuning start
[  286.781783] sdio: rx_tuning_result[1] = 10
[  286.782528] sdio: rx_tuning_result[2] = 10
[  286.783193] sdio: rx_tuning_result[3] = 10
[  286.783992] sdio: rx_tuning_result[4] = 10
[  286.784004] sdio: best_win_start =1, best_win_size =4
[  286.784016] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  286.784034] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  286.784049] [sdio_reinit] finish
[  288.780830] failed to power up DHD generic adapter, 0 retry left
[  288.797504] wifi_platform_set_power = 0
[  288.797574] ======== PULL WL_REG_ON LOW! ========
[  288.797625] wifi_platform_bus_enumerate device present 0
[  288.797669] ======== Card detection to remove SDIO card! ========
[  288.797825] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  288.998266] failed to power up DHD generic adapter, max retry reached**
[  288.998301] unregister wifi platform drivers
[  288.998306] wifi_platform_bus_enumerate device present 0
[  288.998310] ======== Card detection to remove SDIO card! ========
[  288.998330] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  289.198354] dhd_module_init: Failed to load the driver, try cnt 2
[  289.198384] ======== bcm_wlan_set_plat_data ========
[  289.198389] host_oob_irq: 100
[  289.198393] host_oob_irq_flags=0x414
[  289.198396] dhd_wifi_platform_load: Enter
[  289.198429] Power-up adapter 'DHD generic adapter'
[  289.198433] wifi_platform_set_power = 1
[  289.198437] ======== PULL WL_REG_ON HIGH! ========
[  289.198457] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  289.398485] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  289.900717] wifi_platform_bus_enumerate device present 1
[  289.900778] ======== Card detection to detect SDIO card! ========
[  289.900826] sdio_reset_comm():
[  289.941212] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  289.957360] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  289.964421] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  289.965652] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  289.968735] sdio: clk 200000000 SDR mode tuning start
[  289.969485] sdio: rx_tuning_result[1] = 10
[  289.970148] sdio: rx_tuning_result[2] = 10
[  289.971019] sdio: rx_tuning_result[3] = 10
[  289.971719] sdio: rx_tuning_result[4] = 10
[  289.971732] sdio: best_win_start =1, best_win_size =4
[  289.971744] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  289.971760] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  289.971774] [sdio_reinit] finish
[  291.970788] failed to power up DHD generic adapter, 3 retry left
[  291.987480] wifi_platform_set_power = 0
[  291.987551] ======== PULL WL_REG_ON LOW! ========
[  291.987605] wifi_platform_bus_enumerate device present 0
[  291.987649] ======== Card detection to remove SDIO card! ========
[  291.987808] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  292.188146] wifi_platform_set_power = 1
[  292.188159] ======== PULL WL_REG_ON HIGH! ========
[  292.188179] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  292.388215] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  292.890767] wifi_platform_bus_enumerate device present 1
[  292.890829] ======== Card detection to detect SDIO card! ========
[  292.890878] sdio_reset_comm():
[  292.930827] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  292.947272] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  292.954520] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  292.955983] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  292.959704] sdio: clk 200000000 SDR mode tuning start
[  292.962221] sdio: rx_tuning_result[1] = 10
[  292.962737] sdio: rx_tuning_result[2] = 10
[  292.963233] sdio: rx_tuning_result[3] = 10
[  292.963725] sdio: rx_tuning_result[4] = 10
[  292.963737] sdio: best_win_start =1, best_win_size =4
[  292.963749] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  292.963766] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  292.963778] [sdio_reinit] finish
[  294.960770] failed to power up DHD generic adapter, 2 retry left
[  294.977440] wifi_platform_set_power = 0
[  294.977512] ======== PULL WL_REG_ON LOW! ========
[  294.977564] wifi_platform_bus_enumerate device present 0
[  294.977608] ======== Card detection to remove SDIO card! ========
[  294.977762] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  295.178194] wifi_platform_set_power = 1
[  295.178206] ======== PULL WL_REG_ON HIGH! ========
[  295.178225] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  295.378273] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  295.880767] wifi_platform_bus_enumerate device present 1
[  295.880833] ======== Card detection to detect SDIO card! ========
[  295.880883] sdio_reset_comm():
[  295.920786] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  295.936719] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  295.943788] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  295.945280] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  295.949105] sdio: clk 200000000 SDR mode tuning start
[  295.953173] sdio: rx_tuning_result[1] = 10
[  295.955118] sdio: rx_tuning_result[2] = 10
[  295.957042] sdio: rx_tuning_result[3] = 10
[  295.959158] sdio: rx_tuning_result[4] = 10
[  295.959228] sdio: best_win_start =1, best_win_size =4
[  295.959288] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  295.959376] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  295.959433] [sdio_reinit] finish
[  297.950756] failed to power up DHD generic adapter, 1 retry left
[  297.967438] wifi_platform_set_power = 0
[  297.967508] ======== PULL WL_REG_ON LOW! ========
[  297.967561] wifi_platform_bus_enumerate device present 0
[  297.967604] ======== Card detection to remove SDIO card! ========
[  297.967762] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  298.168239] wifi_platform_set_power = 1
[  298.168253] ======== PULL WL_REG_ON HIGH! ========
[  298.168271] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  298.368304] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  298.870707] wifi_platform_bus_enumerate device present 1
[  298.870770] ======== Card detection to detect SDIO card! ========
[  298.870819] sdio_reset_comm():
[  298.910668] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  298.926646] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  298.933769] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  298.935217] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  298.938910] sdio: clk 200000000 SDR mode tuning start
[  298.941210] sdio: rx_tuning_result[1] = 10
[  298.943102] sdio: rx_tuning_result[2] = 10
[  298.944992] sdio: rx_tuning_result[3] = 10
[  298.946884] sdio: rx_tuning_result[4] = 10
[  298.946941] sdio: best_win_start =1, best_win_size =4
[  298.946999] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  298.947064] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  298.947118] [sdio_reinit] finish
[  300.940787] failed to power up DHD generic adapter, 0 retry left
[  300.957458] wifi_platform_set_power = 0
[  300.957528] ======== PULL WL_REG_ON LOW! ========
[  300.957581] wifi_platform_bus_enumerate device present 0
[  300.957624] ======== Card detection to remove SDIO card! ========
[  300.957780] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  301.158112] failed to power up DHD generic adapter, max retry reached**
[  301.158166] unregister wifi platform drivers
[  301.158178] wifi_platform_bus_enumerate device present 0
[  301.158187] ======== Card detection to remove SDIO card! ========
[  301.158219] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  301.358242] dhd_module_init: Failed to load the driver, try cnt 1
[  301.358265] ======== bcm_wlan_set_plat_data ========
[  301.358269] host_oob_irq: 100
[  301.358272] host_oob_irq_flags=0x414
[  301.358275] dhd_wifi_platform_load: Enter
[  301.358293] Power-up adapter 'DHD generic adapter'
[  301.358296] wifi_platform_set_power = 1
[  301.358300] ======== PULL WL_REG_ON HIGH! ========
[  301.358312] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  301.558340] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  302.060954] wifi_platform_bus_enumerate device present 1
[  302.061017] ======== Card detection to detect SDIO card! ========
[  302.061066] sdio_reset_comm():
[  302.100697] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  302.116611] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  302.123781] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  302.125228] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  302.128944] sdio: clk 200000000 SDR mode tuning start
[  302.131519] sdio: rx_tuning_result[1] = 10
[  302.133673] sdio: rx_tuning_result[2] = 10
[  302.135720] sdio: rx_tuning_result[3] = 10
[  302.137599] sdio: rx_tuning_result[4] = 10
[  302.137654] sdio: best_win_start =1, best_win_size =4
[  302.137713] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  302.137778] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  302.137831] [sdio_reinit] finish
[  304.130761] failed to power up DHD generic adapter, 3 retry left
[  304.147450] wifi_platform_set_power = 0
[  304.147521] ======== PULL WL_REG_ON LOW! ========
[  304.147573] wifi_platform_bus_enumerate device present 0
[  304.147616] ======== Card detection to remove SDIO card! ========
[  304.147772] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  304.348304] wifi_platform_set_power = 1
[  304.348372] ======== PULL WL_REG_ON HIGH! ========
[  304.348490] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  304.548910] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  305.050679] wifi_platform_bus_enumerate device present 1
[  305.050740] ======== Card detection to detect SDIO card! ========
[  305.050790] sdio_reset_comm():
[  305.088747] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  305.102743] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  305.108759] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  305.109983] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  305.113305] sdio: clk 200000000 SDR mode tuning start
[  305.114416] sdio: rx_tuning_result[1] = 10
[  305.115395] sdio: rx_tuning_result[2] = 10
[  305.116371] sdio: rx_tuning_result[3] = 10
[  305.117434] sdio: rx_tuning_result[4] = 10
[  305.117458] sdio: best_win_start =1, best_win_size =4
[  305.117481] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  305.117509] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  305.117532] [sdio_reinit] finish
[  307.110718] failed to power up DHD generic adapter, 2 retry left
[  307.127380] wifi_platform_set_power = 0
[  307.127451] ======== PULL WL_REG_ON LOW! ========
[  307.127503] wifi_platform_bus_enumerate device present 0
[  307.127546] ======== Card detection to remove SDIO card! ========
[  307.127703] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  307.328307] wifi_platform_set_power = 1
[  307.328378] ======== PULL WL_REG_ON HIGH! ========
[  307.328503] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  307.528987] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  308.030716] wifi_platform_bus_enumerate device present 1
[  308.030781] ======== Card detection to detect SDIO card! ========
[  308.030831] sdio_reset_comm():
[  308.070710] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  308.086758] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  308.093946] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  308.095406] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  308.099131] sdio: clk 200000000 SDR mode tuning start
[  308.101604] sdio: rx_tuning_result[1] = 10
[  308.102812] sdio: rx_tuning_result[2] = 10
[  308.103498] sdio: rx_tuning_result[3] = 10
[  308.104175] sdio: rx_tuning_result[4] = 10
[  308.104188] sdio: best_win_start =1, best_win_size =4
[  308.104201] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  308.104217] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  308.104230] [sdio_reinit] finish
[  310.100806] failed to power up DHD generic adapter, 1 retry left
[  310.117478] wifi_platform_set_power = 0
[  310.117549] ======== PULL WL_REG_ON LOW! ========
[  310.117601] wifi_platform_bus_enumerate device present 0
[  310.117644] ======== Card detection to remove SDIO card! ========
[  310.117798] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  310.318232] wifi_platform_set_power = 1
[  310.318245] ======== PULL WL_REG_ON HIGH! ========
[  310.318265] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  310.518296] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  311.020693] wifi_platform_bus_enumerate device present 1
[  311.020755] ======== Card detection to detect SDIO card! ========
[  311.020804] sdio_reset_comm():
[  311.060672] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  311.075005] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  311.081053] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  311.082290] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  311.085522] sdio: clk 200000000 SDR mode tuning start
[  311.086624] sdio: rx_tuning_result[1] = 10
[  311.087603] sdio: rx_tuning_result[2] = 10
[  311.088576] sdio: rx_tuning_result[3] = 10
[  311.089548] sdio: rx_tuning_result[4] = 10
[  311.089570] sdio: best_win_start =1, best_win_size =4
[  311.089594] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  311.089632] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  311.089654] [sdio_reinit] finish
[  313.080841] failed to power up DHD generic adapter, 0 retry left
[  313.097519] wifi_platform_set_power = 0
[  313.097590] ======== PULL WL_REG_ON LOW! ========
[  313.097642] wifi_platform_bus_enumerate device present 0
[  313.097685] ======== Card detection to remove SDIO card! ========
[  313.097842] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  313.298179] failed to power up DHD generic adapter, max retry reached**
[  313.298219] unregister wifi platform drivers
[  313.298225] wifi_platform_bus_enumerate device present 0
[  313.298230] ======== Card detection to remove SDIO card! ========
[  313.298251] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  313.498271] dhd_module_init: Failed to load the driver, try cnt 0
[  313.498294] dhd_module_init: Failed to load driver max retry reached**
[  313.498298] dhd_module_init: Exit err=-19
[  322.156974] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

 

 

Link to comment
Share on other sites

On 22/06/2017 at 7:06 PM, nodymoha said:

So, This is what I did

 

First. I extracted dtb file from the working android using this method:

And I found that the 1GB version is the same. didn't change.

but my version (which is 2GB) it has a little bit of a change.

 

So, I took the new dtb file and run with it.

 

Unfortunately, no progress has been made. :(

 

 

  Reveal hidden contents


[  265.060848] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  265.570698] wifi_platform_bus_enumerate device present 1
[  265.570765] ======== Card detection to detect SDIO card! ========
[  265.610380] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  265.626401] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  265.633674] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  265.635108] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  265.638728] sdio: clk 200000000 SDR mode tuning start
[  265.641012] sdio: rx_tuning_result[1] = 10
[  265.642839] sdio: rx_tuning_result[2] = 10
[  265.644591] sdio: rx_tuning_result[3] = 10
[  265.646387] sdio: rx_tuning_result[4] = 10
[  265.646445] sdio: best_win_start =1, best_win_size =4
[  265.646503] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  265.646595] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  265.658025] sdio: queuing unknown CIS tuple 0x80 (1 bytes)
[  265.658591] sdio: queuing unknown CIS tuple 0x81 (1 bytes)
[  265.659132] sdio: queuing unknown CIS tuple 0x82 (1 bytes)
[  265.659402] sdio: new ultra high speed SDR104 SDIO card at address 0001
[  265.659461] sdio: clock 200000000, 4-bit-bus-width
                
[  265.662194] [sdio_reinit] finish
[  267.660723] failed to power up DHD generic adapter, 3 retry left
[  267.677073] wifi_platform_set_power = 0
[  267.677100] ======== PULL WL_REG_ON LOW! ========
[  267.677107] wifi_platform_bus_enumerate device present 0
[  267.677112] ======== Card detection to remove SDIO card! ========
[  267.677175] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  267.878010] wifi_platform_set_power = 1
[  267.878021] ======== PULL WL_REG_ON HIGH! ========
[  267.878040] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  268.078076] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  268.580794] wifi_platform_bus_enumerate device present 1
[  268.580855] ======== Card detection to detect SDIO card! ========
[  268.580904] sdio_reset_comm():
[  268.620722] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  268.636681] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  268.643804] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  268.648900] sdio: clk 200000000 SDR mode tuning start
[  268.651360] sdio: rx_tuning_result[1] = 10
[  268.653503] sdio: rx_tuning_result[2] = 10
[  268.655260] sdio: rx_tuning_result[3] = 10
[  268.656983] sdio: rx_tuning_result[4] = 10
[  268.657041] sdio: best_win_start =1, best_win_size =4
[  268.657100] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  268.657169] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  268.657224] [sdio_reinit] finish
[  270.650767] failed to power up DHD generic adapter, 2 retry left
[  270.667459] wifi_platform_set_power = 0
[  270.667530] ======== PULL WL_REG_ON LOW! ========
[  270.667583] wifi_platform_bus_enumerate device present 0
[  270.667625] ======== Card detection to remove SDIO card! ========
[  270.667781] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  270.868090] wifi_platform_set_power = 1
[  270.868102] ======== PULL WL_REG_ON HIGH! ========
[  270.868121] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  271.068161] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  271.570711] wifi_platform_bus_enumerate device present 1
[  271.570778] ======== Card detection to detect SDIO card! ========
[  271.570827] sdio_reset_comm():
[  271.610664] sdio_read_cis: 1 callbacks suppressed
[  271.610753] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  271.626673] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  271.633692] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  271.635141] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  271.638852] sdio: clk 200000000 SDR mode tuning start
[  271.643293] sdio: rx_tuning_result[1] = 10
[  271.645214] sdio: rx_tuning_result[2] = 10
[  271.647095] sdio: rx_tuning_result[3] = 10
[  271.648971] sdio: rx_tuning_result[4] = 10
[  271.649029] sdio: best_win_start =1, best_win_size =4
[  271.649087] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  271.649159] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  271.649213] [sdio_reinit] finish
[  273.640784] failed to power up DHD generic adapter, 1 retry left
[  273.657455] wifi_platform_set_power = 0
[  273.657525] ======== PULL WL_REG_ON LOW! ========
[  273.657576] wifi_platform_bus_enumerate device present 0
[  273.657619] ======== Card detection to remove SDIO card! ========
[  273.657778] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  273.858087] wifi_platform_set_power = 1
[  273.858109] ======== PULL WL_REG_ON HIGH! ========
[  273.858142] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  274.058181] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  274.560790] wifi_platform_bus_enumerate device present 1
[  274.560858] ======== Card detection to detect SDIO card! ========
[  274.560906] sdio_reset_comm():
[  274.600856] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  274.614839] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  274.620969] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  274.622205] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  274.625417] sdio: clk 200000000 SDR mode tuning start
[  274.626513] sdio: rx_tuning_result[1] = 10
[  274.627475] sdio: rx_tuning_result[2] = 10
[  274.628434] sdio: rx_tuning_result[3] = 10
[  274.629390] sdio: rx_tuning_result[4] = 10
[  274.629412] sdio: best_win_start =1, best_win_size =4
[  274.629436] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  274.629462] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  274.629485] [sdio_reinit] finish
[  276.620757] failed to power up DHD generic adapter, 0 retry left
[  276.637411] wifi_platform_set_power = 0
[  276.637481] ======== PULL WL_REG_ON LOW! ========
[  276.637532] wifi_platform_bus_enumerate device present 0
[  276.637574] ======== Card detection to remove SDIO card! ========
[  276.637729] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  276.837943] failed to power up DHD generic adapter, max retry reached**
[  276.837982] unregister wifi platform drivers
[  276.837988] wifi_platform_bus_enumerate device present 0
[  276.837993] ======== Card detection to remove SDIO card! ========
[  276.838013] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  277.038035] dhd_module_init: Failed to load the driver, try cnt 3
[  277.038060] ======== bcm_wlan_set_plat_data ========
[  277.038064] host_oob_irq: 100
[  277.038068] host_oob_irq_flags=0x414
[  277.038071] dhd_wifi_platform_load: Enter
[  277.038102] Power-up adapter 'DHD generic adapter'
[  277.038106] wifi_platform_set_power = 1
[  277.038110] ======== PULL WL_REG_ON HIGH! ========
[  277.038123] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  277.238154] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  277.740716] wifi_platform_bus_enumerate device present 1
[  277.740779] ======== Card detection to detect SDIO card! ========
[  277.740827] sdio_reset_comm():
[  277.780584] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  277.796622] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  277.803748] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  277.805188] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  277.808913] sdio: clk 200000000 SDR mode tuning start
[  277.811343] sdio: rx_tuning_result[1] = 10
[  277.813213] sdio: rx_tuning_result[2] = 10
[  277.815126] sdio: rx_tuning_result[3] = 10
[  277.816998] sdio: rx_tuning_result[4] = 10
[  277.817054] sdio: best_win_start =1, best_win_size =4
[  277.817112] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  277.817177] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  277.817231] [sdio_reinit] finish
[  279.810803] failed to power up DHD generic adapter, 3 retry left
[  279.827469] wifi_platform_set_power = 0
[  279.827539] ======== PULL WL_REG_ON LOW! ========
[  279.827592] wifi_platform_bus_enumerate device present 0
[  279.827635] ======== Card detection to remove SDIO card! ========
[  279.827792] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  280.028153] wifi_platform_set_power = 1
[  280.028167] ======== PULL WL_REG_ON HIGH! ========
[  280.028189] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  280.228233] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  280.730769] wifi_platform_bus_enumerate device present 1
[  280.730831] ======== Card detection to detect SDIO card! ========
[  280.730880] sdio_reset_comm():
[  280.770801] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  280.786919] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  280.793971] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  280.795425] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  280.799129] sdio: clk 200000000 SDR mode tuning start
[  280.801952] sdio: rx_tuning_result[1] = 10
[  280.803822] sdio: rx_tuning_result[2] = 10
[  280.805664] sdio: rx_tuning_result[3] = 10
[  280.807459] sdio: rx_tuning_result[4] = 10
[  280.807515] sdio: best_win_start =1, best_win_size =4
[  280.807574] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  280.807659] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  280.807714] [sdio_reinit] finish
[  282.800777] failed to power up DHD generic adapter, 2 retry left
[  282.817447] wifi_platform_set_power = 0
[  282.817519] ======== PULL WL_REG_ON LOW! ========
[  282.817569] wifi_platform_bus_enumerate device present 0
[  282.817612] ======== Card detection to remove SDIO card! ========
[  282.817768] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  283.018100] wifi_platform_set_power = 1
[  283.018113] ======== PULL WL_REG_ON HIGH! ========
[  283.018132] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  283.218176] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  283.720703] wifi_platform_bus_enumerate device present 1
[  283.720768] ======== Card detection to detect SDIO card! ========
[  283.720817] sdio_reset_comm():
[  283.760749] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  283.776757] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  283.783787] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  283.785195] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  283.788821] sdio: clk 200000000 SDR mode tuning start
[  283.791241] sdio: rx_tuning_result[1] = 10
[  283.792692] sdio: rx_tuning_result[2] = 10
[  283.793364] sdio: rx_tuning_result[3] = 10
[  283.794027] sdio: rx_tuning_result[4] = 10
[  283.794039] sdio: best_win_start =1, best_win_size =4
[  283.794052] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  283.794067] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  283.794082] [sdio_reinit] finish
[  285.790835] failed to power up DHD generic adapter, 1 retry left
[  285.807496] wifi_platform_set_power = 0
[  285.807572] ======== PULL WL_REG_ON LOW! ========
[  285.807624] wifi_platform_bus_enumerate device present 0
[  285.807667] ======== Card detection to remove SDIO card! ========
[  285.807816] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  286.008053] wifi_platform_set_power = 1
[  286.008066] ======== PULL WL_REG_ON HIGH! ========
[  286.008085] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  286.208124] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  286.710781] wifi_platform_bus_enumerate device present 1
[  286.710848] ======== Card detection to detect SDIO card! ========
[  286.710896] sdio_reset_comm():
[  286.750765] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  286.766741] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  286.773791] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  286.775238] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  286.778941] sdio: clk 200000000 SDR mode tuning start
[  286.781783] sdio: rx_tuning_result[1] = 10
[  286.782528] sdio: rx_tuning_result[2] = 10
[  286.783193] sdio: rx_tuning_result[3] = 10
[  286.783992] sdio: rx_tuning_result[4] = 10
[  286.784004] sdio: best_win_start =1, best_win_size =4
[  286.784016] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  286.784034] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  286.784049] [sdio_reinit] finish
[  288.780830] failed to power up DHD generic adapter, 0 retry left
[  288.797504] wifi_platform_set_power = 0
[  288.797574] ======== PULL WL_REG_ON LOW! ========
[  288.797625] wifi_platform_bus_enumerate device present 0
[  288.797669] ======== Card detection to remove SDIO card! ========
[  288.797825] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  288.998266] failed to power up DHD generic adapter, max retry reached**
[  288.998301] unregister wifi platform drivers
[  288.998306] wifi_platform_bus_enumerate device present 0
[  288.998310] ======== Card detection to remove SDIO card! ========
[  288.998330] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  289.198354] dhd_module_init: Failed to load the driver, try cnt 2
[  289.198384] ======== bcm_wlan_set_plat_data ========
[  289.198389] host_oob_irq: 100
[  289.198393] host_oob_irq_flags=0x414
[  289.198396] dhd_wifi_platform_load: Enter
[  289.198429] Power-up adapter 'DHD generic adapter'
[  289.198433] wifi_platform_set_power = 1
[  289.198437] ======== PULL WL_REG_ON HIGH! ========
[  289.198457] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  289.398485] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  289.900717] wifi_platform_bus_enumerate device present 1
[  289.900778] ======== Card detection to detect SDIO card! ========
[  289.900826] sdio_reset_comm():
[  289.941212] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  289.957360] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  289.964421] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  289.965652] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  289.968735] sdio: clk 200000000 SDR mode tuning start
[  289.969485] sdio: rx_tuning_result[1] = 10
[  289.970148] sdio: rx_tuning_result[2] = 10
[  289.971019] sdio: rx_tuning_result[3] = 10
[  289.971719] sdio: rx_tuning_result[4] = 10
[  289.971732] sdio: best_win_start =1, best_win_size =4
[  289.971744] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  289.971760] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  289.971774] [sdio_reinit] finish
[  291.970788] failed to power up DHD generic adapter, 3 retry left
[  291.987480] wifi_platform_set_power = 0
[  291.987551] ======== PULL WL_REG_ON LOW! ========
[  291.987605] wifi_platform_bus_enumerate device present 0
[  291.987649] ======== Card detection to remove SDIO card! ========
[  291.987808] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  292.188146] wifi_platform_set_power = 1
[  292.188159] ======== PULL WL_REG_ON HIGH! ========
[  292.188179] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  292.388215] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  292.890767] wifi_platform_bus_enumerate device present 1
[  292.890829] ======== Card detection to detect SDIO card! ========
[  292.890878] sdio_reset_comm():
[  292.930827] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  292.947272] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  292.954520] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  292.955983] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  292.959704] sdio: clk 200000000 SDR mode tuning start
[  292.962221] sdio: rx_tuning_result[1] = 10
[  292.962737] sdio: rx_tuning_result[2] = 10
[  292.963233] sdio: rx_tuning_result[3] = 10
[  292.963725] sdio: rx_tuning_result[4] = 10
[  292.963737] sdio: best_win_start =1, best_win_size =4
[  292.963749] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  292.963766] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  292.963778] [sdio_reinit] finish
[  294.960770] failed to power up DHD generic adapter, 2 retry left
[  294.977440] wifi_platform_set_power = 0
[  294.977512] ======== PULL WL_REG_ON LOW! ========
[  294.977564] wifi_platform_bus_enumerate device present 0
[  294.977608] ======== Card detection to remove SDIO card! ========
[  294.977762] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  295.178194] wifi_platform_set_power = 1
[  295.178206] ======== PULL WL_REG_ON HIGH! ========
[  295.178225] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  295.378273] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  295.880767] wifi_platform_bus_enumerate device present 1
[  295.880833] ======== Card detection to detect SDIO card! ========
[  295.880883] sdio_reset_comm():
[  295.920786] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  295.936719] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  295.943788] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  295.945280] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  295.949105] sdio: clk 200000000 SDR mode tuning start
[  295.953173] sdio: rx_tuning_result[1] = 10
[  295.955118] sdio: rx_tuning_result[2] = 10
[  295.957042] sdio: rx_tuning_result[3] = 10
[  295.959158] sdio: rx_tuning_result[4] = 10
[  295.959228] sdio: best_win_start =1, best_win_size =4
[  295.959288] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  295.959376] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  295.959433] [sdio_reinit] finish
[  297.950756] failed to power up DHD generic adapter, 1 retry left
[  297.967438] wifi_platform_set_power = 0
[  297.967508] ======== PULL WL_REG_ON LOW! ========
[  297.967561] wifi_platform_bus_enumerate device present 0
[  297.967604] ======== Card detection to remove SDIO card! ========
[  297.967762] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  298.168239] wifi_platform_set_power = 1
[  298.168253] ======== PULL WL_REG_ON HIGH! ========
[  298.168271] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  298.368304] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  298.870707] wifi_platform_bus_enumerate device present 1
[  298.870770] ======== Card detection to detect SDIO card! ========
[  298.870819] sdio_reset_comm():
[  298.910668] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  298.926646] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  298.933769] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  298.935217] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  298.938910] sdio: clk 200000000 SDR mode tuning start
[  298.941210] sdio: rx_tuning_result[1] = 10
[  298.943102] sdio: rx_tuning_result[2] = 10
[  298.944992] sdio: rx_tuning_result[3] = 10
[  298.946884] sdio: rx_tuning_result[4] = 10
[  298.946941] sdio: best_win_start =1, best_win_size =4
[  298.946999] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  298.947064] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  298.947118] [sdio_reinit] finish
[  300.940787] failed to power up DHD generic adapter, 0 retry left
[  300.957458] wifi_platform_set_power = 0
[  300.957528] ======== PULL WL_REG_ON LOW! ========
[  300.957581] wifi_platform_bus_enumerate device present 0
[  300.957624] ======== Card detection to remove SDIO card! ========
[  300.957780] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  301.158112] failed to power up DHD generic adapter, max retry reached**
[  301.158166] unregister wifi platform drivers
[  301.158178] wifi_platform_bus_enumerate device present 0
[  301.158187] ======== Card detection to remove SDIO card! ========
[  301.158219] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  301.358242] dhd_module_init: Failed to load the driver, try cnt 1
[  301.358265] ======== bcm_wlan_set_plat_data ========
[  301.358269] host_oob_irq: 100
[  301.358272] host_oob_irq_flags=0x414
[  301.358275] dhd_wifi_platform_load: Enter
[  301.358293] Power-up adapter 'DHD generic adapter'
[  301.358296] wifi_platform_set_power = 1
[  301.358300] ======== PULL WL_REG_ON HIGH! ========
[  301.358312] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  301.558340] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  302.060954] wifi_platform_bus_enumerate device present 1
[  302.061017] ======== Card detection to detect SDIO card! ========
[  302.061066] sdio_reset_comm():
[  302.100697] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  302.116611] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  302.123781] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  302.125228] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  302.128944] sdio: clk 200000000 SDR mode tuning start
[  302.131519] sdio: rx_tuning_result[1] = 10
[  302.133673] sdio: rx_tuning_result[2] = 10
[  302.135720] sdio: rx_tuning_result[3] = 10
[  302.137599] sdio: rx_tuning_result[4] = 10
[  302.137654] sdio: best_win_start =1, best_win_size =4
[  302.137713] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  302.137778] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  302.137831] [sdio_reinit] finish
[  304.130761] failed to power up DHD generic adapter, 3 retry left
[  304.147450] wifi_platform_set_power = 0
[  304.147521] ======== PULL WL_REG_ON LOW! ========
[  304.147573] wifi_platform_bus_enumerate device present 0
[  304.147616] ======== Card detection to remove SDIO card! ========
[  304.147772] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  304.348304] wifi_platform_set_power = 1
[  304.348372] ======== PULL WL_REG_ON HIGH! ========
[  304.348490] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  304.548910] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  305.050679] wifi_platform_bus_enumerate device present 1
[  305.050740] ======== Card detection to detect SDIO card! ========
[  305.050790] sdio_reset_comm():
[  305.088747] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  305.102743] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  305.108759] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  305.109983] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  305.113305] sdio: clk 200000000 SDR mode tuning start
[  305.114416] sdio: rx_tuning_result[1] = 10
[  305.115395] sdio: rx_tuning_result[2] = 10
[  305.116371] sdio: rx_tuning_result[3] = 10
[  305.117434] sdio: rx_tuning_result[4] = 10
[  305.117458] sdio: best_win_start =1, best_win_size =4
[  305.117481] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  305.117509] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  305.117532] [sdio_reinit] finish
[  307.110718] failed to power up DHD generic adapter, 2 retry left
[  307.127380] wifi_platform_set_power = 0
[  307.127451] ======== PULL WL_REG_ON LOW! ========
[  307.127503] wifi_platform_bus_enumerate device present 0
[  307.127546] ======== Card detection to remove SDIO card! ========
[  307.127703] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  307.328307] wifi_platform_set_power = 1
[  307.328378] ======== PULL WL_REG_ON HIGH! ========
[  307.328503] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  307.528987] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  308.030716] wifi_platform_bus_enumerate device present 1
[  308.030781] ======== Card detection to detect SDIO card! ========
[  308.030831] sdio_reset_comm():
[  308.070710] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  308.086758] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  308.093946] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  308.095406] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  308.099131] sdio: clk 200000000 SDR mode tuning start
[  308.101604] sdio: rx_tuning_result[1] = 10
[  308.102812] sdio: rx_tuning_result[2] = 10
[  308.103498] sdio: rx_tuning_result[3] = 10
[  308.104175] sdio: rx_tuning_result[4] = 10
[  308.104188] sdio: best_win_start =1, best_win_size =4
[  308.104201] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  308.104217] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  308.104230] [sdio_reinit] finish
[  310.100806] failed to power up DHD generic adapter, 1 retry left
[  310.117478] wifi_platform_set_power = 0
[  310.117549] ======== PULL WL_REG_ON LOW! ========
[  310.117601] wifi_platform_bus_enumerate device present 0
[  310.117644] ======== Card detection to remove SDIO card! ========
[  310.117798] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  310.318232] wifi_platform_set_power = 1
[  310.318245] ======== PULL WL_REG_ON HIGH! ========
[  310.318265] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  310.518296] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Enable! 240
[  311.020693] wifi_platform_bus_enumerate device present 1
[  311.020755] ======== Card detection to detect SDIO card! ========
[  311.020804] sdio_reset_comm():
[  311.060672] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[  311.075005] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[  311.081053] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[  311.082290] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[  311.085522] sdio: clk 200000000 SDR mode tuning start
[  311.086624] sdio: rx_tuning_result[1] = 10
[  311.087603] sdio: rx_tuning_result[2] = 10
[  311.088576] sdio: rx_tuning_result[3] = 10
[  311.089548] sdio: rx_tuning_result[4] = 10
[  311.089570] sdio: best_win_start =1, best_win_size =4
[  311.089594] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[  311.089632] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[  311.089654] [sdio_reinit] finish
[  313.080841] failed to power up DHD generic adapter, 0 retry left
[  313.097519] wifi_platform_set_power = 0
[  313.097590] ======== PULL WL_REG_ON LOW! ========
[  313.097642] wifi_platform_bus_enumerate device present 0
[  313.097685] ======== Card detection to remove SDIO card! ========
[  313.097842] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  313.298179] failed to power up DHD generic adapter, max retry reached**
[  313.298219] unregister wifi platform drivers
[  313.298225] wifi_platform_bus_enumerate device present 0
[  313.298230] ======== Card detection to remove SDIO card! ========
[  313.298251] aml_wifi wifi.33: [extern_wifi_set_enable] WIFI  Disable! 240
[  313.498271] dhd_module_init: Failed to load the driver, try cnt 0
[  313.498294] dhd_module_init: Failed to load driver max retry reached**
[  313.498298] dhd_module_init: Exit err=-19
[  322.156974] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

 

 

The dtb file must match your hardware and kernel exactly. You can see example source code in linux kernel source directory: linux/arch/arm64/boot/dts/amlogic/.  You did write that you tested my method: https://forum.armbian.com/index.php?/topic/3401-sunvell-t95z-plus-booting-armbian-from-sd-card/#comment-33682

 

First step is see the wlan0 device with dmesg. Adding wifi_dummy to /etc/modules made that. Then with the ethernet cable update Armbian to Debian testing, install wicd and remove networkmanager package and systemd networking.service.  Maybe our S912 tvboxes do differ so much that my method does not work. With balbes150 kernel 3.14 everything works. balbes150 4.9 kernel does not have audio driver and network does not work.

 

I can not see in your dmesg that if the firmware for wifi is found or not. Maybe you do need to install the correct firmware. Firmware can have many files, all of them you should put in /lib/firmware/bcrm.

 

Link to comment
Share on other sites

I tried to install on mecool bb2 pro s912:

Armbian_5.27_S9xxx_Ubuntu_xenial_3.14.29_mate_KODI_20170623.img.xz

The installation did not start with gxm_q200_3g.dtb (dtb.img). It was only after deleting the dtb.img file that the installation went through correctly.

Wifi works after "sudo modprobe dhd"

Unfortunately launching KODI causes artifacts.

Does KODI have any chance of running under ubuntu on my device without hardware acceleration?
( OpenElec works very well )

Link to comment
Share on other sites

7 hours ago, Dariusz Biernat said:

Unfortunately launching KODI causes artifacts.

Does KODI have any chance of running under ubuntu on my device without hardware acceleration?
( OpenElec works very well )

Kodi is a user interface that can use ( http://kodi.wiki/view/external_players ) other Linux software to play videos and music ( https://packages.debian.org/testing/video/). If the other  video players do not work, then Kodi does not work either. Chromium browser uses all cpu cores to play youtube videos correctly so a light change is that some other player can too. Armbian desktop mp4 files do not work with the default player.

Link to comment
Share on other sites

Hello everyone

Does anyone have or knows which version of dtb works with the Beelink GT1 A912 AP6255

tried Armbian_5.27_S9xxx_Ubuntu_xenial_3.14.29_mate_20170619 and dtb in folder for

beelink_gt1_g2
gxm_q201_2g
vega_s96

Only with vega_s96 have working ethernet but no wifi

 

Link to comment
Share on other sites

1 hour ago, ad_lopta said:

Hello everyone

Does anyone have or knows which version of dtb works with the Beelink GT1 A912 AP6255

tried Armbian_5.27_S9xxx_Ubuntu_xenial_3.14.29_mate_20170619 and dtb in folder for

beelink_gt1_g2
gxm_q201_2g
vega_s96

Only with vega_s96 have working ethernet but no wifi

 

vega_s96.dtb does work with Sunvell T95Z Plus. and Jessie Xfce. Copy it to as BOOT/ dtb.img. With ap6255 wifi use the dhd driver, modprobe dhd and install correct firmware from the Armbian firmware package. With recent systemd, you might have systemd syscall 279 kernel tainted messages in dmesg. Add audit=0 to the kernel command line by editing the .cmd file and using mkimage tool to make the u-boot binary. mkimage -T script -C none -n 's905 autoscript' -d s905_autoscript.cmd s905_autoscript

Link to comment
Share on other sites

34 minutes ago, debianxfce said:

vega_s96.dtb does work with Sunvell T95Z Plus. and Jessie Xfce. Copy it to as BOOT/ dtb.img. With ap6255 wifi use the dhd driver, modprobe dhd and install correct firmware from the Armbian firmware package. With recent systemd, you might have systemd syscall 279 kernel tainted messages in dmesg. Add audit=0 to the kernel command line by editing the .cmd file and using mkimage tool to make the u-boot binary. mkimage -T script -C none -n 's905 autoscript' -d s905_autoscript.cmd s905_autoscript

Thanks debianxfce

I tried again with gxm_q201_2g. At first it does not work wifi but when i try dhd driver then it works

perfect

Link to comment
Share on other sites

Update images kernel 3.14.29. (20170701)

Changes - added driver for qca9377. Its use is similar to the module "dhd" and "wifi_dummy". To check loaded, with the command "modprobe qca9377" if a WiFi network will work with it, write its startup in /etc/modules.

I checked on the model Tronsmart S96 (s912) - with this module the WiFi and BT working. By the way, I didn't even need to manually copy the dtb file, the system could earn with regular dtb from the internal memory. I wonder how on other models, to run these images without manually adding the dtb file.

Link to comment
Share on other sites

1 hour ago, balbes150 said:

Update images kernel 3.14.29. (20170701)

Changes - added driver for qca9377. Its use is similar to the module "dhd" and "wifi_dummy". To check loaded, with the command "modprobe qca9377" if a WiFi network will work with it, write its startup in /etc/modules.

I checked on the model Tronsmart S96 (s912) - with this module the WiFi and BT working. By the way, I didn't even need to manually copy the dtb file, the system could earn with regular dtb from the internal memory. I wonder how on other models, to run these images without manually adding the dtb file.

WOW. I really appreciate you and your efforts to support this OS on Amlogic based devices. :o

Even downloaded the 20170701 release before you write this post.

Thank you very much. From this forum and the other 2 forums

OK. Let's try it right now.

UPDATE: Now the WiFi Works! (Beelink GT1 S912/G912)

 

By the way. I like the new first boot method, which makes the device restart it self. and the new login screen, which make me able to login as a root user

Link to comment
Share on other sites

Thank you balbes150, I have completely changed my mind regarding the use I will make of my S912 boards (make one or multiple Indi servers), I will test your new images on the H96pro+ today or tomorrow.

 

Additional question: do you know how I can use the serial port (is there one or two ?) on this board ?

 

Thank you very much for your help

Link to comment
Share on other sites

By default (not copying the dtb file as dtb.img at the root of the BOOT partition) wifi does not work on H96 pro + (apparently fnlink 8223a-sr). Neither does sound, however bluetooth works well.

A weird thing is that cat /proc/cpuinfo allows to see all 8 cores, however gnome-system-monitor for ubuntu mates only shows 2 cores.

 

After multiple edit, nevermind, everything is up and running thanks to the wifi_dummy added to /etc/modules. However I did not checked if both 2.4 and 5GHz channels are working, but I see no reason for this to fail.

 

Thank you balbes150, this is truly awesome

 

20170703_195331.jpg

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...