Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Forum for RockChip RK3066 based devices

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby Krinyo » Mon Dec 24, 2012 6:32 am

Wow, thanx!
Krinyo
 
Posts: 13
Joined: Wed Oct 24, 2012 2:35 pm

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby bolsa1 » Tue Dec 25, 2012 11:38 am

hoping as this progresses that we can have individual builds for each stick that can just work out of the box for our individual sticks looking for drivers and installing them on linux is a huge pain. I can't wait for video acceleration so I don't have to pay for hulu... why should I pay them for ads? Also so I can stream from Amazon Instant Video.
bolsa1
 
Posts: 29
Joined: Wed Dec 05, 2012 10:05 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby Fordee » Tue Dec 25, 2012 6:03 pm

Merry Christmas to AndrewDB, and everyone at ArmTvTech!
Fordee
 
Posts: 15
Joined: Tue Sep 25, 2012 7:21 pm

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby cnxsoft » Thu Dec 27, 2012 4:02 am

bolsa1 wrote:hoping as this progresses that we can have individual builds for each stick that can just work out of the box for our individual sticks looking for drivers and installing them on linux is a huge pain. I can't wait for video acceleration so I don't have to pay for hulu... why should I pay them for ads? Also so I can stream from Amazon Instant Video.


I haven't followed that much, but I don't think we'll ever see hardware video decoding in Linux with that platform, since (AFAIK) Rockchip does not provide any Linux SDK.
For the GPU, it's the same problem, except there is still hope thanks to Lima drivers.

Please correct me if I'm wrong.
cnxsoft
 
Posts: 11
Joined: Sat Dec 08, 2012 9:09 am
Location: Chiang Mai

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby woro » Mon Dec 31, 2012 12:30 pm

muratremix wrote:It seems nobody bothered to make an USB / SDCard image for this linux distro. What a bummer.
It took more than one hour for me to do all work on VirtualBox using Gparted Live.

Anyway I prepared an IMG file and uploading it to my server if anyone wants to try ubuntu on MK808 or other devices.

Edit:

I managed to fully erase my sd card and make it from scratch. Now 7Zip can compress it much better, only 462 Mb.
I stopped uploading old 1.82 Gb file, new file will be completed in 30 minutes

Filename is mk808-ubuntu-0.3a.7z (462 MB or 485.322.406 bytes)
Direct link: http://win.karsiyaka.com/murat/mk808/mk ... tu-0.3a.7z

Ready to download.


Hello muratremix,

that image file is the first one with minor problems.

With the pre-Alpha 0.3 release I had, as many others, problems to start the desktop.

dd this image to a stick and the desktop started without intervention. But even then I had Problems with permissions.

For instanstance /usr/lib/dbus-1.0/dbus-daemon-launch-helper was set to group netdev, I changed it to messagebus, then I could configure and start networking but had still problems with authorisation.

The I took the /usr/lib directory from the pre-Apha 0.3 release, copied it to the root file system from the .img and then it was running.

I know this is not the way to do it... it was just a try (and since the kernel is the same...).

To be sure that all libs required are there and to prevent further permission problems I reinstall all installed packages (it is running since hours now...) according to http://www.osfight.de/?p=163

I will save the resulting root-fs to an image for future installations (I do this only if I have to to it - many hours)

I will try the same with the original pre-Alpha 0.3 release (starting xfce as root), there I can access networking only if I start xfce as root...

My configuration:

Finless 1.5a
iMito MX2 (have a MK808 as well)
Wlan out of the box: Alfa AWUS036NH

Thank you for publishing your .img file - it helped a lot!

woro
woro
 
Posts: 1
Joined: Mon Dec 31, 2012 11:38 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby LSDalKa » Fri Jan 04, 2013 12:48 pm

Soooo, Happy 2013 to everyone!
And many thanks to the developers of the project.If someone knows please tell me:
-Which missing pieces of code(from the developers/manufacturers) are needed to succed in a fully functional linux on MK806/8 (fully functional=almost like on desktop pc=using rk3066 and mali400 in full, internal wi-fi etc.)Will that happen in due time?
-Is it possible to build a kernel which will recognise any Linux distro's root filesystem loaded from sdcard?
-And of course, any news on Alpha0.4?
LSDalKa
 
Posts: 1
Joined: Sun Dec 30, 2012 4:02 pm

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby penguin42 » Sat Jan 05, 2013 3:52 pm

Thanks this kernel image seems to boot nicely on my mk809; I'm waiting for a uSD and/or USB hub to actually mount the rootfs, but it's
happily got the initramfs without any filesystem plugged in with a console on hdmi - so that's me happy (easily pleased!)

Are there instructions anywhere on how to build the .img files for the kernel/initrd?

(Getting the image on the mk809 was pretty easy after I'd found the right rune to get it to recongise the device;
I pushed the kernel image across using adb, then dd'd it to the /dev/block/mtd/by-name/recovery with bs=8192

From linux, getting adb to recognise it just needed a ~/.android/adb_usb.ini with the line
0x2207 device
in (not sure if the device is needed or not - conflicting web pages - but seems to work),
and getting the perms right with udev.
)

From the Linux image is there a way to do networking to the host over the usb like you can do with
adb? It sounds like it shouldn't be hard just wondred if any one had already done it.
Dave
penguin42
 
Posts: 7
Joined: Sat Jan 05, 2013 2:57 pm

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby aloksinha2001 » Mon Jan 07, 2013 9:42 am

LSDalKa wrote:Soooo, Happy 2013 to everyone!
And many thanks to the developers of the project.If someone knows please tell me:
-Which missing pieces of code(from the developers/manufacturers) are needed to succed in a fully functional linux on MK806/8 (fully functional=almost like on desktop pc=using rk3066 and mali400 in full, internal wi-fi etc.)Will that happen in due time?
-Is it possible to build a kernel which will recognise any Linux distro's root filesystem loaded from sdcard?
-And of course, any news on Alpha0.4?


Yes... hopefully you would seem something on this soon...
viewtopic.php?f=4&t=1193

Alok
aloksinha2001
 
Posts: 41
Joined: Thu Nov 08, 2012 11:11 pm

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby CruNcher » Thu Jan 10, 2013 6:30 pm

cnxsoft wrote:
bolsa1 wrote:hoping as this progresses that we can have individual builds for each stick that can just work out of the box for our individual sticks looking for drivers and installing them on linux is a huge pain. I can't wait for video acceleration so I don't have to pay for hulu... why should I pay them for ads? Also so I can stream from Amazon Instant Video.


I haven't followed that much, but I don't think we'll ever see hardware video decoding in Linux with that platform, since (AFAIK) Rockchip does not provide any Linux SDK.
For the GPU, it's the same problem, except there is still hope thanks to Lima drivers.

Please correct me if I'm wrong.


And thus for Multimedia purposes it's pretty useless in this case better concentrate on thinks that are possible :)

At least i hope RockChip is gonna understand that investing time into Native XBMC support for their VPU is a useful thing i guess also the demand by it from their ODMs and customers for it is going up, so sooner or later they gonna show up ;)

The VPU integration into Android is really going well their are little quirks here and there (one of the biggest quirks i found that some streams need some time before they get hardware accelerated @ all in that time it becomes a slideshow in the browser for some frames (HTML5, not a 100% Seamless experience yet) but overall it's pretty stable and works out of the Box :)

It's a pity that Flash is dead and it seems they invested some time into the Flash Integration part which runs very awesome, also the flash part is so much more versatile seeing all the different player interfaces and OSDs all the platforms came up with and HTML5 seeing all the time the Default Player interface gets a little annoying mostly only Youtube has their own partly working Interface (same as the Flash interface), though that is also a problem in Desktop mode on all the current Mobile browsers with the RK Integration (i guess though everyone suffers from this not only RockChip) :)

In my test only 1 Bitstream was problematic @ playback with Flash Player looking like loosing the Hardware acceleration and falling back to Adobes (Mainconcepts) Software Decoder.

And a lot of services i tested have no real HTML5 solutions @ all and they rather allow high quality content to be shown with minimum advertising (then not showing it @ all on mobile devices like the Ipad) (as they yet don't know how to input advertising while the stream is running via HTML5, efficiently with low overhead, working in all browsers)

Which is good for the Consumers (less advertising) while this transitioning is still going on ;)

So Flash on the RK solution is a great experience (plastered with advertising and sometimes that can be as heavy as every 10 minutes advert brakes) some examples from German (Broadcaster Platforms Public/Private) and most popular (Non Geo IP Restricted Free Services ) i tested you can find in my RK3066 Device and Software Backend Review (German only sorry) :)
Though also HTML5 works (with those slideshow issue in the first seconds sometimes) not as nice depending on the browser but Hardware accelerated as well (yeah) :)
http://www.android-hilfe.de/sonstige-an ... metal.html

