Jump to content

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


balbes150

Recommended Posts

Test image Debian + KODI-18.

 

https://yadi.sk/d/goZiDfto3UV8UU

 

To run KODI-18 , you need to perform additional configuration of the system.

1. you need to remove the package “pulseaudio”

2. Switch to the test repository (disable all other repositories and enable "test" in the sourceslist file). Then install a new version of libc6-2.27 from the test repository).
After these steps, you can use KODI-18 as usual.

Link to comment
Share on other sites

Add test image Ubuntu + KODI-18.
To run KODI-18 , you need to perform additional configuration of the system.

1. you need to remove the package “pulseaudio”

2. switch to the “bionic” repository (disable all other repositories and enable “bionic” in the sourceslist file). Then install a new version of libc6 from the “bionic” repository).

After these steps, you can use KODI-18 as usual.

Link to comment
Share on other sites

If you as i'm have some problem with arm64 chromium, some hint how get armhf browser in stretch(in stretch chromium:armhf from repo don't work). Before start update you system apt update && apt upgrade. Download deb package chromium-browser:armhf and chromium-codecs-ffmpeg-extra:armhf from ppa like  https://launchpad.net/ubuntu/xenial/armhf/chromium-browser/65.0.3325.181-0ubuntu0.16.04.1 then install it with $ sudo dpkg -i *.deb and install dependencies $ sudo apt-get -f install  . If you haven't any armh package before all works fine.

Link to comment
Share on other sites

On ٢١‏/٤‏/٢٠١٨ at 7:55 PM, balbes150 said:

Image update Armbian kernel next 4.17-rc1 20180420 (directory “test” on the website). Now in the mainline kernel works HDMI, USB, wired network.

 

 

hi  it is my test armbian kernel 4.17 with my device wetek play 2  is  work  fine

 

 

hdmi work fine

ubuntu speeder

The graphics interface is running

wired network work

h/w video is Very heavy

sound not work

h

Link to comment
Share on other sites

Hi all!

I wish to run Armbian on a Beelink Mini MXIII (S905 cpu), I have tried several images but the only ones I can get to boot are the ones from S905 directory, is that the only images that CAN run on this box? I really wanted MALI support and I don't care about Kodi so I use the Mate image. WiFi and BT is not working either, can someone please direct med to what modules I need and how to get/install them?

 

I have extracted the correct dtb file from the Android software update for this box so device tree should be correct. I'd like to run Cinnamon desktop, installed it but it runs in SW rendering, a little sluggish but not too bad actually. Would MALI support fix that?

 

EDIT: The install.sh script does not work, is /dev/data supposed to be the internal memory? In my box is is known as /dev/mmcblk0 to gparted.....

Link to comment
Share on other sites

On 24.04.2018 at 6:14 PM, belaid38 said:

you can build libreelec s905  with  kernel 4.16  or 4.17  .  i need test this

All the time (work on this is underway). :)

 

To All

Upgrade images 20180426 with kernel 4.17_rc2_-next.

Link to comment
Share on other sites

On 4/24/2018 at 3:12 PM, Reddwarf said:

Hi all!

I wish to run Armbian on a Beelink Mini MXIII (S905 cpu), I have tried several images but the only ones I can get to boot are the ones from S905 directory, is that the only images that CAN run on this box? I really wanted MALI support and I don't care about Kodi so I use the Mate image. WiFi and BT is not working either, can someone please direct med to what modules I need and how to get/install them?

 

I have extracted the correct dtb file from the Android software update for this box so device tree should be correct. I'd like to run Cinnamon desktop, installed it but it runs in SW rendering, a little sluggish but not too bad actually. Would MALI support fix that?

 

EDIT: The install.sh script does not work, is /dev/data supposed to be the internal memory? In my box is is known as /dev/mmcblk0 to gparted.....

It is rather annoying when I ask a question and none bother to answer....  is this forum totally abandoned?

 

Balbes150? Anyone?

Link to comment
Share on other sites

17 minutes ago, Reddwarf said:

It is rather annoying when I ask a question and none bother to answer....  is this forum totally abandoned?

 

Balbes150? Anyone?

In this topic from 50 pages. i think 5 or more with like you question and answer...

 

18 minutes ago, Reddwarf said:

I have extracted the correct dtb file from the Android software update

Correct for you android image,  but not for image with kernel 4.9.x for example...

 

22 minutes ago, Reddwarf said:

I really wanted MALI support and I don't care about Kodi

Can compositing from popular DE use gles? Or you need mali for some specific use keys(like qt)?

Link to comment
Share on other sites

2 minutes ago, talraash said:

In this topic from 50 pages. i think 5 or more with like you question and answer...

 

Correct for you android image,  but not for image with kernel 4.9.x for example...

 

Can compositing from popular DE use gles? Or you need mali for some specific use keys(like qt)?

I did not find any posts about Beelink Mini Mx-III in this or other forums...

 

So where can I find the correct device tree for this box? There are some links to yadi.sk but all are dead or does not contain ant relevant dtb...

 

What do you mean by "DE use gles"? I thought Mali support would enable Cinnamon to run in HW acceleration. What about the script to instaall to internal memory?

 

Link to comment
Share on other sites

52 minutes ago, Reddwarf said:

So where can I find the correct device tree for this box? There are some links to yadi.sk but all are dead or does not contain ant relevant dtb...

 

Specialy for this after img burning you can see boot partition with all necessary DTB, hdmi.sh etc.

 

52 minutes ago, Reddwarf said:

I thought Mali support would enable Cinnamon to run in HW acceleration.

What do you mean by acceleration? HW compositing in DE? As i say gles unsuported by all composit managers. If you mean hw acceleration in qt5, it's another difficult task. 

 

52 minutes ago, Reddwarf said:

What about the script to instaall to internal memory?

Did you try nand_sata_install? Armbian-config? If you have trouble post some error masage, logs or othe important information if you want help.

Link to comment
Share on other sites

35 minutes ago, talraash said:

Specialy for this after img burning you can see boot partition with all necessary DTB, hdmi.sh etc.

 

What do you mean by acceleration? HW compositing in DE? As i say gles unsuported by all composit managers. If you mean hw acceleration in qt5, it's another difficult task. 

 

Did you try nand_sata_install? Armbian-config? If you have trouble post some error masage, logs or othe important information if you want help.

I may sount like an idiot to you, but I can't find ANY dtb with a name remotely like Beelink Mini MxIII, what is the name for the dtb for my box?

 

I guess it would be HW acceleration in QT since <Cinnamon rely in QT5. What do you mean with DE?

 

There is NO nana_sata script on the image that boots, only install.sh.....

 

Link to comment
Share on other sites

57 minutes ago, Reddwarf said:

I may sount like an idiot to you, but I can't find ANY dtb with a name remotely like Beelink Mini MxIII, what is the name for the dtb for my box?

FAQ in first message "9. If after 7-10 minutes on the monitor not to receive any messages on system startup. Turn off TV box and add in manual in the first partition (FAT) the file "dtb.img". On the media there is a directory dtb from where you can take the files and copy them to the root of the renaming of "dtb.img".

Need to pick up the option for the file system will run. Pay attention, after you add\change the dtb file, you need to try to run the system and waiting to run 7-10 minutes. If not happened, repeat with a different dtb file." 

I would add that you may try all the appropriate soc models of your box and ram volume.

57 minutes ago, Reddwarf said:

I guess it would be HW acceleration in QT since <Cinnamon rely in QT5. What do you mean with DE?

 

If you rewrite cinamon DE with gles support...)) https://doc.qt.io/qt-5.10/topics-graphics.html

 

57 minutes ago, Reddwarf said:

There is NO nana_sata script on the image that boots, only install.sh.....

 

Few days ago i install to nand debian 5.41.1 from armbian-config. And you still don't post error massage so i don't know what kind of help you want, sorry if this is rude.

Link to comment
Share on other sites

2 minutes ago, talraash said:

FAQ in first post "9. If after 7-10 minutes on the monitor not to receive any messages on system startup. Turn off TV box and add in manual in the first partition (FAT) the file "dtb.img". On the media there is a directory dtb from where you can take the files and copy them to the root of the renaming of "dtb.img".

Need to pick up the option for the file system will run. Pay attention, after you add\change the dtb file, you need to try to run the system and waiting to run 7-10 minutes. If not happened, repeat with a different dtb file."

If you rewrite cinamon DE with gles support...)) https://doc.qt.io/qt-5.10/topics-graphics.html

 

And you still don't post error massage. Few days ago i install to nand debian 5.41.1 from armbian-config.

