Jump to content

Armbian for Amlogic S912


chocho

Recommended Posts

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ?

 

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

18 hours ago, apoklyps3 said:

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

Only on models with hardware support (etc Khadas VIM2)

Link to comment
Share on other sites

On 7/1/2017 at 1:54 PM, balbes150 said:

Update images kernel 3.14.29. (20170701)

Changes - added driver for qca9377. Its use is similar to the module "dhd" and "wifi_dummy". To check loaded, with the command "modprobe qca9377" if a WiFi network will work with it, write its startup in /etc/modules.

I checked on the model Tronsmart S96 (s912) - with this module the WiFi and BT working. By the way, I didn't even need to manually copy the dtb file, the system could earn with regular dtb from the internal memory. I wonder how on other models, to run these images without manually adding the dtb file.

Armbian_5.44_S9xxx_Debian_stretch_3.14.29_xfce_20180729.img.xz - my version. 

I have mecool bb2 pro, and this command does not work. says that there is no such file in /lib/modules/3.14.29

modprobe: fatal: module qca9377 not found in directory  /lib/modules/3.14.29

Link to comment
Share on other sites

1 hour ago, Илья Фаа said:

modprobe: fatal: module qca9377 not found in directory  /lib/modules/3.14.29 

On Wifi.

 

run as root user one of these commands in the terminal

An example command to load module “dhd” or “wifi_dummy” or "ssv6051" or "wlan" etc.

 

modprobe dhd

 

or

 

modprobe wifi_dummy

 

or

 

modprobe ssv6051

 

or for QCA9377

 

modprobe wlan

Link to comment
Share on other sites

5 hours ago, balbes150 said:

On Wifi.

 

run as root user one of these commands in the terminal

An example command to load module “dhd” or “wifi_dummy” or "ssv6051" or "wlan" etc.

 

modprobe dhd

 

or

 

modprobe wifi_dummy

 

or

 

modprobe ssv6051

 

or for QCA9377

 

modprobe wlan

do you speak Russian? does not work 

Link to comment
Share on other sites

Hello everybody!
I assembled a video player c2play, created by crashoverride, with the possibility of hardware decoding and rendering for a boxes on the S912 SOC. To achieve this, was used EGL and GLES libraries from Android, libhybris, libamcodec and ffmpeg with the support of the above library, as well kernel package with Mali driver for T820 GPU. All this was integrated into the firmware of Ubuntu Armbian 16.04 Mate Desktop, building by balbes150. You can download this firmware from here.

c2play perfectly playing, both local and network video H.264 and H.265 10-bit, checked up to 4K. Declared support of MP4, MKV and AVI containers.
A small help to managing the c2play from the keyboard:
ESC - to finish playing, LEFT - 30 sec. back, RIGHT - 30 sec. forward, DOWN - 10 min ahead, UP - 10 min. back. SPACE - pause.

To play video, open the terminal window or go to the virtual console (Ctrl-Alt-F1). enter the command: c2play <path to your video>. Or, assign c2play as the default application for the desired file type. More details here or here.

In the folder /opt are deb-packages with libhybris and kernel 3.14.29 with the driver Mali.

For those who want to build c2play itself, I bring links to resources on the github.

Libhybris: https://github.com/libhybris/libhybris.

Libamcodec: https://github.com/osmc/libamcodec.

FFMPEG: https://github.com/roman-rybalko/FFmpeg-aml.

c2play: https://github.com/OtherCrashOverride/c2play.

 

Link to comment
Share on other sites

14 hours ago, pro777 said:

c2play perfectly playing, both local and network video H.264 and H.265 10-bit, checked up to 4K. Declared support of MP4, MKV and AVI containers.
A small help to managing the c2play from the keyboard:

You can collect all used to c2play components (files) to the set of packages to install in any way ?

Link to comment
Share on other sites

1 hour ago, balbes150 said:

You can collect all used to c2play components (files) to the set of packages to install in any way ?

At the moment, unfortunately, I'm not ready to do it yet.

But it is possible to assemble the missing packages in the form of archives.

Link to comment
Share on other sites

hi,

 

I have one of these: http://amzn.eu/0pJ0tPJ 

 

S912/3Gb RAM/64Gb emmc

 

I can get it to boot fine to command line (debian server 8th Aug version),  however when i run fdisk then it looks like mmcblk1 is the emmc 'drive', but there's no partitions showing under 'fdisk -l' or 'fdisk /dev/mmcblk1' then 'p'.  Aside: I know that its my microsd card is showing under mmcblk0p1, and mmcblk0p2.  

 

I think that if i can format mmcblk1, then perhaps the install.sh script will work?  Is it normal to not see the partitions 01, and 02 from fdisk - i don't think so, or?

 

I've been looking around on the internet, but don't seem to be able to find anything that covers this.

 

So if anyone has any experience of this situation, i'd be grateful to get some feedback :)

 

