boot vfat command line args in bootldr-2.18-31

From: George G. Davis <gdavis_at_mvista.com>
Date: Wed, 27 Mar 2002 19:05:11 -0500

Greetings,

I realise that the bootldr is a fast moving work in progress. But I've
been having a minor problem with the wrong kernel args getting passed
into the kernel lately via the `boot vfat` command, e.g. using

        boot vfat

results in passing "vfat" into the kernel command line. This does the
same:

        boot vfat foobar

This doesn't modify the current kernel command line at all as set via
the params file:

        boot vfat foobar snafu

And if you actually "want" to pass an arg into the kernel via the boot
vfat command, you need to do:

        boot vfat foobar snafu init=/bin/sh

Anyway, I've attached a patch below which fixes the problem for me.
The patch assumes that comments in the source and the help for "boot vfat"
are accurate, i.e.

        boot vfat <filename> [kernel-optargs ...]

So, although the "kernel-filename" currently isn't used with
command_boot_vfat, it's a required place holder for a feature which
will be supported in the future, i.e. ability to specify the
kernel to boot on the command line.

Er, then again, maybe my build of the bootldr is just plain old broken
in some way?

Thanks!

--
Regards,
George

Received on Thu Mar 28 2002 - 00:05:29 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:10:43 EDT