Ubuntu 12.04 Now Boots on Rockchip RK3188 mini PCs (T428, MK908, Rikomagic MK802 IV…)

Orange Pi Development Boards

After the release of the RK3188 Linux kernel source code last week, Ian Morrison (Linuxium) has managed to boot Ubuntu 12.04 with XFCE desktop on Tronsmart T428. However, as Tronsmart refused to release their source code, further Linux development is likely to happen on Rikomagic MK802 IV, because Rikomagic released the code for their device, so development work will be easier.

Rikomagic_MK802_IV_Ubuntu_Linux

AFAIK, this is the first time Linux boots natively on RK3188 devices, so it’s still early stage (no Wi-Fi, Bt or graphics acceleration), but if you still want to give it a try here are the instructions (for T428):]

  1. Create a SDCARD with an Ubuntu 12.04 root file system on it and ensure it is labeled as “linuxroot” (Visit Slatedroid for details)
  2. Flash your RK3188 minipc with rooted stock 4.1.1 ROM. (May not be needed if you ROM is already rooted)
  3. Boot Android, and install Android Terminal
  4. Flash t428-3.0.36-linuxium-test+-kernel.img as recovery.img with RKAndroidTool. (I can’t find the binary, and my Internet connection does not allow me to access all files right now, but you may want to follow the build instructions to get the image.) [Update: See comment for kernel binary and modules]
  5. Reboot your mini pc, start the Terminal in Android, type “su” to become root, and finally type “reboot recovery” to reboot into Linux.

It’s safe to try as those instructions should not affect your Android installation.

Ian also ran some benchmarks from Phoronix Suite to compare Linux performance in a chroot in Android via Linux Complete Installer (T428-ubuntu-complete) and native Linux (t428-linuxium). The third column is for an RK3066 mini PC (iStick A200) running Linux natively.

T428_Chroot_Linux

None of those tests do not require a graphical interface, and results are pretty close. Native Linux has a slight advantage with many of them, but for some reasons Linux running in Android appears to have a clear edge for PyBench.

PicUntu developers are already aware of this progress, so you can expect RK3188 PicUntu soon. Further details are available on Mini PC G+ Community including logs, kernel config, and some documentation.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

63
Leave a Reply

avatar
63 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
21 Comment authors
sweet homeWilsonTylerAmanARM Android 中華デバイスにLinux移植スレ総合 151-200 | Linuxの話題 Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
onebir
Guest
onebir

:):):)
Any idea if MK809 III/UG007B/QC802 are the same as MK802 IV? These seem to be the cheapest ones ATM…

linuxium
Guest
linuxium

I’ve added the recoverey kernel image and the lib modules with instructions on how to download and install at https://plus.google.com/u/0/109451178006683865932/posts/jdUWmMKudJa so with these and the instructions above you should be set to take Ubuntu out for a spin – please note it is my first development cut and not everything will be working.

trackback

[…] to cnx-software.com, the boot up doesn’t include extra features such as the Wi-Fi or Bluetooth – for this […]

onebir
Guest
onebir

@cnxsoft
I think the wifi chipsets are:
MK809 III – RTL8188eus*
UG007B – CDT-K25931**
QC802 – CDT-K25931***
MK802 IV – Realtek 8189 & Bluetooth: RDA5876a***

I wonder why the MK802 IV’s aren’t getting reduced like the others? They still go for $84+ (inc shipping, exc vouchers)…

*http://www.freaktab.com/showthread.php?3844-MK809-My-experience-with-Finless-1-7/page3
** http://www.aliexpress.com/item//868155150.html
***

onebir
Guest
onebir

Oops:
***http://www.freaktab.com/showthread.php?5165-Internal-Wi-Fi-Chipset-of-TV-Sticks

eebrah
Guest
eebrah
onebir
Guest
onebir

@eebrah
For which we haven’t even yet got price or firm availability dates, let alone info on wifi chipset 😉

Bobby
Guest
Bobby

I would simply like to express my gratitude to you for putting in all of the time and energy to make this possible.

I’ve purchased two T428’s to use as public computers and I just can’t swing it with the Android OS.

I really look forward to WiFi working (I really hope we get there).

I’m interested in donating a couple cups of coffee if you would be so kind as to provide a donate link.

Thanks a lot,
Bob

trackback

[…] More details are available at CNX-Software. […]

trackback

[…] More details are available at CNX-Software. […]

trackback

[…] ソース:Ian Morrison 「Ubuntu 導入の詳細」(英文) と ベンチマーク (英文)  CNX-Software […]

ade
Guest
ade

> “However, as Tronsmart refused to release their source code”

Isn’t it mandatory for them to release their source-code considering the GPL license ? (http://gpl-violations.org/ )

trackback

[…] Via cnx-software.com […]

trackback

[…] Links and instructions can be found at CNX-software.com. […]

trackback

[…] CNX Software a publié des informations supplémentaires et des tests de performance brutes de la clé ne nécessitant pas de ressources graphiques. Des explications plus poussées de l’installation d’Ubuntu RK3188 sont également indiquées ainsi que des commentaires détaillant certaines procédures. Les liens les ressources nécessaires y sont également publiées. […]

onebir
Guest
onebir

Slightly off-topic; is there any (meaningful) way to compare processing power of ARM & x86 processors (esp RK3188)?

trackback

[…] But Ubuntu does not work perfectly on RK3188, it does not have support for WiFi, Bluetooth and hardware-accelerated graphics, yet. For more information, see this page. […]

onebir
Guest
onebir

I found a few comparisons here too:
http://computingcompendium.blogspot.com/p/arm-vs-intel-benchmarks.html
If there’s approximate consistency across the Antutu and Geekbench benchmarks, I think this implies an RK3188 is about 50-60% as powerful as a Core i3. & 50% more powerful than a D525.

Not bad for a soon to be $50 tv stick :p

mi643
Guest
mi643

I’m so curious about the video performance from the t428 under Ubuntu, sinds its giving so much trouble under Android…

mi643
Guest
mi643

@cnxsoft

A lot of people are complaining about stuttering/frame skipping in HD video and streaming from Netflix. The funny thing is, the stuttering stops when you move the mouse.. But i can’t check it for myself, my device is on the way ;). You can find more info at freaktab.

Klein
Guest
Klein

@mi643
please, are you sure that the stuttering is with t428?
i read similar issue with mk802iv, with mouse moving all play perfect, it’s a firmware issue. if confirm that it’s also in tronsmart, please give me the url, i want know if it’s with stock rom/version or custom. If afect many sticks, maybe it’s a bug in rockchip base kernel.
I hope that it’s not rockchip rk3188 base kernel, because i dont see many updates of them, so we must wait longer.

mi643
Guest
mi643

@Klein
Some people are saying it’s a rockchip failure, i don’t know. I have only did some research on the T428, because i ordered one.
You can read the story’s on the freaktab forum, just Google it, you will find it ;).

The latest news is that optimizing for the chip is on the way….lets hope so..

Quote,

1 perfectly optimized high Retina retina screen resolution (2048 * 1536), smooth operation with up to 60 full frames / second, improved significantly;

2, optimized GPU performance graphics processor, a large number of frames to run 3D games increased 30%, reaching the advanced standard;

3, the depth optimization Android4.2.2 system version, fixes Google legacy BUG, ​​to provide a more stable system;

4, through android4.2.2 Google CTS certification, the first passed the test;

5, with the screen smooth support Miracast wireless transmission function, latency 50% shorter than similar products;

6, 20% of web browsing speed, multi-web browsing and smooth;

7, the browser add Web GL, support online 3D games;

8, optimizing HDMI 1080P HD video playback quality;

9, optimized power management system, to further optimize the energy consumption and increase battery life duration;

10, support for Bluetooth 4.0

trackback

[…] 以前の記事「MK808新機種の発売」で、MK808の後継機種について書きましたが、新CPU「RK3188」搭載機で使用できるLinuxカーネルイメージが公開されたようです。詳細はこちらのページ(英語)で紹介されています。なお、今回の話は管理人が検証した結果ではなく、あくまで「記事が紹介されていた」というレベルの話です。まあ、RK3188の実機も無いので試せる話でもありませんが・・・。 この記事によると、カーネル部分に新しいイメージを使用し、システム部分はMK808用のUbuntu12.10(記事では12.04になっていますが、リンク先が12.10のため後者が正しいようです)を使用可能な状態にする、というのが趣旨のようですが、内容を見る限りでは新機種MK908でも使用できる可能性が高いように感じられます。動かしてみた訳ではないので何とも言えませんが、もしRK3188と2GBメモリの環境でPicUntuが動作するのであれば、かなり強力なコンパクトサーバーができるのではと期待されるところです。 […]

blah
Guest
blah

I have the mk908 and it’s a bit of a piece of shit. On latest finless rom 1.5 and it still drops frames enough to make it too annoying to watch anything. Hulu lags like crazy also, must be getting no more than a couple frames per second. Basically, there’s no point using it because i will get a perfectly smooth video just plugging my hd into my tv. Epic fail unless you really love playing angry birds on a big screen.

Raymond Day
Guest
Raymond Day

You say MK908 it’s the 4 core 2GB one. But can’t find any good post telling how to get picuntu or Ubuntu to run on it.

It would be nice to have Ubuntu server running on this one with 4 cores and 2GB of RAM.

-Raymond Day

Raymond Day
Guest
Raymond Day

@blah

I guess you are using the Wi-Fi on it. Get a USB to Ethernet adapter. Works very good then.

-Raymond Day

trackback

[…] More details are available at CNX-Software. […]

bilalagha
Guest
bilalagha

Hi ,
Apologizing about the questionI am a newbe
can any one tell me how to execute step 4.

Thanks
Bilal Agha

jh
Guest
jh

i have connected my usb ethernet and it does not work.
any tips?

jh
Guest
jh

`nvm/.. it didnt have native drivers..mb

jh
Guest
jh

after a week of continuously installing, buying stuff, bringing it back, im out of idears.
My mk802 and zeals are both compatible with em1010 devices, but this one isnt. I tried several usb ethernet cards but they all didnt work, and when i tried to make the proper drivers, it complained about not beying able to find it in modules/3.0.36+ .. i downloaded several module packages but that didnt help.
without usb internet i cant use this device at all and im about to sell it..
what usb device has native support?
or how can i get this make to work
anyone any ideas??

Raymond Day
Guest
Raymond Day

Any one got mySQL running on your Tronsmart T428 with picuntu?

I get a error saying:

“Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) …
start: Job failed to start
invoke-rc.d: initscript mysql, action “start” failed.
dpkg: error processing mysql-server-5.5 (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (–configure):
dependency problems – leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
[email protected]:~#”

I started over fresh install again thinking I messed it up. But it still can’t run mysql. Any one else got it to run and what did you do if so?

-Raymond Day

jh
Guest
jh

@cnxsoft
No, it doesnt build the module.
I added 3.0.36-linuxium-test+ to /lib/modules, but it seems to be missing ‘build’, or linking to it wrongly.
(cpio -ivdum < 3.0.36-linuxium-test+-modules
cp -a 3.0.36-linuxium-test+ /media/linuxroot/lib/modules)
I just did a clean install and the results are the same.
I tried a bigger 3.0.36 module package from a picuntu image as well, but that resulted in the same.

jh
Guest
jh

@Raymond Day
sorry to hijack your question, but i havent been able yet to install picuntu on my t428.
I forgot where i got the image i tried but that is picuntu-linuxroot-0.9-RC2.2.tgz (175mb)
I also found a PicuntuInstaller.apk which i havent tried yet because i assume that will be a native install.
Could you link me to the image you use?
And what kernel do you use?
The only kernel i get working is t428-3.0.36-linuxium-test+-kernel.img @ 11.072mb
Both the picuntu recovery image from recovery.img.7z @ 10.862.592mb packed and kernel-0.3.img @ 8.048 mb did not boot for me.

Raymond Day
Guest
Raymond Day

The link is here:

https://plus.google.com/u/0/109451178006683865932/posts/bn6cQQzH42e

He tells it super good how to install picuntu on the Tronsmart T428 it works. But I can’t get Apache or MySQL to run on it.

-Raymond Day

trackback

[…] Linux on RK3188 is still work on progress, Cloudsto MK802III LE will be available first, with the following […]

jh
Guest
jh

@Raymond Day
I installed the image but it doesnt boot. What kernel are you using?

Also, perhaps installing xamp might be a solution to your mysql problem.

jh
Guest
jh

yeah.. im getting nowhere.
This linuxium image works and all i need to get further is the name of a native usb ethernet adapter.
Please tell me how i can find out what adapters have native support, or give the name of a native supported usb ethernet adapter (i only need one;)

Raymond Day
Guest
Raymond Day

The first time it boots you have to wait 3 to 4 min. For it to come up. After that it will take about 30 sec. to come up.

The Ethernet adapter I am using is a Belkin model usb300m it cost about $25 but seems like the drivers are all way built in to Linux for it.

I still can’t get MySQL to run.

Got mine booting off a USB hard drive. It’s neat that it can on a SD card or USB drive. Same install way.

-Raymond Day

Raymond Day
Guest
Raymond Day

Here is a Amazon link to the Linksys by Cisco Model No: USB300M:

http://www.amazon.com/Cisco-USB300M-Cisco-Linksys-Ethernet-Adapter/dp/B001NLV4TQ

$25 there.

-Raymond Day

Raymond Day
Guest
Raymond Day

I went here to install xamp like you said:

http://linuxg.net/how-to-install-xampp-on-ubuntu-13-04-12-10-12-04/

But after I do a start for it, it gets lots of errors:

[email protected]:~/Downloads# /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.1…
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: cannot execute binary file
XAMPP: Starting Apache with SSL …
/opt/lampp/bin/httpd: 1: /opt/lampp/bin/httpd: Syntax error: “(” unexpected
XAMPP: Error 2! Couldn’t start Apache!
XAMPP: Starting diagnose…
XAMPP: Sorry, I’ve no idea what’s going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
XAMPP: Starting MySQL…
/opt/lampp/bin/my_print_defaults: 1: /opt/lampp/bin/my_print_defaults: Syntax error: “(” unexpected
XAMPP: Couldn’t start MySQL!
XAMPP: Starting ProFTPD…
XAMPP: /opt/lampp/lampp: line 333: /opt/lampp/sbin/proftpd: cannot execute binary file
XAMPP: Error 126! Couln’t start ProFTPD!
XAMPP for Linux started.
[email protected]:~/Downloads#

-Raymond Day

Raymond Day
Guest
Raymond Day

I thought this would be good to install easy the things I wanted:

[email protected]:~/Downloads# tasksel
tasksel: aptitude failed (100)
[email protected]:~/Downloads#

But can see it said it failed.

I don’t know I my just start over fresh again.

Then run tasksel the 1st thing after I become root and get a IP.

-Raymond Day