Yeah, well, that particular image won't boot on the Beelink Mini MXIII at all, as I said ONLY the image(s) in S905 folder boots. And are you saying that I should GUESS what dtb is the correct one by trial-end-error? With all of them? And where did you find the nand-sata-install please? I still don't understand what you mean by "DE"....

 

Link to comment
Share on other sites

On 4/16/2018 at 4:34 AM, balbes150 said:

Try out test versions of images with a 4.1x kernel

 

Hi, balbes150,

 

I can get the 4.14.11 and 4.17.0-rc2-next images to boot using the p201 dtb. When I do so, although the kernel detects the ethernet PHY and its state correctly, when I configure eth0 with an IP address, it still can't actually talk with the network. This works fine with the 3.14 kernel. Do you have any suggestions about how I can debug this?

Link to comment
Share on other sites

8 hours ago, cmetz said:

I can get the 4.14.11 and 4.17.0-rc2-next images to boot using the p201 dtb. When I do so, although the kernel detects the ethernet PHY and its state correctly, when I configure eth0 with an IP address, it still can't actually talk with the network. This works fine with the 3.14 kernel. Do you have any suggestions about how I can debug this?

You may need to try to build a new DTB using the correct settings for the 100Mb network (e.g. take them from the p212 model).

Link to comment
Share on other sites

On 4/30/2018 at 8:15 AM, balbes150 said:

You may need to try to build a new DTB using the correct settings for the 100Mb network (e.g. take them from the p212 model).

Apropos DTB, is there an overview somewhere of what device the various dtb's are for? I'v been trying to guess from the ubuntu-mate images in mali5 directory but I'm at loss....

 

Edit: I often get this message:


Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
ln: failed to create hard link '/boot/initrd.img-3.14.29.dpkg-bak' => '/boot/initrd.img-3.14.29': Operation not permitted

Is that a showstopper?

Link to comment
Share on other sites

Hi! 

Can you add Wireguard support in kernel? seems to be missing some lines in defconfig like :

Spoiler

CONFIG_NETFILTER_NETLINK=y CONFIG_NETFILTER_NETLINK_QUEUE=y CONFIG_NETFILTER_NETLINK_LOG=y CONFIG_NF_CT_NETLINK=y CONFIG_SCSI_NETLINK=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_NET_SCH_INGRESS=y CONFIG_NET_SCHED=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_NETFILTER_XT_TARGET_MARK=y

and others

 

Also i have a issue with kodi, i can use the Desktop, and do anything perfectly at 1080p, but when i tried to open kodi at 1080p, it crashed

At 720p works good, all fine

i also tried several versions of armbian, same result. Crash log: 

Spoiler

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Sat May  5 13:13:50 UTC 2018
 Kodi Options: 
 Arch: aarch64
 Kernel: Linux 3.14.29 #16 SMP PREEMPT Fri Apr 6 14:53:29 MSK 2018
 Release: Ubuntu 16.04.4 LTS (Xenial Xerus)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################

13:13:49.943 T:547614097408  NOTICE: special://profile/ is mapped to: special://masterprofile/
13:13:49.943 T:547614097408  NOTICE: -----------------------------------------------------------------------
13:13:49.943 T:547614097408  NOTICE: Starting Kodi (17.6 Git:20171117-094825c). Platform: Linux ARM 64-bit
13:13:49.943 T:547614097408  NOTICE: Using Release Kodi x64 build
13:13:49.943 T:547614097408  NOTICE: Kodi compiled Mar  3 2018 by GCC 5.4.0 for Linux ARM 64-bit version 4.4.98 (263266)
13:13:49.943 T:547614097408  NOTICE: Running on Ubuntu 16.04.4 LTS, kernel: Linux ARM 64-bit version 3.14.29
13:13:49.943 T:547614097408  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
13:13:49.943 T:547614097408  NOTICE: Host CPU: AArch64 Processor rev 4 (aarch64), 4 cores available
13:13:49.943 T:547614097408  NOTICE: ARM Features: Neon disabled
13:13:49.943 T:547614097408  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
13:13:49.943 T:547614097408  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
13:13:49.943 T:547614097408  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
13:13:49.943 T:547614097408  NOTICE: special://masterprofile/ is mapped to: /home/gonzalo/.kodi/userdata
13:13:49.943 T:547614097408  NOTICE: special://envhome/ is mapped to: /home/gonzalo
13:13:49.943 T:547614097408  NOTICE: special://home/ is mapped to: /home/gonzalo/.kodi
13:13:49.943 T:547614097408  NOTICE: special://temp/ is mapped to: /home/gonzalo/.kodi/temp
13:13:49.943 T:547614097408  NOTICE: special://logpath/ is mapped to: /home/gonzalo/.kodi/temp
13:13:49.943 T:547614097408  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
13:13:49.943 T:547614097408  NOTICE: Local hostname: amlogic
13:13:49.943 T:547614097408  NOTICE: Log File is located: /home/gonzalo/.kodi/temp//kodi.log
13:13:49.943 T:547614097408  NOTICE: -----------------------------------------------------------------------
13:13:50.019 T:547614097408  NOTICE: load settings...
13:13:50.019 T:547614097408  NOTICE: AML device detected
13:13:50.066 T:547614097408  NOTICE: Found 1 Lists of Devices
13:13:50.067 T:547614097408  NOTICE: Enumerated PULSE devices:
13:13:50.067 T:547614097408  NOTICE:     Device 1
13:13:50.067 T:547614097408  NOTICE:         m_deviceName      : Default
13:13:50.067 T:547614097408  NOTICE:         m_displayName     : Default
13:13:50.067 T:547614097408  NOTICE:         m_displayNameExtra: Default Output Device (PULSEAUDIO)
13:13:50.067 T:547614097408  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
13:13:50.067 T:547614097408  NOTICE:         m_channels        : FL,FR
13:13:50.067 T:547614097408  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
13:13:50.067 T:547614097408  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
13:13:50.067 T:547614097408  NOTICE:         m_streamTypes     : No passthrough capabilities
13:13:50.067 T:547614097408  NOTICE:     Device 2
13:13:50.067 T:547614097408  NOTICE:         m_deviceName      : alsa_output.platform-aml_m8_snd.46.analog-stereo
13:13:50.067 T:547614097408  NOTICE:         m_displayName     : AML-M8AUDIO Analog Stereo
13:13:50.067 T:547614097408  NOTICE:         m_displayNameExtra: Analog Output (PULSEAUDIO)
13:13:50.067 T:547614097408  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
13:13:50.067 T:547614097408  NOTICE:         m_channels        : FL,FR
13:13:50.067 T:547614097408  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
13:13:50.067 T:547614097408  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
13:13:50.067 T:547614097408  NOTICE:         m_streamTypes     : No passthrough capabilities
13:13:50.075 T:547614097408  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
13:13:50.075 T:547614097408  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
13:13:50.075 T:547614097408  NOTICE: Default Video Player: VideoPlayer
13:13:50.075 T:547614097408  NOTICE: Default Audio Player: paplayer
13:13:50.076 T:547614097408  NOTICE: Disabled debug logging due to GUI setting. Level 0.
13:13:50.076 T:547614097408  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
13:13:50.076 T:547614097408  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
13:13:50.076 T:547614097408  NOTICE: Loaded playercorefactory configuration
13:13:50.077 T:547614097408  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
13:13:50.077 T:547614097408  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
13:13:50.091 T:547614097408  NOTICE: Running database version Addons27
13:13:50.165 T:547614097408  NOTICE: ADDONS: Using repository repository.xbmc.org
13:13:50.184 T:547588435920  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 192 ms
13:13:50.229 T:547614097408   ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
13:13:50.229 T:547614097408   ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
13:13:50.229 T:547614097408   ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
13:13:50.236 T:547614097408  NOTICE: InitWindowSystem: Using EGL Implementation: amlogic
13:13:50.256 T:547614097408   ERROR: EGL error in InitDisplay: 3003
13:13:50.256 T:547614097408   ERROR: InitWindowSystem: Could not create display
13:13:50.256 T:547614097408   FATAL: CApplication::Create: Unable to init windowing system


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
 

I can take dmesg or logcat if helps :)

 

One more thing, can u upload an overclocked cpu version? i use in my tvbox a fan+heatskin, and it doesnt up more than 30ºC, i think it can go faster 

 

Im using a A95X R2 box, with gxl_p212_2g.dtb-A95Xr2-2G-16G dtb and now im at Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_mate_20180406


p.s: one more thing, i have a rf keyboard like this and works properly on Ubuntu, all the keys do their function

but on kodi, none of the keyboards letters works, they does nothing

only numbers file works, like an onld T9 keyboard

i think it is caused by the remote control interface of kodi, that thinks im using and old keyboard

any solution for that? thanks in advance!;)

Link to comment
Share on other sites

On 5/3/2018 at 1:35 PM, Reddwarf said:

I often get this message: 

Do you run any commands at the same time ?

 

On 5/5/2018 at 9:16 PM, Gonzalo said:

Also i have a issue with kodi, i can use the Desktop, and do anything perfectly at 1080p, but when i tried to open kodi at 1080p, it crashed

At 720p works good, all fine 

i also tried several versions of armbian, same result. Crash log: 

What version of KODI is used and what image is used ? What processor is in the TV box ?

 

On 5/5/2018 at 9:16 PM, Gonzalo said:

One more thing, can u upload an overclocked cpu version? i use in my tvbox a fan+heatskin, and it doesnt up more than 30ºC, i think it can go faster 

To do this, you must build a new version of BL31.

 

On 5/5/2018 at 9:16 PM, Gonzalo said:

p.s: one more thing, i have a rf keyboard like this and works properly on Ubuntu, all the keys do their function

but on kodi, none of the keyboards letters works, they does nothing

only numbers file works, like an onld T9 keyboard

i think it is caused by the remote control interface of kodi, that thinks im using and old keyboard

any solution for that? thanks in advance!;) 

Use Libreelec. Armbian is a desktop with A minimal Kodi version.

Link to comment
Share on other sites

Just now, balbes150 said:

Do you run any commands at the same time ?

 

What version of KODI is used and what image is used ? What processor is in the TV box ?

 

To do this, you must build a new version of BL31.

 

Use Libreelec. Armbian is a desktop with A minimal Kodi version.

@balbes150 No I just run "sudo apt-get upgrade" when I get this error. What about overview of the dtb's? I use a Beelink Mini MXIII with 905 cpu.

Link to comment
Share on other sites

On 5/5/2018 at 2:21 PM, David Markey said:

Any way to get the simple iptv client working here with the armbian kodi builds?

 

Have you tried to build it?
 

git clone https://github.com/xbmc/xbmc.git

git clone https://github.com/kodi-pvr/pvr.iptvsimple.git

cd pvr.iptvsimple && mkdir build && cd build

cmake -DADDONS_TO_BUILD=pvr.iptvsimple -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons

make

Link to comment
Share on other sites

Image Armbian upgrade. 3.14_20180507 and 4.16_20180508.
Images are in the directory "no-mali".
Pay attention.
These images do not have libMali.

 

The latest version of Armbian 3.14_20180507 and 4.16_20180508 uses KODI without libMali, so it can run on all s905 and s912 models, but without Appart acceleration.

Link to comment
Share on other sites

2 hours ago, Reddwarf said:

What about overview of the dtb's?

The dtb file name contains all the necessary information. For which platform, how much RAM, type of network, etc. some have an indication of a particular TV box model.

Link to comment
Share on other sites

On 5/8/2018 at 12:34 PM, balbes150 said:

The dtb file name contains all the necessary information. For which platform, how much RAM, type of network, etc. some have an indication of a particular TV box model.

I found those filenames hard to decode unless you are very familiar with the hardware. Just yesterday I learned the board model of my Mini MXIII, but unless you KNOW that there is no clue in the filename which dtb goes to what tv box. I'm just saying it could be done much more clear, ie a table of known boxes and a reference to which dtb would be of great help.

Link to comment
Share on other sites

2 hours ago, Reddwarf said:

I'm just saying it could be done much more clear, ie a table of known boxes and a reference to which dtb would be of great help. 

Do and everyone will thank you.

 

 

p.s.

All waiting for the "good uncle", just make the whole system, collect a kernel with support for all the hardware, write a good and detailed instructions for each scenario.

Link to comment
Share on other sites

On 5/11/2018 at 11:22 AM, balbes150 said:

Do and everyone will thank you.

 

Yeah, I would if I had a clue. Someone must have invented those names, and that someone would be the right person to make an explanation for them.

 

Another question, why are the modules from Android not compatible with Armbian? I'v tried to take some modules from the box's Android and insert into Armbian but the error message says that the module has the wrong format...

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