Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c1_tft_autoconsole [2015/03/16 17:12] odroid |
en:c1_tft_autoconsole [2016/11/14 10:50] john1117 [Auto login] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Auto console ===== | ===== Auto console ===== | ||
- | **Add to file "/etc/modules"** | + | === Add following lines in "/etc/modprobe.d/lcd32.conf" file. === |
- | <code> | + | options fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:116,dc:115 speed=32000000 cs=0 |
- | spicc | + | === Add following lines in "/etc/modules" file. === |
- | fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:116,dc:115 speed=32000000 cs=0 | + | spicc |
- | </code> | + | fbtft_device |
- | **Disable xorg on your ODROID-C1**\\ | + | |
- | There is two ways to disable.\\ | + | |
- | 1) Way to use the odroid-utility\\ | + | === Add kernel argument to file "/media/boot/boot.ini" === |
- | sudo odroid-utility | + | Find bootargs line and append following line to the end of line. |
- | + | ||
- | Use up / down cursor keys to select the "Xorg On/Off" menu option and hit. And then, select "Disable Xorg". | + | |
- | + | ||
- | 2) Way to use native\\ | + | |
- | Write a word "manual" on /etc/init/lightdm.override | + | |
- | + | ||
- | sudo vi /etc/init/lightdm.override | + | |
- | + | ||
- | **Add kernel argument to file "/media/boot/boot.ini"** | + | |
fbcon=map:22 | fbcon=map:22 | ||
- | **Reboot** | + | ex) setenv bootargs "root=UUID... fbcon=map:22" |
+ | === Automatically enable === | ||
+ | Add following line in "/etc/rc.local" file. | ||
+ | chvt 1 | ||
+ | === Reboot === | ||
sudo reboot | sudo reboot | ||
+ |