We're no longer updating This wiki!!

Automatically start console mode

Start the system console on the LCD automatically after booting.

1. Module settings

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

Edit “/etc/modprobe.d/blacklist-odroid.comf” file. (Only Ubuntu 16.04 or higher is required)
Comment the spi lines out.

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

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