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.54) id 1ErE6P-0004D4-SM for garchives@archives.gentoo.org; Tue, 27 Dec 2005 12:38:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBRCb73A031586; Tue, 27 Dec 2005 12:37:07 GMT Received: from longlandclan.hopto.org (202-47-55-78.adsl.gil.com.au [202.47.55.78]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBRCb4n1009731 for ; Tue, 27 Dec 2005 12:37:05 GMT Received: (qmail 7159 invoked from network); 27 Dec 2005 22:38:32 +1000 Received: from beast.redhatters.home (HELO ?10.0.0.251?) (10.0.0.251) by 192.168.5.1 with SMTP; 27 Dec 2005 22:38:32 +1000 Message-ID: <43B135C6.7000009@gentoo.org> Date: Tue, 27 Dec 2005 22:38:30 +1000 From: Stuart Longland Organization: Gentoo Foundation User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051029) X-Accept-Language: en-us, en 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 To: gentoo-mips@lists.gentoo.org Subject: Re: [gentoo-mips] is gentoo-mips right for me? References: <43AEB38E.4060800@wpkg.org> <43AEC267.7080109@gentoo.org> <43AEC8C0.6080304@wpkg.org> <43AEE4DB.1010200@gentoo.org> In-Reply-To: <43AEE4DB.1010200@gentoo.org> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=63264AB9; url=http://dev.gentoo.org/~redhatter/gpgkey.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig221315BBB907E18906E6705F" X-Archives-Salt: 3e1d164f-f665-48a9-95fb-eb439e00d153 X-Archives-Hash: 868a6beff8e4a94c45423e7d71161756 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig221315BBB907E18906E6705F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Kumba wrote: > Tomasz Chmielewski wrote: >> Stephen P. Becker wrote: >=20 >>> That and I don't think qemu is particularly fast. >> >> Whatever slow it is, it will be faster than trying to compile anything= >> natively on these tiny routers :) >=20 > Thou hath not tryeth to compileth glibc upon a RaQ2 of Cobalt, have > thee? :) >=20 > Granted you can jack the RAM in a cobalt to a decent size for it to suc= k > down behemoths like glibc, assuming you got an emulator to work, the > emulator would likely be slower than a RaQ2, and probably slower than > native compiles. The only upside is being able to feed the emulated > environment more RAM. >=20 Last I heard... QEMU was emulating a ~30MHz MIPS machine... on a modern (>2GHz) x86 machine. Your router most likely has a clock speed in the range of 100~200MHz; much faster than QEMU. Others, like gxemul (which may be better suited to your needs) suffer similar performance losses. >> So, this means, that if I build a whole gentoo-mips under qemu - >> sounds easy, doesn't it? :), with mipsel uclibc stages/-march=3Dmips32= , >> almost each and every binary copied from such a system should run on >> these tiny routers? >=20 >=20 > We generally discourage people who are new to non-x86 from venturing of= f > into experiments like this initially. The experiment can sometimes be > overwhelming, anf frustration eventually kills off any motivation to > complete it. Our usual suggestion is to get yourself a cheap SGI Box, > like an Indy or an O2, play with it for a few months and learn how MIPS= > works, then you'll have an idea of how stuff works in comparison to > their more inefficient x86 cousins. Other archs, like Sparc, work well= > too as non-x86 playtoys. Then the original task can sometimes be easie= r > (but not always). Better still... get a Cobalt machine if you can. The Cobalt machines run a little-endian MIPS4 CPU, which, while they can't run MIPS32 ISA binaries, they are at least the right endianness to be able to build stuff natively for your router. And although they are quite slow (generally 250MHz, and no secondary cache), they'll be a lot faster than most emulators out there. This, with a suitable =C2=B5Clibc-based chroot environment, should do qui= te well for the task. I still stand by what Kumba said ... start with something that is officially well-supported (e.g. an SGI box, or a Qube2/RaQ2) to get familiar with MIPS ... then work towards building for the router. :-) --=20 Stuart Longland (aka Redhatter) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : =2E . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' --------------enig221315BBB907E18906E6705F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDsTXKuarJ1mMmSrkRAuhCAJwIP7aKJpPV2mdslREySm0n+uaXAgCcDBKq A5ri1O0wvfuTq0q45VoHwAY= =6080 -----END PGP SIGNATURE----- --------------enig221315BBB907E18906E6705F-- -- gentoo-mips@gentoo.org mailing list