We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c1_tft_autoconsole [2015/02/27 13:43]
john1117
en:c1_tft_autoconsole [2016/11/14 11:10]
john1117 [Auto login]
Line 1: Line 1:
 +===== Auto console =====
 +=== Add following lines in "/​etc/​modprobe.d/​lcd32.conf"​ file. ===
 +  options fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:​116,​dc:​115 speed=32000000 cs=0
 +=== Add following lines in "/​etc/​modules"​ file. ===
 +  spicc
 +  fbtft_device
  
 +=== Add kernel argument to file "/​media/​boot/​boot.ini"​ ===
 +Find bootargs line and append following line to the end of line.
 +  fbcon=map:​22
 +ex) setenv bootargs "​root=UUID... fbcon=map:​22"​
 +=== Automatically enable ===
 +Add following line in "/​etc/​rc.local"​ file.
 +  chvt 1
 +=== Reboot ===
 +  sudo reboot
 +
 +===== Auto login [16.04] =====
 +Edit tty1 service
 +  sudo systemctl edit getty@tty1
 +And add
 +  [Service]
 +  ExecStart=
 +  ExecStart=-/​sbin/​agetty -a odroid --noclear %I $TERM
 +  ​
 +
 +  odroid@odroid:​~$ sudo systemctl cat getty@tty1 | grep Exec
 +  ExecStart=-/​sbin/​agetty --noclear %I $TERM
 +  ExecStart=
 +  ExecStart=-/​sbin/​agetty -a odroid --noclear %I $TERM
 +Restart tty1 service
 +  sudo systemctl restart getty@tty1
en/c1_tft_autoconsole.txt ยท Last modified: 2016/11/14 11:10 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0