Amlogic Releases Linux 3.14 Source Code for S905X, S905D, and S912 Processors, Has Started Working on Linux 4.4 / Android 7.0

Amlogic has just released buildroot with Linux 3.14 with support for Amlogic S905X (p212 board), S905D (p230 board), and S912 (Q200 board) processors, and the company appears to have started working on Linux 4.4 likely for future support for Android 7.0. You can check the source code as follows:

If you have the wrong toolchain the code won’t build (See comments section). So I installed several toolchains provided by Amlogic (all may not be needed) in /opt:

I also downloaded a shell script to add the toolchains to my path:

Once toolchains are setup, you can select one of three boards config (Q200 / S912 as example) and start building the code:

If you are interested in S905X or S905D instead, use respectively mesongxl_p212_release_defconfig or mesongxl_p230_release_defconfig. I built both S912:

and S905X images successfully:

Separately, you can also find buildroot for Linux 4.4, but […]

Getting Started with B&T RTL-00 RTL8710 Module – Serial Console, AT Commands, and ESP8266 Pin-to-Pin Compatibility

The announcement of the ultra-low cost ARM based Realtek RTL8710 WiFi modules for IoT applications generated quite a lot of buzz since they can potentially compete with the popular ESP8266 modules. The main problem at the time was documentation and software support, but after some searches we could find that RTL8710 was part of Realtek Ameba family, and found some documents and an SDK for RTL8710/RTL8711/RTL8195. ICStation also kindly provided one B&T RTL-00 module for review, which costs $3.55 shipped per unit, and as low as $2.85 if you purchase 10 or more. The question here is how to get started? The answer can be found in page 8 of the Chinese datasheet for the module with GB0 and GB1 pins used for Tx and Rx to access the serial console. Time for some soldering… For the first test, we’ll just need Tx (GB1), Rx (GB0), GND and 3.3V, and […]

How-to Setup a DLNA/UPnP Server in Linux for Smoother Video Streaming with Kodi and Other Media Players

I’m normally playing videos from a SAMBA share installed in a Ubuntu PC to play files from Kodi in Android TV box reviews, but sometimes when I use 10/100 Ethernet, or worse WiFi local “streaming” may not be as smooth as possible. SAMBA is convenient because of access control and read write operations, but if you want to get a bit more performance, you may switch to NFS instead, or like I’ve going to show you here to a DLNA / UPnP server to stream videos locally from Kodi 16.1. There are several options, but MiniDLNA is lightweight compared to MediaTomb, so it will also run on lower end hardware like cheap ARM Linux development boards like Raspberry Pi, Orange Pi, or NanoPi NEO without taking too many resources. Installation is very easy in Debian / Ubuntu distributions, and I supposed this should also work with Windows Subsystem for Linux […]

DVB Channel Editor Tools for K1 Plus T2 S2 Android TV Box

K1 Plus T2/S2 is one of the most popular Android TV boxes with digital tuners, including both DVB-T2/T/C and DVB-S2/S tuners, and I get frequent comments and questions on K1 Plus T2 S2 review. One of the often asked request is a channel editor to use on a computer, in order to change the names, the order of channels, and set favorites. You can export the DVB data from the DTV app in Android with all data stored in dtv_user_data directory, and in theory, one web based editor is supposed to let you do just that, but it did not work for me. Another option shared with us by gabywap is K1_Plus_Editor.exe (Mirror) developed by Sm0ke, who appears to mostly frequent Russian forums. So I downloaded it, and launched it with Wine in Ubuntu 16.04, but the channel data I had could not load, and the program showed some error […]

How to Resolve Slow Boot Times in Ubuntu 16.04

I’ve recently upgraded my machine from Ubuntu 14.04.4 to Ubuntu 16.04.1, but while my computer used to boot in about 40 seconds, after the upgrade boot times increased considerably to 2 to 3 minutes. The first easy check was to look at dmesg:

There’s a bit 87 seconds gap between checking for the floppy, and VirtualBox drivers loading. So there’s definitely an issue here, but the log does not exactly give a clear queue. I’ve read you could use systemd-analyze to find which process(es) may be slowing down your computer at boot time:

Two processes are taking close to 8 seconds, but those 16 seconds still do not explain why it takes 2 minutes more to boot…Eventually, I realized systemd-analyze has a few more tricks up its sleeves:

The first command shows there’s no problem with the kernel itself, and something is slow in user space. The […]

How to Customize Amlogic Android Firmware – A Tutorial with NEXBOX A95X (S905) TV Box

CNXSoft: Bear in mind that there are multiple versions of Nexbox A95X. Yesterday, I published the review of Nexbox A95X with Android 6.0, with the model based on Amlogic S905X processor. In this article, Karl had a look at Nexbox A95X with Amlogic S905 processor, which he purchased a couple of months ago, but since he was not happy with the Android 5.1 firmware, he decided to customize it. Karl here with a review of the Nexbox A95X S905 box. This took a while to even start. I received the box about 2 months ago and I dived right in and broke it. I didn’t have factory firmware, and wasn’t cautious enough and bricked it. I found some firmware that worked but it didn’t work very well for me. Email’s to Nexbox directly didn’t help and I was stuck with a bricked box… I later found someone who had factory […]

How to Set an Android TV Box Video Output to Portrait Mode

Most buyers who buy an Android TV box just want to use it to watch videos, browse the web, play games, and so on, so landscape mode seems to be the best choice, and the orientation option in the firmware is often disabled. However, TV boxes can also potentially be used as digital signage players, which may require landscape or portrait modes if the screen is positioned vertically. Since I’ve just been asked that question, I’ve checked for a solution, and luckily there’s an app called Set Orientation that does the job. [Update August 2021: The app has been removed from the Google Play store, it might be worth trying Screen Rotation Control app instead] When you first start the app, it will show the option “Disabled”, but you can click on the arrow to reveal more options, and select Portrait to rotate the screen. In case the screen is […]

FriendlyARM NanoPi NEO Board Benchmarks

We’ve already seen how to setup NanoPi NEO with Ubuntu Core, and while it’s mostly designed as an IoT node, for example to control relays over Ethernet or the Internet, I’ve still decided to see how it would perform under load by running Phoronix benchmarks, and then network and storage (micro SD card provided by FriendlyARM). It’s a small board, so we should expect it to heat a lot under load, especially it does not come with an heatsink by default. Also bear in mind that performance may dramatically change depending on the software implementation, and for the test, I’m using the company’s Ubuntu Core firmware. Before start the benchmark, I noticed that QTe-Demo was running in the background, probably because it was used on their other board with video output or LCD. but it’s taking some CPU usage, and is absolutely not needed here. To disable it, edit /etc/rc.local, […]

UP 7000 x86 SBC