<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Ubuntu 12.04 on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/ubuntu-12.04/</link>
        <description>Recent content in Ubuntu 12.04 on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Thu, 27 Apr 2017 12:00:25 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/ubuntu-12.04/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>[RaspPi] How To Compile OpenWRT Trunk with latest Raspberry Pi Kernel 3.10 for the RPi on Ubuntu 12.04</title>
            <link>https://www.nico-maas.de/posts/2017-04-27-rasppi-how-to-compile-openwrt-trunk-with-latest-raspberry-pi-kernel-3-10-for-the-rpi-on-ubuntu-12-04/</link>
            <pubDate>Thu, 27 Apr 2017 12:00:25 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2017-04-27-rasppi-how-to-compile-openwrt-trunk-with-latest-raspberry-pi-kernel-3-10-for-the-rpi-on-ubuntu-12-04/</guid>
            <description>&lt;p&gt;EDIT: This post is from 30.09.2013 and should be the &amp;ldquo;how to&amp;rdquo; to &lt;a class=&#34;link&#34; href=&#34;https://www.nico-maas.de/posts/2014-03-11-rasppi-openwrt-trunk-with-latest-raspberry-pi-3-10-32-648-kernel-as-image-download/&#34; &gt;this&lt;/a&gt; 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 I did back then. However, I might not work anymore.&lt;/p&gt;&#xA;&lt;p&gt;This is the latest Guide.&lt;/p&gt;&#xA;&lt;p&gt;What are we doing here?&lt;br&gt;&#xA;Building OpenWRT Trunk with the offical RPi 3.10 (next) Kernel.&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] How To Compile OpenWRT Trunk with latest Raspberry Pi Kernel 3.6 for the RPi on Ubuntu 12.04</title>
            <link>https://www.nico-maas.de/posts/2013-09-04-rasppi-how-to-compile-openwrt-trunk-with-latest-raspberry-pi-kernel-for-the-rpi-on-ubuntu-12-04/</link>
            <pubDate>Wed, 04 Sep 2013 14:55:36 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2013-09-04-rasppi-how-to-compile-openwrt-trunk-with-latest-raspberry-pi-kernel-for-the-rpi-on-ubuntu-12-04/</guid>
            <description>&lt;p&gt;What are we doing here?&lt;/p&gt;&#xA;&lt;p&gt;As far as I understand the problem, there are two worlds:&lt;br&gt;&#xA;Raspberry Pi Foundation on the one hand, the OpenWRT Team on the other one.&lt;br&gt;&#xA;OpenWRT does try to patch &amp;ldquo;Default Kernels&amp;rdquo; until they work out with the intended Plattform, which does work in most cases very well.&lt;br&gt;&#xA;The problem is, RPi is an new target for the latest OpenWRT Release - and does work - but it does not get much love of the devs:&lt;br&gt;&#xA;No trunk compiles or nightlys of the Image or the packages - i.e.&lt;br&gt;&#xA;And - the &amp;ldquo;so patched Kernel&amp;rdquo; does not represent the state of the art of the RPi Kernel Development at all:&lt;br&gt;&#xA;I got many errors of the &amp;ldquo;first days of Pi&amp;rdquo;, like the loved &amp;ldquo;SDcard error&amp;rdquo; which corrupted the whole filesystem and such.&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>
