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)

Where to buy

Tested on Ubuntu 16.04 Minimal

Module configuration

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

Edit /etc/modprobe.d/blacklist-odroid.conf

Remove the blacklist on spi.

# Comment the required lines

# IO Board
blacklist ioboard_bh1780
blacklist ioboard_bmp180
blacklist ioboard_keyled

# 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.

Clouldshell NMON

Let me introduce this nice NMON by @David.B from odroid forum.

And Download sources via @David.B github. cloudshell-nmon

Here is some screenshot.

  • nmon main

  • nmon help

  • nmon disk per line

  • nmon nfs

  • nmon nfs second

  • nmon resources

  • nmon utilisation

  • nmon temperature and cpu

  • nmon top process

  • nmon virtual memory

  • accessory/add-on_boards/xu4_cloudshell/lcd_config.txt
  • Last modified: 2018/03/19 16:53
  • by neal