[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian on origin200

f13o wrote:
> i have here Origin200 and want to pu debian on it. Until now i'have been using
> slackware, so my host machine is slack10.0 at the moment.

So long as you can run NFS, TFTP and BOOTP from it, all is fine there :-)

> After downloading all debian-mips ISOs, i prepared 1st for "repacking".
> Actually, I am at the moment of compiling a kernel for ip27. I have found
> kernel-ip27 config but it doesn't work (?), so i used deefault (?) for
> /usr/src/linux/arch/mips/kernel (or some similar path, i am not at my machine)
> and when it tries to compile sais something like: 
> "cannot find mips64-..-gcc .."

Did you enable the 64-bit kernel option?  Not sure if Origin 200 is
actually 64-bit capable (I don't own one myself).  I'd first try
building a 32-bit kernel, then tinker with it later.

Nevertheless, the real problem here I'd say is the lack of a cross
compiller.  The normal 'gcc' installed on your machine is set up as a
native cross compiller -- unless you're running Slackware 10 off a MIPS
machine (I don't think Slackware has been ported to MIPS anyway) you'll
not be able to compile MIPS binaries.

http://kegel.com/crosstool/ has a kit for building a cross-compilling
toolchain.  I don't use this tool myself (I use 'crossdev', which is
Gentoo specific) but it's one of the better ones out there.

Also, make sure you grab the kernel sources from Linux/MIPS CVS (see
<http://www.linux-mips.org/wiki/index.php?title=Net_Resources>).  In
general, stock kernel sources from kernel.org don't work that well with
MIPS machines -- thats assuming they compile at all.

| Stuart Longland -oOo- http://stuartl.longlandclan.hopto.org |
| Atomic Linux Project     -oOo-    http://atomicl.berlios.de |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| I haven't lost my mind - it's backed up on a tape somewhere |

Reply to: