linux-mips
[Top] [All Lists]

Re: [PATCH] [MIPS] Fix and enhance built-in kernel command line

To: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Subject: Re: [PATCH] [MIPS] Fix and enhance built-in kernel command line
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 2 Dec 2009 17:08:28 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <1258835681-32200-1-git-send-email-dmitri.vorobiev@movial.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1258835681-32200-1-git-send-email-dmitri.vorobiev@movial.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Sat, Nov 21, 2009 at 10:34:41PM +0200, Dmitri Vorobiev wrote:

> Currently, MIPS kernels silently overwrite kernel command-line
> parameters hardcoded in CONFIG_CMDLINE by the ones received
> from firmware.  Therefore, using firmware remains the only
> reliable method to transfer the command-line parameters, which
> is not always desirable or convenient, and the CONFIG_CMDLINE
> option is thereby effectively rendered useless.
> 
> This patch fixes the problem described above and introduces
> a more flexible scheme of handling the kernel command line,
> in a manner identical to what is currently used for x86.
> The default behavior, i.e. when CONFIG_CMDLINE_BOOL is not
> defined, retains the existing semantics, and firmware
> command-line arguments override the hardcoded ones.

Queued for 2.6.33.  I also patched up the defconfig files to use the
right settings for CONFIG_CMDLINE_BOOL and CONFIG_CMDLINE_OVERRIDE.

Thanks,

  Ralf

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