Chris Anderson/ July 18, 2014/ Uncategorized/ 0 comments

In order to get the Raspberry Pi to recognize the touchscreen on 7 inch display – see other artical need to compile in needed drivers

This is related to the following Post

For touch panel is called AT070TN92 V.5

Taken from – http://o2t1.blogspot.de/2013/02/raspberry-pi-howto-recompile-raspbian.html

Raspberry Pi – Howto recompile raspbian kernel

At first, i use Fedora. You can download Fedora here and start the .iso in a vmware orvirtualbox. In fedora you need following packages

yum install gcc.x86_64 gcc-arm-linux-gnu.x86_64 git.x86_64 ncurses-devel.x86_64

Then you have to download the raspberry pi 3.2.27 sources vom github:

https://github.com/raspberrypi/linux/archive/rpi-3.2.27.zip 

extract the zip file and go into the linux archive.

1. cp arch/arm/configs/bcmrpi_cutdown_defconfig .config

2. make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnu- menuconfig

Then the menuconfig will pop up and you have to select the device drivers under:

[Device Drivers] / [Input device support] / [Event interface]

[Device Drivers] / [Input device support] / [Miscellaneous devices]/ [User level driver support]

[Device Drivers] / [HID Devices] / [/dev/hidraw raw HID device support]

Next steps: compiling the kernel and copy it to the sdcard:

1. make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnu- -k

2. mkdir ~/linux/modules

3. make ARCH=arm modules_install INSTALL_MOD_PATH=~/linux/modules

4. cp ~/linux/modules /[here comes the path to the sdcard]/lib/modules

5. cp ~/linux/arch/arm/boot/Image /[here comes the path to the sdcard]/boot/kernel.img

Reboot the rasberry pi and have fun. I will upload my .iso in the next few days. (this howto is based on the howto by Thomas Grziwa. Thanks a lot!

Share this Post

This site uses Akismet to reduce spam. Learn how your comment data is processed.