Jump to content

Recommended Posts

Posted
On 7/3/2018 at 12:12 PM, pro777 said:
Spoiler

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:

 

Hi, how i can change xorg config to use OpenGLES fbdev by libhybris ? Thank you.

 

 

Posted
On 9/24/2018 at 5:32 PM, 8a8asik said:

Hi, how i can change xorg config to use OpenGLES fbdev by libhybris ? Thank you.

No OpenGL/EGL/GLES X11 drivers available at this time for S912 SoC.
Hardware rendering via GLES fbdev, as well hardware decoding video and audio is used in the player c2play.

Look at this message.

Posted

Thanks for all the hard work on this, it's great to see Linux on these boxes. I have a Beelink GT1

running  Khadas VIM2 dtm (only dtm that worked) on xenial. I can't seem to get the wifi working. 

 

uname -a: 

 

Linux aml 4.18.7-aml-s9xxx #4 SMP PREEMPT Sat Sep 22 17:21:56 MSK 2018 aarch64 aarch64 aarch64 GNU/Linux
 

lsmod shows the Broadcom driver:

 

lsmod
Module                  Size  Used by
b43                   446464  0
bcma                53248  1 b43
ssb                    45056  1 b43
mac80211        409600  1 b43
cfg80211          315392  2 b43,mac80211
rfkill                 28672  2 cfg80211

 

iwconfig shows: 

 iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
 

 

dmesg shows the following but look at the time...

 

[  370.705112] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  370.718911] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  500.383106] Broadcom 43xx driver loaded [ Features: NLS ]
[  813.966788] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  813.967607] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  814.010219] Broadcom 43xx driver loaded [ Features: NLS ]
 

Any suggestions? 

 

 

Posted

Just got my H96 Pro+ (S912, 3GB/32GB) version works with the 3.14 image (specifically Armbian_5.44_S9xxx_Debian_stretch_3.14.29_xfce_20180729.img) and no dtb file. WiFi does not seem to be recognized but that does not bother me since I use a range extender for my Arm Linux experiments. And I inserted a TP-Link TL-W727N (N150 card) and WiFi immediately works as well.

 

I was trying the 5.60 version ( Armbian_5.60_Aml-s9xxx_Debian_stretch_default_4.18.7_20180928.img) but no dtb seems to work to get USB working -- I tried a few dtb and they do not seem to work. 

Posted
1 hour ago, Xiaofan said:

I was trying the 5.60 version ( Armbian_5.60_Aml-s9xxx_Debian_stretch_default_4.18.7_20180928.img) but no dtb seems to work to get USB working -- I tried a few dtb and they do not seem to work. 

meson-gxm-q200.dtb seems to work.  I edited uEnv.ini to point to this dtb and it seems to work fine.

 

 

Posted

A few things do not work yet on 5.60 version (4.18 kernel)

1) reboot does not work -- only function as shutdown.

2) I have not figured how to change the resolution to 1920x1080p60 yet (HDMI) -- it is now only at 1024x768

3) WiFi does not work and the addon USB card TP-Link TL-WN727N is not working out of the box as in 3.14 kernel.

 

I followed the following -- by editing armbianEnv.txt to add "disp.screen0_output_mode=1920x1080p60 " (this method works for my Rock64 board) but it does not seem to work.

https://docs.armbian.com/User-Guide_Fine-Tuning/

Posted
16 minutes ago, Xiaofan said:

A few things do not work yet on 5.60 version (4.18 kernel)

1) reboot does not work -- only function as shutdown.

2) I have not figured how to change the resolution to 1920x1080p60 yet (HDMI) -- it is now only at 1024x768

3) WiFi does not work and the addon USB card TP-Link TL-WN727N is not working out of the box as in 3.14 kernel.

 

Just want to mention that all the above works under the 3.14 kernel. For 4.18 kernel, I tested the Armbian 5.60 version and 5.55 version and the results are the same. 

Posted
On 10/7/2018 at 2:43 PM, Xiaofan said:

A few things do not work yet on 5.60 version (4.18 kernel)

1) reboot does not work -- only function as shutdown.

2) I have not figured how to change the resolution to 1920x1080p60 yet (HDMI) -- it is now only at 1024x768

3) WiFi does not work and the addon USB card TP-Link TL-WN727N is not working out of the box as in 3.14 kernel.

 

I also noticed those problems with kernel 4.18 (apart from the screen that looks good in 1920x1980 without modifyinh anything). As mentionned earlier, I am using a H96 pro+ 3G/32G with meson-gxm-q200.dtb

For the wifi, I tried to add the wifi_dummy line inside of /etc/modules, but without success unfortunately, although it was working with 3.14 kernel.

For the reboot, has anyone an idea about how to proceed ?to get it to work ?

Posted

Dummy question here: after trying for a little while the 5.55 and later version of Armbian, and not being able to make much stuff to work, I would like to use an old release (I was very happy about the 5.27).

Unfortunately, in the process of installing the latest images, I looks like I modified the partition table, and now I cannot use the install.sh script properly from the old release.

Mostly because of error related to the fact that /dev/data does not exist.

 

Is there a way to format my emmc such that the old installation script works ?

 

Thank you in advance for your help

 

Edit: after multiple attempts it looks like none of my 2 H96pro+ boxes even show the H96+ boot logo, is it possible that I bricked my boxes just by formatting the emmc ?

Edit2: Apparently yes... I am now following tutorial from there: http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s912/645787-h96-pro-plus-short-pin-unbrick-help/page9

Posted
19 hours ago, gnthibault said:

Dummy question here: after trying for a little while the 5.55 and later version of Armbian, and not being able to make much stuff to work, I would like to use an old release (I was very happy about the 5.27).

Unfortunately, in the process of installing the latest images, I looks like I modified the partition table, and now I cannot use the install.sh script properly from the old release.

Mostly because of error related to the fact that /dev/data does not exist.

 

Is there a way to format my emmc such that the old installation script works ? 

 

Thank you in advance for your help

 

Edit: after multiple attempts it looks like none of my 2 H96pro+ boxes even show the H96+ boot logo, is it possible that I bricked my boxes just by formatting the emmc ?

Edit2: Apparently yes... I am now following tutorial from there: http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s912/645787-h96-pro-plus-short-pin-unbrick-help/page9

If you did not violate the instructions and before installing the system in eMMC created a full backup (using the utility "ddbr"). You could easily go back to the old version.

I draw everyone's attention, before any experiments, be sure to create a backup.

Posted

Interesting !

Actually, I tried to run the ddbr command, but I realized that I did not had enough space to store the backup, then I gave up (that was an error).

However, I still have one box, of exactly the same model, that has armbian installed. What would be the procedure to get a backup from this armbian box, and "install" it on the bricked box ?

Posted
1 hour ago, gnthibault said:

Interesting !

Actually, I tried to run the ddbr command, but I realized that I did not had enough space to store the backup, then I gave up (that was an error).

However, I still have one box, of exactly the same model, that has armbian installed. What would be the procedure to get a backup from this armbian box, and "install" it on the bricked box ?

If you do not fill the eMMC with your data, the size of the full compressed copy will not be large. For example, the original Android firmware takes about 1-2 GB and can easily fit on any 8GB carrier with Armbian. Now the recovery process will take more steps. If now, connect an SD card with the Armbian 5.55 or 5.44 option to the TV box, what happens when the power is turned on ?

Posted
7 hours ago, balbes150 said:

If you do not fill the eMMC with your data, the size of the full compressed copy will not be large. For example, the original Android firmware takes about 1-2 GB and can easily fit on any 8GB carrier with Armbian. Now the recovery process will take more steps. If now, connect an SD card with the Armbian 5.55 or 5.44 option to the TV box, what happens when the power is turned on ?

 

Ok, so without any surprised, after burning the Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_mate_20180729.img on a sdcard, and trying to boot, nothing happens. ie

My hdmi screen stays black, and only the blue led on the S912 is enabled.

Posted

I might be able to get a ddbr recovery file. Could you point me to a link that explains with details how to dump those recovery data on thev bricked boxes ?

 

Thank you in advance for you help.

Posted
1 hour ago, gnthibault said:

I might be able to get a ddbr recovery file. Could you point me to a link that explains with details how to dump those recovery data on thev bricked boxes ?

 

Thank you in advance for you help.

If you don't create ddbr backup early best option for unbrick - use original firmware and instruments... Depending on the level of bricking (u-boot is healthy, completely overwritten or damaged) the recovery methods will be different. And you can use search in this forum. Most questions already have answers. In you case(if you can't load from sd or usb, looks like you damaged u-boot) so standard method load armbian from sd and use ddbr you can't use. 

Posted

Ok so, you made me realize that it is actually possible to brick a box only by messing with disk formatting.

 

I first though that, as with a regular computer, only firmware upgrade can brick the mother board. I'll be taking a look at proper firmware flash on freaktab. But from what I have seen one should not expect a high success rate from this method.

Posted

How can I find the dtb file for my M8S Pro L (s912, 3GB ram)? 
btw, when I use "dd" to write image to sdcard, insert SD card and apply power, android logo still shows up, I dont know why 

Posted
On 10/12/2018 at 3:45 PM, gnthibault said:

Ok so, you made me realize that it is actually possible to brick a box only by messing with disk formatting.

 

I first though that, as with a regular computer, only firmware upgrade can brick the mother board. I'll be taking a look at proper firmware flash on freaktab. But from what I have seen one should not expect a high success rate from this method.

 

Good news, I bought a USB A male to USB A male on a Win10 64bits, and I was able to unbrick my H96pro+ box, following a tutorial like this one:

 

Posted

USB keybaord is not recognized by H96 PRO+ 3G/32G with Armbian_5.64_Aml-s9xxx_Ubuntu_bionic_default_4.19.0-rc7_desktop_20181019.img. I used gxm_q200.dtb as dtb.img. Any help or idea? My idea was to move it to EMMC, if everything works.

 

Edit 1: Further i edited uenv.ini and elinux.conf to point to correct dtb in dtb folder. Post that was able to set username and password, but post that it is a blank screen with blinking cursor.

 

Edit 2: Armbian_5.60_Aml-s9xxx_Ubuntu_bionic_default_4.18.7_desktop_20180928.img worked for me

Sent from my ONEPLUS A3003 using Tapatalk

Posted (edited)

Is there any image with Kodi that works (with accelerated HW) ?  I tried Armbian_5.67_Aml-s9xxx_Debian_stretch_default_4.19.0-rc7_desktop_20181117.img.xz .  Then installed kodi through apt-get install kodi.  It installed properly but when I tried to run it it gave me : DRI2 canno9t authenticate and no window appear. Everything else works fine.  (X seems to not be accelerated).  I tried also old one aml-kodi-debian_5.41_arm64.deb and install kodi and aml-codec from deb packages.  Installed properly but when I run it (after fixing libEGL symbolic link) X background appear 4 times on screen, (everything is multiplicated 4 times) and only reboot fix it. I installed librelec and there kodi works fine, but I need to install other things beside kodi...

 

I have Beeklink GT1 Ultimate (S912) with 3G (not sure if they are real or fake).

 

Thank You

 

Edited by spon901
Posted

Hello, I need some help please.
Every time I made a apt upgrade I have this error message :

E: Write error - ~LZMAFILE (28: No space left on device)

Any advice to solve this. Thanks

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk

Posted

Hi all, firstly a big thank you for everyones hard work on this! It's awesome :)

 

I have a weird problem with my S912 based box with gigabit ethernet, all appears ok and indeed will be for days at a time IF the NIC never really gets used much. As soon as I start shoving traffic down it eventually it kinda starts stalling, stops responding then eventually pretty much dies altogether.

 

I'm not sure if it's significant but if I load up the NIC in both directions simultaneously with iPerf3 I got about 900Mbit down and about 80Mbit up but if I just transmit I get 900+Mbit and if I just receive I get 900+Mbit. I'd of thought I would of got a more balanced result here when testing simultaneously in both directions? 

 

As an example of when the NIC starts dying during a recent ping test to it it dropped 188 packets then responded with some pretty incredible latency then stopped again as you can see here: http://pasted.co/0bd5d8aa

 

