Gentoo Archives: gentoo-embedded

From: Maksim 'max_posedon' Melnikau <maxposedon@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] compiling on openmoko
Date: Thu, 23 Apr 2009 16:28:54
Message-Id: 200904231926.25865.maxposedon@gmail.com
In Reply to: [gentoo-embedded] compiling on openmoko by Previdi Roberto
1 On Thursday 23 April 2009 18:31:47 Previdi Roberto wrote:
2 > hello gentooers. I have installed gentoo on my openmoko gta02 with
3 > good results, and i am using the native approach because the cross
4 > compiling way seems too much complicated and much less fun.. Anyway
5 > the 400 Mhz processor is really slow for compiling and i decided to
6 > setup the distributed compilation with distcc, and it works well
7 > ewithoutu much effort. The remaining problem is that each package
8 > configure phase is very slow, i think because of the slow disk access
9 > (it must read/write on the microsd card..).
10 > so, is there any tested way to speed up everything? i used ext3 for
11 > the partition filesystem, so i think that is slowing down everything..
12 > i think that a ramdisk is very difficult to use because the device
13 > have got really small ram (120 Mb!), so maybe a network filesystem
14 > could do?
15 > another option seems to be an autotools capability of using a
16 > centralized cache file, and there was a portage feature "confcache",
17 > but it seems to have been removed for incorrect behaviour.. anyone
18 > know something about or has got good results with autotools caching?
19 >
20 > thanks for any reply
21 1. Why don't put hole rootfs to NFS? Boot from SHR, chroot, and let's emerge
22 begin.
23 2. Wireless network on neo can be faster than wired. (usb1.1 net too slow)
24 3. swap file on nfs should work too.
25
26 BUT I really suggest cross compilation
27 1. more fun
28 2. it is the way, what all embedded should use
29 3. don't be lazy!

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-embedded] compiling on openmoko Nicola Mfb <nicola.mfb@×××××.com>