Jump to content

Recommended Posts

Posted
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)

Posted
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

Posted
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

Posted
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 

Posted

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.

 

Posted
On 8/4/2018 at 10:32 PM, Илья Фаа said:

do you speak Russian? does not work  

write to me in PM.

 

 

Posted
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 ?

Posted
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.

Posted

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.

Posted

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>;
        };

 

Posted
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.

Posted

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.

Posted
18 hours ago, gnthibault said:

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.

 

You'll see here the state of 4.55 images of Balbes:

In my case I only test successfully debian stretch server image.

 

@Didi, don't forget to use aml_autoscript.zip to update your bootloader (see 1rst post of s905 topic) so that it tries first to boot to sd card. If your dtb file isn't good, you'll not be able to boot even in android if your sdcard is plugged in.

Posted

@jeanrhum
I tried it several times the way you proposed, but the box is stuck in the boot process and only show "boot" in the internal display and nothing more will happen. I don't know what could went wrong, and yes I'm a little bit helpless also.

Posted
2 hours ago, Didi said:

@jeanrhum
I tried it several times the way you proposed, but the box is stuck in the boot process and only show "boot" in the internal display and nothing more will happen. I don't know what could went wrong, and yes I'm a little bit helpless also.

If you try to boot with a 3.14 kernel based image with no dtb (in fact it uses the one from android installed on emmc), is it booting after aml_autoscript update ?

If this latter doesn't work, have you modified the pre-installed rom? If no, try to flash one from freaktab for instance (I use this one on my tap pro and it should be compatible with your box: http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s912/mecool/firmware-roms/687424-rom-vorke-z6-tanix-tx92-stock-nano-nexus-rom-android-7-1)

Posted

Where can I find a 3.14 kernel based version ?? I tried the https://yadi.sk/d/pHxaRAs-tZiei/5.55 and this will be a 4.1 version, I guess.

 

I also found the thread at freaktab, but to be honest I not fully understand the method they described there and I nearly sh*t my pants to make any mistakes there.

Posted

Okay, I will give it a try with the version of balbes roms.

 

In the mentioned freaktab tread I read about "shorten pin 7-8 or 8-9" and this scares me a little bit to much. :)

 

Posted

I CAN'T BELIVE IT !!! IT WORKS !!!

 

@jeanrhum

You are my hero of today !! I was very desperate about but then cames you and all went well. I haven't tested all in full but update and upgrade works fine and as optimistic as I am all the rest will also work. Thank you very much for you help !!

 

@balbes150

Also a big thanx to you for you good job with the rom !

 

GUYS I AM HAPPY !!! :)

Posted

Questions about Babes S912 Armbian .

 

 

I have 3 Mecool KM8 running Babes Armbian_5.41_S9xxx_Debian_stretch_3.14.29_xfce_20180305 S912 Amlogic Armbian.

 

At first it was a bit experimental but now I feel it is stable and I am just delighted to have such a powerful 5 volt computer to run my Solar Powered Video entertainment (Coreelec) and Ham Radio activities.

 

I have the following questions.

 

1.Where do I find the latest version of Armbian s912?

 

 

2. Why has Armbian not added S912 to the MAIN download page. I find all the outside download sources very confusing. It is really hard to know what version to download etc. Can we put comments next to each version regarding performance, what works etc.

 

 

 

2. I originally installed Armbian_5.41_S9xxx_Debian_stretch_3.14.29_xfce_20180305 armbian and have been using sudo apt-get update / upgrade to keep updating.. Is this getting me the latest version of Babes Armbian for s912 or is it just incrementally updating a out of date version of Armbian for s912.

 

3. I am able to play h265 videos in software decoding at %100 CPU load and I am sort of happy with that as a compromise. But I wonder why can’t the Kodi Android S912 VPU driver be applied to Babes version of Armbian.

 

Seasalt

 

Posted (edited)

hi i have an estgosz android tv box (specs here: http://amzn.eu/d/10IgfH5), and I've been trying unsuccessfully to flash the emmc card on the box. I can get it to boot into linux quite easily using the microsd card, but fdisk doesn't recognise the partition mmcblk01, and p1 and p2 partitions are not showing at all.

 

so i have 2 questions really:

 

1) anyone had any luck flashing the emmc memory on this box?

2) how can i tell if the emmc is locked down?

 

many thanks in advance!

 

James

Edited by James
typo
Posted

hi all

i'm a newbie n i also got a china clone h96pro+ , i just want to konw that is it possible to make it dualboot android/debian install into emmc?

'cause i want to run it as a shadowsocks server when i go to china from hk, but another day just use it as a tv box

thanks for helping all guys

Posted
On 8/29/2018 at 6:30 PM, gnthibault said:

Anyone found a dtb that works with any of the 4.18 image from here : https://yadi.sk/d/pHxaRAs-tZiei/5.55/20180817

I use a H96 pro+ 3G/32G

Ok replying to myself now. Thanks to another user, I found that it was meson-gxm-q200.dtb that should be renamed as dtb.img and copied to /boot.

 

Now I am experiencing problem trying to install the ima,ge to emmc disk (not SD card).

 

In case someone see what is going wrong:

 

Quote

root@aml:~# ./install.sh --help
Start copy system for eMMC.
Formatting BOOT partition...mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/mmcblk1p1: No such file or directory
done.
mount: /ddbr/install: special device /dev/mmcblk1p1 does not exist.
Cppying kernel image...done.
Cppying initrd...done.
Writing script eMMC...done.
Writing script eMMC_AML...done.
Writing init ENV...done.
Writing device tree image...done.
umount: /ddbr/install: not mounted.
Formatting ROOT partition...
The file /dev/mmcblk1p2 does not exist and no size was specified.
e2fsck 1.44.1 (24-Mar-2018)
e2fsck: No such file or directory while trying to open /dev/mmcblk1p2
Possibly non-existent device?
done.
Copying ROOTFS.
mount: /ddbr/install: special device /dev/mmcblk1p2 does not exist.
Copy BIN
Create DEV
Copy ETC
Copy HOME
Copy LIB
Create MEDIA
Create MNT
Copy OPT
Create PROC
Copy ROOT
Create RUN
Copy SBIN
Copy SELINUX
Copy SRV
Create SYS
Create TMP
Copy USR
Copy VAR
Copy fstab
cp: cannot stat '/root/fstab4': No such file or directory
rm: cannot remove '/ddbr/install/usr/bin/kvim_full': No such file or directory
rm: cannot remove '/ddbr/install/usr/bin/kvim_update': No such file or directory
rm: cannot remove '/ddbr/install/usr/bin/kvim2_full': No such file or directory
rm: cannot remove '/ddbr/install/usr/bin/kvim2_update': No such file or directory
umount: /ddbr/install: not mounted.
*******************************************
Done copy ROOTFS
*******************************************
*******************************************
Complete copy OS to eMMC 
*******************************************


Edit: ok that is alright I think, I just created partition table on emmc (gpt) then added 128MB fat16 partition for Boot and the remaining part as ext4 for rootfs

Posted
15 hours ago, gnthibault said:

In case someone see what is going wrong:

according to balbes150 who creates those beautiful images, the installation to emmc on the kernel 4.xx looks like this:

 

1. Execute script “/boot/create-mbr-linux.sh”

2. install Armbian on eMMC execute script “/root/install.sh”.

 

I did this and it worked just fine

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

Important Information

Terms of Use - Privacy Policy - Guidelines