Oh my goodness on a official Sony Channel Interlaced Music Video Content that is crazy, actually it seems the input has been wrong ivtced and that in 2013 :(
CruNcher
 
Posts: 29
Joined: Tue Dec 18, 2012 10:45 pm

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby Gottfried » Tue Jan 15, 2013 9:26 pm

Need user name and password for Ubuntu (pre alpha 0.3 release) "mk808-ubuntu 0.3a". I was at log in screen. I went "Control Alt F2. I am now at command prompt. I have tried:

Logging in

When you hit the login screen you have two options for logging in:

username: root / password: ubuntu
username: ubuntu / password: ubuntu
No joy.

I have also tried:

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

NOw two issues you have
1. su
to achieve that you need to first set the passwd for root
sudo passwd root
(pass for user ubuntu is ubuntu, now set the root password to whatever you like)
next
su
enter the new pass u created.

2. To get the GUI, (not in su mode - but in ubuntu login)

startxfce4

This should kick in the X for xfce and you would be all set.

3. The internal wifi will NOT run (not yet atleast) ... so you need to have a USB dongle for wifi or ethernet... with that you can setup what you want.

Alok

No joy.

Command line is asking for: rk3066dev login:

Does anyone have the code. I need to be root. For now set user name to "root" and password to "Ubuntu".

Thank you.
Gottfried
Gottfried
 
Posts: 19
Joined: Fri Jan 04, 2013 9:11 pm

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby aloksinha2001 » Wed Jan 16, 2013 5:38 am

Gottfried.

Login/pass for 'ubuntu' user has beed 'ubuntu'. Since ever.

Even in the PicUntu 0.9RC2 launch, the login/pass is ubuntu/ubuntu

In PicUntu 0.9 - you also have root passwd set. Check documents.

Additionally, the PicUntu 0.9 RC2 now has wifi, time, soundfor Mk808 and UG802 working... out of the box

Check this.
viewtopic.php?f=4&t=1315

Alok
aloksinha2001
 
Posts: 41
Joined: Thu Nov 08, 2012 11:11 pm

Scimark score on rk3066

Postby lanlaf » Sat Jan 26, 2013 2:56 pm

Just put picuntu on my mk802 III and ran scimark 2.0 on it. The score:

SciMark 2.0a

Composite Score: 106.82714848023025
FFT (1024): 101.9308490983475
SOR (100x100): 188.03229710608127
Monte Carlo : 31.155460832516486
Sparse matmult (N=1000, nz=5000): 81.43141778368108
LU (100x100): 131.58571758052494

java.vendor: Oracle Corporation
java.version: 1.8.0-ea
os.arch: arm
os.name: Linux
os.version: 3.0.8+

ubuntu@picuntu:~/opt$ jdk1.8.0/bin/java -version
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)
Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)

So it is about 5 times more powerful than the Raspberry Pi (score around 21).
lanlaf
 
Posts: 13
Joined: Sat Jan 26, 2013 7:14 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby vincePOP3 » Mon Feb 18, 2013 1:44 am

Hello

Sorry for the silly question...perhaps

but

What is the name of the package manager tool inside Picuntu?

Does the tool give you access to the "Unduntu styled repository" of ARM compiled
applications? (20 thousand apps?)

Will the package manager then talk to the repository and allow you to install
any of 20 thousand ARM compiled applications....... with just a few clicks?

OR........

must users go away and compile individual APPS for ARM and for Picuntu .....before they wish to use each app they
chose ?

thanks

Vince.
vincePOP3
 
