{"id":808,"date":"2013-09-12T20:26:33","date_gmt":"2013-09-12T19:26:33","guid":{"rendered":"http:\/\/www.nico-maas.de\/wordpress\/?p=808"},"modified":"2013-09-02T20:28:33","modified_gmt":"2013-09-02T19:28:33","slug":"rasppi-build-raspberry-pi-kernel-3-10-next-for-debian-wheezy-raspbian-with-egalax-touchscreen-support-on-ubuntu-12-04","status":"publish","type":"post","link":"https:\/\/www.nico-maas.de\/?p=808","title":{"rendered":"[RaspPi] Build Raspberry Pi Kernel 3.10 \/ NEXT for Debian Wheezy \/ Raspbian with eGalax Touchscreen Support on Ubuntu 12.04"},"content":{"rendered":"<p>This is about building the latest Kernel \/ 3.10 for RPi. Bleeding Edge.<br \/>\n# Preperations<br \/>\nsudo apt-get install git libncurses5 libncurses5-dev qt4-dev-tools qt4-qmake pkg-config build-essential gcc-arm-linux-gnueabi bc<br \/>\n# NEEDS BC!!!!<\/p>\n<p># Clone Stuff<br \/>\nmkdir rpi_kernel_10<br \/>\ncd rpi_kernel_10<br \/>\ngit clone https:\/\/github.com\/raspberrypi\/tools.git<br \/>\ngit clone https:\/\/github.com\/raspberrypi\/linux.git<br \/>\ncd ~\/rpi_kernel_10\/linux\/.git<br \/>\ngit branch -a<br \/>\ncd ~\/rpi_kernel_10\/linux<br \/>\ngit checkout -t -b rpi-3.10.y remotes\/origin\/rpi-3.10.y<br \/>\ngit pull<br \/>\ncd ~\/rpi_kernel_10<br \/>\ngit clone https:\/\/github.com\/raspberrypi\/firmware.git<br \/>\ncd ~\/rpi_kernel_10\/firmware\/.git<br \/>\ngit branch -a<br \/>\ncd ~\/rpi_kernel_10\/firmware<br \/>\ngit checkout -t -b next remotes\/origin\/next<br \/>\ngit pull<br \/>\ncd ~\/rpi_kernel_10<\/p>\n<p># Make Kernel<br \/>\ncd linux<br \/>\nmake mrproper<br \/>\nmkdir ..\/kernel<br \/>\n# Kernel Types<br \/>\n# find . -name *bcmrpi*config -print<br \/>\n# .\/arch\/arm\/configs\/bcmrpi_emergency_defconfig<br \/>\n# .\/arch\/arm\/configs\/bcmrpi_defconfig<br \/>\n# .\/arch\/arm\/configs\/bcmrpi_cutdown_defconfig<br \/>\nmake O=..\/kernel\/ ARCH=arm CROSS_COMPILE=\/usr\/bin\/arm-linux-gnueabi- bcmrpi_defconfig<br \/>\nmake O=..\/kernel\/ ARCH=arm CROSS_COMPILE=\/usr\/bin\/arm-linux-gnueabi- menuconfig #xconfig<br \/>\n#Device Drivers-&gt;Input Device Support-&gt;TouchScreens-&gt;USB Touchscreen Driver (Build it into or as module, check if eGalax here!)<br \/>\nmake O=..\/kernel\/ ARCH=arm CROSS_COMPILE=\/usr\/bin\/arm-linux-gnueabi- -k -j3<br \/>\ncd ..\/<br \/>\ncd tools\/mkimage<br \/>\n.\/imagetool-uncompressed.py ..\/..\/kernel\/arch\/arm\/boot\/Image<br \/>\ncd ..\/..\/<\/p>\n<p># Make Modules<br \/>\ncd kernel<br \/>\nmkdir ..\/modules\/<br \/>\nmake modules_install ARCH=arm CROSS_COMPILE=\/usr\/bin\/arm-linux-gnueabi- INSTALL_MOD_PATH=..\/modules\/<br \/>\n# Install Kernel on existing RPi SD Card \/ Raspbian<br \/>\n# mount sdcard in your Ubuntu (I made an folder sdb1 for boot partiton and sdb2 for the root partition)<br \/>\ncd ~<br \/>\nmkdir sdb1 sdb2<br \/>\nmount \/dev\/sdb1 sdb1<br \/>\nmount \/dev\/sdb2 sdb2<\/p>\n<p># boot partition<br \/>\n#replace \/sdb1\/boot\/bootcode.bin with rpi_kernel_10\/firmware\/boot\/bootcode.bin<br \/>\nsudo rm ~\/sdb1\/bootcode.bin<br \/>\ncp ~\/rpi_kernel_10\/firmware\/boot\/bootcode.bin ~\/sdb1\/<br \/>\n#replace \/sdb1\/boot\/kernel.img with the previously created kernel image<br \/>\nsudo rm ~\/sdb1\/kernel.img<br \/>\ncp ~\/rpi_kernel_10\/tools\/mkimage\/kernel.img ~\/sdb1\/<br \/>\n#replace \/sdb1\/boot\/start.elf with rpi_kernel_10\/firmware\/boot\/start.elf<br \/>\nsudo rm ~\/sdb1\/start.elf<br \/>\ncp ~\/rpi_kernel_10\/firmware\/boot\/start.elf ~\/sdb1\/<\/p>\n<p># root partition<br \/>\n#replace \/sdb2\/lib\/firmware with &lt;modules_builded_above_folder&gt;\/lib\/firmware<br \/>\nsudo rm -rf ~\/sdb2\/lib\/firmware\/<br \/>\nsudo cp -a ~\/rpi_kernel_10\/modules\/lib\/firmware\/ ~\/sdb2\/lib\/<br \/>\n#replace \/sdb2\/lib\/modules with &lt;modules_builded_above_folder&gt;\/lib\/modules<br \/>\nsudo rm -rf ~\/sdb2\/lib\/modules\/<br \/>\nsudo cp -a ~\/rpi_kernel_10\/modules\/lib\/modules\/ ~\/sdb2\/lib\/<br \/>\n#replace \/sdb2\/opt\/vc with firmware-next\/hardfp\/opt\/vc\/<br \/>\nsudo rm -rf ~\/sdb2\/opt\/vc<br \/>\nsudo cp -a ~\/rpi_kernel_10\/firmware\/hardfp\/opt\/vc\/ ~\/sdb2\/opt\/<\/p>\n<p># sync usb mount<br \/>\nsync<\/p>\n<p># Unmount sdcard<br \/>\ncd ~<br \/>\numount sdb1<br \/>\numount sdb2<br \/>\n# Boot Pi and calibrate Touchscreen<br \/>\n# This stuff happens on the Pi!<br \/>\n# Preperations<br \/>\nsudo apt-get install libx11-dev libxext-dev libxi-dev x11proto-input-dev<\/p>\n<p># Install Tool \/ xinput_calibrator<br \/>\ncd ~<br \/>\nwget http:\/\/github.com\/downloads\/tias\/xinput_calibrator\/xinput_calibrator-0.7.5.tar.gz<br \/>\ntar -xvzf xinput_calibrator-0.7.5.tar.gz<br \/>\ncd xinput_calibrator-0.7.5<br \/>\n.\/configure<br \/>\nmake<br \/>\nsudo make install<\/p>\n<p># Calibrate (in Xserver, so open Terminal while beeing in Graphical User Mode)<br \/>\nxinput_calibrator<\/p>\n<p>It will give output like this:<br \/>\nCalibrating EVDEV driver for \"eGalax Inc. USB TouchController\" id=8<br \/>\ncurrent calibration values (from XInput): min_x=1938, max_x=114 and min_y=1745, max_y=341<\/p>\n<p>Doing dynamic recalibration:<br \/>\nSetting new calibration data: 121, 1917, 317, 1741<br \/>\n--&gt; Making the calibration permanent &lt;--<br \/>\ncopy the snippet below into '\/etc\/X11\/xorg.conf.d\/99-calibration.conf'<br \/>\nSection \"InputClass\"<br \/>\nIdentifier \"calibration\"<br \/>\nMatchProduct \"eGalax Inc. USB TouchController\"<br \/>\nOption \"Calibration\" \"121 1917 317 1741\"<br \/>\nOption \"SwapAxes\" \"1\"<br \/>\nEndSection<\/p>\n<p>Use the Output after \"--&gt; Making the calibration permanent &lt;--<br \/>\ncopy the snippet below into '\/etc\/X11\/xorg.conf.d\/99-calibration.conf'\"<br \/>\nAnd copy the part after that into following file:<\/p>\n<p>sudo mkdir \/etc\/X11\/xorg.conf.d<br \/>\nsudo vi \/etc\/X11\/xorg.conf.d\/01-input.conf<\/p>\n<p>After that, save, exit and reboot.<br \/>\nThat should conclude your newly \"Custom baked Kernel\" and your EGalax Touchscreen Support.<\/p>\n<p>Thanks a lot to http:\/\/engineering-diy.blogspot.de\/2013\/01\/adding-7inch-display-with-touchscreen.html<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"JlI8Wpvxrk\"><p><a href=\"http:\/\/mitchtech.net\/raspberry-pi-kernel-compile\/\">Raspberry Pi Kernel Compile<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Raspberry Pi Kernel Compile&#8221; &#8212; MitchTech\" src=\"http:\/\/mitchtech.net\/raspberry-pi-kernel-compile\/embed\/#?secret=JlI8Wpvxrk\" data-secret=\"JlI8Wpvxrk\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\nand http:\/\/karuppuswamy.com\/wordpress\/2013\/01\/17\/how-to-get-evtouch-touch-screen-kit-working-in-linux\/<br \/>\nfrom which I learnt and borrowed most of the stuff and tips and rewrote this How To with minor changes<br \/>\nUpgrade<br \/>\ncd linux<br \/>\nmake mrproper<br \/>\ngit pull<br \/>\ncd ..\/tools<br \/>\ngit pull<br \/>\ncd ..\/firmware<br \/>\ngit pull<\/p>\n<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-small\"><li class=\"shariff-button printer shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"javascript:window.print()\" title=\"print\" aria-label=\"print\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 30 32\"><path fill=\"#999\" d=\"M6.8 27.4h16v-4.6h-16v4.6zM6.8 16h16v-6.8h-2.8q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-11.4v11.4zM27.4 17.2q0-0.5-0.3-0.8t-0.8-0.4-0.8 0.4-0.3 0.8 0.3 0.8 0.8 0.3 0.8-0.3 0.3-0.8zM29.7 17.2v7.4q0 0.2-0.2 0.4t-0.4 0.2h-4v2.8q0 0.7-0.5 1.2t-1.2 0.5h-17.2q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-4q-0.2 0-0.4-0.2t-0.2-0.4v-7.4q0-1.4 1-2.4t2.4-1h1.2v-9.7q0-0.7 0.5-1.2t1.2-0.5h12q0.7 0 1.6 0.4t1.3 0.8l2.7 2.7q0.5 0.5 0.9 1.4t0.4 1.6v4.6h1.1q1.4 0 2.4 1t1 2.4z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808&subject=%5BRaspPi%5D%20Build%20Raspberry%20Pi%20Kernel%203.10%20%2F%20NEXT%20for%20Debian%20Wheezy%20%2F%20Raspbian%20with%20eGalax%20Touchscreen%20Support%20on%20Ubuntu%2012.04\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808&text=%5BRaspPi%5D%20Build%20Raspberry%20Pi%20Kernel%203.10%20%2F%20NEXT%20for%20Debian%20Wheezy%20%2F%20Raspbian%20with%20eGalax%20Touchscreen%20Support%20on%20Ubuntu%2012.04\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808\" title=\"Share on Reddit\" aria-label=\"Share on Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button pinterest shariff-nocustomcolor\" style=\"background-color:#e70f18\"><a href=\"https:\/\/www.pinterest.com\/pin\/create\/link\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808&media=https%3A%2F%2Fwww.nico-maas.de%2Fwordpress%2Fwp-content%2Fplugins%2Fshariff%2Fimages%2FdefaultHint.png&description=%5BRaspPi%5D%20Build%20Raspberry%20Pi%20Kernel%203.10%20%2F%20NEXT%20for%20Debian%20Wheezy%20%2F%20Raspbian%20with%20eGalax%20Touchscreen%20Support%20on%20Ubuntu%2012.04\" title=\"Pin it on Pinterest\" aria-label=\"Pin it on Pinterest\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#cb2027; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#cb2027\" d=\"M27.4 16q0 3.7-1.8 6.9t-5 5-6.9 1.9q-2 0-3.9-0.6 1.1-1.7 1.4-2.9 0.2-0.6 1-3.8 0.4 0.7 1.3 1.2t2 0.5q2.1 0 3.8-1.2t2.7-3.4 0.9-4.8q0-2-1.1-3.8t-3.1-2.9-4.5-1.2q-1.9 0-3.5 0.5t-2.8 1.4-2 2-1.2 2.3-0.4 2.4q0 1.9 0.7 3.3t2.1 2q0.5 0.2 0.7-0.4 0-0.1 0.1-0.5t0.2-0.5q0.1-0.4-0.2-0.8-0.9-1.1-0.9-2.7 0-2.7 1.9-4.6t4.9-2q2.7 0 4.2 1.5t1.5 3.8q0 3-1.2 5.2t-3.1 2.1q-1.1 0-1.7-0.8t-0.4-1.9q0.1-0.6 0.5-1.7t0.5-1.8 0.2-1.4q0-0.9-0.5-1.5t-1.4-0.6q-1.1 0-1.9 1t-0.8 2.6q0 1.3 0.4 2.2l-1.8 7.5q-0.3 1.2-0.2 3.2-3.7-1.6-6-5t-2.3-7.6q0-3.7 1.9-6.9t5-5 6.9-1.9 6.9 1.9 5 5 1.8 6.9z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>This is about building the latest Kernel \/ 3.10 for RPi. Bleeding Edge. # Preperations sudo apt-get install git libncurses5 libncurses5-dev qt4-dev-tools qt4-qmake pkg-config build-essential gcc-arm-linux-gnueabi bc # NEEDS BC!!!! # Clone Stuff mkdir rpi_kernel_10 cd rpi_kernel_10 git clone https:\/\/github.com\/raspberrypi\/tools.git git clone https:\/\/github.com\/raspberrypi\/linux.git cd ~\/rpi_kernel_10\/linux\/.git git branch -a cd ~\/rpi_kernel_10\/linux git checkout -t -b rpi-3.10.y &hellip; <a href=\"https:\/\/www.nico-maas.de\/?p=808\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">[RaspPi] Build Raspberry Pi Kernel 3.10 \/ NEXT for Debian Wheezy \/ Raspbian with eGalax Touchscreen Support on Ubuntu 12.04<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-small\"><li class=\"shariff-button printer shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"javascript:window.print()\" title=\"print\" aria-label=\"print\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 30 32\"><path fill=\"#999\" d=\"M6.8 27.4h16v-4.6h-16v4.6zM6.8 16h16v-6.8h-2.8q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-11.4v11.4zM27.4 17.2q0-0.5-0.3-0.8t-0.8-0.4-0.8 0.4-0.3 0.8 0.3 0.8 0.8 0.3 0.8-0.3 0.3-0.8zM29.7 17.2v7.4q0 0.2-0.2 0.4t-0.4 0.2h-4v2.8q0 0.7-0.5 1.2t-1.2 0.5h-17.2q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-4q-0.2 0-0.4-0.2t-0.2-0.4v-7.4q0-1.4 1-2.4t2.4-1h1.2v-9.7q0-0.7 0.5-1.2t1.2-0.5h12q0.7 0 1.6 0.4t1.3 0.8l2.7 2.7q0.5 0.5 0.9 1.4t0.4 1.6v4.6h1.1q1.4 0 2.4 1t1 2.4z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808&subject=%5BRaspPi%5D%20Build%20Raspberry%20Pi%20Kernel%203.10%20%2F%20NEXT%20for%20Debian%20Wheezy%20%2F%20Raspbian%20with%20eGalax%20Touchscreen%20Support%20on%20Ubuntu%2012.04\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808&text=%5BRaspPi%5D%20Build%20Raspberry%20Pi%20Kernel%203.10%20%2F%20NEXT%20for%20Debian%20Wheezy%20%2F%20Raspbian%20with%20eGalax%20Touchscreen%20Support%20on%20Ubuntu%2012.04\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808\" title=\"Share on Reddit\" aria-label=\"Share on Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button pinterest shariff-nocustomcolor\" style=\"background-color:#e70f18\"><a href=\"https:\/\/www.pinterest.com\/pin\/create\/link\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D808&media=https%3A%2F%2Fwww.nico-maas.de%2Fwordpress%2Fwp-content%2Fplugins%2Fshariff%2Fimages%2FdefaultHint.png&description=%5BRaspPi%5D%20Build%20Raspberry%20Pi%20Kernel%203.10%20%2F%20NEXT%20for%20Debian%20Wheezy%20%2F%20Raspbian%20with%20eGalax%20Touchscreen%20Support%20on%20Ubuntu%2012.04\" title=\"Pin it on Pinterest\" aria-label=\"Pin it on Pinterest\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#cb2027; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#cb2027\" d=\"M27.4 16q0 3.7-1.8 6.9t-5 5-6.9 1.9q-2 0-3.9-0.6 1.1-1.7 1.4-2.9 0.2-0.6 1-3.8 0.4 0.7 1.3 1.2t2 0.5q2.1 0 3.8-1.2t2.7-3.4 0.9-4.8q0-2-1.1-3.8t-3.1-2.9-4.5-1.2q-1.9 0-3.5 0.5t-2.8 1.4-2 2-1.2 2.3-0.4 2.4q0 1.9 0.7 3.3t2.1 2q0.5 0.2 0.7-0.4 0-0.1 0.1-0.5t0.2-0.5q0.1-0.4-0.2-0.8-0.9-1.1-0.9-2.7 0-2.7 1.9-4.6t4.9-2q2.7 0 4.2 1.5t1.5 3.8q0 3-1.2 5.2t-3.1 2.1q-1.1 0-1.7-0.8t-0.4-1.9q0.1-0.6 0.5-1.7t0.5-1.8 0.2-1.4q0-0.9-0.5-1.5t-1.4-0.6q-1.1 0-1.9 1t-0.8 2.6q0 1.3 0.4 2.2l-1.8 7.5q-0.3 1.2-0.2 3.2-3.7-1.6-6-5t-2.3-7.6q0-3.7 1.9-6.9t5-5 6.9-1.9 6.9 1.9 5 5 1.8 6.9z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[280,18],"tags":[332,484,331,329],"class_list":["post-808","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-unix-linux","tag-3-10","tag-raspberry-pi","tag-raspbian","tag-ubuntu-12-04"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/piXYf-d2","jetpack-related-posts":[{"id":797,"url":"https:\/\/www.nico-maas.de\/?p=797","url_meta":{"origin":808,"position":0},"title":"[RaspPi] Build Raspberry Pi Kernel for Debian Wheezy \/ Raspbian with eGalax Touchscreen Support on Ubuntu 12.04","author":"Nico Maas","date":"2. September 2013","format":false,"excerpt":"# Preperations sudo apt-get install git libncurses5 libncurses5-dev qt4-dev-tools qt4-qmake pkg-config build-essential gcc-arm-linux-gnueabi bc # Clone Stuff mkdir rpi_kernel cd rpi_kernel git clone https:\/\/github.com\/raspberrypi\/tools.git git clone https:\/\/github.com\/raspberrypi\/linux.git git clone https:\/\/github.com\/raspberrypi\/firmware.git cd ~\/rpi_kernel\/firmware\/.git git branch -a cd ~\/rpi_kernel\/firmware git checkout -t -b next remotes\/origin\/next git pull cd ~\/rpi_kernel # Make Kernel\u2026","rel":"","context":"In &quot;Raspberry Pi&quot;","block_context":{"text":"Raspberry Pi","link":"https:\/\/www.nico-maas.de\/?cat=280"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":824,"url":"https:\/\/www.nico-maas.de\/?p=824","url_meta":{"origin":808,"position":1},"title":"[RaspPi] How To Compile OpenWRT Trunk with latest Raspberry Pi Kernel 3.10 for the RPi on Ubuntu 12.04","author":"Nico Maas","date":"27. April 2017","format":false,"excerpt":"EDIT: This post is from 30.09.2013 and should be the \"how to\" to this post. However, I never released it for a now unknown reason. Because of the interest in this topic, I still will publish it today so that it can stand as some kind of documentation of what\u2026","rel":"","context":"In &quot;OpenWRT&quot;","block_context":{"text":"OpenWRT","link":"https:\/\/www.nico-maas.de\/?cat=107"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":799,"url":"https:\/\/www.nico-maas.de\/?p=799","url_meta":{"origin":808,"position":2},"title":"[RaspPi] How To Compile OpenWRT Trunk with latest Raspberry Pi Kernel 3.6 for the RPi on Ubuntu 12.04","author":"Nico Maas","date":"4. September 2013","format":false,"excerpt":"What are we doing here? As far as I understand the problem, there are two worlds: Raspberry Pi Foundation on the one hand, the OpenWRT Team on the other one. OpenWRT does try to patch \"Default Kernels\" until they work out with the intended Plattform, which does work in most\u2026","rel":"","context":"In &quot;OpenWRT&quot;","block_context":{"text":"OpenWRT","link":"https:\/\/www.nico-maas.de\/?cat=107"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1664,"url":"https:\/\/www.nico-maas.de\/?p=1664","url_meta":{"origin":808,"position":3},"title":"[resinOS] Build resinOS from scratch","author":"Nico Maas","date":"28. June 2017","format":false,"excerpt":"As the time of writing, resinOS is available for Download\u00a0at Version 2.0.6+rev3.dev for Raspberry Pi 3. This build, however, is nearly 2 weeks old and in the meantime, something great happend: Docker has finally updated to Version 17.03.1 - upgraded from the old ~10 (ten-ish) version - which was not\u2026","rel":"","context":"In &quot;Docker&quot;","block_context":{"text":"Docker","link":"https:\/\/www.nico-maas.de\/?cat=531"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":925,"url":"https:\/\/www.nico-maas.de\/?p=925","url_meta":{"origin":808,"position":4},"title":"[RaspPi] Raspberry Pi and the ili9341 Display","author":"Nico Maas","date":"27. April 2014","format":false,"excerpt":"https:\/\/www.youtube.com\/watch?v=cEcIem6R4aQ 1.) Enable SPI # remove or comment out the spi blacklist line sudo nano \/etc\/modprobe.d\/raspi-blacklist.conf 2.) Install a) FBTFT drivers as loadable modules sudo REPO_URI=https:\/\/github.com\/notro\/rpi-firmware rpi-update sudo shutdown -r now OR b) FBTFT drivers built into the kernel proper sudo REPO_URI=https:\/\/github.com\/notro\/rpi-firmware BRANCH=builtin rpi-update sudo shutdown -r now 3.) Install\u2026","rel":"","context":"In &quot;Hardware&quot;","block_context":{"text":"Hardware","link":"https:\/\/www.nico-maas.de\/?cat=11"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1410,"url":"https:\/\/www.nico-maas.de\/?p=1410","url_meta":{"origin":808,"position":5},"title":"[Raspberry Pi] Warning - Kernel 4.4.38 breaks boot on RPi 1 &#038; 2","author":"Nico Maas","date":"28. December 2016","format":false,"excerpt":"About 14 days ago, RPi Kernel Version 4.4.38 was published. However, something went very wrong somewhere: Raspbery Pi Models 1 and 2 do not boot anymore. As a quickfix I would recommend to download the 4.4.37 Kernel from the Github Repo (https:\/\/github.com\/raspberrypi\/firmware\/) and replace the boot Partition on your RPi\u2026","rel":"","context":"In &quot;Raspberry Pi&quot;","block_context":{"text":"Raspberry Pi","link":"https:\/\/www.nico-maas.de\/?cat=280"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=808"}],"version-history":[{"count":1,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/808\/revisions"}],"predecessor-version":[{"id":809,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/808\/revisions\/809"}],"wp:attachment":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}