Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:spi_lcdshiled:autoconsole [2016/12/21 16:34] john1117 [Module settings] |
en:spi_lcdshiled:autoconsole [2016/12/21 16:53] (current) john1117 [1. Module settings] |
||
---|---|---|---|
Line 2: | Line 2: | ||
Start the system console on the LCD automatically after booting. | Start the system console on the LCD automatically after booting. | ||
===== 1. Module settings ===== | ===== 1. Module settings ===== | ||
- | Remove blacklisted spi modules in "/etc/modprobe.d/blacklist-odroid.comf" | + | 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.\\ | ||
<code> | <code> | ||
... | ... | ||
Line 11: | Line 18: | ||
... | ... | ||
</code> | </code> | ||
- | Add following line in "/etc/modprobe.d/lcd32.conf" file. | + | ===== 2. Virtual terminal setting ===== |
- | 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. | Add following line in "/etc/rc.local" file. | ||
chvt 1 | chvt 1 | ||
| | ||
- | ====== 3. Auto login on console ====== | + | ===== 3. Auto login on console [16.04] ===== |
Edit tty1 service | Edit tty1 service | ||
sudo systemctl edit getty@tty1 | sudo systemctl edit getty@tty1 |