ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)


balbes150
 Share

74 74

Recommended Posts

16 hours ago, guidol said:

my Sunvell T95K Pro (S912, 2GB Ram, 16GB "ROM")

 

As Information: inside this TV-Box is the following WiFi-Chip AP6330 - W310A03E - 1642

 

Info from Amlogic Customization Tool:
Model T95KPRO

Vendor Amlogic

Product q201_6255 

 

So with the *q201_2g.dtb as dtb.img it does boot, when inserted in root-directory 

 

 

T95K_Pro_Ethernet-Chip.jpg

T95K_Pro_Mainboard.jpg

T95K_Pro_PCB_Version.jpg

T95K_Pro_WiFi-Chip.jpg

Link to post
Share on other sites

Donate and support the project!

Hey @balbes150 I don't understand the process to try different dtb files.
By example,  in Armbian_5.37_S9xxx_Ubuntu_xenial_3.14.29_mate_20180205.img.xz in the BOOT partition 

I can find a folder called /dtb/  other /dtb-3.14.29/ and other /dtb-3.14.29.old/ but not a file called dtb.img inside or outside this folders. 

Can you check the instructions in the first page of this post and update the information?

Please

Link to post
Share on other sites

4 minutes ago, manuti said:

I can find a folder called /dtb/  other /dtb-3.14.29/ and other /dtb-3.14.29.old/ but not a file called dtb.img inside or outside this folders. 

Can you check the instructions in the first page of this post and update the information?

 

 

The instructions are OK :)
You have to *know* (or try and error = no-boot) the right .dtb inside these folders (I use the folder dtb-3.14.29 ) and copy your .dtb as "dtb.img" to the 

root-directory / of your USB-Stick/SD-Card

 

Link to post
Share on other sites

Version 20180213.

Updated part modules of WiFi + updated firmware. Tested Wi-Fi in s905 (Vega95 Telos\Pro).

Changed the mt7601u driver.

 

 

Added deb packages from the latest version 5.41. Please note that I recommend using firmware-aml-20180213.deb, if WiFi will not work (after downloading the desired module manually), you can try using the old version of firmware-aml.deb

Link to post
Share on other sites

2 hours ago, guidol said:

 

The instructions are OK

I didn't remember adding manually any dtb.img with 5.34 version or maybe an old one?

Can the system boot without adding a dtb file?

Anyway this evening I try to find wich dtb is suitable for my MXQ PRO 4K and MXQ PRO 4K.

Thanks @guidol 

 

Link to post
Share on other sites

30 minutes ago, manuti said:

Can the system boot without adding a dtb file?

 

No, he can't.

 

For the MXQ Pro 4k (SOC: Amlogic S905X) try first the file "gxl_p212_2g.dtb" (if 2GB... or xxx_1g.dtb if 1GB).

 

In general:
p212: for Amlogic S905X
p200/p201: for Amlogic S905
q200/q201: for Amlogic S912

... and other version for specific hardware (S912 100mbps or 1gpps, Weitek Play, Khadas VIM/VIM2, Realtek wifi, etc...).

Link to post
Share on other sites

1 hour ago, balbes150 said:

Version 20180213.

Updated part modules of WiFi + updated firmware. Tested Wi-Fi in s905 (Vega95 Telos\Pro).

Changed the mt7601u driver.

 

 

Added deb packages from the latest version 5.41. Please note that I recommend using firmware-aml-20180213.deb, if WiFi will not work (after downloading the desired module manually), you can try using the old version of firmware-aml.deb

Has something been changed in the kernel to solve the abnormal load caused by vdec-core?

Link to post
Share on other sites

28 minutes ago, guidol said:

Mine DID boot without a dtb.img! (but didnt with the wrong .dtb)

But I think - that I did read - that the system does try to use the right dtb by itself

Yes, the system tries to use the embedded dtb (from the eMMC), but this only works if the eMMC uses a the same kernel . For example, if the eMMC  installed has a version of LE that uses a similar kernel or Armbian\Linux.

Link to post
Share on other sites

7 hours ago, balbes150 said:

I'm sorry, I don't understand the question. Describe in detail the essence of the question.

After a clean install of debian stretch you can notice a strange load when the system is in idle, also if the cpu is at 0% and we have almost all the ram free we can notice a strange load average. The load should be 0 but it never goes under 1. You can notice this with the commands "top" or "uptime" but I'm sure that you know this :-)

With the command "ps -e v" I noticed that there is the process vdec-core that always waits for disk access (D) and in effect you can continuosly see this process in the top and should be for this that the load never goes to 0.

After some search I discovered that this should be something kernel related, but I'm not sure what this is.

Remembering that in jessie everythings was working correctly and that in the same conditions I had a load of 0, I have simply tried to using the kernel from jessie in stretch to see what happened, I have simply replaced the zimage and in this way the process vdec-core has disappeard and with the cpu at 0% now i have a load of almost 0, how this should be.

At the moment to solve this problem I'm using the zimage from jessie in stretch but I'd like to stay with an updated kernel.

What should we do to solve the problem? Do you know what vdec-core is?

Link to post
Share on other sites

16 hours ago, balbes150 said:

Version 20180213.

Updated part modules of WiFi + updated firmware. Tested Wi-Fi in s905 (Vega95 Telos\Pro).

Changed the mt7601u driver.

 

 

Added deb packages from the latest version 5.41. Please note that I recommend using firmware-aml-20180213.deb, if WiFi will not work (after downloading the desired module manually), you can try using the old version of firmware-aml.deb

Thanks, I downloaded it. I now get the error "ERROR!!! MT7601 E2PROM: WRONG VERSION 0xc should be 9 ", but I have now to fiddle with the firmware. Many thanks once again for your help!!

Link to post
Share on other sites

15 minutes ago, manuti said:

In the first post there is a minimal mistake related to the commands needed to activate Wi-Fi.

I did see this also yesterday - should be
modprobe wifi_dummy

 

but I had to use
modprobe dhd firmware_path=/lib/firmware/brcm/fw_bcm40183b2.bin nvram_path=/lib/firmware/brcm/nvram_ap6330.txt

because of AP6330 WiFi-Chip.
 

 

BTW: For which chip(set) is wifi_dummy?

Link to post
Share on other sites

Finally testing the new kernel image Armbian_5.37_S9xxx_Debian_stretch_4.9.40_xfce_20180204.img. on  MXQ Pro with SoC S905X

This board run quite well with kernel 3.14.29 I post the errors triying to update the system if can be interesting

 

Spoiler

manuti@agp-Lenovo-Yoga-2-13:~$ ssh -X manuti@192.168.1.162
manuti@192.168.1.162's password:
-bash: [: : integer expression expected

Message from syslogd@localhost at Feb 15 20:14:47 ...
 kernel:[   41.439720@3] Internal error: Oops - bad mode: 0 [#6] PREEMPT SMP

Message from syslogd@localhost at Feb 15 20:14:47 ...
 kernel:[   41.568398@3] Process bash (pid: 3741, stack limit = 0xffffffc037354020)

manuti@amlogic:~$
Message from syslogd@localhost at Feb 15 20:14:47 ...
 kernel:[   42.400003@3] Internal error: Oops - bad mode: 0 [#7] PREEMPT SMP

Message from syslogd@localhost at Feb 15 20:14:47 ...
 kernel:[   42.529706@3] Process modprobe (pid: 3750, stack limit = 0xffffffc015630020)

Message from syslogd@localhost at Feb 15 20:14:48 ...
 kernel:[   42.568500@3] Internal error: Oops - bad mode: 0 [#8] PREEMPT SMP

Message from syslogd@localhost at Feb 15 20:14:48 ...
 kernel:[   42.698214@3] Process modprobe (pid: 3759, stack limit = 0xffffffc015568020)

Message from syslogd@localhost at Feb 15 20:14:48 ...
 kernel:[   42.717539@3] Internal error: Oops - bad mode: 0 [#9] PREEMPT SMP

Message from syslogd@localhost at Feb 15 20:14:48 ...
 kernel:[   42.846822@3] Process ntpd (pid: 3139, stack limit = 0xffffffc01d8c0020)

manuti@amlogic:~$ sudo
Message from syslogd@localhost at Feb 15 20:15:07 ...
 kernel:[   51.284485@3] Internal error: : 96000010 [#10] PREEMPT SMP
apt update

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for manuti:
Get:1 http://security.debian.org stretch/updates InRelease [63.0 kB]
Get:3 http://apt.armbian.com stretch InRelease [18.2 kB]                       
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease                
Get:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Get:7 http://security.debian.org stretch/updates/main arm64 Packages [294 kB]
Get:8 http://security.debian.org stretch/updates/main armhf Packages [297 kB]  
Get:9 http://apt.armbian.com stretch/main arm64 Packages [71.9 kB]             
Get:10 http://apt.armbian.com stretch/main armhf Packages [209 kB]             
Get:11 http://apt.armbian.com stretch/stretch-utils armhf Packages [4742 B]    
Get:12 http://apt.armbian.com stretch/stretch-utils arm64 Packages [4749 B]    
0% [4 InRelease gpgv 91.0 kB] [8 Packages 297 kB/297 kB 100%]                  
Message from syslogd@localhost at Feb 15 20:15:38 ...
 kernel:[   93.190538@0] BUG: workqueue lockup - pool cpus=3 node=0 flags=0x0 nice=0 stuck for 41s!
0% [4 InRelease gpgv 91.0 kB] [8 Packages 297 kB/297 kB 100%]
Message from syslogd@localhost at Feb 15 20:16:09 ...
 kernel:[  123.910538@0] BUG: workqueue lockup - pool cpus=3 node=0 flags=0x0 nice=0 stuck for 72s!
0% [4 InRelease gpgv 91.0 kB] [8 Packages 297 kB/297 kB 100%]
Message from syslogd@localhost at Feb 15 20:16:40 ...
 kernel:[  154.626538@0] BUG: workqueue lockup - pool cpus=3 node=0 flags=0x0 nice=0 stuck for 103s!
0% [4 InRelease gpgv 91.0 kB] [8 Packages 297 kB/297 kB 100%]
0% [4 InRelease gpgv 91.0 kB] [8 Packages 297 kB/297 kB 100%]
Message from syslogd@localhost at Feb 15 20:17:10 ...
 kernel:[  185.346538@0] BUG: workqueue lockup - pool cpus=3 node=0 flags=0x0 nice=0 stuck for 134s!
0% [4 InRelease gpgv 91.0 kB] [8 Packages 297 kB/297 kB 100%]
Message from syslogd@localhost at Feb 15 20:17:41 ...
 kernel:[  216.070539@0] BUG: workqueue lockup - pool cpus=3 node=0 flags=0x0 nice=0 stuck for 164s!
0% [4 InRelease gpgv 91.0 kB] [8 Packages 297 kB/297 kB 100%]

 

 

Link to post
Share on other sites

@everyone

A friend got this box:
Beelink GT1 Ultimate

  • GPU: ARM Mali-T820MP3
  • System: Android 7.1
  • CPU: Amlogic S912
  • Core: 2.0GHz,Octa Core
  • RAM: 3G RAM DDR4
  • ROM: 32G ROM
  • 5G WiFi: Yes
  • Bluetooth: Bluetooth4.0
  • Power Supply: External 5V
  • Interface: DC 5V,HDMI,LAN,Micro SD Card Slot,SPDIF,USB2.0

What image is best for this box?

Thanks!

Link to post
Share on other sites

54 minutes ago, balbes150 said:

IMHO the last image 20180216.

I did "update" from 20180212 to 20180216 with installing the following files via dpkg -i

with the files from https://yadi.sk/d/pHxaRAs-tZiei/deb/5.41

(files does show my download-time)
-rw-r--r-- 1 root root 23274564 Feb 16 21:31 firmware-aml_5.41_arm64.deb
-rw-r--r-- 1 root root    80668 Feb 16 21:28 linux-dtb-amlogics905x_5.41_arm64.deb
-rw-r--r-- 1 root root 16948344 Feb 16 21:30 linux-image-amlogics905x_5.41_arm64.deb

Was that the right way (I think yes)? System is running and does show

Linux sunvell-t95kpro 3.14.29 #6 SMP PREEMPT Fri Feb 16 17:44:28 MSK 2018 aarch64 GNU/Linux

 

Is this the only way or is there also a apt-source-repository?

 

Link to post
Share on other sites

The latest version of kernel packages (20180216) can be installed as you wrote. In this version of the deb packages have all the wifi modules. In previous versions of deb packages (< 20180216), this was not the case. The complete set of modules could only be obtained from the image. I don't have network repositories for installing packages yet.

Link to post
Share on other sites

I am trying to compile a module for the rtl8812eu as the one included is  old and I have slow transfer speeds with it.

When I try to compile I get the error missing hypervisor.h, this error has been mentioned before but no reply was received regarding a solution.

Is there a solution or is there a later module available?

Thanks

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

74 74