In diesem Video zeige ich wie man den Kernel vom Raspberry Pi neu konfigurieren kann, um so z.B. Treiber für einen Touchscreen zu installieren.
Links:
Touchscreen:
http://www.amazon.de/Touchscreen-Monitor-VGA-Einbaurahmen-Media/dp/B0033R4LPM/ref=sr_1_1?ie=UTF8&qid=1370372315&sr=8-1&keywords=7+zoll+touchscreen
Original Anleitung:
http://engineering-diy.blogspot.de/2013/01/adding-7inch-display-with-touchscreen.html
Verwendete befehle:
wget https://github.com/raspberrypi/linux/archive/rpi-3.6.y.tar.gz
tar -zxvf rpi-3.6.y.tar.gz
sudo apt-get install git libncurses5 libncurses5-dev qt4-dev-tools build-essential
sudo apt-get install python
mkdir ../kernel
make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- bcmrpi_cutdown_defconfig
make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- xconfig
make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j3
git clone git://github.com/raspberrypi/tools.git
./imagetool-uncompressed.py ../../kernel/arch/arm/boot/Image
mkdir ../modules
make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- INSTALL_MOD_PATH=../modules/
wget https://github.com/raspberrypi/firmware/archive/next.tar.gz
tar -zxvf next.tar.gz
Raspberry Pi:
sudo apt-get install libx11-dev libxext-dev libxi-dev x11proto-input-dev
wget http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
tar -zxvf xinput_calibrator-0.7.5
./configure
make
sudo make install
Auf dem Raspberry Pi Desktop:
xinput_calibrator
sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf