View previous topic :: View next topic |
Author |
Message |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Mon Sep 22, 2008 4:23 pm Post subject: |
|
|
Archimedesmp wrote: | Hi spielc,
nice
I think potential Gentoo-on-FR users would appreciate a small hint on how to handle the linking problems (or at least one user - me )
Cheers, Sebastian |
Well till now i've experienced several issues in connection with linking: The most common problem seems to be relinking during the install phase. To tackle that problem i haven't found another solution than to patch libtool (or better said ltmain.sh, which gets transformed into libtool). The problem is that you have to apply the patch BEFORE elibtoolize is executed by portage. The other problem i found was connected to the link phase during the install. The patch i use for libtool-relinking looks like this (i know it's not a good patch but it works for me):
Code: |
--- ltmain.sh.orig 2008-09-14 10:45:30.000000000 +0200
+++ ltmain.sh 2008-09-14 10:50:37.000000000 +0200
@@ -1940,6 +1940,19 @@
test -n "$add_dir" && deplibs="$add_dir $deplibs"
test -n "$add" && deplibs="$add $deplibs"
fi
+ tmpdeplibs=""
+ for deplib in $deplibs
+ do
+ $echo "$deplib" | grep -e "-L" &> /dev/null
+ if [ "$?" != "1" ]
+ then
+ tmp=`$echo $deplib | $Xsed -e "/-L$OM_SYSROOT! {s|-L\(.*\)|-L$OM_SYSROOT\1|}"`
+ tmpdeplibs="$tmpdeplibs $tmp"
+ else
+ tmpdeplibs="$tmpdeplibs $deplib"
+ fi
+ done
+ deplibs=$tmpdeplibs
fi
elif test "$linkmode" = prog; then
if test "$alldeplibs" = yes &&
|
Another problem i found is that crossdev seems to miss c++-compiler during the installation of the cross-compiler (even if you explicitly tell it to create a stage4-cross compiler which according to the doc includes the c++-compiler). To fix that i had to manually re-emerge the generated cross-compiler. The current state of my project is as follows: Base-System (python, glibc, portage, openssh, bash, dbus, glib...) is installed, at the moment i'm fighting with cython which is used by the fso-framework. Plus i have not been able to cross-compile perl but that's a known problem. _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Wed Oct 08, 2008 6:21 pm Post subject: |
|
|
As it has been quite a while since my last status-update i thought i'd share my progress again:
After about a week of being lazy i started to work on GenOM (the name i chose for my project ) again: On Monday i finally managed to install the fso-framework using portage (i already compiled gpsd and gsm0710muxd earlier). So everything for basic phone-usage (gsm,sms and gps) should be there now. Yesterday i merged xglamo, thus the X-Server is there. Tomorrow i'd like to install illume and after that i'll try to compile some applications of the shr-project (at the moment i think the only thing that is really interesting is dialer3, the port of the old 2007.2-dialing-application ported to use fso instead of gsmd) but i'll see what else they have on their svn-server. From what i can tell at the moment this won't be anything that can be flashed. By now the size of / is 177 MB. And till i have everything merged i guess it will go over 200 MB. _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Sat Oct 18, 2008 6:12 pm Post subject: |
|
|
I've managed to make quite some progress the last couple of days. Up until now i was able to cross-compile 147 packages. Among those packages are things like xglame, glibc, fso-framework-milestone3, gsm0710muxd, fso-gpsd, python, udev and portage of course. For a complete list see the end of this post.
One thing i haven't been able to cross-compile tho is perl. After i tried it at the beginning of my cross-compile-quest i tried it again this week and i made some progress but i've still not been able to finish of this chapter successfully. So does anybody have an idea what this error message means and how i could get rid of it?
Code: |
Making Filter::Util::Call (dynamic)
Writing Makefile for Filter::Util::Call
make[2]: Entering directory
`/root/openmoko/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/ext/Filter/Util/Call'
Can't load '../../../../lib/auto/File/Glob/Glob.so' for module
File::Glob: ../../../../lib/auto/File/Glob/Glob.so: wrong ELF class:
ELFCLASS32 at ../../../../lib/XSLoader.pm line 70.
at ../../../../lib/File/Glob.pm line 96
Compilation failed in require at ../../../../lib/ExtUtils/Command.pm
line 61.
BEGIN failed--compilation aborted at ../../../../lib/ExtUtils/Command.pm
line 61.
Compilation failed in require.
BEGIN failed--compilation aborted.
make[2]: *** [../../../../lib/Filter/Util/.exists] Error 9
|
If nobody comes up with a solution i'll go with a binary-package for the moment and have a look at it later again. So and now here's the complete list of packages i've added to GenOM so far:
Code: |
app-admin/eselect-1.0.11-r1
app-admin/eselect-news-20080320
app-admin/metalog-0.8-r1
app-admin/eselect-fontconfig-1.0
app-arch/gzip-1.3.12-r1
app-editors/nano-2.1.5
app-misc/hal-info-20080310
app-misc/pax-utils-0.1.17
app-misc/ca-certificates-20080809
app-shells/bash-3.2_p39
app-text/html2text-1.3.2
dev-lang/python-2.5.2-r7
dev-libs/dbus-glib-0.76
dev-libs/eet-9999
dev-libs/efreet-9999
dev-libs/embryo-9999
dev-libs/expat-2.0.1-r1
dev-libs/liboil-0.3.15
dev-libs/libusb-0.1.12-r4
dev-libs/libxml2-2.6.32
dev-libs/openssl-0.9.8h-r1
dev-libs/popt-1.13
dev-libs/atk-1.24.0
dev-libs/glib-2.18.1
dev-libs/check-0.9.5
dev-libs/libpcre-7.8
dev-python/dbus-python-0.83.0
dev-python/cython-0.9.8.1
dev-python/pyrex-0.9.8.5
dev-util/dialog-1.1.20080819
dev-util/subversion-1.5.2
dev-util/gperf-3.0.3
mail-mta/ssmtp-2.62-r3
media-libs/alsa-lib-1.0.17a/alsa-lib-1.0.17a.ebuild
media-libs/edje-9999
media-libs/fontconfig-2.6.0-r2
media-libs/gstreamer-0.10.20
media-libs/jpeg-6b-r8
media-libs/libpng-1.2.32
media-libs/gst-plugins-base-0.10.20
media-libs/freetype-2.3.7
net-misc/openssh-5.1_p1-r1
net-misc/dhcp-3.1.1
net-misc/neon-0.28.3
net-misc/rsync-3.0.3
net-misc/wget-1.11.4
net-wireless/bluez-libs-3.36
net-wireless/bluez-utils-3.36
openmoko-base/fso-framework-1.0_rc3
openmoko-base/fso-gsm0710muxd-0.9.2
openmoko-base/fso-gpsd-0.6
sys-apps/coreutils-6.12-r1
sys-apps/debianutils-2.30
sys-apps/eject-2.1.5-r1
sys-apps/file-4.25
sys-apps/grep-2.5.1a-r1
sys-apps/hal-0.5.11-r3
sys-apps/portage-2.2_rc8
sys-apps/sandbox-1.2.18.1-r3
sys-apps/sed-4.1.5-r1
sys-apps/sysvinit-2.86-r10
sys-apps/usbutils-0.73
sys-apps/util-linux-2.14
sys-apps/module-init-tools-3.4-r1
sys-apps/net-tools-1.60_p20071202044231-r1
sys-apps/baselayout-2.0.0
sys-apps/busybox-1.12.0
sys-apps/shadow-4.1.2.1
sys-apps/pciutils-3.0.2
sys-apps/dbus-1.2.3
sys-apps/openrc-0.2.5
sys-auth/pambase-20080318
sys-devel/flex-2.5.35
sys-fs/udev-128
sys-fs/e2fsprogs-1.41.1
sys-kernel/linux-headers-2.6.26
sys-libs/db-4.6.21_p3-r1
sys-libs/gdbm-1.8.3-r4
sys-libs/glibc-2.7-r2
sys-libs/ncurses-5.6-r2
sys-libs/timezone-data-2008e
sys-libs/zlib-1.2.3-r1
sys-libs/e2fsprogs-libs-1.41.1
sys-libs/pam-1.0.2
sys-process/cronbase-0.3.2-r1
sys-process/procps-3.2.7
virtual/init-0
virtual/libiconv-0
virtual/xft-7.0
x11-base/xglamo-20080807
x11-libs/e_dbus-9999
x11-libs/ecore-9999
x11-libs/eina-9999
x11-libs/evas-9999
x11-libs/libXft-2.1.13
x11-libs/cairo-1.8.0
x11-libs/libSM-1.1.0
x11-libs/libXcomposite-0.4.0
x11-libs/libXp-1.0.0
x11-libs/pango-1.22.0
x11-libs/pixman-0.12.0
x11-libs/tslib-1.0
x11-libs/libXdamage-1.1.1
x11-libs/xtrans-1.2.1
x11-libs/libXdmcp-1.0.2
x11-libs/libXScrnSaver-1.1.3
x11-libs/libXfixes-4.0.3
x11-libs/libXfont-1.3.3
x11-libs/libXi-1.1.3
x11-libs/libXinerama-1.0.3
x11-libs/libXrandr-1.2.3
x11-libs/libICE-1.0.4
x11-libs/libXau-1.0.4
x11-libs/libXext-1.0.4
x11-libs/libXrender-0.9.4
x11-libs/libfontenc-1.0.4
x11-libs/libX11-1.1.5
x11-libs/libXt-1.0.5
x11-libs/libxkbfile-1.0.5
x11-libs/libXcursor-1.1.9
x11-misc/shared-mime-info-0.51
x11-misc/util-macros-1.1.6-r1
x11-proto/xproto-7.0.13
x11-proto/damageproto-1.1.0
x11-proto/fixesproto-4.0
x11-proto/scrnsaverproto-1.1.0
x11-proto/bigreqsproto-1.0.2
x11-proto/evieext-1.0.2
x11-proto/fontcacheproto-0.1.2
x11-proto/fontsproto-2.0.2
x11-proto/randrproto-1.2.2
x11-proto/recordproto-1.13.2
x11-proto/resourceproto-1.0.2
x11-proto/videoproto-2.2.2
x11-proto/xcmiscproto-1.1.2
x11-proto/xf86bigfontproto-1.1.2
x11-proto/xf86miscproto-0.9.2
x11-proto/xf86vidmodeproto-2.2.2
x11-proto/xineramaproto-1.1.2
x11-proto/kbproto-1.0.3
x11-proto/renderproto-0.9.3
x11-proto/trapproto-3.4.3
x11-proto/xextproto-7.0.3
x11-proto/xf86dgaproto-2.0.3
x11-proto/compositeproto-0.4
x11-proto/inputproto-1.4.4
x11-proto/printproto-1.0.4
|
If you miss a package or you know something that would be a cool/important/necessary addition to GenOM let me know and i'll see what i can do. _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bszente Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2005 Posts: 123 Location: Tirgu Mures, Romania
|
Posted: Sun Oct 26, 2008 10:19 am Post subject: |
|
|
Hello spielc,
Nice work. It would be useful to make a HOWTO.
Can you tell me the boot time of the Freerunner with your Gentoo? Is it considerable faster than the official Om2008.9? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Sun Oct 26, 2008 10:31 am Post subject: |
|
|
bszente wrote: | Hello spielc,
Nice work. It would be useful to make a HOWTO.
Can you tell me the boot time of the Freerunner with your Gentoo? Is it considerable faster than the official Om2008.9? |
I can't tell at the moment because i haven't actually tried to boot this thing yet, but i'll try it out today and will let you know what the results are (compared to fdom-20080909, i stay away from the official builds after the disaster with the official 2008.8-release). A how-to would be more or less useless as i used the one provided by TuXXX. As soon as i have results (and cleaned up the ebuilds ) i'm planning to release my overlay which contains a ton of patches for cross-compiling. _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bszente Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2005 Posts: 123 Location: Tirgu Mures, Romania
|
Posted: Sun Oct 26, 2008 10:47 am Post subject: |
|
|
spielc wrote: | i stay away from the official builds after the disaster with the official 2008.8-release |
Yes, me too. It is kinda bloated and slow.
I will try TuXXX's guide then, because I want to get familiarized with the cross compiling. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Sun Oct 26, 2008 2:20 pm Post subject: |
|
|
bszente wrote: | spielc wrote: | i stay away from the official builds after the disaster with the official 2008.8-release |
Yes, me too. It is kinda bloated and slow.
I will try TuXXX's guide then, because I want to get familiarized with the cross compiling. |
Okey I just booted my GenOM-OpenMoko the first time. First of all i'm happy that it actually booted. I still remarked some issues (sshd segfaulted and modules were missing) but at least i was able to boot it without crashing the whole device. So for the first try i would call this a success! Boot time was okey when i compare this to the time it takes to boot the regular os on the phone. It was not lightning fast but that can't be expected on such a device anyway can it? _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bszente Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2005 Posts: 123 Location: Tirgu Mures, Romania
|
Posted: Sun Oct 26, 2008 8:38 pm Post subject: |
|
|
spielc wrote: | So for the first try i would call this a success! |
It's definitely a success.
spielc wrote: | Boot time was okey when i compare this to the time it takes to boot the regular os on the phone. It was not lightning fast but that can't be expected on such a device anyway can it? |
Yes, I agree. I'm not expecting to boot in several seconds, as my notebook, however the several minutes boot time of the stock images are really annoying.
Right now I'm studying the Embedded Gentoo Handbook and TuXXX's guide. I will try to build the system with uClibc, to go directly in that direction to make it as lightweight as possible. I would like to build also a custom kernel, in order to compile in the kernel only the necessary things. I hope that I will be successful too ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bszente Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2005 Posts: 123 Location: Tirgu Mures, Romania
|
Posted: Thu Oct 30, 2008 11:08 pm Post subject: |
|
|
Hello spielc,
After 3 days of trying, finally I succeeded to cleanly build the toolchain with uclibc (arm-softfloat-linux-uclibceabi). I used the EABI interface for uclibc.
There is "small problem" though...
Code: |
$ arm-softfloat-linux-uclibceabi-objdump --disassemble libc.so.0 | grep clz
4a7c4: e16f3f11 clz r3, r1
4a7c8: e16f2f10 clz r2, r0
4a834: e16f2f11 clz r2, r1
4a89c: e16f2f11 clz r2, r1
4a8a0: e16f0f13 clz r0, r3
4a920: e16f2f11 clz r2, r1
4aac0: e16f3f11 clz r3, r1
| I need to apply the arm-unbreak-eabi-armv4t.dpatch to gcc. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bszente Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2005 Posts: 123 Location: Tirgu Mures, Romania
|
Posted: Sun Nov 02, 2008 6:54 pm Post subject: |
|
|
Hello spielc,
I managed to build a clean toolchain with uclibc, and with normal ARMv4T instructions. However tuXXX's page today suddenly disappeared from the Google cache. I was so dumb, that I did not make a copy for myself. Do you have it eventually saved on your computer? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Mon Nov 03, 2008 3:11 pm Post subject: |
|
|
bszente wrote: | Hello spielc,
I managed to build a clean toolchain with uclibc, and with normal ARMv4T instructions. However tuXXX's page today suddenly disappeared from the Google cache. I was so dumb, that I did not make a copy for myself. Do you have it eventually saved on your computer? |
erm nope sorry. I just remarked myself that the page disappeared from the cache. But you can ask me, i'll try to help you out as best as i can.
Oh and great work btw.! Keep up the good work and we'll see our fav distro on the freerunner soon _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
_micm_ n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Sep 2008 Posts: 1
|
Posted: Tue Nov 04, 2008 6:45 am Post subject: |
|
|
I am running the debian-port on my freerunner at the moment, mainly because it just works. I would really like to use gentoo on the phone, but I have not found a real point to get started.
Can someone point out how all the different efforts are related at the moment?
As far as I have seen there are now:
- the missing howto on gentoo-wiki.com
- http://wiki.openmoko.org/wiki/Gentoo
- your work (spielc and bszente)
- and starting two days ago https://projects.openmoko.org/projects/gentoo/ with tuxxx |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Tue Nov 04, 2008 11:37 am Post subject: |
|
|
_micm_ wrote: | I am running the debian-port on my freerunner at the moment, mainly because it just works. I would really like to use gentoo on the phone, but I have not found a real point to get started.
Can someone point out how all the different efforts are related at the moment?
As far as I have seen there are now:
- the missing howto on gentoo-wiki.com
- http://wiki.openmoko.org/wiki/Gentoo
- your work (spielc and bszente)
- and starting two days ago https://projects.openmoko.org/projects/gentoo/ with tuxxx |
Well if you want to check it out i guess the easiest way is to get the stage3 and follow the instruction on openmoko wiki. the howto was by tuxxx so i guess the last link you mentioned is from the same person. What bszente and myself are doing is more or less the same as tuxxx. We setup a cross-compile environment and started to build our openmoko distribution from scratch. He used uclibc and i used regular glibc. I have quite an extensive overlay containing ebuilds with patches for cross-compilation. As i said in an earlier post i'll release my work after i have polished things a lil. Anyways whatever road you are taking, it would be cool if you let us know about your findings!
On my behalf: i haven't done much recently. I managed to get a working ssh (openssh wasn't working at all, segfault on startup, so i chose to use dropbear instead and this one's working nicely). I convinced gsm0710muxd to work (and this implies dbus is working too, because it is needed for gsm0710muxd) later today i'll have a look at alsa. _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bszente Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2005 Posts: 123 Location: Tirgu Mures, Romania
|
Posted: Tue Nov 04, 2008 11:49 am Post subject: |
|
|
_micm_ wrote: | I am running the debian-port on my freerunner at the moment, mainly because it just works. I would really like to use gentoo on the phone, but I have not found a real point to get started.
Can someone point out how all the different efforts are related at the moment?
As far as I have seen there are now:
- the missing howto on gentoo-wiki.com
- http://wiki.openmoko.org/wiki/Gentoo
- your work (spielc and bszente)
- and starting two days ago https://projects.openmoko.org/projects/gentoo/ with tuxxx |
In the moment there are two different efforts: natively- and cross-compilable overlays/methods.
- Natively
All the toolchain and packages are compiled on the target platform (CHOST == CTRAGET). Like you compile Gentoo on your normal desktop/laptop machine. In case of Freerunner you compile it on the phone or inside an emulator like QEMU with ARM processor.
This is used on the http://wiki.openmoko.org/wiki/Gentoo page. You put a stage3 on the phone and after that you install precompiled binary Gentoo packages, or you build it by yourself directly on the phone.
The drawback of this method is that it's really slow. Freerunner is not adequate for source based installs, unless you use distcc with your desktop machine to help Freerunner in the compiling process.
- Cross
The ARM toolchain reside on your desktop computer, and you produce the binaries for the target ARM machine on your desktop PC (CHOST != CTARGET). This method based on the Embedded Gentoo Handbook was documented by tuXXX on the gentoo-wiki.com, unfortunately the page is vanished from the Google cache, and we don't have a backup. I hope that tuXXX has it saved
spielc made a great progress in cross compiling several packages based on tuXXX's guide. If I understood correctly, he made a lot of patches, ebuilds.
They both used the glibc as the C library. glibc however is quite large for an embedded system with limited resources, thus I started to experiment with uclibc directly instead of glibc. I am able to build the toolchain with uclibc, and right now I want to try to cross compile the kernel.
Cross compiling definitely has it's advantages in the speed gain, but I think it is more difficult.
I guess http://projects.openmoko.org/projects/gentoo/ wants to be a place to gather and centralize the development efforts of porting. It is a good initiative to put the results on a single place.
As I good point of start for cross compiling I would recommend the Gentoo Embedded Handbook. If you don't want to mess with it , than you may just follow the Openmoko Wiki guide, it seems pretty straightforward. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lcidw Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Oct 2004 Posts: 77
|
Posted: Mon Nov 10, 2008 5:45 pm Post subject: |
|
|
Oooooooooo!
Well, first of all, i couldn't resist the Openmoko Freerunner, especially since i needed a new phone cause i couldn't charge my old one anymore. Second of all, i knew it was gonna be harsh to get anything running. Starting there.. the OM distributions indeed are bleh. So now, i'm running Debian on it indeed.
Beeing a Gentoo user, getting Gentoo to run on the Openmoko Freerunner is a dream. Therefore i would like to thank you all for putting in the effort here!
I have no knowledge yet when it comes to embedded stuff, cross-compiling, and so on.. so there's a lot to learn. But i sure hope i will be able to not only run Gentoo on the weapon (so i can beat people with a sexy distro), i hope i'll be able to help and provide, compile and distribute, and become a helping hand in one way or another.
Till that time comes, lots of stuff to read. Keep it up! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ZeLegolas Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Apr 2005 Posts: 128
|
Posted: Sun Mar 15, 2009 7:27 pm Post subject: |
|
|
Hi,
I will received soon my Neo Freerunner and i'm interested to develop for this device.
My first idea was to develop with Qtopia (rename to Qt Extend) but March 3, 2009 Qt Software publish this news "Qt Software discontinues Qt Extended".
Question: If i create my image with gentoo (i'm also gentoo user) can i install Qt 4.5 and develop Qt Application for this image?
First for sure i will have to create my own image. I don't know yet if i will chose Cross-compilation with portage or Native compilation on the openmoko phone.
If i follow the guide for Cross-compilation with portage emerge complain:
Code: | # emerge -pv python libtool
* Overlay eclasses override eclasses from PORTDIR:
*
* '/usr/local/portage/layman/openmoko/trunk/openmoko-target/eclass/enlightenment.eclass'
* '/usr/local/portage/layman/openmoko/trunk/openmoko-target/eclass/gst-plugins-bad.eclass'
* '/usr/local/portage/layman/openmoko/trunk/openmoko-target/eclass/gst-plugins-base.eclass'
* '/usr/local/portage/layman/openmoko/trunk/openmoko-target/eclass/gst-plugins-good.eclass'
* '/usr/local/portage/layman/openmoko/trunk/openmoko-target/eclass/gst-plugins-ugly.eclass'
* '/usr/local/portage/layman/openmoko/trunk/openmoko-target/eclass/kernel-2.eclass'
* '/usr/local/portage/layman/openmoko/trunk/openmoko-target/eclass/subversion.eclass'
*
* It is best to avoid overriding eclasses from PORTDIR because it will
* trigger invalidation of cached ebuild metadata that is distributed with
* the portage tree. If you must override eclasses from PORTDIR then you
* are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
* run `emerge --regen` after each time that you run `emerge --sync`. Set
* PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
* disable this warning.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-devel/libtool-2.2.6a USE="vanilla" 0 kB [0=>1]
[ebuild R ] dev-lang/python-2.5.4-r2 USE="doc gdbm ncurses readline sqlite ssl threads xml -berkdb -build -examples -ipv6 -tk -ucs2 -wininst" 0 kB [0]
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage/layman/openmoko/trunk/openmoko-target |
Is it critical or not? I don't know. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ZeLegolas Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Apr 2005 Posts: 128
|
Posted: Mon Mar 16, 2009 5:08 am Post subject: |
|
|
ZeLegolas wrote: |
...
I will received soon my Neo Freerunner and i'm interested to develop for this device.
My first idea was to develop with Qtopia (rename to Qt Extend) but March 3, 2009 Qt Software publish this news "Qt Software discontinues Qt Extended".
... |
For Qt Extended i found a fork where they will continue Qt Extended: http://trac.karadog.net/qt-extended-improved |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
_sys/sid Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1695873303430ef69258720.jpg)
Joined: 27 Aug 2004 Posts: 346 Location: Asola (Mantova)
|
Posted: Thu Mar 19, 2009 1:25 pm Post subject: |
|
|
Hi,
Someone has an image of the OpenMoko Gentoo? rootfs and kernel?
I want to try it an my Neo Freerunner.
Thanks _________________ http://th30z.netsons.org/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Mon Apr 27, 2009 10:10 am Post subject: |
|
|
_sys/sid wrote: | Hi,
Someone has an image of the OpenMoko Gentoo? rootfs and kernel?
I want to try it an my Neo Freerunner.
Thanks |
Hi!
The project isn't that far by now. We have the creation of stages on our todo-list but we haven't managed to get there till now.
Make sure to check http://gentoo.mindzoo.de/. We have some documentation there how to get things going (and we are always in need of new devs/users/testers... )
[edit]you might want to have a look at this http://gentoo.mindzoo.de/index.cgi/ticket/53#comment:3[/edit] _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pa4wdh l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 16 Dec 2005 Posts: 812
|
Posted: Wed Aug 26, 2009 6:44 pm Post subject: |
|
|
Hi All,
Sorry for picking up this old topic, but what's the actual state of Gentoo on Freerunner ?
I don't expect it to be perfect (just as with about anything on the freerunner ), but i consider having X and a working phone app minimal.
Is it currently worth the effort (buy uSD card, do native install) to install Gentoo on my Freerunner ?
Thanks in advance for any info.
Best regards,
pa4wdh _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Thu Aug 27, 2009 6:08 am Post subject: |
|
|
Hi!
X is working perfectly here but phone app is a completely different story. In general you can choose between two different apps: the shr related stuff or zhone. Both are not working perfectly but for me the shr-stuff is working quite good. Some things are really annoying e.g. when my phone is suspended quite often provider-changes are not picked up by the gui. Framework itself seems to remark the change (i can see it if i use the SHR-settings app to browse for current providers) but the gui is not showing the change. This is especially annoying if you cross borders. But in general i would say gentoo is worth a try, just don't expect that everything works like a charm, but as you own a freerunner i guess you are already way beyond this point
pa4wdh wrote: | Hi All,
Sorry for picking up this old topic, but what's the actual state of Gentoo on Freerunner ?
I don't expect it to be perfect (just as with about anything on the freerunner ), but i consider having X and a working phone app minimal.
Is it currently worth the effort (buy uSD card, do native install) to install Gentoo on my Freerunner ?
Thanks in advance for any info.
Best regards,
pa4wdh |
_________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pa4wdh l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 16 Dec 2005 Posts: 812
|
Posted: Thu Aug 27, 2009 7:48 am Post subject: |
|
|
Hi Spielc,
Thanks for the info. I think i'll give it a try. 4 or 8 GB uSD cards are quite cheap now. One last question: How about packages from http://www.opkg.org ? There are a lot of good openmoko programs there, but of course is build upon their own package manager (which obviously isn't portage ).
Quote: |
But in general i would say gentoo is worth a try, just don't expect that everything works like a charm, but as you own a freerunner i guess you are already way beyond this point
|
I have to say i'm a but disappointed with the whole freerunner stuff. While it's fun to experiment with i expected the phone to be quite usable by now, i think they underestimated the complexity of a mobile phone. However, it's computer functions (small games, browsing, etc) work quite well so far.
Again thanks for the info.
Best regards,
Wesley _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spielc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Apr 2004 Posts: 452
|
Posted: Thu Aug 27, 2009 11:01 am Post subject: |
|
|
Hi,
pa4wdh wrote: | Hi Spielc,
Thanks for the info. I think i'll give it a try. 4 or 8 GB uSD cards are quite cheap now. One last question: How about packages from http://www.opkg.org ? There are a lot of good openmoko programs there, but of course is build upon their own package manager (which obviously isn't portage ).
|
Of course you can install opkg and use it to install packages locally (e.g. into /opt/opkg). At least i think this should be possible, i've never really used ipkg or opkg to be honest _________________ Raise your beers up high... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|