From Fedora Project Wiki
(Initial page for HAT usage.)
 
Line 9: Line 9:
  dtoverlay=rpi-sense
  dtoverlay=rpi-sense


== Adafruit PiTFT Plus ==
== Adafruit PiTFT Plus (3.5 inch Resistive Touch screen) ==
Remove the symlink for the dtb:
Remove the symlink for the dtb:
  rm /boot/efi/dtb
  rm /boot/efi/dtb

Revision as of 15:59, 19 November 2019

Raspberry Pi HATs

This page will be used to document using various HATs on the Raspberry Pi. Please feel free to add notes pertaining to other HATs or additions to the existing entries.

Sense Hat

Remove the symlink for the dtb:

rm /boot/efi/dtb

Edit the '/boot/efi/config.txt' to add the overlay

dtoverlay=rpi-sense

Adafruit PiTFT Plus (3.5 inch Resistive Touch screen)

Remove the symlink for the dtb:

rm /boot/efi/dtb

Edit the '/boot/efi/config.txt' to add the overlay

dtparam=i2c_arm=on
dtparam=spi=on
dtoverlay=pitft35-resistive
hdmi_force_hotplug=1

Add to the kernel parameters

fbcon=map:10 fbcon=font:ProFont6x11

Due to a bug the kernel module will not load automatically. On boot the module can be loaded with:

modprobe hx8357d

To workaround the bug and have it load automatically use:

echo hx8357d >> /etc/modules-load.d/hx8357d.conf