Slack on openSUSE Leap 42.2

Some time ago I ditched Debian based distros and switched to openSUSE. One of newer required software for it was Slack desktop client which on it’s linux download page does not have openSUSE package, but Fedora 64bit package works just fine. Only dependency you need is libXss1. Install that with zypper or YaST. Then download rpm for Fedora and install it. You will run in issue of missing dependency which you can ignore, Slack will work just fine.

Now, all above was just kind of copy/paste from flanaras blog post. I would not just copy/paste it if there was an issue with it. While Slack installs it’s repository into system for update checking, it does not import GPG key of it’s repository which breaks software updates. To fix that issue, simply import GPG key by opening terminal and typing:

Thanx to flanaras for his original post and hope this helped someone.

Some thoughts on Amlogic

It’s been a while from my last post here. Today I saw they released new version of Buildroot. More info about it here. They managed to file size of 1.3 GB with this. In their release notes which you can see here they mentioned few things that comes with Linux SDK release 1.5:

Merge kernel 3.10&3.14 into one src code

Now, within this 1.3 GB you don’t get GIT history, no no. To be able to download their version of Buildroot from their GIT server, here is what they say:

You should have the permission to download the git, you can contact with the FAE for help.

That means basically that you cannot get access to it unless you are manufacturer who is utilizing their SoC-s.

So, from my perspective and content of tarball with provided we have this:

  • Buildroot itself which is v2016.11 (in time of writing this post there are versions 2016.11.1, 2016.11.2 and 2017.02 available)
  • Hardware folder with separate drivers for 3.10 and 3.14 kernel that includes Mali GPU, WiFi modules, touch drivers, NAND/eMMC drivers and TVIN drivers which I assume that are used by both 3.10 and 3.14 kernel
  • Kernel folder which contains 3.10.33 and 3.14.29 versions
  • Multimedia folder which includes some alsa plugins, gstreamer plugins, libplayer (part of libplayer is so called amffmpeg which is Amlogic’s version of ffmpeg and it seems to be stuck at version 0.8 – at least that’s what is written in version.h:
  • And finally toolchain folder which contains toolchains 😀

When it comes to whole package, it nicely says which are supported boards:

  • S905: p200 and p201
  • S905X: p212
  • S905D: p230
  • S802: k200b
  • S805: m201 and m200
  • S812: n200

In release notes (PDF document I linked above) they also wrote instructions on how to download whole package using their GIT server to which you don’t have access.

There is also written how to potentially make your system unstable by downloading, building and installing GNU MPC version 0.9 because their old modified U-Boot for Meson 8 platforms can’t see libmpc other than

More safe way to do this would be maybe to symlink existing* to In my case on Ubuntu 14.04:

And guess what, it works just fine. On Ubuntu 14.04, Debian, openSUSE Leap 42.2… I would characterize Amlogic’s approach as laziness.

Laziness is not just that. If you’re developer and you look a bit into their sources (kernel for example, doesn’t really matter which one), you will find something like this:

You will also find commented code all over their kernel drivers. There are also cases where void function returns integer for example and stuff like that. It’s just something that I cannot understand

Now, enough of laziness… Let’s see what else we have in that PDF:

They have listed all configurations they support by their build system (I said build system because in the end with all of their changes and structure of it, it doesn’t look like Buildroot as you know it). These configurations are:

After this we have some instructions on how to install built system to sdcard or Nand/eMMC and how to boot it.

We also have nice instructions on how to enable WiFi and how to test LibPlayer and GStreamer1.

Most interesting part for me is Appendix D in this PDF.

It contains few commands on how to enable display output and test OpenGL ES acceleration. Just to clarify here, Amlogic SoCs have Mali GPUs (Mali 450 on S802, S805, S812, S905, S905X, S905D and Mali T820 on S912).

What is interesting here is that you cannot perform any tests from Appendix D on Amlogic S912. Why? Because there are no Mali T820 userspace libraries (framebuffer or X11) available. From what I found out, fact is that Amlogic did not license Linux userspace libraries for Midgard Mali GPUs and they do not have any intentions to to that. I think S912 SoC is good chip, especially if implementation is right (and I’m fortunate to have ODM which makes great hardware) but fact is, when it comes to Linux you can make headless Linux server for…. something. NAS…. I don’t think so, they are still using USB 2.0 controller in their SoC-s. They don’t have native SATA interface, or any kind of expansion like mini PCIe.

And finally there are few notes I keep in my head…

  • After S912 which was available in Q2 2016, there are no new SoC-s announced or any rumors about it
  • Did they finally realized that they are far behind with their 28nm process and that they have to invent something new and are working on it
  • They do have Android 7.1.1 Nougat SDK for their S905X and S912 SoC-s, so if they don’t have new SoC to show up, they will try to survive on old ‘fame’ with ODMs buying 1 or 2 year old SoC-s but with Nougat preinstalled?
  • Xiaomi released their own SoC recently (and rumors were that Xiaomi and Amlogic are tightly connected). Coincidence? Maybe…

Well, if you reached that far in reading this post, congratulations, you just read 864 words 🙂

Perl: Setting locale failed

If you are developer or doing anything via ssh on Linux you probably are familiar with warning

It was very annoying to me so I looked for fix. Solution is pretty simple.

Edit /etc/ssh/ssh_config as su and edit / modify


That fixed it for me, hope someone helps too 🙂

How to download faster from Chinese Baidu cloud service (Linux)

I was struggling more than few times trying to download (especially big) files from Chinese BaiduYun cloud servers. Download is usually very slow, breaks alot of times and can’t be resumed.

While ago I figured how to download from Baidu without pain, praying and with excellent speed 🙂

I’m writing this tutorial as Linux user but download utility used (aria2) is available for other operating systems as well.

So, here’s what you need:

  • Google Chrome web browser
  • BaiduExporter extension for Chrome which you can get from Chrome Web Store
  • aria2 download utility (Debian based distros usually have it in official repositories as aria2 package)

Step 0: Install BaiduExporter in your Chrome

Step 1: Open shared link from which you want to download


Step 2: When page is fully loaded (this can take some time), select files you want to download and put your pointer over button which says 导出下载. Picture of button: panbaidu-button

When mouse is over that button, menu should pop up as shown on picture below:


Step 3: Click on middle item in menu that showed. After some time links to selected files will be shown in popup window as can be seen on picture below:


Step 4:

  • Copy and paste these links somewhere (you will need them if download gets interrupted to resume download)
  • Open terminal window and navigate to folder where you want to download selected files
  • Each line starts with aria2c and whole line is basically your download command. So, take one line, copy it and paste it in your terminal window, press enter and download should start.

Note: You are not limited by instances of aria2 clients running and number of files you are downloading at same time (as far as I tested). Your limitation is your Internet speed. I managed to successfully download 5x4Gb files with aprox. speed of 10MB/s for each file on high bandwidth Internet connection.

I hope this will be helpful to someone 🙂

Moved and updated site

This site has not been update for a long time. And it was offline for longer period of time.

I restored few topics for which I think are relevant and helpful when it comes to Amlogic platform. I will continue to write some new informations, problems, complaints to development…

And yes, you can expect something new and little different on this site in very near future 🙂