linux-mips
[Top] [All Lists]

Re: [patch] cmdline.c rewrite

To: linux-mips@linux-mips.org
Subject: Re: [patch] cmdline.c rewrite
From: Guido Guenther <agx@sigxcpu.org>
Date: Wed, 5 Feb 2003 01:07:35 +0100
In-reply-to: <20030204235543.GG27302@pureza.melbourne.sgi.com>
Mail-followup-to: Guido Guenther <agx@sigxcpu.org>, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030204061323.GA27302@pureza.melbourne.sgi.com> <20030204092417.GR16674@bogon.ms20.nix> <20030204223930.GD27302@pureza.melbourne.sgi.com> <20030204231203.GY16674@bogon.ms20.nix> <20030204231909.GE27302@pureza.melbourne.sgi.com> <20030204234529.GZ16674@bogon.ms20.nix> <20030204235543.GG27302@pureza.melbourne.sgi.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
On Wed, Feb 05, 2003 at 10:55:43AM +1100, Andrew Clausen wrote:
> No.  I can't figure out why.  In any case, the PROM uses OSLoadPartition
> to find the kernel.
On IP22 the PROM uses SystemPartition to find the kernel/bootloader.
We set it to something like scsi(0)disk(1)rdisk(0)partition(8) to grab
it from the vh. Is SystemPartition used differently on IP27?

[..snip..]
> So, we should obviously support OSLoadPartition=/dev/sda1 (=> root=/dev/sda1),
> but it would also be nice to support OSLoadPartition=dksc(0,1,3).
Well we could either check if OSLoadPartition matches the linux device
naming scheme or the other way around and see if it looks like a valid
device identifier used by the PROM (I'd prefer the later, though) - or
simply make the OSLoadPartition <-> root= mapping '#ifdef CONFIG_SGI_IP22'.
 -- Guido

<Prev in Thread] Current Thread [Next in Thread>