tried following the tutorial from : http://learn.adafruit.com/adafruit-nfc- ... -on-the-pi
and the pi wouldnt boot after i edited cmdline.txt and inittab
had to put sd card in another computer and copy the cmdline.txt back in order for it to boot up again
sudo cp /boot/cmdline.txt /boot/cmdline_backup.txt
sudo nano /boot/cmdline.txt
change:
Code: Select all
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 $
Code: Select all
dwc_otg.lpm_enable=0 console=tty1 $
sudo nano /etc/inittab
change:
Code: Select all
#Spawn a getty on Raspberry Pi serial line
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Code: Select all
#Spawn a getty on Raspberry Pi serial line
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Did i miss something?