Cloudshell LCD Configuration
Cloudshell features a 2.2“ TFT LCD with a 320×240 resolution. The display is controlled by the well-known ILI9340 controller.
It uses SPI @ 40Mhz to talk with the LCD. (SPI 1)
Tested on Ubuntu 16.04 Minimal
sudo -s echo "options fbtft_device name=hktft9340 busnum=1 rotate=270" > /etc/modprobe.d/odroid-cloudshell.conf echo "spi_s3c64xx" >> /etc/modules echo "spidev" >> /etc/modules echo "fbtft_device" >> /etc/modules
Remove the blacklist on spi.
# Comment the required lines # IO Board blacklist ioboard_bh1780 blacklist ioboard_bmp180 blacklist ioboard_keyled # SPI # blacklist spidev # blacklist spi_s3c64xx # 3.2" LCD Touchscreen driver blacklist ads7846
The commands above will ensure that at every boot the LCD is configured.
Reboot the board with HDMI cable disconnected and you should see already information going to the 2.2” LCD.