Jump to content

Armbian for Amlogic S912


chocho

Recommended Posts

Switched to an alternate Ubuntu 18.04 OS which booted up fine and works fine but doesn't have the same bells and whistles that Armbian has which I prefer.

 

Everything is long math way with this OS but it is only a server so it doesn't really matter much.

 

I did try all of the newer current releases of Armbian and they worked fine except for the Gb ethernet interface which doesn't make sense to me.

 

Run these boxes headless and prefer them to boot up running SSH with an IP versus using a monitor and keyboard.

Welcome to Fenix 0.5 Ubuntu 18.04.2 LTS Linux 4.9.40  
 _  ___               _            __     _____ __  __ ____  
| |/ / |__   __ _  __| | __ _ ___  \ \   / /_ _|  \/  |___ \
| ' /| '_ \ / _` |/ _` |/ _` / __|  \ \ / / | || |\/| | __) |
| . \| | | | (_| | (_| | (_| \__ \   \ V /  | || |  | |/ __/
|_|\_\_| |_|\__,_|\__,_|\__,_|___/    \_/  |___|_|  |_|_____|
                                                             

 * Website:        https://www.khadas.com
 * Documentation:  https://docs.khadas.com
 * Forum:          https://forum.khadas.com

Last login: Fri May  3 22:49:27 2019 from 192.168.244.231
root@HS3-ATL:~#

 

Link to comment
Share on other sites

On 5/2/2019 at 8:11 PM, Petee said:

 

Using image:

 

Armbian_5.78_Aml-s912_Ubuntu_bionic_default_5.1.0-rc1_20190412 

 

Boots fine except that the USB wireless keyboard doesn't work and it never connects to the network via DHCP.

 

 

Try with image Armbian_5.78_Aml-s912_Ubuntu_bionic_default_5.1.0-rc1_desktop_20190409.img

in this image wifi keyboard working for me.  In the latest, unfortunately, it does not work.

Link to comment
Share on other sites

Thank you Dariusz Biernat. 

 

Tried mentioned Armbian_5.78_Aml-s912_Ubuntu_bionic_default_5.1.0-rc1_desktop_20190409.img.

 

Same results.

 

Yes tried again last night with same images dated 20190409.  The Logitech wireless keyboard combo works well now.  Thinking the battery was going out on the device.  All except for the ethernet port works with both the desktop and server build.

 

Tried every server and desktop version posted and same issue with all of them relating to not getting a DHCP address.

 

It is odd cuz I tested the VIM2 build to work perfectly with the new box except that I do not get the bells and whistles from the Armbian build.  None the less have configured the box for use and rebooted it a few times and all is well long math way.

 

It is using the same VTB file for both images so do not understand. 

 

Link to comment
Share on other sites

Today tried with image:

 

Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_server_20180601

 

I did not know that the older images were posted until reading another thread here.

 

Works perfectly. 

 ____  ___                   
/ ___|/ _ \__  ____  ____  __
\___ \ (_) \ \/ /\ \/ /\ \/ /
 ___) \__, |>  <  >  <  >  <
|____/  /_//_/\_\/_/\_\/_/\_\
                             

Welcome to ARMBIAN 5.44 user-built Ubuntu 18.04 LTS 3.14.29   
System load:   1.06 1.11 1.14      Up time:       39 min        
Memory usage:  4 % of 2733MB     IP:            192.168.244.250
CPU temp:      36°C               
Usage of /:    4% of 29G        

[ 0 security updates available, 1 updates total: apt upgrade ]
Last check: 2019-05-06 22:26

Last login: Mon May  6 22:26:24 2019

root@amlogic:~# uname -a
Linux amlogic 3.14.29 #207 SMP PREEMPT Fri Jun 1 09:27:52 MSK 2018 aarch64 aarch

 

IE: network came up right away.  It is a server and will be running headless such that a monitor will never be connected to it.

 

Will try to update this image to current kernel to see if that works?

 

Link to comment
Share on other sites

Updated to nightly build and it now shows on login:

 ____            _    ____               __   _  _   
|  _ \ ___   ___| | _|  _ \ _ __ ___    / /_ | || |  
| |_) / _ \ / __| |/ / |_) | '__/ _ \  | '_ \| || |_
|  _ < (_) | (__|   <|  __/| | | (_) | | (_) |__   _|
|_| \_\___/ \___|_|\_\_|   |_|  \___/   \___/   |_|  
                                                     

Welcome to ARMBIAN 5.84.190505 nightly Ubuntu 18.04.2 LTS 3.14.29   
System load:   1.23 1.22 1.10      Up time:       41 min        
Memory usage:  4 % of 2733MB     IP:            192.168.244.250
CPU temp:      35°C               
Usage of /:    4% of 29G        

[ 0 security updates available, 1 updates total: apt upgrade ]
Last check: 2019-05-06 19:46

[ General system configuration (beta): armbian-config ]

 

Doing an upgrade it wants to install:

 

Calculating upgrade... Done
The following packages will be upgraded:
  linux-image-rockchip64
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.

 

Then errors out trying to install the upgrade.

 

Unpacking linux-image-rockchip64 (5.84.190505) over (5.83.190426) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-rockchip64_5.84.190505_arm64.deb (--unpack):
 unable to make backup link of './boot/System.map-4.4.178-rockchip64' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
mv: cannot stat '/boot/vmlinuz-4.4.178-rockchip64': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-rockchip64_5.84.190505_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

 

 

Link to comment
Share on other sites

Gave up and went back to the VIMII image which was all configured as a server.

 

I stumbled here after installing docker and a custom docker application which you had to build to get it to work and running in to unavailble ARM64 libraries which I have never seen before. 

 

Wondering if this was because of the kernel version running.

 

Link to comment
Share on other sites

I am French, in advance sorry for my english. (and thanks google trad lol)
I bought a kvm box to use the same keyboard for my desktop pc and my box Alfawise H96Pro+ with armbian 5.78.
It works fine on my desktop pc with manjaro but the keyboard is not detecting on armbian, would anyone have any idea where it might come from?
Thank you in advance.

Link to comment
Share on other sites

On 5/7/2019 at 10:05 PM, Petee said:

Gave up and went back to the VIMII image which was all configured as a server.

 

I stumbled here after installing docker and a custom docker application which you had to build to get it to work and running in to unavailble ARM64 libraries which I have never seen before. 

 

Wondering if this was because of the kernel version running.

 

Can you tell me how to burn the firmware to t95z max?

I have a t95z max same with yours,but i failed to burn it.

1、VIM2_Ubuntu-server-bionic_Linux-4.9_arm64_EMMC_V20190320.img

2、USB_Burning_Tool_v2.1.7

3、power on with reset button pressed.

4、It failed at 2%, error code 0x10105004

 

Link to comment
Share on other sites

@jianchunchen

 

I wrote the image to an SD card, booted pressing the reset button and I was good to go.

 

Specifically it was the server version: VIMs_Ubuntu-server-bionic_Linux-4.9_arm64_SD-USB_V20190604.7z

 

I used Etcher to write the SD card on my Ubuntu 18.04 laptop.

 

The above said one T95Z Max has turned out to be a "dud".  It started to overheat a couple of weeks ago and when it is hot it doesn't work.

 

Rather than open the case (break the seals) I have returned it. 

 

The other T95Z Max is running CoreElec and doing fine.

 

The other two S912 TVBoxes have been working fine running in server mode / CoreElec and multitasking 24/7 with no problems.

I like the power button on one of the S912's.

 

Also now tinkering with the BeeLink BT3 Pro (Intel) computer.  It's not an optimal TV watching box BUT it is a great tiny Ubuntu box running Ubuntu 18.04 and W7E (Oracle VB)

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

14 hours ago, Petee said:

Also now tinkering with the BeeLink BT3 Pro (Intel) computer.  It's not an optimal TV watching box BUT it is a great tiny Ubuntu box running Ubuntu 18.04 and W7E (Oracle VB) 

 

Yes, it is a "good" solution to give all sorts of freaks easy access to all your data and full control over this device.  :ph34r:

Link to comment
Share on other sites

You are making me paranoid.  ;)

 

All I do is run MS SAPI on the Windows 7 embedded.  5 voices as I collect SAPI voice fonts (multiple languages).

 

I prefer to keep the voice TTS in house versus using the Amazon Alexa for TTS (although I am tinkering with it).

Link to comment
Share on other sites

Hi all,

I've china box looks like clone of h96pro+ 2/16 ap6330 wifi. I've installed  ARMBIAN 5.88 user-built Debian GNU/Linux 10 (buster). Tried all of dtb files. Some are boot but no-wifi/bt and device becomes freezed at random time-line.  Also I got another sdcard that installed coreelec 9.2. Working well, wifi/bt are ok and no freezing. I'm suspecting dtb files not compatible with my cheap box. I'm tried coreelec's running dtb but no boot. Tried to convert with dtc tool like noob but no luck. I don't know how to use it.

 

Here is my question.

Can I convert my coreelec dtb file for my debian installed box? Or can I dump/extract dtb from my android firmware ?

 

PS : I clicked Submit Reply button no any succes message if double post occour remove one.

 

Link to comment
Share on other sites

1 hour ago, Knoxwille said:

Or can I dump/extract dtb from my android firmware ?

Android on s912 is based an on old 3.14 kernel, so it won't work with kernel 4.x.

For corelec, I don't know the kernel version they use. If it close enough to the linux kernel you want to use, it may work or it may be not to difficult to build one.

1 hour ago, Knoxwille said:

h96pro+ 2/16 ap6330 wifi

I have one (not sure of the wifi chip) and was able to boot a recent Balbes image with vim2 dtb, but ethernet and wifi were not working and I don't investigate further.

Link to comment
Share on other sites

Here for two S912 boxes and current version of KODI

 

TicTid X9T Pro - S912 - 3Gb - Gb NIC

TX9 Pro Amlogic S912 - 3Gb - Gb NIC

 

Went to using CoreElec mostly for HD 4K playback and that is using the old kernel.

 

##############################################
#                  CoreELEC                  #
#            https://coreelec.org            #
##############################################

CoreELEC (official): 9.0.2 (Amlogic.arm)
ICS-X9T:~ # uname -a
Linux ICS-X9T 3.14.29 #1 SMP Sun May 12 15:03:58 BST 2019 aarch64 GNU/Linux
ICS-X9T:~ #

I did get HD video using the latest builds via VIM2 BUT that was a virtual HD video emulation and did not provide me with HD 4K playback.  IE: this one is currently configured as a server and can see the desktop fine but it is an emulated video and does not do HD 4K playback .. and can't get NIC port to work on it....

 

T95Z Max S912

 

uname -a
Linux HS3-ATL 5.1.0-aml-s905 #5.89 SMP PREEMPT Mon Jun 17 13:01:39 MSK 2019 aarch64 aarch64 aarch64 GNU/Linux

 

Link to comment
Share on other sites

Seeing that CoreElect running:

Linux ICS-X9T 3.14.29 #1 SMP Sun May 12 15:03:58 BST 2019 aarch64 GNU/Linux

 

Old kernel decided to try Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_server_20180729.img.xz.

 

Interesting that it booted right up and ethernet interface is working fine now.  I understand that the kernel is old but really all I want is this box to run Armbian Ubuntu Server.

Not interested in using the wireless and or blue tooth interface at this time.

 ____  ___                   
/ ___|/ _ \__  ____  ____  __
\___ \ (_) \ \/ /\ \/ /\ \/ /
 ___) \__, |>  <  >  <  >  <
|____/  /_//_/\_\/_/\_\/_/\_\
                             

Welcome to ARMBIAN 5.44 user-built Ubuntu 18.04.1 LTS 3.14.29   
System load:   1.14 0.78 0.34      Up time:       4 min        
Memory usage:  4 % of 2733MB     IP:            192.168.244.250
CPU temp:      38°C               
Usage of /:    4% of 29G        

[ 0 security updates available, 202 updates total: apt upgrade ]
Last check: 2019-06-21 09:52

Last login: Fri Jun 21 09:49:18 2019 from 192.168.244.232

 

root@HS3-ATL:~# ethtool eth0
Settings for eth0:
    Supported ports: [ TP AUI BNC MII FIBRE ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                         100baseT/Half 100baseT/Full
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 1
    Transceiver: external
    Auto-negotiation: on
    Supports Wake-on: ug
    Wake-on: d
    Current message level: 0x0000003d (61)
                   drv link timer ifdown ifup
    Link detected: yes

Now I can move on to installing Docker and Home Assistant. 

 

It would be nice if this box's ethernet interface worked with current released kernel.

Link to comment
Share on other sites

I have left it running now for a few weeks and it runs fine.  It did error out on one update and I rebooted it and updated it again and it is fine.

 

NOTE: this is only for the T95Z Max S912 TVBox.

 

Thinking though of freezing the updates now on it....


 

 _____ ___  ____ _____  ____  ___  _ ____  
|_   _/ _ \| ___|__  / / ___|/ _ \/ |___ \
  | || (_) |___ \ / /  \___ \ (_) | | __) |
  | | \__, |___) / /_   ___) \__, | |/ __/
  |_|   /_/|____/____| |____/  /_/|_|_____|
                                           

Welcome to ARMBIAN 5.73 stable Ubuntu 18.04.2 LTS 3.14.29   
System load:   1.45 1.29 1.22      Up time:       18:57 hours        
Memory usage:  10 % of 2733MB     IP:            192.168.244.250
CPU temp:      35°C               
Usage of /:    29% of 29G        

[ Menu-driven system configuration (beta): sudo apt update && sudo apt install armbian-config ]

Last login: Wed Jul  3 20:46:17 2019 from 192.168.244.232

root@HS3-ATL:~#

Note that I updated the release version to indicate that it is a S912 as it kept going to showing a Rock64 on the update.

I also found that I had a bad SD card running for a while which caused me much grief.

 

This box is running Home Assistant, HomeSeer, Node Red, Mosquitto, Leviton OmniLinkBridge (MQTT) and testing with a Digi 8 port edgeport.

 

So in addition it is running a connection to a UPB controller, ethernet ZWave, RFID.  I am testing a LoRa RFID connection via two transievers with a range of 8 Km.

 

I do not know what dtb file it is using cuz it is not in the uEnv.ini file such that it is using defaults. 

root@HS3-ATL:/boot# ls
aml_autoscript                  fan.sh
aml_autoscript.zip              hdmi.sh
armbianEnv.txt                  Image
armbianEnv.txt.out              initrd.img-4.4.182-rockchip64
armbian_first_run.txt.template  s905_autoscript
boot.cmd                        s905_autoscript.cmd
boot.scr                        System.map-4.4.182-rockchip64
config-4.4.182-rockchip64       uEnv.ini
dtb                             uInitrd
dtb-3.14.29.old                 zImage
dtb.old
root@HS3-ATL:/boot# cat uEnv.ini
bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mac=${mac}

It just works fine as an Ubuntu server for automation.  I have no keyboard, mouse or HDMI monitor connected to it.

 

Note that the kernel is old:

 

root@HS3-ATL:/boot# uname -a
Linux HS3-ATL 3.14.29 #26 SMP PREEMPT Sun Jul 29 11:26:15 MSK 2018 aarch64 aarch64 aarch64 GNU/Linux

It is only for this model TVBox S912.  Rest of the S912 boxes are running with newest kernels just fine.

IE: when trying a new kernel on this one the Gb NIC wasn't working and only wireless and bluetooth worked.

 

Download and install this build for this box to work.  (note that I never tried WLAN or Bluetooth with it and do not need it).

 

It is listed as Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_server_20180729.img.xz dated 07292018.

 

Going to kernels 4.X and 5.X did not work for me with this specific device.

 

Never did boot it to Android or even looked.  Maybe my approach was wrong?

 

Any guidance on updating Android and extracting DTB file for use with Armbian would be appreciated. 

 

Just purchased a second BeeLink BT3 Pro here.  NOT for TV rather just for Automation.

Got the first one new for $65 and second one for $100.  It is not worth the $150 that Amazon is selling them for.

 

I do now see a similiar to BeeLink BT3 pro with an SSD card slow underneath for around $100.

 

For KODI use have settled on using CoreElec with an old kernel just for the HD 4K features.

 

For server use and no video have settled on currently posted kernel.

 

Still liking the footprint versus the RPi (even the RPi 4).

 

 

Link to comment
Share on other sites

@Petee thank you, network is up in 100Mb after delete the dtb.img I copied .

 

further test:

1. Ubuntu_bionic_3.14.29_server_20180729, after upgrade, OS won't boot

2. debian 3.14.29 20180729, after reboot , network did not work anymore. (not upgrade yet).

3. external usb network adapter test work, in 1Gb/s. (AX88179 chip)

 

now is running 5.10 debian buster with external usb network adapter.

Link to comment
Share on other sites

Thank you.  Understood.  Thought for a bit that increasing the size of the boot partition would make the updates work better.

 

Yes this one here is still running at 1 Gb after updating.  I did have errors on the second or third update and froze the build.

 

I was able to utilize the 5XX builds with Wireless / Bluetooth running but not Gb Ethernet. 

 

 

Link to comment
Share on other sites

at last I purchase a SBC and run dietpi (dns/media stream/rss services), t95z plus will stay for test purpose, with wireless connection. (sometimes the usb network will not work after OS reboot, have to manually unplug/plug power supply).

Link to comment
Share on other sites

Hi!

I have a Mecool M8S PRO L S912 3G 16G DDR3 LB tv box, i tried to boot newer 4.x 5.x kernel linux images from sd card , but i cannot booted them. 
There https://yadi.sk/d/pHxaRAs-tZiei I can found only the newer images. Can somebody give me some links for older 3.14 kernel linux (desktop/server) images? Which dtd file should I use to work?

 

Thanks :)

Edited by zabolcs
Link to comment
Share on other sites

Hi S912 owners,

 

Since my exchange with @balbes150 I came to the conclusion that the: Tanix-TX92 (Vorke Z6 Plus) Amlogic S912, 3GB RAM, 2,4 & 5 WiFi, USB 2.0,  only 2A PSU, Power Button  sound like a good balance between price and features  USD 52.- from China.

  1. Now I was wondering how happy you are with the Chip/Box per se?
  2. What is the latest Android that runs well on this box (no interruptions in a movie) ?
  3. How is armbian performing in Dual boot, perhaps with Kodi 18?
  4. Can someone recommend a good power supply 5V 3A?

 

Thanks

Link to comment
Share on other sites

Good Day

 

I have a Mecool K3 Pro (S912) which includes an internal DVB tuner.  I have installed the latest 

 

Armbian_5.94_Aml-g12_Ubuntu_bionic_default_5.2.1_20190821.img

 

from balbes150 using the meson-gxm-s912-kiii-pro.dtb in the uEnv.ini

 

It is working well, except there is no DVB devices in Armbian. I am interested in the DVB-S tuner.

 

If I look at the meson-gxm-s912-kiii-pro.dts device source tree (and the #includes), it seems that AFL1 included the dvb setup in there already. 

 

Does anyone have any input OR was able to get the DVB tuner to work on the K3 Pro for Armbian?

 

Thank you.

Link to comment
Share on other sites

On 8/19/2019 at 12:20 AM, Tido said:

Power Button 

Please note, the principle of using the button may be different. There are hardware buttons, they work correctly with Linux, there are "soft" buttons, they do not work well with Linux (supported only in Android firmware). What tasks do you plan to solve on this device ? With Tanix products I would recommend to be more careful, there may be problems with running Linux.

 

 

Link to comment
Share on other sites

Thank you, a valid point. Didn't consider that. The switch on the TX92 has about 4-5 cables (2 for the LED I guess). How can you tell, if a push button on such box is 'working' or not?

 

1 hour ago, balbes150 said:

there may be problems with running Linux.

hmm, can you name something that you have in mind ?

 

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines