Jump to content

Armbian for Amlogic S912


chocho

Recommended Posts

I run several boxes with armbian, most are s905x and one is s912. Mostly running home services like openhab, zm, etc. 

on s912 I run builds with Java (for my work)

and from time to time I get strange segfaults while never had them on s905x. The issue is persistent on different builds for s912.
 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000ffff8f7817d0, pid=11561, tid=11590
#
# JRE version: OpenJDK Runtime Environment (11.0.4+11) (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
# Java VM: OpenJDK 64-Bit Server VM (11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0x46e7d0]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/alex/hs_err_pid11561.log
#
# If you would like to submit a bug report, please visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
#


I was thinking about overheating, but never seen temp above 55

Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   CPU
15:26:41: 1000/1512MHz  3.12  19%   0%  17%   0%   1%   0% 49.0°C


Has anyone faced similar issues?
 

Link to comment
Share on other sites

Hi Everyone,

 

I have spent a lot time and effort but could not manage to Beelink GT1 running. Once I boot the device with SD card, it stucks in Beelink logo for a while (waited around 10 mins)

Is this problem might be due to current Android version ? (v6.0)

 

Can you advise which armbian version (kernel version as well) and DTB to use ?

 

Full specs Beelink GT1 2GB / 32GB (G912)

 

Bee-Link-GT1-S912-Specs.jpg

Link to comment
Share on other sites

9 hours ago, Ceteris_Paribus said:

Can you advise which armbian version (kernel version as well) and DTB to use ?

 

If when you connect the media with Armbian, the regular firmware does not start, then the universal multi-boot works and you need to setup the DTB setting (select the working dtb file).

Link to comment
Share on other sites

Look's like there is not right dtb file for the Tanix TX9s for now. The box has 2GB of ram and 8GB rom so it's quite unique at the moment. Any idea is there any change to get TX9s and Armbian working together with using dtb file from another S912 device (maybe 16GB rom version)?

Link to comment
Share on other sites

On 11/12/2019 at 7:32 AM, balbes150 said:

 

If when you connect the media with Armbian, the regular firmware does not start, then the universal multi-boot works and you need to setup the DTB setting (select the working dtb file).

Which DTB file should I use for BeeLink GT1 2gb/16 G912 ?

I tried several files but non of them worked

Link to comment
Share on other sites

On 11/12/2019 at 7:32 AM, balbes150 said:

 

If when you connect the media with Armbian, the regular firmware does not start, then the universal multi-boot works and you need to setup the DTB setting (select the working dtb file).

I got it working with Armbian_5.76_Aml-s912_Ubuntu_bionic_default_4.20.5_desktop_20190224 image even without putting any dtb file.

 

Is theresomething wrong with Kernel 5 for my box :

 

However, wifi is not working :(

Link to comment
Share on other sites

I'm trying to install armbin on an s10 tv box, same as xgody 912. It has 3g ddr4, 1000Mb ethernet. but no sucess to boot.

 

I tried to decompile dtb from a original rom, hope I didnt made any mistake in all process to unpack, split the meson.dtb and then decompile the meson-gxm-q201-3g.dtb

 

this is the decompilation, maybe for some people it can make sense why it does but any other system that uses dtb with same name.

 

https://gist.github.com/nmocruz/a0baaf537808335ddc8bab2042131624

 

I was able to install once using an old generic armbian for s912 after a few reboot I was able to install, and the /proc/device-tree/model is saying Khadas VIM2, maybe was the first with conditions to boot. 

Edited by Nuno Cruz
Link to comment
Share on other sites

Hello!

 

Trying to set up Armbian on my Meecool M8S PRO L, based on S912 SoC. Looks like it is supported and balbes150 build should work fine. At least it worked well for my friend in 2018, but old Armbian builds based on 3.14 kernel were removed by balbes150 :(

 

Ok, I look latest build with meson-gxm-q201.dtb at least loads fine and I get the working device:

  • Working USB, mouse/keyboard
  • XFCE starts well, video output works well
  • Audio hdmi output works fine on my TV, but analog output is silent (why? Android sound)
  • ethernet works but only 100 Mb, and completely do not work with other dtb (I tried vega-s96 and s912-kiii-pro)
  • no wifi
  • no bluetooth
  • mouse pointer (cursor) is blinking while playing video, looks like video drivers are not 

Can you help me to build Armbian for my board? At least a working draft version of config will be helpfull. Any ways to get bluetooth working?

 

 

 

 

Link to comment
Share on other sites

On 11/16/2019 at 1:50 PM, Ceteris_Paribus said:

I got it working with Armbian_5.76_Aml-s912_Ubuntu_bionic_default_4.20.5_desktop_20190224 image even without putting any dtb file.

 

Is theresomething wrong with Kernel 5 for my box :

 

However, wifi is not working :(

 

Hi everyone ! Can somebody upload this version ? I need it desperately

 

Armbian_5.76_Aml-s912_Ubuntu_bionic_default_4.20.5_desktop_20190224

Link to comment
Share on other sites

On 2/1/2020 at 1:08 PM, Ceteris_Paribus said:

 

Hi everyone ! Can somebody upload this version ? I need it desperately

 

Armbian_5.76_Aml-s912_Ubuntu_bionic_default_4.20.5_desktop_20190224

 

HI, did you find this version?

 

I also have the same problem with the GT1, I have tried all the images without success.

 

Thanks.

Link to comment
Share on other sites

On 12/5/2016 at 3:42 AM, lvmc said:

@balbes150 and @chocho

 

I learnt how to extract the dtb and dts file from Beelink Android images. I will be documenting it here to help other users, but it is the exactly process @chocho already did.

 

1) update your GT1 device with GT1_104M0.img or GT1_104M0_AP6255.img

 

2) power-up, boot GT1;

 

3) copy boot.img from running Android image


adb pull /dev/block/boot boot.img

4) download split_bootimg.pl tool and run it over boot.img


wget -c http://www.enck.org/tools/split_bootimg_pl.txt -O split_bootimg.pl
chmod a+x split_bootimg.pl
split_bootimg.pl boot.img

Result:


-rw-r--r--   1 lvmc  staff    32M Dec  4 19:28 boot.img
-rw-r--r--   1 lvmc  staff   7.0M Dec  4 20:08 boot.img-kernel
-rw-r--r--   1 lvmc  staff   898K Dec  4 20:08 boot.img-ramdisk.gz
-rw-r--r--   1 lvmc  staff    82K Dec  4 20:08 boot.img-second.gz

5) find the hex addresses of "d0 0d fe ed"


hexdump -C -v boot.img-second.gz |less

Results (hex and decimal addresses):


gxm_q201_1g: 00000800 (2048)
gxm_q201_2g: 0000a800 (43008)

6) extract available dtb sections from boot.img-second.gz


gxm_q201_1g
dd if=boot.img-second.gz of=gxm_q201_1g.dtb bs=2048 skip=1

gxm_q201_2g
dd if=boot.img-second.gz of=gxm_q201_2g.dtb bs=43008 skip=1

7) convert dtb (binary format) to dts (readable)


dtc -I dtb -O dts -o gxm_q201_201_1g.dts gxm_q201_201_1g.dtb
dtc -I dtb -O dts -o gxm_q201_201_2g.dts gxm_q201_201_2g.dtb

*dtc command is available on GNU/Linux

 

There is only one difference between gxm_q201_201_1g.dts and gxm_q201_201_2g.dts


memory@00000000 {
device_type = "memory";
linux,usable-memory = <0x0 0x1000000 0x0 0x3f000000>;
};


memory@00000000 {
device_type = "memory";
linux,usable-memory = <0x0 0x1000000 0x0 0x7f000000>;
};

boot.img, dtb and dts files from previous steps are available at:

https://dl.dropboxusercontent.com/u/11164079/GT1/beelink_gt1.tar.gz

 

beelink_gt1/boot


-rw-r--r--  1 lvmc  staff    32M Dec  4 19:28 boot.img
-rw-r--r--  1 lvmc  staff   7.0M Dec  4 20:08 boot.img-kernel
-rw-r--r--  1 lvmc  staff   898K Dec  4 20:08 boot.img-ramdisk.gz
-rw-r--r--  1 lvmc  staff    82K Dec  4 20:08 boot.img-second.gz

beelink_gt1/dtb_dts


-rw-r--r--  1 lvmc  staff    80K Dec  4 20:24 gxm_q201_1g_00000800.dtb
-rw-r--r--  1 lvmc  staff    48K Dec  4 20:25 gxm_q201_1g_00000800.dts
-rw-r--r--  1 lvmc  staff    40K Dec  4 20:18 gxm_q201_2g_0000a800.dtb
-rw-r--r--  1 lvmc  staff    48K Dec  4 20:21 gxm_q201_2g_0000a800.dts

i am using above mentioned commands but split_bootimg.pl does not produce boot.img-second.gz file

Link to comment
Share on other sites

Hello I try to put Armbian on my H96+ S912 but i got same error with sd car or usb

 

Install /sdcard/aml_autoscript.zip

Finding update package...

Opening update package...

failed to map file

Installation aborted

Link to comment
Share on other sites

Hello, I use my H96 Pro+ 3GB (S912) for many things,  "download station", VPN, hosting .... all these work fine, but... I have the H96 connected to a televison and sometimes I like to play some games. I have installed mame, it works, but I have to reduce the resolution if I want to play at decent speed, but some games (Golden Axe) has a very very low frame rate. The H96 moves very well Golden Axe in Android, so I supose that there is a problem with mali drivers, no? Any solution? I have tried to install retropie from its git repository but not works. I have installed a MSX emulator and it works, but again I have to reduce the resolution and even with the lowest resolution not works at full speed.

I have installed in sd Bionic 5.5.0-rc6-aml-s9xxx, works very well, but very very slow in mame.

 

Note: if I disabled cores 4-7 works better, but it is not enough, still slow even at lowest resolution

 

Thank you.

 

 

Link to comment
Share on other sites

Hi , same issue here, i tried some dtb , i can manage to make it run but the ethernet and wifi doesn't work (it's not blinking), it detects some eth0 but can't connect (even on boot is not blinkin anything).

 

I m using a Beelink Ultimate GT1 (s912 3 gb)

 

i m running 5.7.0-rc1-arm-64 bionic desktop

Armbian_20.05.2_Arm-64_bionic_current_5.7.0-rc1_desktop_20200423

 

the dtb i use is gtx-200 if i recall good.

 

It's like the eth0 it's been recognized (but not entirely) but even forcing a good IP it's not connecting/blinking.

 

This is the sudo ethtool eth0

Settings for eth0:
	Supported ports: [TP MII ]
	Supported link modes:	10baseT/Half 10baseT/Full
							100baseT/Half 100baseT/Full
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:	10baseT/Half 10baseT/Full
							100baseT/Half 100baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: Unknown!
	Duplex: Unknown! (255)
	Port: MII
	PHYAD: 8
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: ug
	Wake-on: d
	Current message level: 0x0000003f (63)
							dry probe link time ifdown ifup
	Link detected: no

What should i do to make it work?

Would be easier if i change the image? i try some but whenever i manage to make it run the eth0 (and wifi) doesn t work.

 

Thanks for any suggestion.

 

 

Link to comment
Share on other sites

On 5/28/2020 at 10:27 AM, Nikeb said:

Hi , same issue here, i tried some dtb , i can manage to make it run but the ethernet and wifi doesn't work (it's not blinking), it detects some eth0 but can't connect (even on boot is not blinkin anything).

 

I m using a Beelink Ultimate GT1 (s912 3 gb)

 

i m running 5.7.0-rc1-arm-64 bionic desktop

Armbian_20.05.2_Arm-64_bionic_current_5.7.0-rc1_desktop_20200423

 

the dtb i use is gtx-200 if i recall good.

 

It's like the eth0 it's been recognized (but not entirely) but even forcing a good IP it's not connecting/blinking.

 

This is the sudo ethtool eth0

meson-gxm-vega-s96.dtb


Settings for eth0:
	Supported ports: [TP MII ]
	Supported link modes:	10baseT/Half 10baseT/Full
							100baseT/Half 100baseT/Full
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:	10baseT/Half 10baseT/Full
							100baseT/Half 100baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: Unknown!
	Duplex: Unknown! (255)
	Port: MII
	PHYAD: 8
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: ug
	Wake-on: d
	Current message level: 0x0000003f (63)
							dry probe link time ifdown ifup
	Link detected: no

What should i do to make it work?

Would be easier if i change the image? i try some but whenever i manage to make it run the eth0 (and wifi) doesn t work.

 

Thanks for any suggestion.

 

 

hello, I don't have the ultimate version of GT1 but I use the meson-gxm-vega-s96.dtb  everything ok and ETH0 !

Just the CPU Temp at 55° but the box work great (home-asssitant).

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