Jump to content

Recommended Posts

Posted

@balbes150

 

I reinstalled the Android on my VIM2 and now I have no problem booting from microSD or USB.

 

You solved my problem regarding the framebuffer.  The problem was the incorrect kernel.  Your suggestion worked.

 

Thank you.

Posted

Hello guys, i am looking for an optimal dtb.file for my tv box: X92 with 3gm RRD3 ram / 16ROM and S912.
the armian 5.44-Debian4.16.1.iso (Armbian_5.44_S9xxx_Debian_stretch_4.16.1_server_20180515.img) 

only starts with meson-gxm-vega-s96.dtb.
unfortunately, hugepages does not work with vega-s96.dtb and armian 5.44 :(
As soon as the core is loaded, the proses are broken ...

Please help :)

 

greetings
Willi

Posted


@balbes150

 

A new problem has shown up on the VIM2 Max:

 

If I use the 4.16.1 kernel:
    1. No framebuffer
    2. HDMI detectable connected/disconnected
    3. Displaying EDID detected contents correctly
    
If I use the 3.14.29 kernel:
    1. Framebuffer is correctly installed/configured
    2. HDMI does not exist
    3. Displaying EDID reported:
        No EDID on bus 1,2, or 4
        Bus 3 doesn't really have an EDID...
        Couldn't find an accessible EDID on this computer

 

Any idea how I could activate the HDMI bus/port and link it directly to the framebuffer?

 

Posted
14 hours ago, colgeocol said:

Any idea how I could activate the HDMI bus/port and link it directly to the framebuffer? 

 

Contact Amlogic for the necessary information (sources) and build your own version of the kernel.

Posted (edited)
Quote
Quote

 

H96Pro+ has 2 different versions. One with LDDR3 and one with DDR4, maybe thats the difference. 

I opened the case and there are 2 USB extra inside but no hole in case. Now I have 4x USB ;P

 

 

I also have the same.  If yours is like mine, it came with a 5v 2.5A wall wart power supply.

While the extra 2 USB ports are easily uncovered and fully usable, I would not recommend doing so with stock power supplies.  There have been benchmarks with similar devices that show performance degradation with 2A power supplies  I strongly suspect that a 2.5A power supply cannot adequately power both the H96Pro+ and 4 USB devices simultaneously.

I'm using mine with a 5V 4A supply- luckily I have a pile of them lying around.  You may want to look for something similar.

 

Armbian_5.44_S9xxx_Debian_stretch_4.16.1_icewm_20180515.img  worked first try.  Thanks, Balbes150 and all others who have contributed!

 

Edited by subhuman
Posted

@balbes150hello thanks again for the effort all the good job.

 

I finally have my H96Pro+ Dongle running with debian server (kernel 3.14..) version and I wonder if have any way to release more memory to the system itself any tweak I can do or disable something just to running headless ?

Still I don't got any version with kernel 4.xx running yet to see if are better.

 

Posted

Hi everyone,

I'm working on the task of using the fbdev GLES driver from Android 7.1.1 with the help of Libhybris for my KM8P on S912 for Armbian Ubuntu (Debian). In the framework of this task, I managed to build an legacy kernel 3.14.29 with the Mali driver r16p0. And also the mainline kernel 4.18-rc2 with the Mali driver r19p0. You can download the deb packages for the system update by clicking on the links above. 

For a start, it's enough to install the corresponding package linux-image-amlogics905x_5.44_arm64.deb for update of the system and also put mali.conf (taken from the LibreElec distributive) in the directory /lib/modprobe.d/ from the archive.

sudo dpkg -i linux-image-amlogics905x_5.44_arm64.deb

After the system with the 3.14 kernel is upgraded, the device /dev/mali0 appears.

Unfortunately, this did not happen for the mainline kernel. It seems that the reason is that there is no description of the GPU in the device tree. I'm use gxm_q201_1g.dtb.

Next, I build a package of Libhybris from git. For the 64-bit version, I used the following commands:

git clone https://github.com/libhybris/libhybris
cd libhybris/hybris
git clone https://github.com/Halium/android-headers/ -b halium-7.1
./autogen.sh \
    --prefix=/opt/libhybris \
    --build=aarch64-linux-gnu \
    --host=aarch64-linux-gnu \
    --target=aarch64-linux-gnu \
    --with-android-headers=android-headers \
    --enable-adreno-quirks \
    --enable-mali-quirks \
    --enable-debug \
    --enable-trace \
    --enable-arch=arm64 \
    --enable-experimental \
    --with-default-egl-platform=fbdev \
    --with-default-hybris-ld-library-path=/vendor/lib:/system/lib

To build the 32-bit version of Libhybris I installed two packages for cross-compilation: arm-linux-gnueabihf-gcc and arm-linux-gnueabihf-g++.
And compiled with the following parameters:

CC=arm-linux-gnueabihf-gcc \
CXX=arm-linux-gnueabihf-g++ \ 
./autogen.sh  \
	--prefix=/opt/libhybris \
	--with-android-headers=android-headers \
	--enable-adreno-quirks \ 
	--enable-arch=arm \
	--enable-experimental \
	--with-default-hybris-ld-library-path=/system/lib \
	--enable-debug  \
	--enable-trace \ 
	--with-default-egl-platform=fbdev \
	--enable-mali-quirks

Next:

make -j8
sudo make install

Then copied the /system/lib directory from the Android firmware to the root of the file system.

 

Running /opt/libhybris/bin/test_glesv2, unfortunately, failed:

user@amlogic:/opt/libhybris/bin$ ./test_glesv2
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
test_glesv2: test_glesv2.c:117: main: Assertion `eglGetError() == EGL_SUCCESS' failed.
Aborted

For some reason, the system could not create a surface, test_glesv2.c, s.117:

        surface = eglCreateWindowSurface((EGLDisplay) display, ecfg, (EGLNativeWindowType)NULL, NULL);     
        assert(eglGetError() == EGL_SUCCESS);
        assert(surface != EGL_NO_SURFACE);

I hope that someone will be interested in this task and will achieve a better result.

Posted

A colleague has just bought a MECOOL M8S PRO Amlogic S912 3GB DDR4 32G eMMC 8 Core 64 Bit HDR10 802.11AC WIFI LAN Bluetooth H.265.
It really looks interesting hardware-wise...

Posted

I managed to get the hardware acceleration GLES fbdev on KM8P S912 using libhybris!
How to do this, I will write later.

Posted

To obtain the hardware acceleration OpenGLES fbdev on the S912 platform, do the following:

- Download the firmware of Armbian 5.44 Ubuntu Mate with the kernel 3.14, created by balbes150.

- Burn the loaded image on the SD-card and and run Ubuntu Mate from the SD card. 

- Download the archive with the kernel 3.14 packages with the Mali driver and the archive with Mali samples and libhybris package. Install all deb packages with the 3.14 kernel from the archive. To do this, go to the unzipped folder aml-s9xx-kernel-3.14.29-with-mali-r16p0-debs, run the command: sudo dpkg -i *.deb.

- Unzip the mali-hybris-s912-packages.tgz. Copy the folder etc to the root of ROOTFS partition to set permissions for the mali and ion devices, and also for configuring ld for libhybris.

- Unzip the system.tgz and copy the contents to the root of ROOTFS partition (sudo tar xzvf system.tgz -C / )

- Unzip Mali-OpenGL-ES-Samples-Linux-Arm-Bin.tgz in the home directory.

- Reboot system.

- After reboot the system, add the armhf architecture for the system:

sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libc6:armhf libstdc++6:armhf

- Install libhybris-arm_0.1-1-opt_arm64.deb package and configure ld: sudo ldconfig.

- Everything is ready for the test, run: /opt/libhybris/bin/test_glesv2.  A picture should appear, as shown in the first screenshot.

- To run Mali OpenGLES Samples, go to the Mali-OpenGL-ES-Samples-Linux-Arm-Bin folder and start the executable files.

 - Freeze the kernel update with the armbian-config.

 

test_glesv2cube

 

Posted

wow thanks i will try

is it possible to install and run latest kodi standalone under this package?

 

OK tryd it.. but i have problems install packages like cmake or kodi.. some curios errors with apt-get install. Is there nohing for newer kernels (4.x)? On aktual debian i discoverd no problems installing various programs but Mali driver aren´t available. Or can i compile the Mali T820 kernel module by my self?

Posted

Hi  @balbes150

 

First of all, I must thank you :thumbup:  for the awesome work on porting Armbian for S912.

 

Though I have booted up Armbian Ubuntu Xenial 16 both Desktop and Server, I cannot get to use all the 3 GB of RAM in my device. I have opened the box and confirmed there are 3 GB DDR4 Samsung chips(2 x K4A8G165WB-BCRC and 2 x K4A4G165WE-BCRC) on the board.

 

Device:  Beelink GT1 Ultimate 3 G RAM / 32 GB ROM with AP6255 chip.

Armbian version:  Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515

 

Currently I am using without dtb.img  I have tried the included dtb files(q200, q201) as well from khadas vim2 without any success.

 

I am able to use wifi thanks to @lvmc  on 

 

The wifi hardly remains connected for 10-15 mins and gets disconnected...

 

Please help me from my misery  :(  I can fetch you as much info as you need....

Posted

been trying for days to get this running on my Mecool M8S Pro L (s912 3G/32GB).

Best I got was a black screen after the bootlogo.

tried renaming vaious dtb files from dtb folder and placing them to the roout of the USB stick, but no go.

used Armbian_5.44_S9xxx_Debian_stretch_4.16.1_xfce_20180515.img

any ideea what I am doing wrong?

thanks in advance

 

Posted

forgot to add that I'm on a custom rom that has TWRP and I'm unable to flash aml_autoscript.zip - says invalid zip file format

Posted
On 7/18/2018 at 3:17 PM, apoklyps3 said:

been trying for days to get this running on my Mecool M8S Pro L (s912 3G/32GB).

Best I got was a black screen after the bootlogo.

tried renaming vaious dtb files from dtb folder and placing them to the roout of the USB stick, but no go.

used Armbian_5.44_S9xxx_Debian_stretch_4.16.1_xfce_20180515.img

any ideea what I am doing wrong?

thanks in advance

Maybe your model doesn't have USB support in existing dtb files. Use an SD card for images with kernel 4.16 or use kernel h version 3.14.

Posted

isn't flashing aml_autoscript.zip mandatory?

this is where my problem starts... My box has a custom rom that comes with TWRP and it says invalid zip file format when I try to flash it

Posted

You were right, with 3.14 kernel image  I was able to boot .thanks

Am I missing something being stuck for the momment to 3.14 kernel?

Posted
12 hours ago, apoklyps3 said:

any ideea how to get wifi working?

it doesn't by default

What is your chip Wi-Fi?

Posted
On 4/20/2017 at 9:04 AM, troyanz said:

Hi all.
I try this build for TV BOX X98pro s912 3gb/32gb 
I boot from USB flash. All work fine, network, wifi, bluetooth
But firefox in youtube not play sound  I install chromium, work great.
Thanks for your work. I will be test this build some time.

x98-pro-amlogic-s912-3gb-32gb-android-6-0.jpg

I had a device with same hardware, and could you please tell me which version you used ? How to Flash it ?

 

Posted
On 7/23/2018 at 6:51 PM, apoklyps3 said:

then again not even ethernet works.

keeps trying to connect forever.

tried static ip , everything....no go

what dtb do you use ?

Posted

my bad man...the cable was deffective.

switched the cable and now it works with no dtb whatsoever.

bought an sdcard, but somehow it seems slower to run vs usb.

to be fair I used a different image on the microsd vs the on the usb(both kernel 3.14 , because couldn't get 4.18 to boot on none of the media)

Posted

finally got my q3 arena server up and running.

one question : is wake on lan possible on armbian?

at least in this configuration, being ran from an sdcard

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

Important Information

Terms of Use - Privacy Policy - Guidelines