Difference between revisions of "RPi cmdline.txt"

From eLinux.org
Jump to: navigation, search
(Add mac adress option in cmdline.txt)
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
This file is for passing arguments to the Linux kernel and it can be found in /boot/
 
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:
+
Some common options:
dwc_otg.speed=1
+
*dwc_otg.speed=1
smsc95xx.turbo_mode=N  
+
::USB v1 speed
dwc_otg.microframe_schedule=1
+
*smsc95xx.turbo_mode=N
 +
::if the raspberrypi freezes after filling the log withe kevent dropped.
 +
*smsc95xx.macaddr=B8:27:EB:59:EB:25
 +
::it will override the default mac adress with the specified one.
 +
*dwc_otg.microframe_schedule=1
 +
*console=ttyAMA0,115200
 +
*usbhid.mousepoll=8
 +
*ip=192.168.0.10
 +
::static ip (as seen [http://pihw.wordpress.com/guides/direct-network-connection/in-a-nut-shell-direct-network-connection/ here])
 +
*[[RPI_BCM2708_Parameters#module:_sdhci-bcm2708|more]]
 +
{{Template: Raspberry Pi}}

Latest revision as of 10:38, 27 April 2015


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
USB v1 speed
  • smsc95xx.turbo_mode=N
if the raspberrypi freezes after filling the log withe kevent dropped.
  • smsc95xx.macaddr=B8:27:EB:59:EB:25
it will override the default mac adress with the specified one.
  • dwc_otg.microframe_schedule=1
  • console=ttyAMA0,115200
  • usbhid.mousepoll=8
  • ip=192.168.0.10
static ip (as seen here)