legacy:accessory:display:3.2inch_tft_touchscreen_shield:xu4:autoconsole

Automatically start console mode

Start the system console on the LCD automatically after booting.

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
...
...

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

chvt 1

Edit tty1 service

target
sudo systemctl edit getty@tty1

And add

[Service]
ExecStart=
ExecStart=-/sbin/agetty -a odroid --noclear %I $TERM
target
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

target
sudo systemctl restart getty@tty1
  • legacy/accessory/display/3.2inch_tft_touchscreen_shield/xu4/autoconsole.txt
  • Last modified: 2021/04/26 15:10
  • by joshua