Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86 built-in command line | Date | Mon, 12 Jun 2006 10:14:24 -0700 (PDT) |
| |
Followup to: <20060611234746.GJ24227@waste.org> By author: Matt Mackall <mpm@selenic.com> In newsgroup: linux.dev.kernel > > On Mon, Jun 12, 2006 at 01:30:27AM +0200, Jan Engelhardt wrote: > > > > > >This patch allows building in a kernel command line on x86 as is > > >possible on several other arches. > > > > > >+config CMDLINE > > >+ On some systems, there is no way for the boot loader to pass > > >+ arguments to the kernel. For these platforms, you can supply > > >+ some command-line options at build time by entering them > > >+ here. In most cases you will need to specify the root device > > >+ here. > > > > Thank God x86 does not have that limitation. Or am I missing some exotic > > bootloader that fails to pass in arguments? > > Yes. Note that this depends on CONFIG_EMBEDDED. It's quite common for > embedded apps to roll their own trivial ROM-based boot loaders. It's > also quite common for embedded boxen to run up against the command > line length limit that's hardcoded in the boot protocol. >
There is no command line length limit hard-coded in the boot protocol per se (at least not for version 2.02 or higher.) The length limit is hard-coded in the *kernel*, not in the protocol.
-hpa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |