64 64
balbes150

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

Recommended Posts

 

I haven't compiled the kernel. Is the kernel provided in the image of 18 Oct.

 

Linux amlogic-s905x 3.14.29 #19 SMP PREEMPT Tue Oct 18 09:19:28 MSK 2016 aarch64 GNU/Linux
 

 

See ful log (with debug enabled) at

http://pastebin.com/tSdJgTKC

 

The folowing errors also happend on LibreELEC, that works fine and I'm using as reference

 

01:00:22 T:548371845120   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
01:00:23 T:548371845120   ERROR: AML: no rw on /sys/class/ppmgr/ppmgr_3d_mode

On ARMBian I have

 

18:47:03 T:547837812736   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
18:47:04 T:547837812736   ERROR: DBus: Error org.freedesktop.DBus.Error.AccessDenied - Permission denied
18:47:04 T:547837812736   ERROR: Previous line repeats 3 times.
18:47:04 T:547837812736   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.PolicyKit1 was not provided by any .service files
18:47:04 T:547837812736   ERROR: PulseAudio: Failed to connect context
18:47:04 T:547837812736   ERROR: AML: no rw on /sys/class/ppmgr/ppmgr_3d_mode

But no FATAL error, Kodi.bin just exit with "segmentation fault"

 

ERROR: PulseAudio: Failed to connect context

This is the main reason. No audio for kodi.

Share this post


Link to post
Share on other sites

Hi~ All~~~

I'd like to compile latest kernel, but It's hard to find fine document.

I've found two methods.

 

1.

make ARCH=arm64 meson64_defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
 
2.
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- meson64_defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image dtbs modules
 
What is different?

Share this post


Link to post
Share on other sites

1. Download and unzip into the directory /opt compiler

 

http://openlinux.amlogic.com:8000/deploy/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar

 

2. To clone the git kernel sources.

 

git clone https://github.com/150balbes/Amlogic_s905-kernel.git

 

3. To switch to the desired branch

 

git checkout S905X

 

4. To raskomentiruyte c-string pointing to the directory with the compiler in the scripts set_*

 

#export PATH=/opt/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/:$PATH

 

5. For the configuration process set_menuconfig, to build set_make, to clean set_clean. Scripts can be changed to suit your needs. If you occasionally need to compile the settings into the system, you can collect direct teams make.

Share this post


Link to post
Share on other sites

1. Download and unzip into the directory /opt compiler

 

http://openlinux.amlogic.com:8000/deploy/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar

 

2. To clone the git kernel sources.

 

git clone https://github.com/150balbes/Amlogic_s905-kernel.git

 

3. To switch to the desired branch

 

git checkout S905X

 

4. To raskomentiruyte c-string pointing to the directory with the compiler in the scripts set_*

 

#export PATH=/opt/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/:$PATH

 

5. For the configuration process set_menuconfig, to build set_make, to clean set_clean. Scripts can be changed to suit your needs. If you occasionally need to compile the settings into the system, you can collect direct teams make.

This kernel has no wifi sdio support.

Share this post


Link to post
Share on other sites

1. Download and unzip into the directory /opt compiler

 

http://openlinux.amlogic.com:8000/deploy/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar

 

2. To clone the git kernel sources.

 

git clone https://github.com/150balbes/Amlogic_s905-kernel.git

 

3. To switch to the desired branch

 

git checkout S905X

 

4. To raskomentiruyte c-string pointing to the directory with the compiler in the scripts set_*

 

#export PATH=/opt/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/:$PATH

 

5. For the configuration process set_menuconfig, to build set_make, to clean set_clean. Scripts can be changed to suit your needs. If you occasionally need to compile the settings into the system, you can collect direct teams make.

Thanks balbes150

but There is no gpu driver in your git.

How can I put mali gpu source?

Share this post


Link to post
Share on other sites

Thanks balbes150

but There is no gpu driver in your git.

How can I put mali gpu source?

The easiest way is to take amlogic buildroot, the older one.

Share this post


Link to post
Share on other sites

Thanks balbes150

but There is no gpu driver in your git.

How can I put mali gpu source?

 

As said earlier, it is necessary to take the source code of mali and to collect from him. Either make a patch for the inclusion of code in the kernel.

 

By the way, can be collected directly in the system on the TV box. it is also possible to collect the required kernel modules and install from the system.

Share this post


Link to post
Share on other sites

Tests received two pieces of news. 1 the Good news. The reason for the strange behavior of XFCE in the latest images are not connected with the core. According to my sources, this is due to the formation at the first start not the correct settings for XFCE. 2. Not good news - I have not yet managed to find the settings that make XFCE behave. I'm not a good specialist in the field of XCFE, and I would be glad for any hints in this direction. To find the culprit of improper behavior XFCE. after the first start, I tried to install a different DE. If you use the console version of the image with Debian, if you install another DE (LXDE, MATE, etc.) and their configuration - the behavior of the desktop version of normal. Desk begins to function normally.

 

PS I uploaded the latest version of the images for testing (20161025).

Share this post


Link to post
Share on other sites

Tests received two pieces of news. 1 the Good news. The reason for the strange behavior of XFCE in the latest images are not connected with the core. According to my sources, this is due to the formation at the first start not the correct settings for XFCE. 2. Not good news - I have not yet managed to find the settings that make XFCE behave. I'm not a good specialist in the field of XCFE, and I would be glad for any hints in this direction. To find the culprit of improper behavior XFCE. after the first start, I tried to install a different DE. If you use the console version of the image with Debian, if you install another DE (LXDE, MATE, etc.) and their configuration - the behavior of the desktop version of normal. Desk begins to function normally.

 

PS I uploaded the latest version of the images for testing (20161025).

The main problem on mini m8s, lan is not working.

Share this post


Link to post
Share on other sites

Translated the Assembly of images into the kernel sources from the LE. Uploaded the latest version 20161026 (using new kernel). There is in the mali module and the added modules for WiFi. Added several modules to the wired network. Write which models the network adapters are still needed. ssh to the Ubuntu image will be included in the next build. In the image of the Ubuntu desktop - after the primary settings in XFCE not working properly Desk. To reset you need to switch to any console (Ctrl + Alt + F1) and then back to graphical (Ctrl + Alt + F7).

Share this post


Link to post
Share on other sites

Translated the Assembly of images into the kernel sources from the LE. Uploaded the latest version 20161026 (using new kernel). There is in the mali module and the added modules for WiFi. Added several modules to the wired network. Write which models the network adapters are still needed. ssh to the Ubuntu image will be included in the next build. In the image of the Ubuntu desktop - after the primary settings in XFCE not working properly Desk. To reset you need to switch to any console (Ctrl + Alt + F1) and then back to graphical (Ctrl + Alt + F7).

Which lan driver did you compiled in? mini m8s needs only amlogic phy. Maybe you can share new kernel source? Can you please compile in DRM kernel module and mali_drm.

Share this post


Link to post
Share on other sites

Translated the Assembly of images into the kernel sources from the LE. Uploaded the latest version 20161026 (using new kernel). There is in the mali module and the added modules for WiFi. Added several modules to the wired network. Write which models the network adapters are still needed. ssh to the Ubuntu image will be included in the next build. In the image of the Ubuntu desktop - after the primary settings in XFCE not working properly Desk. To reset you need to switch to any console (Ctrl + Alt + F1) and then back to graphical (Ctrl + Alt + F7).

 

So images from 20161026  are using LibreELEC kernel?
Has OpenGL support?

Share this post


Link to post
Share on other sites

Which lan driver did you compiled in? mini m8s needs only amlogic phy. Maybe you can share new kernel source? Can you please compile in DRM kernel module and mali_drm.

Made to work. Problem was - my mini m8s is s905 not s905x, so dtd.img was wrong.

Share this post


Link to post
Share on other sites

Translated the Assembly of images into the kernel sources from the LE. Uploaded the latest version 20161026 (using new kernel). There is in the mali module and the added modules for WiFi. Added several modules to the wired network. Write which models the network adapters are still needed. ssh to the Ubuntu image will be included in the next build. In the image of the Ubuntu desktop - after the primary settings in XFCE not working properly Desk. To reset you need to switch to any console (Ctrl + Alt + F1) and then back to graphical (Ctrl + Alt + F7).

Hello, I tried it yesterday. Still no Wifi driver for my nexbox A95x. Think it has an RTL8189ETV.

Written here http://www.cnx-software.com/2016/08/06/how-to-customize-amlogic-android-firmware-a-tutorial-with-nexbox-a95x-s905-tv-box/

Share this post


Link to post
Share on other sites

Which lan driver did you compiled in? mini m8s needs only amlogic phy. Maybe you can share new kernel source? Can you please compile in DRM kernel module and mali_drm.

 

All source code can be found here.

 

https://github.com/150balbes

 

 

Anyone have any problems with the hardware (Eth, WiFi, Bt, etc), I recommend trying all the options dtb (from the directory with the image and site kszaq for LE).

Share this post


Link to post
Share on other sites

Updated the images. Version 5.24 20161028.

 

What model network cards TX5(S905X) ?

What dtb files checked ?

S905X was Integrated 10/100M PHY interface.

There is no ehernet chip.

gxl_p212_2g.dtb your's and kaz's both checked.

I'll test Version 5.24 20161028. and I'll notice the result.

Share this post


Link to post
Share on other sites

All source code can be found here.

 

https://github.com/150balbes

 

 

Anyone have any problems with the hardware (Eth, WiFi, Bt, etc), I recommend trying all the options dtb (from the directory with the image and site kszaq for LE).

Here is my two cents. Everythings works. Mali - vpu - open gl(es) - sound - lan. Mini m8s s905. arm-mali-tests are running on fbdev.

For hardware video decoding - https://github.com/OtherCrashOverride/c2play/tree/dualstream, no need for Kodi. It allso can be used with smtube.

One thing - kodi fbdev is needed. If anyone needs i can provide - kernel, modules, mali binary blobs.

Share this post


Link to post
Share on other sites

hi all,

 

this is newbie question... sorry for this...

I have a  X96 tv box which is Amlogic S905X + Mali 450MP GPU device. Would love to have working armbian .

I was able to run Libreelec. Supprisingly, it works  well, however,  Armbian_5.24_Amlogic-s905x_Debian_jessie_3.14.29_20161028.img will end in boot loop.

Libreelec contains dtd.img, which apparently differs from armbian  structure. I suppose, dtd should be a key for running kernel on  particular device.

Any hint how should i proceed to make armbian working?

My device is rooted s i can get some usefull data from android if that would help.

 

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
64 64