We're no longer updating This wiki!!

This is an old revision of the document!


Automatically start console mode

Start the system console on the LCD automatically after booting.

1. Module settings

Remove blacklisted spi modules in “/etc/modprobe.d/blacklist-odroid.comf”

...
...
#blacklist spidev
#blasklist spi_s3c64xx
...
...

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

Add following lines in “/etc/modules”file.

spi_s3c64xx
fbtft_device

2. Virtual terminal setting

Add following line in “/etc/rc.local” file.

chvt 1

3. Auto login on console

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.1482307489.txt.gz · Last modified: 2016/12/21 16:34 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0