Active Topics

 


Reply
Thread Tools
Posts: 29 | Thanked: 116 times | Joined on Jan 2009 @ Russia, Moscow
#11
Originally Posted by neatojones View Post
That's impressive. Do the optimizations seem to offer much of a benefit?
Actually I don't have any benchmarks on Maemo. Kernel build with stock maemo configg takes ~100 minutes in Gentoo chroot.
 
Posts: 29 | Thanked: 116 times | Joined on Jan 2009 @ Russia, Moscow
#12
Now with wireless! See wireless howto
 

The Following 3 Users Say Thank You to slonopotamus For This Useful Post:
Posts: 91 | Thanked: 65 times | Joined on Feb 2009
#13
Thanks for the port !
Please, did you made any speed comparison between the Gentoo chroot and Easy Debian ?

I there is a notable improvement, then it's worth a try ...
 
Posts: 53 | Thanked: 40 times | Joined on May 2009 @ Brooksville, Florida
#14
Just a bump that we now have Gentoo *booting* with WiFi, GPS (slow TTFF, so leave gpsd running when not in use), and Bluetooth.

Distcc works decent as well, though qt-webkit still runs out of memory linking...
 

The Following User Says Thank You to Luke-Jr For This Useful Post:
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#15
do you need distcc? i find it easier to mount the slow machine via nfs, chroot there and have the whole emerge process run on my quadcore which hardly ever runs out of memory. - i only work on x86, though, i don't know if this could possibly work with an arm target.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#16
Maemo/Gentoo BINHOST anyone?

Last edited by javispedro; 2009-05-17 at 21:49.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#17
I used http://www.gentoo.org/proj/en/base/embedded/handbook/ to setup
a cross compiler for the N810 and emerge system with slonopotamus' CFLAGS.

Unfortunately, I couldn't get it past GNU gdbm -- the build fails due to some library being in an "unknown format". I assume libtool is searching the amd64 library path instead of the arm one.

I think this is the way to go; selfhosting is a nice thing to have but even syncing the portage tree is a way too slow operation. Not to say I prefer building the image once (on my HDD) then writing it to the SD Card instead of building it on-the-fly to the SD Card (considering write cicles and such).
 
Posts: 29 | Thanked: 116 times | Joined on Jan 2009 @ Russia, Moscow
#18
Published updated stage3 tarball: http://slonopotamus.org/gentoo-on-n8x0#resources

Includes gcc-4.3.2, glibc-2.8, python-2.6
__________________
Don't thank me, better say something useful.

My NIT-related projects: Gentoo on N8x0, fb_text2screen, opendsme
 
Posts: 540 | Thanked: 387 times | Joined on May 2009
#19
I don't know about these optimizations but I tried a stock gentoo ARM4 softfloat stage3 http://distfiles.gentoo.org/releases...090726.tar.bz2
or here

So anyway I used wget to download it and then (as root) tar -xjvf to untar it. Copied it to a SD card (used 8 gig because of "out of space error" with 2gig on environment update) must be formatted as ext3 (use GParted) with cp -R and popped in the card.

# umount /medika/mmcblk1p1
# mkdir /mnt/gentoo
# mount /dev/mmcblk1p1 /mnt/gentoo
# cd /mnt/gentoo
# mount -o bind /dev /mnt/gentoo/dev/
# mount -o bind /proc/ /mnt/gentoo/proc/
# chroot /mnt/gentoo

Now in chroot
#env-update
#source /etc/profile

compiled coreutils and copied uname program to OS2008 and ran it fine. Newer version knew i was on RX-44 while stock busybox version just outputted unknown.
 
Posts: 29 | Thanked: 116 times | Joined on Jan 2009 @ Russia, Moscow
#20
Originally Posted by linuxeventually View Post
I don't know about these optimizations but I tried a stock gentoo ARM4 softfloat stage3 http://distfiles.gentoo.org/releases...090726.tar.bz2
or here
Those stages are OABI and won't work correctly because of bug in diablo kernel: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462677

And they don't use VFP (float-point unit) so will be very slow at such operations as video decoding.

That's why we built our own stages.

Besides that, you only got chroot that way. And we have bootable system with X, wifi and bluetooth.
__________________
Don't thank me, better say something useful.

My NIT-related projects: Gentoo on N8x0, fb_text2screen, opendsme
 
Reply

Tags
chroot, gentoo


 
Forum Jump


All times are GMT. The time now is 21:36.