Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Forum to discuss the new Quad Core Rikomagic MK802 IV Mini PC

Moderators: KEgg, twjordo, tatubias

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby Klement » Fri Jun 14, 2013 7:19 am

Hi
Many thanks for your job!
First, I'd like to confirm that it work!
At last, Ubuntu Unity works correctly!
And I can start Apache2 correctly.
I can't initialize network, but i think I'll do it soon because the same driver SMSC75xx work correctly in Pikuntu.
It was not good idea to make driver 8188eu only "auto" rather then "manual". It does not want to start automatically)) As far as it is development period, more drivers should be "manual".

Picture for non-believers)))
Photo1.JPG
Photo1.JPG (201.23 KiB) Viewed 24659 times
Last edited by Klement on Fri Jun 14, 2013 4:27 pm, edited 1 time in total.
Klement
 
Posts: 11
Joined: Thu Jun 13, 2013 4:22 pm

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby wiiguy » Fri Jun 14, 2013 3:17 pm

yeah that is no picture, just text ....
wiiguy
 
Posts: 28
Joined: Mon May 27, 2013 5:52 pm

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby linuxerwang » Fri Jun 14, 2013 6:45 pm

Hi, Klement

Congratulations. Can you provide more info? What model did you tested? Is it MK802IV?
And what did you change of the kernel source? Could you please share it with us?
Could you please also share with us the detailed steps to install it?

Thanks.
linuxerwang
 
Posts: 22
Joined: Tue Dec 04, 2012 7:58 am

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby Klement » Fri Jun 14, 2013 7:50 pm

Hi, linuxerwang!
I'm using CR9 from CloudNetGo and QC802. But it is no matter if it is possible to disassemble appropriate firmware and pull the drivers. Kernel of all RK3188 from the factories is the same: 3.0.36+
On the picture you can see the kernel version 3.0.36, the sources of which were published. There, I did two things: turned on SMSC75xx driver and set CONFIG_SYSVIPC=y for Apache2.
Nothing more. It works fine.
However, I was not able to run the network drivers. Especially sad that 8188eu that is compiled into the kernel itself does not start. (I wrote about this above).
So I compiled these sources as 3.0.36+ to use original (Android) drivers. And I get network working.
Frankly, I do not have time to understand what and how it works (does not work). I want to quickly run some server tests (I am tired of the hegemony of Intel)))
As for the step by step instructions: I make it when a little shake myself. One thing I can say, I'm working through switch_root.
It allow me to start Ubuntu on ANY Arm's devices, if 1. I can modify firmware and boot.img, SD card exists, root or COM-port exist.
Of course, just to start. As shown by this experience, it is better to have the kernel source!)))

Regards!
Klement
 
Posts: 11
Joined: Thu Jun 13, 2013 4:22 pm

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby linuxerwang » Fri Jun 14, 2013 9:24 pm

Picuntu team got stuck on the memory initialization with the same source code. See viewtopic.php?f=14&t=4696&p=14207#p14207 for some discussions. Not sure if it's a device specific issue or whatever.

I think it deserves to write a detailed blog post for the process you took to compile/install it, including how you made the network device work. And it's better to be based on Alok's github source code. So that we can follow the instructions step by step. And once it's tested by Picuntu team a new public release can be created.

It's really exciting! Thank you, Klement.
linuxerwang
 
Posts: 22
Joined: Tue Dec 04, 2012 7:58 am

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby Klement » Fri Jun 14, 2013 9:38 pm

I used exact Alok's kernel! I only changed EXTRAVERSION='+' in Makefile to get kernel 3.0.36+ for compatibility with Android drivers!)))))
Klement
 
Posts: 11
Joined: Thu Jun 13, 2013 4:22 pm

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby Klement » Fri Jun 14, 2013 9:48 pm

As for kernel compilation i use from here: http://jas-hacks.blogspot.co.uk/2012/10 ... rmhfs.html

apt-get install gcc-arm-linux-gnueabihf build-essential git uboot-mkimage libncurses5-dev
make ARCH=arm menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- kernel.img
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install

And ROM_Flash_Tool_137 for insertion

By the way, I do it on Ubuntu 12.04 LTS x86 (32bit). 64-bit's mashine made error.
Klement
 
Posts: 11
Joined: Thu Jun 13, 2013 4:22 pm

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby linuxerwang » Sat Jun 15, 2013 7:19 am

So you created the recovery image with:

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j3 uImage

instead of the mkbootimg tool?
linuxerwang
 
Posts: 22
Joined: Tue Dec 04, 2012 7:58 am

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby Klement » Sat Jun 15, 2013 7:47 am

I do as I wrote above.
I am not focusing on uImage file and I don't use it.
I get kernel.img directly.
Then, I use tools that I find in Tronsmart T428 Finless ROM 1.4 : ROM_Flash_Tool_137
Klement
 
Posts: 11
Joined: Thu Jun 13, 2013 4:22 pm

Re: Linux Source Code for RK3188 (MK802IV) Now Available!

Postby juniorjpdj » Sat Jun 15, 2013 9:14 am

How to flash it at recovery?
And how ive to do when i done compiling kernel and flashing?
juniorjpdj
 
Posts: 11
Joined: Thu Jun 06, 2013 7:10 pm

Next

Return to Rikomagic MK802 IV Quad Core Forum

Who is online

Users browsing this forum: No registered users and 2 guests