Jump to content

Recommended Posts

Posted

Hi to all,

I recently purchased a COOLEME brand tvbox (but internally is marked W95T) with S905W, 2GB / 16GB of memory.
The wifi chip is SV6051P. I tried to install ARMBIAN Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_server_20180203.img and it works all very well except WIFI.

I tried several DTBs, both gxl212 and gxl281, I also tried to modify them but I could not make the WIFI work. I saw that in the folder / lib / firmware there is a subfolder SSV6051 that contains a .bin file and a .cfg but I have no idea how to load them.
Among other things I tried to install LibreElec and the wifi in that case works ... But I'm interested in Linux because I intend to use the TVBOX as a server for Home Automation and not to watch television ...
At this point after many and many tests I had a big headache .. Can someone give me a suggestion?
Thank you

Posted

Load the necessary module manually ("sudo modprobe  use_name_modules"), if it works, write down its autorun in /etc/modules

Posted
28 minutes ago, balbes150 said:

Load the necessary module manually ("sudo modprobe  use_name_modules"), if it works, write down its autorun in /etc/modules

i'll try, thank you :)

Posted
3 hours ago, balbes150 said:

Load the necessary module manually ("sudo modprobe  use_name_modules"), if it works, write down its autorun in /etc/modules

Sorry, another question... 

I have downloaded "build" from your github repository to compile an image myself, but I have invariably received many fatal errors, in particular regarding the creation of u-boot ...

By changing the various configurations you always get an error with the task_entry.s file
Would it be possible for you to provide me with a configuration (build / config / sources / amlogics905x.conf) valid to compile an image like your Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_server_20180203.img that works well on my card (apart from the wifi)?

error.png

Posted

All the sources I use when building are in GIT. Check the installation of the required packages on the system itself where the build is performed (gcc lib32 etc). The forum has several topics that describe similar problems and a list of packages that need to be installed.

Posted
On 29/3/2018 at 2:53 PM, balbes150 said:

All the sources I use when building are in GIT. Check the installation of the required packages on the system itself where the build is performed (gcc lib32 etc). The forum has several topics that describe similar problems and a list of packages that need to be installed.

uhm ... I tried to compile the "standard" version taken from the armbian repository by selecting "lepotato" and it works perfectly (the image is created without any error) ... ok, I'll do other tests and I'll try to figure out which one be the problem. thanks and good job.

Posted
On 30/3/2018 at 4:30 PM, balbes150 said:

Have you created (or copied from the examples directory to the build directory "config-default.conf") the correct configuration file ?

 

 

https://github.com/150balbes/build/blob/amlogic/config/templates/config-example.conf  

 

 

Yes, the file is correct...

I would rather say that we need to play with

https://github.com/150balbes/build/blob/amlogic/config/sources/amlogics905x.conf

I see in it numerous (unknown) possibilities regarding the various sources and branches of the software ...

Posted
On 28.03.2018 at 12:54 AM, Arkimede said:

The wifi chip is SV6051P. I tried to install ARMBIAN Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_server_20180203.img and it works all very well except WIFI.

Have you downloaded the modules for WiFi ? Maybe your whole problem is solved with one command " modprobe ssv6051"

Posted
9 hours ago, balbes150 said:

Have you downloaded the modules for WiFi ? Maybe your whole problem is solved with one command " modprobe ssv6051"

result is:    "FATAL: Module ssv6051 not found in directory /lib/modules/3.14.29"

 

there is a "lib / firmware / ssv6051" folder that contains two files: "ssv6051-sw.bin" and "ssv6051-wifi.cfg" but in truth I do not know how to manually load a ".bin" module.
If I'm not mistaken, the modules in "lib / firmware" should be automatically loaded by the system with "plug and play" if the hardware is correctly recognized.

Is it possible, at this point, that the .dtb file is not right? I use glx_p212_2g but I think it's for the S905X and not exactly for S905W

 

Posted

I'm now checked the Latest armbian image on Khadas VIM (S905x) load of ssv6051 module. The module has loaded normally. This Board doesn't have this WiFi chip, so it's not working. But the module is available and properly connected. What image of Armbian do you use ?

Posted
1 hour ago, balbes150 said:

I'm now checked the Latest armbian image on Khadas VIM (S905x) load of ssv6051 module. The module has loaded normally. This Board doesn't have this WiFi chip, so it's not working. But the module is available and properly connected. What image of Armbian do you use ?

Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_server_20180203.img

Posted
44 minutes ago, balbes150 said:

Use version 5.41

tried, * all * images / kernel version 4.9 probably do not start (black terminal screen)

I can not find a 5.41 image with kernel version 3. *

Posted
12 hours ago, Arkimede said:

ok, seen, but my box has mali5... works the same?

(downloaded, anyway this evening, at home, i'll try : )  )

 

12 hours ago, balbes150 said:

 

module load but still not working

here is demsg

 

tried various dtb:

gxl_212, gxl_281 from various sources (libreelec, also original android)

no changes...

 

[    0.000000] Reserved memory: unable to setup CMA region
[    0.000000] vout_serve: set_vout_init_vmode: 1080p60hz
[    0.582529] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.582566] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.582747] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.582773] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.591928] tv_vout: chrdev devno 266338304 for disp
[    2.581880] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.592284] /dwc3@c9000000: could not find phandle
[    5.094284] Error: Driver 'ICPlus IP175C' is already registered, aborting...
[    5.101147] libphy: ICPlus IP175C: Error -16 in registering driver
[    5.107434] Error: Driver 'AMLOGIC internal phy' is already registered, aborting...
[    5.115201] libphy: AMLOGIC internal phy: Error -16 in registering driver
[    5.123418] Error: Driver 'RTL8211F Gigabit Ethernet' is already registered, aborting...
[    5.130305] libphy: RTL8211F Gigabit Ethernet: Error -16 in registering driver
[    5.216711] get_storage_dev return 1
[    5.571478] emmc: retry, rx_phase 0 -> 1
[    6.321366] PPMGRDRV: err: ppmgr_driver_probe called
[    6.788466] amlvid:err: amlvideo_init called
[    6.792370] amlvid:err: amlvideo_create_instance called
[    6.798779] amlvid:err: v4l2_dev.name=:amlvideo-000
[    7.155379] cectx aocec: aml_cec_probe(): no hdmirx reg resource
[    7.161225] cectx aocec: aml_cec_probe(): no hhi reg resource
[    7.167125] cectx aocec: aml_cec_probe(): can't find hdmirx
[    7.491126] aml_snd_m8_card aml_m8_snd.49: ASoC: no source widget found for LOUTL
[    7.498648] aml_snd_m8_card aml_m8_snd.49: ASoC: Failed to add route LOUTL -> direct -> Ext Spk
[    7.507560] aml_snd_m8_card aml_m8_snd.49: ASoC: no source widget found for LOUTR
[    7.515064] aml_snd_m8_card aml_m8_snd.49: ASoC: Failed to add route LOUTR -> direct -> Ext Spk
[    8.458473] /dwc3@c9000000: could not find phandle
[    9.271316] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    9.347076] aml_istbt_dev_ready NULL
[   19.243442] SSV6XXX_SDIO sdio:0001:1: vendor = 0x3030 device = 0x3030
[   19.313582] SSV6XXX_SDIO sdio:0001:1: dataIOPort 0x10000 regIOPort 0x10020
[   19.314379] SSV WLAN driver ssv6200: Failed to initialize device
 

Posted

All right, the wi-fi now works:

You need to create the file /etc/modprobe.d/ssv6051.conf

and enter the path to the driver configuration file

(type in file)

options ssv6051 stacfgpath = / lib / firmware / ssv6051 / ssv6051-wifi.cfg

You must also configure the wpa_supplicant for network access.

 

A great idea from Forum Alex @ ELEC

 

The other error messages to boot remain to be solved but it is a secondary problem!

 

Now I will install my home automation server (probably Fhem)

 

Thanks to all for collaboration!

Posted

@Arkimede Could you please write a summary of the steps you went through to get the on-board WiFi working?

 

Specifically, I get:

 

$ sudo modprobe ssv6051
modprobe: FATAL: Module ssv6051 not found in directory /lib/modules/3.14.29

 

Posted
8 hours ago, andyii said:

@Arkimede Could you please write a summary of the steps you went through to get the on-board WiFi working?

 

Specifically, I get:

 


$ sudo modprobe ssv6051
modprobe: FATAL: Module ssv6051 not found in directory /lib/modules/3.14.29

 

Try downloading the latest image of armbian(5.41) from the site. It has the ssv6051 module in it .

Posted

Thanks Saurabh, but I've already tried various newer images and can't get any to boot at all (OEM logo shows, nothing else). Not sure if I've tried the very latest builds, so will do that.

 

This box is based on the p281 board (according to the Android "about" page) and is branded as MXQPro 4k. I have tried with no dtb, gxl_p212_1g.dtb and gxl_p281_1g.dtb - the last of those presumably the correct file for this board. The only image that I've been able to boot is Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_mate_20171226.img. With that image it seems to make no difference which dtb I use, or none - works, but no wifi, remote doesn't work , and only 1 of the 4 USB ports work. The one USB which works is at the back of the box next to the SPDIF socket, the other 3 are on the side of the box with the SD ram socket.

 

Going to try again now with Armbian_5.41_S9xxx_Ubuntu_xenial_4.9.40_server_20180315.img

 

Posted

No images newer than 20171226 boot with this box :( Just sits at the OEM logo screen. Is there any way to install the ssv6051 driver for the system built from an older image?

Posted
10 hours ago, andyii said:

No images newer than 20171226 boot with this box :( Just sits at the OEM logo screen. Is there any way to install the ssv6051 driver for the system built from an older image?

There are new images, for mainline kernel you can look into the folder Test and for stable kernel you can look in mali 6 and mail 7 folder.

 

https://yadi.sk/d/pHxaRAs-tZiei

 

I'm using 3.14 kernel version ( ubuntu mate) which you can find in mali 6 folder.  It has the ssv6051 module there.

Posted
16 hours ago, andyii said:

Thanks Saurabh, but I've already tried various newer images and can't get any to boot at all (OEM logo shows, nothing else). Not sure if I've tried the very latest builds, so will do that.

 

This box is based on the p281 board (according to the Android "about" page) and is branded as MXQPro 4k. I have tried with no dtb, gxl_p212_1g.dtb and gxl_p281_1g.dtb - the last of those presumably the correct file for this board. The only image that I've been able to boot is Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_mate_20171226.img. With that image it seems to make no difference which dtb I use, or none - works, but no wifi, remote doesn't work , and only 1 of the 4 USB ports work. The one USB which works is at the back of the box next to the SPDIF socket, the other 3 are on the side of the box with the SD ram socket.

 

Going to try again now with Armbian_5.41_S9xxx_Ubuntu_xenial_4.9.40_server_20180315.img

 

I dont know about p281 board and I goggled it for it too but saw a mxq pro box only.  The new images have more new dtbs other than the image which you were using . So maybe one of them work .

Posted

Thanks again Saurabh.

 

I've tired: Armbian_5.37_S9xxx_Debian_stretch_3.14.29_icewm_20180209.img.xz
 from https://yadi.sk/d/pHxaRAs-tZiei/mali-6/5.37 - it boots!

 

So it seems kernel version is an issue with this box. So far, three different images from https://yadi.sk/d/pHxaRAs-tZiei/20171226 all boot, they're all kernel 3.14.29. Nothing newer boots (tried 4 or 5). That included Armbian_5.37_S905_Ubuntu_xenial_3.14.79_server_20180209.img.xz - only very slightly newer than 3.14.29. 

 

So, now on Armbian_5.37_S9xxx_Debian_stretch_3.14.29, but still no wifi.

root@amlogic:~# modprobe ssv6051
modprobe: FATAL: Module ssv6051 not found in directory /lib/modules/3.14.29

 

Next, going to try:

https://yadi.sk/d/pHxaRAs-tZiei/mali-7

Armbian_5.41.1_S9xxx_Debian_stretch_3.14.29_xfce_20180417.img.xz
 

Posted
14 hours ago, andyii said:

So, now on Armbian_5.37_S9xxx_Debian_stretch_3.14.29, but still no wifi.

You can find that ssv6051 module in 5.41.1 images(I don't know about 5.41 ) . And mali 7 one I downloaded yesterday , it has ssv 6051 module too.

Posted
On 4/26/2018 at 7:57 AM, Saurabh said:

You can find that ssv6051 module in 5.41.1 images(I don't know about 5.41 ) . And mali 7 one I downloaded yesterday , it has ssv 6051 module too.

Well, I'm now running on Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_mate_20180421.img and that has the driver included - now modprobe ssv6051 works and ifconfig shows wlan0 which was previously not shown. I haven't yet been able to get it to connect to anything, so it seems there's some further configuration issue to deal with. The ethernet port works fine, so networking is basically ok. 

 

Unrelated to the wifi driver - any ideas about how I might get the all USB ports working? One works, the other three don't work.

Posted
On 4/29/2018 at 3:59 PM, andyii said:

Unrelated to the wifi driver - any ideas about how I might get the all USB ports working? One works, the other three don't work.

That issue is related to dtb file .

Posted
On 4/29/2018 at 3:59 PM, andyii said:

now modprobe ssv6051 works and ifconfig shows wlan0 which was previously not shown. I haven't yet been able to get it to connect to anything, so it seems there's some further configuration issue to deal with. The ethernet port works fine, so networking is basically ok. 

You can use modprobe wifi_dummy to insert modules too. And what else you can do is follow the arkimede comment related to making a ssv6051.conf file . Anter that reboot ,again do modprobe wifi_dummy and see dmesg. In my board the system was trying to find a ssv6051.bin file (something like that) in wrong path(/usr/lib/firmware). But it was actually in lib/firmware folder. So what you can do is to change the path or copy the ssv6051 folder from /lib/firmware to /usr/lib/firmware and it will start detecting networks . It worked for me though.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines