Port-sgimips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: two questions wrt sgimips boot



This has been committed.

I've tested only on IP32, so if there is any problem on
IP12 or IP2x, please report it here or via send-pr(1).

I wrote:

> If there is no objection, I'll commit this change in a few days..
> 
> I wrote:
> 
> > Anyway, I'd like to fix bootloader and kernel as following:
> > (diff attached)
> > 
> > - Make a bootloader pass bootpath which includes device via BOOTPATH
> >   (currently bootloader passes only a path in the boot filesystem.
> >    (like '/netbsd') but current kernel doesn't use it)
> > 
> > - Make a kernel use BOOTPATH in bootinfo to see boot device first,
> >   then check argv[0] if there is no valid bootinfo.
> >   If both are invalid, check OSLoadPartition variables
> >   in the ARCBIOS environment and whole argv[] arguments.
> >   (old bootloader doesn't set device path into BOOTPATH but
> >    kernel will use the OSLoadPartitions environment as before
> >    in that case)
> > 
> > - While here initialize mach_type before it's referred
> > 
> > I just wonder if argv[0] is valid on IP12 or not. Comments?
 :


Home | Main Index | Thread Index | Old Index