From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EGGmP-0005Sy-Gt for garchives@archives.gentoo.org; Fri, 16 Sep 2005 14:01:30 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j8GDuBdv012616; Fri, 16 Sep 2005 13:56:11 GMT Received: from ices.utexas.edu (vortex.ices.utexas.edu [128.83.68.102]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j8GDu9FZ030953 for ; Fri, 16 Sep 2005 13:56:10 GMT Received: from block.ices.utexas.edu (block.ices.utexas.edu [128.83.68.107]) by ices.utexas.edu (Postfix) with ESMTP id EDF5230A75 for ; Fri, 16 Sep 2005 09:01:36 -0500 (CDT) Received: by block.ices.utexas.edu (Postfix, from userid 2120) id D9374533A7; Fri, 16 Sep 2005 09:01:15 -0500 (CDT) Date: Fri, 16 Sep 2005 09:01:15 -0500 From: Jason Pepas To: gentoo-mips@lists.gentoo.org Subject: Re: [gentoo-mips] bootstrap.sh on asus wl500g Message-ID: <20050916140115.GE1024@ices.utexas.edu> References: <20050916133443.GA1024@ices.utexas.edu> <432ACD32.5030209@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-mips@gentoo.org Reply-to: gentoo-mips@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <432ACD32.5030209@gentoo.org> User-Agent: Mutt/1.5.6i X-Archives-Salt: b7ed375b-9c4f-4ead-bb51-bc0abea6623d X-Archives-Hash: f50b40de7ce34f69e91dc59d9604e6c7 On Fri, Sep 16, 2005 at 09:48:34AM -0400, Stephen P. Becker wrote: > >I put openwrt > >on it and chrooted into a > >experimental/mips/embedded/stages/stage1-mipsel-uclibc-2005.0.tar.bz2 > >tarball, with the idea of changing the profile and rebuiling. > > Ok, stop right here. Do you realize how little memory this device has? > You would be lucky to even be able to build some of the more simple > programs without some sort of ICE or out of memory error. I have 256MB of swap enabled - it shouldn't be a problem. > That is not even close to the correct profile for uclibc. You really > want /usr/portage/profiles/uclibc/mips Well, I want to switch to glibc, but I couldn't get any mips3 or mips4 stages running (I think they are the wrong endian-ness). So I thought the correct thing to was grab a stage1 and change the profile. Am I going about this the wrong way? I am fairly new to gentoo. > Uhhh...you realize you can't install glibc on a uclibc userland, right? > This is from selecting the wrong profile, aside from the fact that > glibc even doesn't have a snowballs chance in hell of building on such a > device. > > >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. > > That is an even worse idea. The cobalt stages are optimized for > -march=mips4, which probably won't run on that cpu. Not only that, but > they are glibc based, which is way too heavy to run on a wl500g > > The moral of this story is, a broadcom based router is not good for > using gentoo in the capacity you are trying to. What you *really* want > to do is emerge crossdev on a nice fast box, use that to build a > crosstoolchain, and cross-compile a custom userland to run on your router. Hmm, that sounds more like what I want to do. What I really want is a stage1-mips1-2005.1.tar.bz2, but that doesn't exist. Can I use crossdev to accomplish that? Thanks, Jason Pepas -- gentoo-mips@gentoo.org mailing list