69
ODROID C1 USER MANUAL
gpios=reset:116,dc:115 speed=32000000 cs=0
You can achieve the same, by updating the /etc/modules file to
include the following configuration, which should be placed on two
lines:
spicc
fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:116,dc:115
speed=32000000 cs=0
To run X windows while using the display, update the X11 related
configuration:
$ cd /usr/share/X11/xorg.conf.d/
$ sudo touch 99-odroidc-tftlcd.conf
$ sudo medit 99-odroidc-tftlcd.conf
Add the following contents to this new file, then save the changes:
Section “Device”
Identifier “C1 fbdev”
Driver “fbdev”
Option “fbdev” “/dev/fb2”
EndSection
Then disable the Xorg option on your C1, using the ODROID Utility:
$ sudo odroid-utility
Then, use the up / down cursor keys to select the Xorg On/Off
menu option and hit <ENTER>, then select Disable Xorg. Update the
kernel launch statement using the command:
$ sudo con2fbmap 1 2
Alternatively, add the following kernel argument to file /media/
boot/boot.ini and save the changes:
fbcon=map:22
Enable booting to the desktop using the following change to /etc/
rc.local file and save the changes:
startx &
Shutdown the system, remove any attached HDMI monitor, then
reboot the system to see the desktop on the new display. The display
Chapter 4