Gentoo Archives: gentoo-mips

From: Stuart Longland <redhatter@g.o>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] bootstrap.sh on asus wl500g
Date: Fri, 16 Sep 2005 14:02:47
Message-Id: 432AD06D.7020205@gentoo.org
In Reply to: Re: [gentoo-mips] bootstrap.sh on asus wl500g by Hardave Riar
Hardave Riar wrote:
> Jason Pepas wrote: > >> and the profile like so: >> >> make.profile -> /usr/portage/profiles/default-linux/mips/2005.0 > > > That's the wrong profile for uclibc stages, this will try to replace > uclibc with glibc and that's a bad thing. You should probablly be using > /usr/portage/profile/uclibc/mips. Using the uclibc stages it should not > try to build glibc like it is below. > >> any ideas? I see the mips project website was just updated today, and I >> just realized last night that the cobalt images are little endian (the >> asus wl500g is little endian), so I'll try chrooting into one of those >> images next. > > > Don't bother using the cobalt stages, the wl500g has no where near > enough memory to run a glibc system.
Not to mention, the Cobalt stages are MIPS IV, and therefore includes some 64-bit instructions, the WL500g will be MIPS32, and does not understand 64-bit instructions. So you can expect illegal instructions left, right & centre. As Stephen has pointed out too, messing with CHOST is asking for it... I speak from experience. :-) (tried it on my x86-based laptop ... boy did I have fun finding the pieces and putting them back together again :-/) -- ____ _ Stuart Longland (a.k.a Redhatter) / _ \ ___ ___ __| |__ __ __ Gentoo Linux/MIPS Cobalt and Docs - (_) \ / \ ; \(__ __)/ \ / \ Developer \ // O _| / /\ \ | | | /\ | /\ | / / \ /__| / \ \ | | | \/ | \/ | (___/ \____/|_; |_| \_/ \__/ \__/ http://dev.gentoo.org/~redhatter

Attachments

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