====== 2.2" TFT LCD on the Odroid W ====== ---- ===== Preparations ===== * Odroid W * uSD-Card => over 2GB or eMMC Module * [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G140609436593 | W Docking Board with TFT LCD]] ===== Configuration ===== - Building the kernel\\ Please refer to [[en:odroidwkernelcompilation | Kernel compilation for odroid-w]] - Enable SPI by running:sudo vi /etc/modprobe.d/raspi-blacklist.conf Find the SPI line where the spi is black listed blacklist spi-bcm2708 Comment it out by replacing it with the line below #blacklist spi-bcm2708 - Enable driver \\ Add to file /etc/modules fbtft_device name=adafruit22a verbose=0 rotate=90 - Auto login and startx \\ Auto login: modify file /etc/inittab #1:2345:respawn:/sbin/getty --noclear 38400 tty1 1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1 Auto startx: modify file /etc/rc.local su -l pi -c "env FRAMEBUFFER=/dev/fb1 startx &" Disable the option in /usr/share/X11/xorg.conf.d/99-fbturbo.conf # Option "fbdev" "/dev/fb0" Console at boot: Add kernel argument to file /boot/cmdline.txt fbcon=map:10 Save the file and reboot your Odroid W. sudo reboot For more information, please refer to [[https://github.com/notro/fbtft/wiki]]