Difference between revisions of "Kernel Command Line Arguments"

From LinuxMIPS
Jump to: navigation, search
(Keep things sorted for user's sanity.)
Line 5: Line 5:
 
; nosmp : Disable [[SMP]].  Same as <code>maxcpus=0</code>.
 
; nosmp : Disable [[SMP]].  Same as <code>maxcpus=0</code>.
 
; nowait : Disable the use of the wait instruction for powersaving.
 
; nowait : Disable the use of the wait instruction for powersaving.
; rd_start : The base address of a loaded ramdisk image.  This option was added in Linux 2.6.10-rc2. See also <tt>rd_size</tt>.
+
; rd_start : The base address of a loaded [[ramdisk]] image.  This option was added in Linux 2.6.10-rc2. See also <tt>rd_size</tt>.
; rd_size : The size of a loaded ramdisk image.  This option was added in Linux 2.6.10-rc2. See also <tt>rd_start</tt>.
+
; rd_size : The size of a loaded [[ramdisk]] image.  This option was added in Linux 2.6.10-rc2. See also <tt>rd_start</tt>.
 
; root : This option is used to specify the root filesystem. For example, if the root filesytem resides on the second partition of a SCSI device /dev/sda, then this can be specified as: '''root=/dev/sda2'''. Similarly, then the root filesystem is mounted over NFS, '''root=/dev/nfs''' can be used.
 
; root : This option is used to specify the root filesystem. For example, if the root filesytem resides on the second partition of a SCSI device /dev/sda, then this can be specified as: '''root=/dev/sda2'''. Similarly, then the root filesystem is mounted over NFS, '''root=/dev/nfs''' can be used.

Revision as of 10:18, 9 August 2005

console 
The console settings. When using this option, you will need to specify the serial console port and baud rate. For example: console=ttyS0,38400 where ttyS0 is the serial console port and 38400 is the baud rate for the serial port. Another example: console=ttyS0,384008N1 where 8 is is data bits, N is odd parity and 1 is stop bits.
maxcpus=<number> 
Allows to limit the number of processors to be used on a multiprocessor systems.
nfsroot 
If the root filesystem for a board is mounted from a remote NFS server, this option can be used to specify the NFS server and the NFS filesystem. This option can be used as: nfsroot=<server-name>:<remote filesystem>. For example: nfsroot=10.0.0.139:/opt/mips_le_fs, where 10.0.0.139 is the NFS server name and /opt/mips_le_fs is the remove filesystem exported by the NFS server.
nofpu 
Can be used to disable the FPU entirely. In this the kernel FPU emulation will take over floating point processing. Useful if a FPU is known to be defective, has accuracy problems and wrongly detected as present even though none exists.
nosmp 
Disable SMP. Same as maxcpus=0.
nowait 
Disable the use of the wait instruction for powersaving.
rd_start 
The base address of a loaded ramdisk image. This option was added in Linux 2.6.10-rc2. See also rd_size.
rd_size 
The size of a loaded ramdisk image. This option was added in Linux 2.6.10-rc2. See also rd_start.
root 
This option is used to specify the root filesystem. For example, if the root filesytem resides on the second partition of a SCSI device /dev/sda, then this can be specified as: root=/dev/sda2. Similarly, then the root filesystem is mounted over NFS, root=/dev/nfs can be used.