Subject: Re: Snapshot 20030919 available
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Christopher SEKIYA <wileyc@rezrov.net>
List: port-sgimips
Date: 09/20/2003 23:59:30
On Sat, Sep 20, 2003 at 07:47:51AM -0700, Jason Thorpe wrote:

> I.e. in theory you could build a 32-bit loader, and then objcopy it to
> ELF64, and the ROM should be able to load it.

*sheepish grin*

Er, yeah.  That would negate the need for a separate build target.

[23:55:46] izu:/usr/builder/irix/stand/arcs$ /usr/local/toolchain/bin/mipseb--netbsd-objcopy --output-target elf64-bigmips /usr/builder/ip32/dest/usr/mdec/boot.elf /tmp/boot.ip28

[23:56:59] izu:/usr/builder/irix/stand/arcs$ file /tmp/boot.ip28
/tmp/boot.ip28: ELF 64-bit MSB MIPS-I executable, MIPS, version 1 (SYSV), statically linked, stripped

I've put it at http://www.rezrov.net/~wileyc/boot.ip28 -- it's the stock
bootloader without any bootp() support whatsoever, so there's no chance that
it can load a real kernel ... but I'd be _very_ interested in knowing if
it actually starts execution ...

-- Chris
	GPG key FEB9DE7F (91AF 4534 4529 4BCC 31A5  938E 023E EEFB FEB9 DE7F)