Thanks,

J.

Link to comment
Share on other sites

Hello
I have Mecool M8S Pro+ with broken emmc, because Android no longer boots, but that's not a real problem.
I want to free gpu-reserved memory to run headless armbian.
I placed img.dtb on /boot, but system is using another one, maybe from Emmc, so, to get my current .dtb file:

dtc -I fs -O dts /proc/device-tree/ -o current.dts

Now I wan't to free reserved memory using s905_autoscript.
On pages 2 and 3 of this topic I saw command in autoscript to remove entire reserved-memory node, but that caused instability:

fdt addr 0x1000000; if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi 

There is also removal of /aocec node,  i think it's related to HDMI but I'm not sure.

Anyway which one of child-nodes from reserved-memory should I remove/disable to free gpu-reserved memory?

};
    reserved-memory {
        #address-cells = <0x00000002>;
        #size-cells = <0x00000002>;
        ranges;
        linux,secmon {
            compatible = "amlogic, aml_secmon_memory";
            reg = <0x00000000 0x10000000 0x00000000 0x00200000>;
            no-map;
            linux,phandle = <0x0000000a>;
            phandle = <0x0000000a>;
        };
        linux,secos {
            status = "disable";
            compatible = "amlogic, aml_secos_memory";
            reg = <0x00000000 0x05300000 0x00000000 0x02000000>;
            no-map;
        };
        aml_pstore {
            compatible = "amlogic, pstore";
            reg = <0x00000000 0x07300000 0x00000000 0x00100000>;
            no-map;
        };
        linux,meson-fb {
            compatible = "amlogic, fb-memory";
            reg = <0x00000000 0x7e000000 0x00000000 0x02000000>;
            no-map;
            linux,phandle = <0x0000002c>;
            phandle = <0x0000002c>;
        };
        linux,di {
            compatible = "amlogic, di-mem";
            size = <0x00000000 0x01e00000>;
            linux,phandle = <0x00000033>;
            phandle = <0x00000033>;
        };
        linux,chunk-reserve {
            compatible = "amlogic, chunk-reserve";
            size = <0x00000000 0x04000000>;
            linux,phandle = <0x0000002b>;
            phandle = <0x0000002b>;
        };
        linux,ion-dev {
            compatible = "amlogic, idev-mem";
            size = <0x00000000 0x03000000>;
            linux,phandle = <0x00000030>;
            phandle = <0x00000030>;
        };
        linux,vdin1_cma {
            compatible = "shared-dma-pool";
            reusable;
            size = <0x00000000 0x01000000>;
            alignment = <0x00000000 0x00400000>;
            linux,phandle = <0x00000034>;
            phandle = <0x00000034>;
        };
        linux,ppmgr {
            compatible = "shared-dma-pool";
            size = <0x00000000 0x00000000>;
            linux,phandle = <0x00000032>;
            phandle = <0x00000032>;
        };
        linux,codec_mm_cma {
            compatible = "shared-dma-pool";
            reusable;
            size = <0x00000000 0x15000000>;
            alignment = <0x00000000 0x00400000>;
            linux,contiguous-region;
            linux,phandle = <0x0000002d>;
            phandle = <0x0000002d>;
        };
        linux,picdec {
            compatible = "shared-dma-pool";
            reusable;
            size = <0x00000000 0x00000000>;
            alignment = <0x00000000 0x00000000>;
            linux,contiguous-region;
            linux,phandle = <0x00000031>;
            phandle = <0x00000031>;
        };
        linux,codec_mm_reserved {
            compatible = "amlogic, codec-mm-reserved";
            size = <0x00000000 0x04100000>;
            alignment = <0x00000000 0x00100000>;
            linux,phandle = <0x0000002e>;
            phandle = <0x0000002e>;
        };

 

Link to comment
Share on other sites

Dear all,

It's been a while since I have posted something here. Thank to @balbes150 and help from other people, I managed to use my awesome set of S912 boxes. Today, I would like to update the image with kernel 4.**.

Can soeone confirm if I should select images from here: https://yadi.sk/d/pHxaRAs-tZiei/5.55

 

Thank you, your help has been very valuable to me.

Link to comment
Share on other sites

3 hours ago, balbes150 said:

 

dtb.img

Sorry, on my /boot there is dtb.img, i just made a mistake in my comment here.

 

The thing is I don't know for what are those child-nodes,  googling didn't gave me clear answer.

Link to comment
Share on other sites

Hi,

I got an issue with booting up of Armbian (Debian 9 Server) from the link provided by @gnthibault on my Tanix TX92. Everytime Android is booted but not the OS on the SD Card. I'm very new and a noob in these case. All I understood is there have to be a special dtb file in the boot dir but witch one is the right in my case ? By the way, the original Android mustn't break at this time. Only when it worked well with the SD card, flashing to the emmc is an option.

Hope of some hints of you.
THX in advance.

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