Subject: Re: Machines I have to port on
To: sgimips NetBSD list <sgimips@mrynet.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sgimips
Date: 03/18/2002 21:45:08
On Mon, Mar 18, 2002 at 01:28:17PM -0600, sgimips NetBSD list wrote:
> All,
> 
> I've just received the last machine I've sought to round out my stable
> for porting the installation process on the sgimips port.
> 
> I now have the following and will promptly try to put together a bootable
> distribution to support them all:
> 
>         Indigo2 R4000 100mhz ECOFF
>         (2) INDY R4400 175mhz ELF
>         INDY R4600 100mhz ELF
> 	INDY R5000 150mhz ELF
> 	O2 R5000 180mhz ELF
> 	O2 R5000 180mhz (Running Irix 6.5.13, for reference)
> 
> The Indigo2 is the latest--my first ECOFF machine.  Anyone with
> comments and suggestions on how they pulled together all the
> elf-to-ecoff bits recently might possibly drop a note; it'll
> save me time doing the empirical thing to generate a bootable
> ECOFF kernel.

Well, here is what I did:

./build.sh -T -D /home/tmp/tools-sgimips -t -m sgimips

compile a kernel using /home/tmp/tools-sgimips/nbmake-sgimips
apply the patch I posted yesterday to src/usr.bin/elf2ecoff
compile elf2ecoff using /home/tmp/tools-sgimips/nbmake-sgimips (it's not
a cross-tool yet).
netboot using kernels from ftp://ftp.netbsd.org/pub/NetBSD/arch/sgimips
use the new elf2ecoff to convert your new elf kernel to ecoff:
elf2ecoff netbsd.new netbsd.ecoff
netboot again using new ecoff kernel.

Of course if you already have a sgimips machine running you can save some
steps :)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--