How to activate the 3.2inch LCD shield with your ODROID-C1+

  • You need a HDMI connection or a Serial console connection to follow below instruction.
  • Operation confirmed with testing in our Ubuntu 16.04 LTS (v2.1)

0. Update your Kernel

sudo apt update && apt upgrade && apt dist-upgrade

1. Insert modules

sudo modprobe spicc
sudo modprobe fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:116,dc:115 speed=32000000 cs=0

You will have a new frame buffer /dev/fbX
Find a framebuffer node.

ls /dev/fb*
cat /sys/class/graphics/fb2/name

0. Install package

Install fbset package to manage framebuffer. It might be installed in advance.

sudo apt-get install fbset

1. Run con2fbmap

# usage: con2fbmap <console> <framebuffer>
sudo con2fbmap 1 2

2. Change foreground virtual terminal

The command chvt N makes /dev/ttyN the foreground terminal.

sudo chvt 1

chvt 1 : console
chvt 7 : X11

0. Create a new config file

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sudo vi /etc/X11/xorg.conf

1. And then, add following lines in "/etc/X11/xorg.conf" file.

Section "Device"
    Identifier    "fbdev"
    Driver        "fbdev"
    Option        "fbdev" "/dev/fb2"

2. Run

sudo /etc/init.d/lightdm restart
sudo chvt 7