Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:xu4_cloudshell_lcd_config [2015/07/31 08:46] mdrjr |
en:xu4_cloudshell_lcd_config [2017/03/17 10:13] brian.kim |
||
---|---|---|---|
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 "spidev" >> /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. | ||
+ | |||
+ | |||