50 50
balbes150

Armbian for Amlogic S9xxx kernel 5.x

Recommended Posts

7 hours ago, funben said:

Thanks for your answer.

 

I started armbian succesfully with  "meson-gxbb-nexbox-a95x.dtbjeedom" however how can I check that erverything is fine / that it is the right DTB.

It seem that I have a network issue, the box is plugged with ethernet cable and I have "Network is unreachable" error

I had to start manually the network service

 

With the meson-gxbb-vega-s95-meta.dtb and meson-gxbb-vega-s95-pro.dtb the network started succesfully

How do I know which DTB is the best ?

 

 

 

I'v always user the -vega-s95- dtb's for my Mini MX-III and Mini M8S and found them to work best.

Share this post


Link to post
Share on other sites

Hi all,

I am using a HIFI Xplay Q TV Box.

Configuration is Amlogic S912, 2GB RAM and 16GB storage with WIFI, Bluetooth, and Ethernet.

The System works as desired in ANDROID. When Booted to Armbian 5.94,5.95,5.96,5.97, Bluetooth and WIFI stopps to work.

 

I searched Armbian Forum and tried /etc/module entry. tried to load drivers manually. nothing works.

Command 'lsmod' shows ath10k is loaded. Which is wrong. Android says Brcm for reference I am copying dmesg output from Android.

[    1.442709@2] aml_wifi wifi.34: [wifi_dev_probe] no power_on_pin2
[    1.448606@2] aml_wifi wifi.34: [wifi_dev_probe] set pwm as 32k output
[    1.455240@2] aml_wifi wifi.34: [wifi_dev_probe] dhd_static_buf setup
[    1.461736@2] Wifi: bcmdhd_init_wlan_mem: bcmdhd_init_wlan_mem: WIFI MEM Allocated
[    1.469256@2] aml_wifi wifi.34: [wifi_dev_probe] interrupt_pin=241
[    1.475477@2] aml_wifi wifi.34: [wifi_dev_probe] irq_num=100, irq_trigger_type=1
[    1.482913@2] aml_wifi wifi.34: [wifi_dev_probe] power_on_pin=240
[    1.489031@2] aml_wifi wifi.34: [wifi_dev_probe] clock_32k_pin=0
[    1.495419@1] aml_wifi wifi.34: [wifi_setup_dt] wifi_setup_dt
[    1.500892@1] aml_wifi wifi.34: [wifi_setup_dt] interrupt_pin(241)
[    1.507065@1] aml_wifi wifi.34: [wifi_setup_dt] power_on_pin(240)
=====================================NEXT====================
[    7.223268@1] cfg80211:  DFS Master region: unset
[    7.227703@1] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    7.227705@1] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.227708@1] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.227711@1] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    7.227715@1] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    7.227718@1] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    7.227720@1] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
======================================NEXT====================
[   23.141394@0] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Disable! 240
[   23.343296@0] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Enable! 240
[   23.565941@5] avc open
[   23.565983@5] amvenc_avc  check CMA pool sucess, max instance: 2.
[   23.568757@5] allocating phys 0x75200000, size 20480k, wq:ffffffc063655c00.
[   23.575866@5] amvenc_avc  memory config sucess, buff start:0x75200000, size is 0x1400000, wq:ffffffc063655c00.
[   23.585764@2] avc release, wq:ffffffc063655c00
[   23.587807@6] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[   23.595625@2] remove  encode_work_queue ffffffc063655c00 sucess, _destroy_encode_work_queue line 4285.
[   23.601050@7] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[   23.606479@7] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[   23.607581@7] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[   23.610495@7] sdio: clk 200000000 SDR mode tuning start
[   23.610835@5] sdio: rx_tuning_result[1] = 10
[   23.611125@5] sdio: rx_tuning_result[2] = 10
[   23.611403@6] sdio: rx_tuning_result[3] = 10
[   23.611654@6] sdio: rx_tuning_result[4] = 10
[   23.611658@6] sdio: best_win_start =1, best_win_size =4
[   23.611661@6] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[   23.611672@6] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[   23.613015@6] sdio: queuing unknown CIS tuple 0x80 (1 bytes)
[   23.613082@6] sdio: queuing unknown CIS tuple 0x81 (1 bytes)
[   23.613149@6] sdio: queuing unknown CIS tuple 0x82 (1 bytes)
[   23.613185@6] sdio: new ultra high speed SDR104 SDIO card at address 0001
[   23.614157@0] sdio: clock 200000000, 4-bit-bus-width
[   23.614157@0]  
[   23.614157@0] [sdio_reinit] finish
======================================NEXT====================
[   23.620885@0] wlan: [4353:E :HDD] wlan_hdd_cfg80211_init: wiphy->bands[i] is NULL, i = 2
======================================NEXT====================
[   25.151046@0] wlan: [4353:E :SAP] dfs_init_radar_filters[201]: Unknown dfs domain 0 
[   25.158257@0] +HWT
[   25.160792@0] Target Ready! : transmit resources : 3 size:1792, MaxMsgsPerHTCBundle = 32
[   25.168237@0] HTC Service Index : 1 TX : 0x100 : alloc:3 
[   25.173573@0] HTC Service:0x0001, ULpipe:1 DLpipe:0 id:0 Ready
[   25.179325@0] -HWT
[   25.181594@0] MAILBOX SWAP Service is enabled!
[   25.185879@0] Reduced Tx Complete service is enabled!
[   25.190342@4] ionvid: info: ionvideo_stop_generating!!!!
[   25.190367@4] ionvid: info: ionvideo release
[   25.192964@5] ionvid: info: ionvideo open
[   25.205661@0] is_full_reorder_offloaded? 0
[   25.208386@0] HTC Service TX : 0x300 : allocation is zero! 
[   25.215154@0] HTC Service:0x0300, ULpipe:1 DLpipe:0 id:1 Ready
[   25.219480@0] HTC Service:0x0300 ep:1 TX flow control disabled
[   25.225398@0] htt_tx_attach:htt_desc_start:0xffffffc02cea0000 htt_desc_end:0xffffffc02cebc200
[   25.234948@0] HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
[   25.239701@0] wma_pre_start-4928: WMA --> wmi_unified_connect_htc_service - success
[   25.247396@2] wma_mc_process_msg-21188: McThread: WNI_CFG_DNLD_REQ
[   25.261381@0] HTC using TX credit flow control
[   25.261905@4] wmitlv_check_and_pad_tlvs: WARN: TLV truncated. tlv_size_diff=24, curr_tlv_len=132
[   25.268925@4] __wmi_control_rx: WMI UNIFIED SERVICE READY event
[   25.275184@4] wma_rx_service_ready_event-23912: WMA <-- WMI_SERVICE_READY_EVENTID
[   25.282794@4] wlan: [2802:E :WDA] wma_rx_service_ready_event: Firmware build version : 0000030a
[   25.291040@4] wlan: [2802:E :WDA] wma_rx_service_ready_event: Board version: 0.22014009
[   25.298937@4] wma_rx_service_ready_event-24027: WMA --> WMI_INIT_CMDID
[   25.313068@4] __wmi_control_rx:  WMI UNIFIED READY event
[   25.313116@4] wma_rx_ready_event-24056: WMA <-- WMI_READY_EVENTID
======================================NEXT====================
[  196.039205@5] wlan: [6027:E :WDA]  scan complete - scan_id a008, vdev_id 0
[  196.041720@4] wlan: [4356:E :SME] Found 2 BSS
[  196.046836@4] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  211.117522@5] wlan: [4680:E :HDD] received scan request
[  211.118843@4] wlan: [4356:E :WDA] scan_id a009, vdev_id 0, scan type 0, msg_type 1103
[  211.268276@5] wlan: [6027:E :WDA]  scan complete - scan_id a009, vdev_id 0
[  211.269796@4] wlan: [4356:E :SME] Found 1 BSS
[  211.276539@4] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  231.120904@4] wlan: [4680:E :HDD] received scan request
[  231.122129@7] wlan: [4356:E :WDA] scan_id a00a, vdev_id 0, scan type 0, msg_type 1103
[  231.271651@5] wlan: [6027:E :WDA]  scan complete - scan_id a00a, vdev_id 0
[  231.273541@6] wlan: [4356:E :SME] Found 1 BSS
[  231.278958@6] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  251.123813@6] wlan: [4680:E :HDD] received scan request
[  251.125068@7] wlan: [4356:E :WDA] scan_id a00b, vdev_id 0, scan type 0, msg_type 1103
[  251.274620@5] wlan: [6027:E :WDA]  scan complete - scan_id a00b, vdev_id 0
[  251.276513@7] wlan: [4356:E :SME] Found 1 BSS

When doing same dmesg from Armbian no reference to wifi or any related thing.

but lsmod shows ath10k is loaded but ifconfig doesnt report any wifi interface.dmesg

can any one help me here?

 

By the way i am using Meson-gxm-q201.dtb. if this helps.

Share this post


Link to post
Share on other sites

I successfully installed jeedom, so now I would like to put armbian on the eMMC. 

 

To do that I follow the process from @balbes150 on the first page of this post.

First step is :

1. Be sure to activate multi-boot using the new image. If multiboot previously activated is required to repeat activation using files in a new image.

 

On the first post it says :

Info multiboot : https://sourceforge.net/p/amlogic-s9xxx/code/ci/master/tree/

 

I'm not sure which instruction to follow. 

Also I don't have the create-mbr-linux.sh in the boot directory

 

So I'm lost here, thank for you help.

Share this post


Link to post
Share on other sites
On 9/26/2019 at 10:47 AM, ashok said:

Hi all,

I am using a HIFI Xplay Q TV Box.

Configuration is Amlogic S912, 2GB RAM and 16GB storage with WIFI, Bluetooth, and Ethernet.

The System works as desired in ANDROID. When Booted to Armbian 5.94,5.95,5.96,5.97, Bluetooth and WIFI stopps to work.

 

I searched Armbian Forum and tried /etc/module entry. tried to load drivers manually. nothing works.

Command 'lsmod' shows ath10k is loaded. Which is wrong. Android says Brcm for reference I am copying dmesg output from Android.


[    1.442709@2] aml_wifi wifi.34: [wifi_dev_probe] no power_on_pin2
[    1.448606@2] aml_wifi wifi.34: [wifi_dev_probe] set pwm as 32k output
[    1.455240@2] aml_wifi wifi.34: [wifi_dev_probe] dhd_static_buf setup
[    1.461736@2] Wifi: bcmdhd_init_wlan_mem: bcmdhd_init_wlan_mem: WIFI MEM Allocated
[    1.469256@2] aml_wifi wifi.34: [wifi_dev_probe] interrupt_pin=241
[    1.475477@2] aml_wifi wifi.34: [wifi_dev_probe] irq_num=100, irq_trigger_type=1
[    1.482913@2] aml_wifi wifi.34: [wifi_dev_probe] power_on_pin=240
[    1.489031@2] aml_wifi wifi.34: [wifi_dev_probe] clock_32k_pin=0
[    1.495419@1] aml_wifi wifi.34: [wifi_setup_dt] wifi_setup_dt
[    1.500892@1] aml_wifi wifi.34: [wifi_setup_dt] interrupt_pin(241)
[    1.507065@1] aml_wifi wifi.34: [wifi_setup_dt] power_on_pin(240)
=====================================NEXT====================
[    7.223268@1] cfg80211:  DFS Master region: unset
[    7.227703@1] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    7.227705@1] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.227708@1] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.227711@1] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    7.227715@1] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    7.227718@1] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    7.227720@1] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
======================================NEXT====================
[   23.141394@0] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Disable! 240
[   23.343296@0] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Enable! 240
[   23.565941@5] avc open
[   23.565983@5] amvenc_avc  check CMA pool sucess, max instance: 2.
[   23.568757@5] allocating phys 0x75200000, size 20480k, wq:ffffffc063655c00.
[   23.575866@5] amvenc_avc  memory config sucess, buff start:0x75200000, size is 0x1400000, wq:ffffffc063655c00.
[   23.585764@2] avc release, wq:ffffffc063655c00
[   23.587807@6] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[   23.595625@2] remove  encode_work_queue ffffffc063655c00 sucess, _destroy_encode_work_queue line 4285.
[   23.601050@7] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[   23.606479@7] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[   23.607581@7] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[   23.610495@7] sdio: clk 200000000 SDR mode tuning start
[   23.610835@5] sdio: rx_tuning_result[1] = 10
[   23.611125@5] sdio: rx_tuning_result[2] = 10
[   23.611403@6] sdio: rx_tuning_result[3] = 10
[   23.611654@6] sdio: rx_tuning_result[4] = 10
[   23.611658@6] sdio: best_win_start =1, best_win_size =4
[   23.611661@6] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[   23.611672@6] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[   23.613015@6] sdio: queuing unknown CIS tuple 0x80 (1 bytes)
[   23.613082@6] sdio: queuing unknown CIS tuple 0x81 (1 bytes)
[   23.613149@6] sdio: queuing unknown CIS tuple 0x82 (1 bytes)
[   23.613185@6] sdio: new ultra high speed SDR104 SDIO card at address 0001
[   23.614157@0] sdio: clock 200000000, 4-bit-bus-width
[   23.614157@0]  
[   23.614157@0] [sdio_reinit] finish
======================================NEXT====================
[   23.620885@0] wlan: [4353:E :HDD] wlan_hdd_cfg80211_init: wiphy->bands[i] is NULL, i = 2
======================================NEXT====================
[   25.151046@0] wlan: [4353:E :SAP] dfs_init_radar_filters[201]: Unknown dfs domain 0 
[   25.158257@0] +HWT
[   25.160792@0] Target Ready! : transmit resources : 3 size:1792, MaxMsgsPerHTCBundle = 32
[   25.168237@0] HTC Service Index : 1 TX : 0x100 : alloc:3 
[   25.173573@0] HTC Service:0x0001, ULpipe:1 DLpipe:0 id:0 Ready
[   25.179325@0] -HWT
[   25.181594@0] MAILBOX SWAP Service is enabled!
[   25.185879@0] Reduced Tx Complete service is enabled!
[   25.190342@4] ionvid: info: ionvideo_stop_generating!!!!
[   25.190367@4] ionvid: info: ionvideo release
[   25.192964@5] ionvid: info: ionvideo open
[   25.205661@0] is_full_reorder_offloaded? 0
[   25.208386@0] HTC Service TX : 0x300 : allocation is zero! 
[   25.215154@0] HTC Service:0x0300, ULpipe:1 DLpipe:0 id:1 Ready
[   25.219480@0] HTC Service:0x0300 ep:1 TX flow control disabled
[   25.225398@0] htt_tx_attach:htt_desc_start:0xffffffc02cea0000 htt_desc_end:0xffffffc02cebc200
[   25.234948@0] HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
[   25.239701@0] wma_pre_start-4928: WMA --> wmi_unified_connect_htc_service - success
[   25.247396@2] wma_mc_process_msg-21188: McThread: WNI_CFG_DNLD_REQ
[   25.261381@0] HTC using TX credit flow control
[   25.261905@4] wmitlv_check_and_pad_tlvs: WARN: TLV truncated. tlv_size_diff=24, curr_tlv_len=132
[   25.268925@4] __wmi_control_rx: WMI UNIFIED SERVICE READY event
[   25.275184@4] wma_rx_service_ready_event-23912: WMA <-- WMI_SERVICE_READY_EVENTID
[   25.282794@4] wlan: [2802:E :WDA] wma_rx_service_ready_event: Firmware build version : 0000030a
[   25.291040@4] wlan: [2802:E :WDA] wma_rx_service_ready_event: Board version: 0.22014009
[   25.298937@4] wma_rx_service_ready_event-24027: WMA --> WMI_INIT_CMDID
[   25.313068@4] __wmi_control_rx:  WMI UNIFIED READY event
[   25.313116@4] wma_rx_ready_event-24056: WMA <-- WMI_READY_EVENTID
======================================NEXT====================
[  196.039205@5] wlan: [6027:E :WDA]  scan complete - scan_id a008, vdev_id 0
[  196.041720@4] wlan: [4356:E :SME] Found 2 BSS
[  196.046836@4] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  211.117522@5] wlan: [4680:E :HDD] received scan request
[  211.118843@4] wlan: [4356:E :WDA] scan_id a009, vdev_id 0, scan type 0, msg_type 1103
[  211.268276@5] wlan: [6027:E :WDA]  scan complete - scan_id a009, vdev_id 0
[  211.269796@4] wlan: [4356:E :SME] Found 1 BSS
[  211.276539@4] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  231.120904@4] wlan: [4680:E :HDD] received scan request
[  231.122129@7] wlan: [4356:E :WDA] scan_id a00a, vdev_id 0, scan type 0, msg_type 1103
[  231.271651@5] wlan: [6027:E :WDA]  scan complete - scan_id a00a, vdev_id 0
[  231.273541@6] wlan: [4356:E :SME] Found 1 BSS
[  231.278958@6] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  251.123813@6] wlan: [4680:E :HDD] received scan request
[  251.125068@7] wlan: [4356:E :WDA] scan_id a00b, vdev_id 0, scan type 0, msg_type 1103
[  251.274620@5] wlan: [6027:E :WDA]  scan complete - scan_id a00b, vdev_id 0
[  251.276513@7] wlan: [4356:E :SME] Found 1 BSS

When doing same dmesg from Armbian no reference to wifi or any related thing.

but lsmod shows ath10k is loaded but ifconfig doesnt report any wifi interface.dmesg

can any one help me here?

 

By the way i am using Meson-gxm-q201.dtb. if this helps.

Any Help?
My SD card is class10 Sandisk type used in Digital camera and my USB pendrive is sandisk cruiser.
any help to enable onboard Wifi and Bluetooth Please?

 

Share this post


Link to post
Share on other sites
17 hours ago, funben said:

@ashok have you tried other DTB from your group (gxm).

 

You probably should try them all, and see if there is one that enable wifi.

Thank you for a reply :D@funben.

Yes I have tried with all (gxm) DTBs. meson-gxm-nexbox-a1.dtb and meson-gxm-rbox-pro.dtb never allow the box to boot.

this is the device for information.

I even tried with some gxbb DTBs, some allowed to boot the box but no wifi and Blue tooth.

 

If any one using this box and successfully used Wifi and Bluetooth of this device please educate me with some "How Tos"

Thanks in advance.

Share this post


Link to post
Share on other sites
On 9/26/2019 at 8:01 AM, funben said:

I successfully installed jeedom, so now I would like to put armbian on the eMMC. 

 

To do that I follow the process from @balbes150 on the first page of this post.

First step is :

1. Be sure to activate multi-boot using the new image. If multiboot previously activated is required to repeat activation using files in a new image.

 

On the first post it says :

Info multiboot : https://sourceforge.net/p/amlogic-s9xxx/code/ci/master/tree/

 

I'm not sure which instruction to follow. 

Also I don't have the create-mbr-linux.sh in the boot directory

 

So I'm lost here, thank for you help.

 

Can someone help me about putting Armbian on eMMC ?

please. 

Share this post


Link to post
Share on other sites

Ok thanks for your answer, however I've read this carefully,

You said :

1. Be sure to activate multi-boot using the new image. If multiboot previously activated is required to repeat activation using files in a new image.

 

I've no idea, how to do that, despite the fact that I tried to read and execute your instruction carefully.

Share this post


Link to post
Share on other sites
On 9/23/2019 at 2:28 PM, balbes150 said:

The launch of the current images Armbian with 5.3.0 kernel for Odroid C2.

Download image, unzip, burn image to SD card. Change the DTB name to  for odroid c2 (extlinux/extlinux.conf). Replace u-boot on the SD card on the version 20190923.

 

https://yadi.sk/d/M9TottOZuM5WLA

Thank you veeeeery much, that's so cooool!

Share this post


Link to post
Share on other sites

To install Armbian on eMMC, I used "Install" from "Armbian configuration utility"

And when reboorting, it appears that my Beelink Mini MXIII box is really bricked.

I tried to boot "normally" and with Armbian sd card inserted with paperclip on reset button.

I tried to reinstall stock firmware using usb burning tool, the burn process is successful but when rebooting the screen stay black (no signal)

 

What should I do from here ?

 

 

Share this post


Link to post
Share on other sites
On 10/2/2019 at 8:39 PM, balbes150 said:

New image 5.98

@balbes150Can you kindly elaborate on the changes?

 

Also was anyone able to use VFD and Wifi/BT on tanix tx9 pro? Other than that it is working quite well.

Share this post


Link to post
Share on other sites
On 10/2/2019 at 5:09 PM, balbes150 said:

New image 5.98

 

Imaged it, installed it, and everything supposed to be owned by root was owned by UID 1023. Took a while to clean that mess up, but it runs mighty fine on my x96 Mini now.

Share this post


Link to post
Share on other sites
On 9/26/2019 at 10:47 AM, ashok said:

Hi all,

I am using a HIFI Xplay Q TV Box.

Configuration is Amlogic S912, 2GB RAM and 16GB storage with WIFI, Bluetooth, and Ethernet.

The System works as desired in ANDROID. When Booted to Armbian 5.94,5.95,5.96,5.97, Bluetooth and WIFI stopps to work.

 

I searched Armbian Forum and tried /etc/module entry. tried to load drivers manually. nothing works.

Command 'lsmod' shows ath10k is loaded. Which is wrong. Android says Brcm for reference I am copying dmesg output from Android.


[    1.442709@2] aml_wifi wifi.34: [wifi_dev_probe] no power_on_pin2
[    1.448606@2] aml_wifi wifi.34: [wifi_dev_probe] set pwm as 32k output
[    1.455240@2] aml_wifi wifi.34: [wifi_dev_probe] dhd_static_buf setup
[    1.461736@2] Wifi: bcmdhd_init_wlan_mem: bcmdhd_init_wlan_mem: WIFI MEM Allocated
[    1.469256@2] aml_wifi wifi.34: [wifi_dev_probe] interrupt_pin=241
[    1.475477@2] aml_wifi wifi.34: [wifi_dev_probe] irq_num=100, irq_trigger_type=1
[    1.482913@2] aml_wifi wifi.34: [wifi_dev_probe] power_on_pin=240
[    1.489031@2] aml_wifi wifi.34: [wifi_dev_probe] clock_32k_pin=0
[    1.495419@1] aml_wifi wifi.34: [wifi_setup_dt] wifi_setup_dt
[    1.500892@1] aml_wifi wifi.34: [wifi_setup_dt] interrupt_pin(241)
[    1.507065@1] aml_wifi wifi.34: [wifi_setup_dt] power_on_pin(240)
=====================================NEXT====================
[    7.223268@1] cfg80211:  DFS Master region: unset
[    7.227703@1] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    7.227705@1] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.227708@1] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.227711@1] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    7.227715@1] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    7.227718@1] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    7.227720@1] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
======================================NEXT====================
[   23.141394@0] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Disable! 240
[   23.343296@0] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Enable! 240
[   23.565941@5] avc open
[   23.565983@5] amvenc_avc  check CMA pool sucess, max instance: 2.
[   23.568757@5] allocating phys 0x75200000, size 20480k, wq:ffffffc063655c00.
[   23.575866@5] amvenc_avc  memory config sucess, buff start:0x75200000, size is 0x1400000, wq:ffffffc063655c00.
[   23.585764@2] avc release, wq:ffffffc063655c00
[   23.587807@6] sdio: queuing unknown CIS tuple 0x01 (3 bytes)
[   23.595625@2] remove  encode_work_queue ffffffc063655c00 sucess, _destroy_encode_work_queue line 4285.
[   23.601050@7] sdio: queuing unknown CIS tuple 0x1a (5 bytes)
[   23.606479@7] sdio: queuing unknown CIS tuple 0x1b (8 bytes)
[   23.607581@7] sdio: queuing unknown CIS tuple 0x14 (0 bytes)
[   23.610495@7] sdio: clk 200000000 SDR mode tuning start
[   23.610835@5] sdio: rx_tuning_result[1] = 10
[   23.611125@5] sdio: rx_tuning_result[2] = 10
[   23.611403@6] sdio: rx_tuning_result[3] = 10
[   23.611654@6] sdio: rx_tuning_result[4] = 10
[   23.611658@6] sdio: best_win_start =1, best_win_size =4
[   23.611661@6] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x32000
[   23.611672@6] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x32000
[   23.613015@6] sdio: queuing unknown CIS tuple 0x80 (1 bytes)
[   23.613082@6] sdio: queuing unknown CIS tuple 0x81 (1 bytes)
[   23.613149@6] sdio: queuing unknown CIS tuple 0x82 (1 bytes)
[   23.613185@6] sdio: new ultra high speed SDR104 SDIO card at address 0001
[   23.614157@0] sdio: clock 200000000, 4-bit-bus-width
[   23.614157@0]  
[   23.614157@0] [sdio_reinit] finish
======================================NEXT====================
[   23.620885@0] wlan: [4353:E :HDD] wlan_hdd_cfg80211_init: wiphy->bands[i] is NULL, i = 2
======================================NEXT====================
[   25.151046@0] wlan: [4353:E :SAP] dfs_init_radar_filters[201]: Unknown dfs domain 0 
[   25.158257@0] +HWT
[   25.160792@0] Target Ready! : transmit resources : 3 size:1792, MaxMsgsPerHTCBundle = 32
[   25.168237@0] HTC Service Index : 1 TX : 0x100 : alloc:3 
[   25.173573@0] HTC Service:0x0001, ULpipe:1 DLpipe:0 id:0 Ready
[   25.179325@0] -HWT
[   25.181594@0] MAILBOX SWAP Service is enabled!
[   25.185879@0] Reduced Tx Complete service is enabled!
[   25.190342@4] ionvid: info: ionvideo_stop_generating!!!!
[   25.190367@4] ionvid: info: ionvideo release
[   25.192964@5] ionvid: info: ionvideo open
[   25.205661@0] is_full_reorder_offloaded? 0
[   25.208386@0] HTC Service TX : 0x300 : allocation is zero! 
[   25.215154@0] HTC Service:0x0300, ULpipe:1 DLpipe:0 id:1 Ready
[   25.219480@0] HTC Service:0x0300 ep:1 TX flow control disabled
[   25.225398@0] htt_tx_attach:htt_desc_start:0xffffffc02cea0000 htt_desc_end:0xffffffc02cebc200
[   25.234948@0] HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
[   25.239701@0] wma_pre_start-4928: WMA --> wmi_unified_connect_htc_service - success
[   25.247396@2] wma_mc_process_msg-21188: McThread: WNI_CFG_DNLD_REQ
[   25.261381@0] HTC using TX credit flow control
[   25.261905@4] wmitlv_check_and_pad_tlvs: WARN: TLV truncated. tlv_size_diff=24, curr_tlv_len=132
[   25.268925@4] __wmi_control_rx: WMI UNIFIED SERVICE READY event
[   25.275184@4] wma_rx_service_ready_event-23912: WMA <-- WMI_SERVICE_READY_EVENTID
[   25.282794@4] wlan: [2802:E :WDA] wma_rx_service_ready_event: Firmware build version : 0000030a
[   25.291040@4] wlan: [2802:E :WDA] wma_rx_service_ready_event: Board version: 0.22014009
[   25.298937@4] wma_rx_service_ready_event-24027: WMA --> WMI_INIT_CMDID
[   25.313068@4] __wmi_control_rx:  WMI UNIFIED READY event
[   25.313116@4] wma_rx_ready_event-24056: WMA <-- WMI_READY_EVENTID
======================================NEXT====================
[  196.039205@5] wlan: [6027:E :WDA]  scan complete - scan_id a008, vdev_id 0
[  196.041720@4] wlan: [4356:E :SME] Found 2 BSS
[  196.046836@4] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  211.117522@5] wlan: [4680:E :HDD] received scan request
[  211.118843@4] wlan: [4356:E :WDA] scan_id a009, vdev_id 0, scan type 0, msg_type 1103
[  211.268276@5] wlan: [6027:E :WDA]  scan complete - scan_id a009, vdev_id 0
[  211.269796@4] wlan: [4356:E :SME] Found 1 BSS
[  211.276539@4] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  231.120904@4] wlan: [4680:E :HDD] received scan request
[  231.122129@7] wlan: [4356:E :WDA] scan_id a00a, vdev_id 0, scan type 0, msg_type 1103
[  231.271651@5] wlan: [6027:E :WDA]  scan complete - scan_id a00a, vdev_id 0
[  231.273541@6] wlan: [4356:E :SME] Found 1 BSS
[  231.278958@6] wlan: [4356:E :PMC] PMC: Cannot enable BMPS timer. BMPS is disabled
[  251.123813@6] wlan: [4680:E :HDD] received scan request
[  251.125068@7] wlan: [4356:E :WDA] scan_id a00b, vdev_id 0, scan type 0, msg_type 1103
[  251.274620@5] wlan: [6027:E :WDA]  scan complete - scan_id a00b, vdev_id 0
[  251.276513@7] wlan: [4356:E :SME] Found 1 BSS

When doing same dmesg from Armbian no reference to wifi or any related thing.

but lsmod shows ath10k is loaded but ifconfig doesnt report any wifi interface.dmesg

can any one help me here?

 

By the way i am using Meson-gxm-q201.dtb. if this helps.

Hi An update.

I opened my TV Box. It says it is an S912M and have Fn-Link 8223A-SR chip.

By looking at the manual it says it has dual 2.4GHz and 5GHz Wifi and Bluetooth 4.2.

WIFI is on SDIO V3.0 and BT on UART/PCM

 

Android detects wifi as BRCM and Armbian detects as Atheros. Can any one here say which is correct?

and can any one help me to bring WIFI active on this device?

 

@balbes150 can you please put your opinion here?

Share this post


Link to post
Share on other sites
On 10/6/2019 at 1:22 AM, t23 said:

 

Imaged it, installed it, and everything supposed to be owned by root was owned by UID 1023. Took a while to clean that mess up, but it runs mighty fine on my x96 Mini now.

Should be said that after a conversation with @KY69 it is most likely the fault of an SELinux policy on the official firmware of the x96 mini when running the updater, and not to blame on the image Oleg provided. Thank you to both of you!

 

Share this post


Link to post
Share on other sites
1 hour ago, balbes150 said:

I do not support WiFi.

 

 

Is that an absolute all over?    If so, I will urge you to reconsider......

Share this post


Link to post
Share on other sites

@ashok When booted into Armbian what is the output of:

dmesg | grep -i firmware
lsmod | grep 80211

WiFi is a mess on a lot of the TV boxes I have played with and for a lot of devices its just not worth the effort. Even when it works, it usually doesn't. Also the armbian-firmware package seems to have some of the firmware blobs in the wrong locations for devices that use brcm blobs

Share this post


Link to post
Share on other sites
4 hours ago, Reddwarf said:

Is that an absolute all over?    If so, I will urge you to reconsider......

I'm not going to waste my time on all the shit that manufacturers shove in their crafts (just to write on them - WiFi available). Want to have WiFi, you have several options.

1. Use normal equipment where there is guaranteed WiFi support.

2. Use external USB WiFi with good support.

3. Themselves add the necessary support for your WiFi.

4. You seek from the seller\manufacturer of your equipment the necessary support.

Share this post


Link to post
Share on other sites
2 minutes ago, balbes150 said:

I'm not going to waste my time on all the shit that manufacturers shove in their crafts (just to write on them - WiFi available). Want to have WiFi, you have several options.

1. Use normal equipment where there is guaranteed WiFi support.

2. Use external USB WiFi with good support.

3. Themselves add the necessary support for your WiFi.

4. You seek from the seller\manufacturer of your equipment the necessary support.

I totally agree with @balbes150.

In my opinion, what he's doing is absolutely great.

Maybe it's easy to forget @balbes150 is doing this for free, and maybe we don't know how many hours he's spending on doing this (I bet some of them, everyday).

 

Thank you, Mr. @balbes150: I think you should be paid by ATVs manufacturers, because, thanks to your work, and only in my case, they have sold 3 Amlogic ATVs (to me); and I had never bought them because of Android: It's your Armbian, the reason :)

 

To be sincere, I'm happier with my ATV boxes, running @balbes150 Armbian,  than I am with my Raspberrys, covered by tons of dust in this very moment.

Share this post


Link to post
Share on other sites
18 hours ago, balbes150 said:

