Subject: re: Mixing port-sparc on 32 and 64 bit hardware
To: matthew green <mrg@eterna.com.au>
From: Christian Smith <csmith@micromuse.com>
List: port-sparc
Date: 10/12/2004 12:51:40
On Tue, 12 Oct 2004, matthew green wrote:

>
>   On Mon, Oct 11, 2004 at 04:37:45PM +0100, Christian Smith wrote:
>   > Now, my question is, will the sparc64 bootloader work with sparc?
>
>   I don't quite understand. The bootloader and kernel have to match your
>   hardware - if you run on a ultra sparc, you need the sparc64 bootloader
>   and a sparc64 kernel (which the sparc GENERIC_SUN4U is a variant of).
>
>
>additionally, both 32 and 64 bit sparc variants include this loader,
>(bootblk + ofwboot) and both of them allow loading 32 *and* 64 bit
>kernels.  so you only need to worry about one of these and not what
>bitsize it is...


I see.

So I don't even need sparc64.

So, stick the sparc boot into /, then configure /dev/sd0d (on /boot64)
with the sun4u bootstrap:
# installboot installboot -nv /dev/rsd0d /boot64/bootxx /boot64/ofwboot

I'll try that tonight. I assume the sun4u kernel needs to be on the same
partition as the boot blocks?

Cheers,
Christian

-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \