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

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
Advertisements
Subscribe
Notify of
guest
59 Comments
oldest
newest most voted
onebir
onebir
7 years ago

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

linuxium
linuxium
7 years ago

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.

onebir
onebir
7 years ago


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
onebir
7 years ago

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

onebir
onebir
7 years ago

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

Bobby
Bobby
7 years ago

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
ade
7 years ago

> “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
onebir
7 years ago

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
onebir
7 years ago

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
mi643
7 years ago

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

mi643
mi643
7 years ago

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
Klein
7 years ago

@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
mi643
7 years ago

@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… Read more »

blah
blah
7 years ago

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
Raymond Day
7 years ago

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
Raymond Day
7 years ago

@blah

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

-Raymond Day

bilalagha
bilalagha
7 years ago

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

Thanks
Bilal Agha

jh
jh
6 years ago

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

jh
jh
6 years ago

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

jh
jh
6 years ago

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… Read more »

Raymond Day
Raymond Day
6 years ago

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… Read more »

jh
jh
6 years ago


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
jh
6 years ago

@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
Raymond Day
6 years ago

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
jh
6 years ago

@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
jh
6 years ago

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
Raymond Day
6 years ago

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
Raymond Day
6 years ago

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
Raymond Day
6 years ago

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… Read more »

Raymond Day
Raymond Day
6 years ago

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

jh
jh
6 years ago

@jh
i found that the links where linking to /root/rk3188/t428/3.0.36-linuxium-test+ instead of /lib/modules/3.0.36-test+, so i copied the directory to /root/rk3188/t428/3.0.36-linuxium-test+ and now it its causing this error with the make command: No rule to make target `modules’. Stop
I checked for solutions and tried a few, but no luck.
I also tried other module packages and they gave the same error.
the makefile sais:
obj -m := mcs7830.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules;
any ideas?

jh
jh
6 years ago

@Raymond Day
thanks for the usb device advice,.. ive seen your ‘guide’ in the other thread as well, so i should be able to fix that too. Ive ordered the device so i should then finally be ablt to make some progress (allthough i guess i will still need to be able to use make)

a shame xampp didnt work out. That usually works out of the box quite well

jh
jh
6 years ago

@Raymond Day
just did another clean picuntu attempt, but no luck, only 4 pinguins for 10+ minutes.
the keyboard leds do work though, so something is initialized.

Advertisements