RPi cmdline.txt

From eLinux.org
Revision as of 09:38, 27 April 2015 by Clem (talk | contribs) (Add mac adress option in cmdline.txt)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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=
static ip (as seen here)