Raspberry Pi Stuff

Raspberry PI NFS BOOT options

root=/dev/nfs rw ip=dhcp nfs-option=hard,intr,rsize=8192,wsize=8192 console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop

Turns out there is a bug in the bootloader for rpi(1 at least, not tested the later version) failing to boot, the kernel will moan about rootpath not being set/incorrect, this is because of the bug. Chaning rootpath to nfsroot, and vers=3 to v3 like below, will make it boot again

root=/dev/nfs nfsroot=10.0.0.3:/srv/nfs4/rpi,tcp,v3 rw ip=10.0.0.4:10.0.0.3:10.0.0.1:255.255.255.0:rpi:eth0:static nfs-option=hard,intr,rsize=8192,wsize=8192 console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop raid=noautodetect

Raspberry PI HDMI Sound

If the HDMI cable is connected then the audio output will default to HDMI, otherwise it should use the analogue 3.5mm headphone output. If necessary you can force the Raspberry Pi to use the analog output with the following command.

amixer cset numid=3 1

numid=3,iface=MIXER,name='PCM Playback Route'
  ; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
  : values=1

Last modified: Mon May 13 19:36:14 2024