public inbox for gentoo-mips@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jason Pepas <cell@ices.utexas.edu>
To: gentoo-mips@lists.gentoo.org
Subject: Re: [gentoo-mips] bootstrap.sh on asus wl500g
Date: Fri, 16 Sep 2005 09:01:15 -0500	[thread overview]
Message-ID: <20050916140115.GE1024@ices.utexas.edu> (raw)
In-Reply-To: <432ACD32.5030209@gentoo.org>

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



  parent reply	other threads:[~2005-09-16 14:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-16 13:34 [gentoo-mips] bootstrap.sh on asus wl500g Jason Pepas
2005-09-16 13:42 ` Jason Pepas
2005-09-16 13:48   ` Jason Pepas
2005-09-16 13:48 ` Stephen P. Becker
2005-09-16 13:52   ` Stephen P. Becker
2005-09-16 14:01   ` Jason Pepas [this message]
2005-09-16 14:28     ` Stephen P. Becker
2005-09-16 14:44       ` Jason Pepas
2005-09-16 15:44         ` Hardave Riar
2005-09-16 16:28           ` Jason Pepas
2005-09-16 19:00           ` Stephen P. Becker
2005-09-16 13:52 ` Hardave Riar
2005-09-16 14:02   ` Stuart Longland
2005-09-16 14:07   ` Jason Pepas
2005-09-16 14:25     ` Stephen P. Becker
2005-09-16 14:39       ` Jason Pepas
2005-09-16 15:37         ` Hardave Riar
2005-09-16 15:53           ` Jason Pepas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050916140115.GE1024@ices.utexas.edu \
    --to=cell@ices.utexas.edu \
    --cc=gentoo-mips@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox