Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:xu4_cloudshell_lcd_config [2015/09/16 16:42] brian.kim |
en:xu4_cloudshell_lcd_config [2016/07/19 21:06] mdrjr |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Cloudshell LCD Configuration ====== | ||
+ | |||
+ | Cloudshell features a 2.2" TFT LCD with a 320x240 resolution. The display is controlled by the well-known ILI9340 controller. | ||
+ | |||
+ | It uses SPI @ 40Mhz to talk with the LCD. (SPI 1) | ||
+ | |||
+ | [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143599699669|Where to buy]] | ||
+ | |||
+ | |||
+ | ** Tested on Ubuntu 16.04 Minimal ** | ||
+ | |||
+ | |||
+ | |||
+ | === Module configuration === | ||
+ | <code> | ||
+ | sudo -s | ||
+ | echo "options fbtft_device name=hktft9340 busnum=1 rotate=270" > /etc/modprobe.d/odroid-cloudshell.conf | ||
+ | echo "spi_s3c64xx" >> /etc/modules | ||
+ | echo "fbtft_device" >> /etc/modules | ||
+ | </code> | ||
+ | |||
+ | === Edit /etc/modprobe.d/blacklist-odroid.conf === | ||
+ | Remove the blacklist on spi. | ||
+ | |||
+ | <code> | ||
+ | # 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 | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | 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. | ||
+ | |||
+ | |||