Subject: Re: Status of Javastation?
To: None <port-sparc@netbsd.org>
From: Pete Zaitcev <zaitcev@redhat.com>
List: port-sparc
Date: 09/26/2001 14:13:26
> > 4. Can I put the kernel/OS on the flash-prom?
> 
> Mmm, NetBSD uses two-stage boot process: firmware loads NetBSD boot
> loader (a.out) than the boot loader loads the kernel (elf).
> 
> I think that it might be possible to boot the kernel directly from
> flash simm.  It will require a.out'ifying the kernel, as firmware
> doesn't understand elf.  I'm not sure if it's worth the trouble.

Krups boots ELF from the flash SIMM, and not a.out.
Also, the loader must be checksummed in an undocumented,
but simple to understand way. The code to compute the sum is here:
 http://people.redhat.com/zaitcev/linux/jsflash_02.tar.gz

-- Pete