I'm not going to waste my time on all the shit that manufacturers shove in their crafts (just to write on them - WiFi available). Want to have WiFi, you have several options.

1. Use normal equipment where there is guaranteed WiFi support.

2. Use external USB WiFi with good support.

3. Themselves add the necessary support for your WiFi.

4. You seek from the seller\manufacturer of your equipment the necessary support.

Well if you can use an external WiFi dongle then you DO support WiFi ;)

Share this post


Link to post
Share on other sites
23 hours ago, qstaq said:

@ashok When booted into Armbian what is the output of:


dmesg | grep -i firmware
lsmod | grep 80211

WiFi is a mess on a lot of the TV boxes I have played with and for a lot of devices its just not worth the effort. Even when it works, it usually doesn't. Also the armbian-firmware package seems to have some of the firmware blobs in the wrong locations for devices that use brcm blobs

@qstaq thank you for your kind support.

please see bellow

 

ashok@aml:~$ dmesg | grep -i firmware
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    2.904977] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
ashok@aml:~$ lsmod |grep 80211
mac80211              491520  1 ath10k_core
cfg80211              372736  3 ath,mac80211,ath10k_core
rfkill                 28672  5 bluetooth,cfg80211
ashok@aml:~$ uname -a

Linux aml 5.3.0-aml-g12 #5.98 SMP PREEMPT Tue Oct 1 15:09:35 MSK 2019 aarch64 aarch64 aarch64 GNU/Linux

 

Share this post


Link to post
Share on other sites
19 hours ago, balbes150 said:

I'm not going to waste my time on all the shit that manufacturers shove in their crafts (just to write on them - WiFi available). Want to have WiFi, you have several options.

1. Use normal equipment where there is guaranteed WiFi support.

2. Use external USB WiFi with good support.

3. Themselves add the necessary support for your WiFi.

4. You seek from the seller\manufacturer of your equipment the necessary support.

@balbes150 You do a great job. I appreciate your voluntary work.

Around 2 decades ago I was involved in Device driver development for Solaris and Linux.

I left those low level work a decade ago in 2009. :D

Now my brain doesn't support or permit thinking after health issues last year ;) 

But Yes using USB i can access internet no probs there. But I have a defect in my Brain :P "to make everything perfect" which is just impossible.

So caryon with your good work please. I will find a way sooner or latter for the Wifi and BT.

 

thank you.

 

Share this post


Link to post
Share on other sites

New image 5.98 20191008

 

I sent a request to update the AML-g12 kernel (5.3.0) for AML images to a network repository.

Pay attention.

This kernel and the following aml-g12 images change the location of DTB files. They are now located at (/boot/dtb/amlogic).

The composition of "deb" packages with the kernel has also changed. I now use one "image" package for all files (the DTB package has been abolished and is no longer used).

For anyone who will update the kernel using the new kernel package, be SURE, after installing the package and BEFORE rebooting, to edit the files (uEnv.ini, extlinux.conf and boot.ini), add the "amlogic" subdirectory to the DTB setup line. The string must look like (/dtb/amlogic/filename.dtb). This information applies to all new images that will be released from now on.

Share this post


Link to post
Share on other sites

@ashok are you sure you have the xplay Q? The ath10k module shouldn't be able to load on that device. It's common with TV boxes to find completely different hardware inside devices with the same name which is partly what makes them impossible to support. What DTB are you using?

 

Can you post an: armbianmonitor -u

 

Share this post


Link to post
Share on other sites

Hi Everyone!

I have a TV BOX A95X F2 and i use armbian provided by @balbes150 and work wonderful with dtb meson-g12a-x96-max-rmii.dtb, thanks for hard work :).

But i have a problem.. i change my monitor to a LG Ultrawide 29" 2560x1080 21:9, but the linux dont recognize that resolution, work only with Full HD 1920x1080@75. I try force the resolution with xrandr, but not work too and the linux show the monitor is a 34" 1080p 16:9. I doubt if the drivers do not support that resolution or i cant do work properly. If anyone can help.. 

thanks

Share this post


Link to post
Share on other sites
On 10/8/2019 at 12:01 PM, qstaq said:

@ashok are you sure you have the xplay Q? The ath10k module shouldn't be able to load on that device. It's common with TV boxes to find completely different hardware inside devices with the same name which is partly what makes them impossible to support. What DTB are you using?

 

Can you post an: armbianmonitor -u

 

thank you for your interest and support.

I am attaching text file output.monout.txt

it is the output i got from armbianmonitor -U.

 

thanks again.

monout.txt

Share this post


Link to post
Share on other sites

Hi all,

I have copied the /proc/device-tree from my TV Box to my linux PC.

While compiling to DTS it gives several warning messages.

here is the output.

can any one please help how to rectify the warnings.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
50 50