Posts: 1
Joined: Mon Feb 18, 2013 1:37 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby povlhp » Wed Feb 27, 2013 10:25 am

apt-get install tcpdump
works just fine. Most software is there, a few packages are missing (I am missing one for gnu-radio that exists on intel).
povlhp
 
Posts: 5
Joined: Tue Dec 18, 2012 9:35 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby bvden » Sat Mar 02, 2013 8:13 am

Hello all!
I very hope someone knows my problem.
I have UG802 device.
I try to install linux. I tried Ubuntu(AndrewDB), Picuntu. In all cases I see a blank black screen.
I tried different firmware to flash my UG802. It's several fw from stocks, fw from 2dark4u, fw from Bob (version 1.7). In all cases ONLY fw from BOB with 720p working normally. Any fw with 1080p can not give picture on screen.
So, after flashing recovery with linux(ubuntu,picuntu) I have black screen. I'm using monitor Dell S2340L. I don't use any extra HDMI cables, adaptors, etc... For power I'm using power supply from samsung tablet (5V,2A).
Some ideas?
Thank's!
bvden
 
Posts: 1
Joined: Wed Feb 20, 2013 4:42 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby amunhoz » Thu Mar 07, 2013 10:07 am

Hello there,

Does anybody managed to configure a 24bit color depth in this picuntu version? The default is 16bit.
I've tried with xorg.conf but it does not worked (blank screen).
And i cant find anything about this in google.

MK808

Thanks
amunhoz
 
Posts: 1
Joined: Thu Mar 07, 2013 10:03 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby tom.luft » Sat Mar 09, 2013 5:39 am

I own a MK808 (without bluetooth) and have picuntu running on it. I have the system configured to automatically login and start x11vnc so I can use the device independently from any other hardware.
There is a bug, however, so every time the system idles the WiFi connection (connected via internal chip) is lost and not recovered. As you can imagine this ain't great, especially when the device is physically unreachable.

One could restart the network service via
Code: Select all
sudo service networking restart

if (s)he only could type in the command!

So is there any other method than my quick'n'dirty script that pings an always-reachable adress (e.g. my router) and if this ping fails executes the above command?
My script mainly looks like this:

Code: Select all
echo `TZ=UTC-1 date ` $msg_start > $tmpfile
cp $tmpfile $logfile

while : ; do
    ping -c 1 $ping_ip >> /dev/null
    rc=$?
    if [ $rc -eq 0 ] ; then                 
                echo $msg_reachable
    else
                if [ -f $logfile ]; then
                        cp $logfile $tmpfile
                fi
                echo `TZ=UTC-1 date ` $msg_unreachable > $logfile
                if [ -f $tmpfile ];     then
                        cat $tmpfile >> $logfile
                        rm $tmpfile
                fi
                echo $sudo_pw | sudo -S service networking restart
    fi
    sleep 60
done


All the messing with the temporary file is for creating a logfile with the newest entries first.
I added it to autostart (Settings Manager/Session & Startup) and edited its .desktop file to show the terminal (otherwise it wouldn't create my logfile - strange).
I have seen the script working (it reacts to failed pings and resets the connection), but the MK808 still loses the connection regularly (it always happens when I'm far far away from home).
I disabled all power saving options via the settings manager.
So I'm thinking of either:
  • changing my script so it actually works (how? - sudo reboot instead of sudo service networking restart may work but is just unbearable)
  • preventing the system from switching to idle state (how?) or
  • fixing the bug (how?)
tom.luft
 
Posts: 1
Joined: Thu Feb 14, 2013 6:42 am

Re: Ubuntu Linux for RK3066 devices (pre-Alpha 0.3 released)

Postby krandv » Thu Jun 06, 2013 7:37 pm

Hi, I'm sorry for the probably stupid question. I have a tablet based on RK3066 chipset and want to boot the original Android OS (it's a long story) from an external microSD card. Is it possible to take the custom boot loader made by you, flash it, as I understand, in NAND and have it to boot Android from an external SD card?


Thanks in advance,
Roman
krandv
 
Posts: 1
Joined: Thu Jun 06, 2013 7:13 pm

PreviousNext

Return to Rockchip RK3066

Who is online

Users browsing this forum: No registered users and 2 guests