<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Raspbian on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/raspbian/</link>
        <description>Recent content in Raspbian on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Sun, 27 Apr 2014 15:14:36 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/raspbian/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>[RaspPi] Raspberry Pi and the ili9341 Display</title>
            <link>https://www.nico-maas.de/posts/2014-04-27-rasppi-raspberry-pi-and-the-ili9341-display/</link>
            <pubDate>Sun, 27 Apr 2014 15:14:36 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2014-04-27-rasppi-raspberry-pi-and-the-ili9341-display/</guid>
            <description>&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.youtube.com/watch?v=cEcIem6R4aQ&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Raspberry Pi - Bad Apple on ili9341 Display&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;1.) Enable SPI&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# remove or comment out the spi blacklist line  &#xA;sudo nano /etc/modprobe.d/raspi-blacklist.conf&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;2.) Install&lt;br&gt;&#xA;a) FBTFT drivers as loadable modules&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update  &#xA;sudo shutdown -r now&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;OR&lt;/p&gt;&#xA;&lt;p&gt;b) FBTFT drivers built into the kernel proper&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo REPO_URI=https://github.com/notro/rpi-firmware BRANCH=builtin rpi-update  &#xA;sudo shutdown -r now&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;3.) Install the frame buffer driver (as root):&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;apt-get install xserver-xorg-video-fbdev&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;4.) Configure frame buffer driver:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo vi /usr/share/X11/xorg.conf.d/99-fbdev.conf  &#xA;Section &amp;#34;Device&amp;#34;  &#xA;Identifier &amp;#34;myfb&amp;#34;  &#xA;Driver &amp;#34;fbdev&amp;#34;  &#xA;Option &amp;#34;fbdev&amp;#34; &amp;#34;/dev/fb1&amp;#34;  &#xA;EndSection&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;5.) add Autostart:&lt;br&gt;&#xA;( the gpios= Pins need to be changed to YOUR specification and connection! )&lt;br&gt;&#xA;sudo vi /etc/modules&lt;/p&gt;</description>
        </item><item>
            <title>[RaspPi] Build Raspberry Pi Kernel 3.10 / NEXT for Debian Wheezy / Raspbian with eGalax Touchscreen Support on Ubuntu 12.04</title>
            <link>https://www.nico-maas.de/posts/2013-09-12-rasppi-build-raspberry-pi-kernel-3-10-next-for-debian-wheezy-raspbian-with-egalax-touchscreen-support-on-ubuntu-12-04/</link>
            <pubDate>Thu, 12 Sep 2013 19:26:33 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2013-09-12-rasppi-build-raspberry-pi-kernel-3-10-next-for-debian-wheezy-raspbian-with-egalax-touchscreen-support-on-ubuntu-12-04/</guid>
            <description>&lt;p&gt;This is about building the latest Kernel / 3.10 for RPi. Bleeding Edge.&lt;/p&gt;&#xA;&lt;h1 id=&#34;preperations&#34;&gt;Preperations&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo apt-get install git libncurses5 libncurses5-dev qt4-dev-tools qt4-qmake pkg-config build-essential gcc-arm-linux-gnueabi bc  &#xD;&#xA;# NEEDS BC!!!!&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;clone-stuff&#34;&gt;Clone Stuff&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mkdir rpi_kernel_10  &#xD;&#xA;cd rpi_kernel_10  &#xD;&#xA;git clone https://github.com/raspberrypi/tools.git  &#xD;&#xA;git clone https://github.com/raspberrypi/linux.git  &#xD;&#xA;cd ~/rpi_kernel_10/linux/.git  &#xD;&#xA;git branch -a  &#xD;&#xA;cd ~/rpi_kernel_10/linux  &#xD;&#xA;git checkout -t -b rpi-3.10.y remotes/origin/rpi-3.10.y  &#xD;&#xA;git pull  &#xD;&#xA;cd ~/rpi_kernel_10  &#xD;&#xA;git clone https://github.com/raspberrypi/firmware.git  &#xD;&#xA;cd ~/rpi_kernel_10/firmware/.git  &#xD;&#xA;git branch -a  &#xD;&#xA;cd ~/rpi_kernel_10/firmware  &#xD;&#xA;git checkout -t -b next remotes/origin/next  &#xD;&#xA;git pull  &#xD;&#xA;cd ~/rpi_kernel_10&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;make-kernel&#34;&gt;Make Kernel&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd linux  &#xD;&#xA;make mrproper  &#xD;&#xA;mkdir ../kernel  &#xD;&#xA;# Kernel Types  &#xD;&#xA;# find . -name \*bcmrpi\*config -print  &#xD;&#xA;# ./arch/arm/configs/bcmrpi_emergency_defconfig  &#xD;&#xA;# ./arch/arm/configs/bcmrpi_defconfig  &#xD;&#xA;# ./arch/arm/configs/bcmrpi_cutdown_defconfig  &#xD;&#xA;make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- bcmrpi_defconfig  &#xD;&#xA;make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig #xconfig  &#xD;&#xA;#Device Drivers-&amp;gt;Input Device Support-&amp;gt;TouchScreens-&amp;gt;USB Touchscreen Driver (Build it into or as module, check if eGalax here!)  &#xD;&#xA;make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j3  &#xD;&#xA;cd ../  &#xD;&#xA;cd tools/mkimage  &#xD;&#xA;./imagetool-uncompressed.py ../../kernel/arch/arm/boot/Image  &#xD;&#xA;cd ../../&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;make-modules&#34;&gt;Make Modules&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd kernel  &#xD;&#xA;mkdir ../modules/  &#xD;&#xA;make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- INSTALL_MOD_PATH=../modules/  &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;install-kernel-on-existing-rpi-sd-card--raspbian&#34;&gt;Install Kernel on existing RPi SD Card / Raspbian&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# mount sdcard in your Ubuntu (I made an folder sdb1 for boot partiton and sdb2 for the root partition)  &#xD;&#xA;cd ~  &#xD;&#xA;mkdir sdb1 sdb2  &#xD;&#xA;mount /dev/sdb1 sdb1  &#xD;&#xA;mount /dev/sdb2 sdb2&#xD;&#xA;&#xD;&#xA;# boot partition  &#xD;&#xA;#replace /sdb1/boot/bootcode.bin with rpi_kernel_10/firmware/boot/bootcode.bin  &#xD;&#xA;sudo rm ~/sdb1/bootcode.bin  &#xD;&#xA;cp ~/rpi_kernel_10/firmware/boot/bootcode.bin ~/sdb1/  &#xD;&#xA;#replace /sdb1/boot/kernel.img with the previously created kernel image  &#xD;&#xA;sudo rm ~/sdb1/kernel.img  &#xD;&#xA;cp ~/rpi_kernel_10/tools/mkimage/kernel.img ~/sdb1/  &#xD;&#xA;#replace /sdb1/boot/start.elf with rpi_kernel_10/firmware/boot/start.elf  &#xD;&#xA;sudo rm ~/sdb1/start.elf  &#xD;&#xA;cp ~/rpi_kernel_10/firmware/boot/start.elf ~/sdb1/&#xD;&#xA;&#xD;&#xA;# root partition  &#xD;&#xA;#replace /sdb2/lib/firmware with &amp;lt;modules_builded_above_folder&amp;gt;/lib/firmware  &#xD;&#xA;sudo rm -rf ~/sdb2/lib/firmware/  &#xD;&#xA;sudo cp -a ~/rpi_kernel_10/modules/lib/firmware/ ~/sdb2/lib/  &#xD;&#xA;#replace /sdb2/lib/modules with &amp;lt;modules_builded_above_folder&amp;gt;/lib/modules  &#xD;&#xA;sudo rm -rf ~/sdb2/lib/modules/  &#xD;&#xA;sudo cp -a ~/rpi_kernel_10/modules/lib/modules/ ~/sdb2/lib/  &#xD;&#xA;#replace /sdb2/opt/vc with firmware-next/hardfp/opt/vc/  &#xD;&#xA;sudo rm -rf ~/sdb2/opt/vc  &#xD;&#xA;sudo cp -a ~/rpi_kernel_10/firmware/hardfp/opt/vc/ ~/sdb2/opt/&#xD;&#xA;&#xD;&#xA;# sync usb mount  &#xD;&#xA;sync&#xD;&#xA;&#xD;&#xA;# Unmount sdcard  &#xD;&#xA;cd ~  &#xD;&#xA;umount sdb1  &#xD;&#xA;umount sdb2  &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;boot-pi-and-calibrate-touchscreen&#34;&gt;Boot Pi and calibrate Touchscreen&#xA;&lt;/h1&gt;&lt;h1 id=&#34;this-stuff-happens-on-the-pi&#34;&gt;This stuff happens on the Pi!&#xA;&lt;/h1&gt;&lt;h1 id=&#34;preperations-1&#34;&gt;Preperations&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo apt-get install libx11-dev libxext-dev libxi-dev x11proto-input-dev&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;install-tool--xinput_calibrator&#34;&gt;Install Tool / xinput_calibrator&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd ~  &#xD;&#xA;wget http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz  &#xD;&#xA;tar -xvzf xinput_calibrator-0.7.5.tar.gz  &#xD;&#xA;cd xinput_calibrator-0.7.5  &#xD;&#xA;./configure  &#xD;&#xA;make  &#xD;&#xA;sudo make install&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;calibrate-in-xserver-so-open-terminal-while-beeing-in-graphical-user-mode&#34;&gt;Calibrate (in Xserver, so open Terminal while beeing in Graphical User Mode)&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;xinput_calibrator&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;It will give output like this:&lt;/p&gt;</description>
        </item><item>
            <title>[RaspPi] Build Raspberry Pi Kernel for Debian Wheezy / Raspbian with eGalax Touchscreen Support on Ubuntu 12.04</title>
            <link>https://www.nico-maas.de/posts/2013-09-02-rasppi-build-raspberry-pi-kernel-for-debian-wheezy-raspbian-with-egalax-touchscreen-support-on-ubuntu-12-04/</link>
            <pubDate>Mon, 02 Sep 2013 14:54:35 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2013-09-02-rasppi-build-raspberry-pi-kernel-for-debian-wheezy-raspbian-with-egalax-touchscreen-support-on-ubuntu-12-04/</guid>
            <description>&lt;h1 id=&#34;preperations&#34;&gt;Preperations&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo apt-get install git libncurses5 libncurses5-dev qt4-dev-tools qt4-qmake pkg-config build-essential gcc-arm-linux-gnueabi bc&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;clone-stuff&#34;&gt;Clone Stuff&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mkdir rpi_kernel  &#xD;&#xA;cd rpi_kernel  &#xD;&#xA;git clone https://github.com/raspberrypi/tools.git  &#xD;&#xA;git clone https://github.com/raspberrypi/linux.git  &#xD;&#xA;git clone https://github.com/raspberrypi/firmware.git  &#xD;&#xA;cd ~/rpi_kernel/firmware/.git  &#xD;&#xA;git branch -a  &#xD;&#xA;cd ~/rpi_kernel/firmware  &#xD;&#xA;git checkout -t -b next remotes/origin/next  &#xD;&#xA;git pull  &#xD;&#xA;cd ~/rpi_kernel&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;make-kernel&#34;&gt;Make Kernel&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd linux  &#xD;&#xA;make mrproper  &#xD;&#xA;mkdir ../kernel  &#xD;&#xA;# Kernel Types  &#xD;&#xA;# find . -name \*bcmrpi\*config -print  &#xD;&#xA;# ./arch/arm/configs/bcmrpi_emergency_defconfig  &#xD;&#xA;# ./arch/arm/configs/bcmrpi_defconfig  &#xD;&#xA;# ./arch/arm/configs/bcmrpi_cutdown_defconfig  &#xD;&#xA;make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- bcmrpi_defconfig  &#xD;&#xA;make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig #xconfig  &#xD;&#xA;#Device Drivers-&amp;gt;Input Device Support-&amp;gt;TouchScreens-&amp;gt;USB Touchscreen Driver (Build it into or as module, check if eGalax here!)  &#xD;&#xA;make O=../kernel/ ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j3  &#xD;&#xA;cd ../  &#xD;&#xA;cd tools/mkimage  &#xD;&#xA;./imagetool-uncompressed.py ../../kernel/arch/arm/boot/Image  &#xD;&#xA;cd ../../&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;make-modules&#34;&gt;Make Modules&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd kernel  &#xD;&#xA;mkdir ../modules/  &#xD;&#xA;make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- INSTALL_MOD_PATH=../modules/  &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;install-kernel-on-existing-rpi-sd-card--raspbian&#34;&gt;Install Kernel on existing RPi SD Card / Raspbian&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# mount sdcard in your Ubuntu (I made an folder sdb1 for boot partiton and sdb2 for the root partition)  &#xD;&#xA;cd ~  &#xD;&#xA;mkdir sdb1 sdb2  &#xD;&#xA;mount /dev/sdb1 sdb1  &#xD;&#xA;mount /dev/sdb2 sdb2&#xD;&#xA;&#xD;&#xA;# backup config  &#xD;&#xA;cp ~/sdb1/config.txt ~/rpi_kernel/  &#xD;&#xA;# boot partition  &#xD;&#xA;sudo rm -rf ~/sdb1/*  &#xD;&#xA;# Copy all Files from boot  &#xD;&#xA;cp -R ~/rpi_kernel/firmware/boot/* ~/sdb1/  &#xD;&#xA;#replace /sdb1/boot/kernel.img with the previously created kernel image  &#xD;&#xA;sudo rm ~/sdb1/kernel.img  &#xD;&#xA;cp ~/rpi_kernel/tools/mkimage/kernel.img ~/sdb1/  &#xD;&#xA;# restore config  &#xD;&#xA;cp ~/rpi_kernel/config.txt ~/sdb1/&#xD;&#xA;&#xD;&#xA;# root partition  &#xD;&#xA;#replace /sdb2/lib/firmware with &amp;lt;modules_builded_above_folder&amp;gt;/lib/firmware  &#xD;&#xA;sudo rm -rf ~/sdb2/lib/firmware/  &#xD;&#xA;sudo cp -R ~/rpi_kernel/modules/lib/firmware/ ~/sdb2/lib/  &#xD;&#xA;#replace /sdb2/lib/modules with &amp;lt;modules_builded_above_folder&amp;gt;/lib/modules  &#xD;&#xA;sudo rm -rf ~/sdb2/lib/modules/  &#xD;&#xA;sudo cp -R ~/rpi_kernel/modules/lib/modules/ ~/sdb2/lib/  &#xD;&#xA;#replace /sdb2/opt/vc with firmware-next/hardfp/opt/vc/  &#xD;&#xA;sudo rm -rf ~/sdb2/opt/vc  &#xD;&#xA;sudo cp -R ~/rpi_kernel/firmware/hardfp/opt/vc/ ~/sdb2/opt/&#xD;&#xA;&#xD;&#xA;# sync usb mount  &#xD;&#xA;sync&#xD;&#xA;&#xD;&#xA;# Unmount sdcard  &#xD;&#xA;cd ~  &#xD;&#xA;umount sdb1  &#xD;&#xA;umount sdb2  &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;boot-pi-and-calibrate-touchscreen&#34;&gt;Boot Pi and calibrate Touchscreen&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# This stuff happens on the Pi!&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;preperations-1&#34;&gt;Preperations&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo apt-get install libx11-dev libxext-dev libxi-dev x11proto-input-dev&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;install-tool--xinput_calibrator&#34;&gt;Install Tool / xinput_calibrator&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd ~  &#xD;&#xA;wget http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz  &#xD;&#xA;tar -xvzf xinput_calibrator-0.7.5.tar.gz  &#xD;&#xA;cd xinput_calibrator-0.7.5  &#xD;&#xA;./configure  &#xD;&#xA;make  &#xD;&#xA;sudo make install&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;calibrate-in-xserver-so-open-terminal-while-beeing-in-graphical-user-mode&#34;&gt;Calibrate (in Xserver, so open Terminal while beeing in Graphical User Mode)&#xA;&lt;/h1&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;xinput_calibrator&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;It will give output like this:&lt;/p&gt;</description>
        </item></channel>
</rss>
