maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [ANN] Gentoo chroot on N8x0 (https://talk.maemo.org/showthread.php?t=26325)

slonopotamus 2009-02-17 04:49

Re: Now with X!
 
Quote:

Originally Posted by neatojones (Post 264969)
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.

slonopotamus 2009-04-21 05:52

Re: [ANN] Gentoo chroot on N8x0
 
Now with wireless! See wireless howto

karatchov 2009-04-21 12:50

Re: [ANN] Gentoo chroot on N8x0
 
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 ...

Luke-Jr 2009-05-07 15:19

Re: [ANN] Gentoo chroot on N8x0
 
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...

benny1967 2009-05-07 17:04

Re: [ANN] Gentoo chroot on N8x0
 
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 2009-05-07 20:58

Re: [ANN] Gentoo chroot on N8x0
 
Maemo/Gentoo BINHOST anyone? ;)

javispedro 2009-05-23 12:10

Re: [ANN] Gentoo chroot on N8x0
 
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).

slonopotamus 2009-08-29 07:22

Re: [ANN] Gentoo chroot on N8x0
 
Published updated stage3 tarball: http://slonopotamus.org/gentoo-on-n8x0#resources

Includes gcc-4.3.2, glibc-2.8, python-2.6

linuxeventually 2009-08-30 02:36

Re: [ANN] Gentoo chroot on N8x0
 
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.

slonopotamus 2009-08-30 13:57

Re: [ANN] Gentoo chroot on N8x0
 
Quote:

Originally Posted by linuxeventually (Post 318145)
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.


All times are GMT. The time now is 15:07.

vBulletin® Version 3.8.8