All times are UTC-06:00




Post new topic  Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Sun Aug 10, 2008 1:54 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Image

Hi all.

Over here: http://walhalla.puv.fi/~jd/qt_uclibc/ you can download a Gentoo root file system with uClibC 0.9.29 and Qt/Embedded 4.4.1.

With this, the idea is to create a very small and efficient system for the Efika. Some of the possibilities can be seen here: http://www.cloudcity.tv/ in the "Qt Embedded on Efika" video. (an improved video will be created soon).

Please note that the system in question does not use X11 for graphics, but uses the Linux frame buffer. The radeonfb driver is recommended for now, but in the near future it will hopefully use DirectFB.

To boot the system I recommend a NFS server to host the image, but you could just copy it to the hard drive. In any case, remember to change /etc/fstab to point to the right file systems. [edit] Oh, and delete the root password from /etc/shadow.

On the image, all the Qt stuff is in /usr/local/Trolltech, including the demo's you can see in the video. Try the web browser especially :-)

The image is quite big (234MB compressed, 1GB uncompressed), but it contains a lot of files for development and portage distfiles which should be removed in the final version.

If you're interested in helping with this effort, drop me an email or post a reply. Some of the things still to do include compiling mplayer or VLC or... for playing media (together with Alsa, etc.), get DirectFB to work (which will require a recompile of Qt as well), and scale the image size back as far as possible. Also, SSL support should be compiled in into Qt, but I skipped that for now due to some compilation errors, probably nothing serious.



Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Last edited by PurpleAlien on Mon Aug 11, 2008 6:31 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Sun Aug 10, 2008 2:55 pm 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1422
That is great work Johan. Thank you.

R&B :)

_________________
http://bbrv.blogspot.com


Top
   
PostPosted: Sun Aug 10, 2008 3:23 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Try the web browser especially :-)
Was this just the demo browser as in the video, or the latest Arora? :)

Either way, it's still pretty neat :D
Quote:
The image is quite big (234MB compressed, 1GB uncompressed), but it contains a lot of files for development and portage distfiles which should be removed in the final version.
234MB compressed is pretty impressive. Consider a squashfs filesystem in NAND flash, we have an OS even with development files which will fit in 256MB.. all the more left for user storage!
Quote:
still to do include compiling mplayer or VLC or... for playing media (together with Alsa, etc.), get DirectFB to work (which will require a recompile of Qt as well)
We should look into the Qt media player demo; using Phonon and the Xine backend or even the default GStreamer, might be an easier task than getting Mplayer to work on Qt Embedded.

At least with GStreamer the modules are pluggable and we can change backends to whatever is the best at the time (hopefully not gstreamer as it includes GLib as a dependency, *spit*)

All in all, absolutely fantastic. I look forward to seeing how this develops..

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sun Aug 10, 2008 4:28 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.
Quote:
Was this just the demo browser as in the video, or the latest Arora? :)


The demo - Arora is in the works :-)
Quote:
We should look into the Qt media player demo; using Phonon and the Xine backend or even the default GStreamer, might be an easier task than getting Mplayer to work on Qt Embedded.
Already did :-)
Thing is, Phonon compiles fine, the demo media player compiles and runs too. I just need time to compile GStreamer with uClibc etc. Or Xine. Mplayer should be no problem either by the way (I remember that I did this before...)


Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Mon Aug 11, 2008 11:08 am 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

Anyone care to build a TinyGentoo (http://gentoo-wiki.com/TinyGentoo) with uClibc 0.9.29 for Efika?


Best regards,
Johan

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Mon Aug 11, 2008 3:46 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

You can find a new version of the image here:
http://walhalla.puv.fi/~jd/qt_uclibc/basic.tar.gz

The image has shrunk in size (now 125MB). Unpacked, it is 855MB, but 474MB of that is /usr/portage. This can be removed to instantly shrink the install by 50%.
Development tools (gcc, distcc, etc.) are still present.

One thing though: the previous image had some issues due to the uClibc latest version (0.9.29) which meant that some tools didn't work anymore (segfaulting).
This has been worked around with in this version by installing the libraries that Qt needs in /root/lib/. In order to start a demo, one would launch it by pointing LD_LIBRARY_PATH to this directory, for instance:
Code:
bash# LD_LIBRARY_PATH="/root/lib" ./browser -qws
All the Qt stuff is still under /usr/local/Trolltech.
The base system is basically a Gentoo stage 3 embedded.

The uClibc issues can be fixed by compiling the entire base system against the latest uClibc. Not exactly a big deal really, just takes some time.


Furthermore, I've added a video here:
http://www.cloudcity.tv/index.php?optio ... link&id=22
It shows what the other video showed, but should be a bit more clear and smooth.



Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 7:09 am 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1422
For those folks that complained Linux was too slow on the EFIKA (when run with a GUI), this work proves otherwise. There is great benefit for all those people who want to use the EFIKA as a media player/browser/e-mail program, etc. using this code. Almost all the applications here: http://www.qt-apps.org and more can run fast and efficiently on the EFIKA.

If you want a faster EFIKA (for a Project or ???), you can have one now. Why not give it a try and let us know what you think.

Again, nice work, Johan!

R&B :)

_________________
http://bbrv.blogspot.com


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 7:41 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Just finished extracting basic.tar.gz, but I can't find a bootable kernel inside. At least /boot is empty. Is it somewhere else? Or could you post that too?

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 8:27 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Just finished extracting basic.tar.gz, but I can't find a bootable kernel inside. At least /boot is empty. Is it somewhere else? Or could you post that too?
I just used my 2.6.25.11 SuSE kernel and copied the modules across.. but the image is meant to use the FAE kernel (see the Freescale demos below Platform Support, on the front page :) isn't it?

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 8:50 am 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

a suitable kernel can be found here:
http://walhalla.puv.fi/~jd/qt_uclibc/kernel_efika_v4l


Best regards,
Johan

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 9:14 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Quote:
I just used my 2.6.25.11 SuSE kernel and copied the modules across..
This is almost exactly what I did, but I used the kernel from 10.3 instead, as my other choice was factory, and that was pretty broken the last time I checked it. Once it booted, it is surprisingly fast!

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 9:21 am 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi Peter.

Boot times can be lowered a lot still. I will be working on that as soon as I have another couple of apps running on the system.


Best regards,
Johan

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 2:06 pm 
Offline

Joined: Sat Nov 03, 2007 10:43 am
Posts: 38
Location: France
Quote:
For those folks that complained Linux was too slow on the EFIKA (when run with a GUI), this work proves otherwise. There is great benefit for all those people who want to use the EFIKA as a media player/browser/e-mail program, etc. using this code. Almost all the applications here: http://www.qt-apps.org and more can run fast and efficiently on the EFIKA.

If you want a faster EFIKA (for a Project or ???), you can have one now. Why not give it a try and let us know what you think.

Again, nice work, Johan!

R&B :)
Hello R&B,

Not a complain : just facts. Linux + X + whatever is slow. Linux + direct framebuffer is way faster without any doubts.

I wait for a packed install to give a try.

Will it be as reactive as morphos?

Anyway, good job. :)


Top
   
 Post subject:
PostPosted: Fri Aug 15, 2008 2:55 pm 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1422
MorphOS runs very well on the EFIKA. We did not mean to suggest otherwise. We are looking forward to the next MorphOS release.

R&B :)

_________________
http://bbrv.blogspot.com


Top
   
 Post subject:
PostPosted: Fri Aug 29, 2008 10:52 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Hi Johan,

Just tried your image on my Efika and it works very well, indeed the Qt browser works much better than eg. Firefox even with unaccelerated framebuffer as it is.

Just one suggestion: perhaps you'd like to add a DHCP client to your image :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 15 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group