Difference between revisions of "RPi cmdline.txt"

From eLinux.org
Jump to: navigation, search
Line 4: Line 4:
  
 
Default options:
 
Default options:
              dwc_otg.lpm_enable=0
+
-dwc_otg.lpm_enable=0
              console=ttyAMA0,115200
+
-console=ttyAMA0,115200
              kgdboc=ttyAMA0,115200
+
-kgdboc=ttyAMA0,115200
              console=tty1
+
-console=tty1
              root=/dev/mmcblk0p2
+
-root=/dev/mmcblk0p2
              rootfstype=ext4
+
-rootfstype=ext4
              elevator=deadline
+
-elevator=deadline
              rootwait
+
-rootwait
  
 
some common options:
 
some common options:
Line 19: Line 19:
 
   console=ttyAMA0,115200
 
   console=ttyAMA0,115200
 
   usbhid.mousepoll=8
 
   usbhid.mousepoll=8
 +
 +
{{Template: Raspberry Pi}}

Revision as of 16:19, 16 November 2013


This file is for passing arguments to the Linux kernel and it can be found in /boot/

Default options: -dwc_otg.lpm_enable=0 -console=ttyAMA0,115200 -kgdboc=ttyAMA0,115200 -console=tty1 -root=/dev/mmcblk0p2 -rootfstype=ext4 -elevator=deadline -rootwait

some common options:

 dwc_otg.speed=1
 smsc95xx.turbo_mode=N 
 dwc_otg.microframe_schedule=1
 console=ttyAMA0,115200
 usbhid.mousepoll=8