We're no longer updating This wiki!!

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
en:spi_lcdshiled:autoconsole [2016/12/21 14:58]
john1117 created
en:spi_lcdshiled:autoconsole [2016/12/21 16:44]
john1117 [3. Auto login on console]
Line 1: Line 1:
 ====== Automatically start console mode ====== ====== Automatically start console mode ======
 Start the system console on the LCD automatically after booting. Start the system console on the LCD automatically after booting.
-===== Module settings =====+===== 1. Module settings ===== 
 +Remove blacklisted spi modules in "/​etc/​modprobe.d/​blacklist-odroid.comf"​ 
 +<​code>​ 
 +... 
 +... 
 +#blacklist spidev 
 +#blasklist spi_s3c64xx 
 +... 
 +... 
 +</​code>​
 Add following line in "/​etc/​modprobe.d/​lcd32.conf"​ file. Add following line in "/​etc/​modprobe.d/​lcd32.conf"​ file.
   options fbtft_device name=odroid32 rotate=90 busnum=1 gpios=reset:​21,​dc:​22 speed=32000000 cs=0   options fbtft_device name=odroid32 rotate=90 busnum=1 gpios=reset:​21,​dc:​22 speed=32000000 cs=0
Line 7: Line 16:
   spi_s3c64xx   spi_s3c64xx
   fbtft_device   fbtft_device
 +
 +===== 2. Virtual terminal setting =====
 +Add following line in "/​etc/​rc.local"​ file.
 +  chvt 1
 +  ​
 +===== 3. Auto login on console [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/spi_lcdshiled/autoconsole.txt · Last modified: 2016/12/21 16:53 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0