vcka Posted October 22, 2016 Posted October 22, 2016 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.
Carlos Garcés Posted October 22, 2016 Posted October 22, 2016 ERROR: PulseAudio: Failed to connect context This is the main reason. No audio for kodi. I think that not is the main reason for the error. Installing pulse audio removes the error, but still not starting.
garyang Posted October 23, 2016 Posted October 23, 2016 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?
vcka Posted October 23, 2016 Posted October 23, 2016 I think that not is the main reason for the error. Installing pulse audio removes the error, but still not starting. Do sound is working?
balbes150 Posted October 23, 2016 Author Posted October 23, 2016 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.
Carlos Garcés Posted October 23, 2016 Posted October 23, 2016 Do sound is working? Yes, using ALSA. speaker-test works and I have removed the pulseaudio dependenci. I think that is a kernel or video problem. Last kodi log is the same as LibreELEC http://pastebin.com/atJFLtGc
vcka Posted October 23, 2016 Posted October 23, 2016 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.
garyang Posted October 23, 2016 Posted October 23, 2016 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?
vcka Posted October 23, 2016 Posted October 23, 2016 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.
balbes150 Posted October 23, 2016 Author Posted October 23, 2016 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.
balbes150 Posted October 23, 2016 Author Posted October 23, 2016 This kernel has no wifi sdio support. You can immediately TV box, download the source code and assemble, including the required options in menuconfig.
Carlos Garcés Posted October 23, 2016 Posted October 23, 2016 Thanks balbes150 but There is no gpu driver in your git. How can I put mali gpu source? Maybe you can use this https://github.com/kszaq/linux-amlogic-le Is the kernel used in the S905 versions of LibreELEC
balbes150 Posted October 24, 2016 Author Posted October 24, 2016 Maybe you can use this https://github.com/kszaq/linux-amlogic-le Is the kernel used in the S905 versions of LibreELEC I have tried to use this source to build the system going, but when I try start, the kernel goes into a panic. Perhaps in the future there will be time to adapt this option.
Carlos Garcés Posted October 24, 2016 Posted October 24, 2016 Can any one check this patch? Looks like not all the freq. are working fine. https://github.com/LibreELEC/LibreELEC.tv/blob/e1f33a285b884e5d4d713b8e1cbbb8ea392747ae/packages/linux/patches/aarch64/linux-007-sound_soc_aml_m8-Report-only-working-frequecies-and-bit-depths.patch
balbes150 Posted October 25, 2016 Author Posted October 25, 2016 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).
vcka Posted October 26, 2016 Posted October 26, 2016 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.
garyang Posted October 26, 2016 Posted October 26, 2016 @balbes150 On Armbian_5.21_Amlogic-s905x_Ubuntu_xenial_3.14.29_20161025.img And ssh service isn't installed. (after apt-get install ssh works fine)
balbes150 Posted October 26, 2016 Author Posted October 26, 2016 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).
vcka Posted October 26, 2016 Posted October 26, 2016 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.
Carlos Garcés Posted October 26, 2016 Posted October 26, 2016 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?
vcka Posted October 27, 2016 Posted October 27, 2016 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.
zombian Posted October 27, 2016 Posted October 27, 2016 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/
vcka Posted October 27, 2016 Posted October 27, 2016 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/ Try modprobe 8189es or 8189fs
zombian Posted October 27, 2016 Posted October 27, 2016 Try modprobe 8189es or 8189fs cool, modprobe 8189es did it ^^ thanks
balbes150 Posted October 27, 2016 Author Posted October 27, 2016 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).
garyang Posted October 28, 2016 Posted October 28, 2016 test version 20161026 Ethernet not working on TX5(S905X).
balbes150 Posted October 28, 2016 Author Posted October 28, 2016 Updated the images. Version 5.24 20161028. What model network cards TX5(S905X) ? What dtb files checked ?
garyang Posted October 28, 2016 Posted October 28, 2016 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.
vcka Posted October 28, 2016 Posted October 28, 2016 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.
jan.pal Posted October 28, 2016 Posted October 28, 2016 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. 1
Recommended Posts