Any ideas anyone?

 

Thanks in advance!

 

UPDATE 1: Oddly I've noticed I start a ping from the S912 box the response times are slow but WAY faster then if i start a ping from the box it's pinging (so one way round is 100x faster round trip wise)...  plus it also seems if i start a ping from the S912 box i then get a response from the other clients ping requests otherwise it doesn't respond. For reference it's using RTL8211F chipset if it matters.

 

UPDATE 2: If i down the interface and bring it back up on the box with an ifconfig eth0 down && ifconfig eth0 up it brings it back to life and it starts operating normally again.

 

UPDATE 3: I believe the problem has been fixed using this patch - https://patchwork.kernel.org/patch/10712159/ massive thanks to ccaione on #linux-amlogic on IRC for his help on this! :thumbup:

Posted

¿Has someone been able to have mali drivers for the T820? 

 

I'm trying to get them using mali-midgard-dkms package but it requires linux headers and i can't find the linux-header-4.19.6-aml-s9xxx package anywhere nor the linux-image-4.19.6-aml-s9xxx to build them myself.

 

I would like to use the hardware acceleration that S912 has :(

Posted

Hello

I tried to run from usb 3 stick Armbian_5.67_Aml-s9xxx_Debian_stretch_default_4.19.6_desktop_20181207 on ugoos am3

and 

Armbian_5.62_Aml-s9xxx_Ubuntu_xenial_default_4.19.0-rc7_desktop_20181018.img

 

in both cases I had problem at bootup and never got in gui screen.

 

All usb devices works in native android 7.12

 

How to run linux on ugoos am3?

 

Screens here https://my-files.ru/0fjgqd

 

Thank you in advance.

 

 

 

 

Posted (edited)

Is there any chance someone could get bCNC running on any of these builds? I'm currently running it on a rpi3b+ but would love to run it on my R-Box Pro S-10. It should be able to run so much quicker on it than any pi does.

(UPDATE) Got it running after I installed a ton of packages. Can only execute it with the terminal though. Still a big step forward anyhow.

Edited by Shuttered
Solved my problem
Posted

Upgraded to 5.71 today.

Cannot conect any usb device (or at least I did not managed to connect my usb keyboard) to my H96 pro+ with meson_q200 dtb. What is wrong ?

 

Edit: Ok, just take a look at the first post of this thread.

 

Posted (edited)

Hi I installed Armbian  5.75 debian stretch 4.20.5 for s912 on my abox a3, all went fine and now boots perfect to command line just as required.

I have trouble though.

I compile program by unpacking a .tar file

unpacked the ,tar has 3 components which include the executable

I set permissions and make it excecutable with

sudo chmod +x myprogam

When I try to run it...

 

./myprogram

This is the result

cannot execute binary file: Exec format error

Thank you for this project.

 

root@aml:~# uname -a
Linux aml 4.20.5-aml-s912 #5.75 SMP PREEMPT Tue Feb 12 08:29:46 MSK 2019 aarch64 GNU/Linux

 

Edited by biker
Posted

Mecool Km8-P

 

I am testing Armbian_5.75_Aml-s912_Ubuntu_bionic_default_4.20.5_20190211.img.xz with meson-gxm-q201.dtb on Mecool Km8-P S912 1G/8G, booting from an SD card right now but I intend to flash Armbian on the eMMC later.

USB works. Ethernet works. Not tested HDMI output (using TV box as headless server).

 

Previously was using same TV box with Armbian 5.44 with 3.14.29 and that worked fine too.

 

As usual many many thanks to Oleg (balbes150) who has done an amazing good work on the Linux kernel and creating those images. :thumbup:

Posted
6 hours ago, AndrewDB said:

Mecool Km8-P S912 1G/8G, booting from an SD card right now but I intend to flash Armbian on the eMMC later.

I could not get the flash memory on my Mecool to stop some how over writing itself with the internal Android image.

 

I used the Armbian utility to write the armbian image to the 8gb flash.

 

 

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

Important Information

Terms of Use - Privacy Policy - Guidelines