<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Kernel on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/kernel/</link>
        <description>Recent content in Kernel 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/kernel/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>Odroid U3 Kernel Upgrade &#43; Docker</title>
            <link>https://www.nico-maas.de/posts/2017-01-24-odroid-u3-kernel-upgrade-docker/</link>
            <pubDate>Tue, 24 Jan 2017 19:00:27 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2017-01-24-odroid-u3-kernel-upgrade-docker/</guid>
            <description>&lt;p&gt;&lt;strong&gt;I wrote this back in January 2017. Since then I had not much time to work on the Odroid - however, user hexdump did just came up with a new repo, supporting the Odroid U3 with Kernel 5.4.x - you can find the overview over his awesome work &lt;a class=&#34;link&#34; href=&#34;https://forum.odroid.com/viewtopic.php?f=55&amp;amp;t=3691&amp;amp;p=276318#p276318&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;here&lt;/a&gt; and the repo with complete releases (i.e. Ubuntu Bionic or Debian Buster i.e. odroid_u3-armv7l-debian.img.gz) &lt;a class=&#34;link&#34; href=&#34;https://github.com/hexdump0815/imagebuilder/releases&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I am using an trusty old &lt;a class=&#34;link&#34; href=&#34;http://www.hardkernel.com/main/products/prdt_info.php?g_code=g138745696275&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Odroid U3&lt;/a&gt; which I acquired years ago. With its SAMSUNG Exynos 4412 Cortex-A9 Quad Core 1,7 Ghz, 1MB L2 cache and 2 GB of RAM, this little puppy was an real beast - compared to the Raspberry Pi 1 at that time. However, Hardkernel did drop the support - again, which left the Users back with very old Kernel versions. However, thanks to some users and the fact that all needed support for the Exynos is now included in the current kernel - well, we can build our own. This write up is the distilled result of days of work and a lot of research - and the work of other people which I found on the net (which I will try to give proper credits at the right locations :)).&lt;/p&gt;</description>
        </item><item>
            <title>[Raspberry Pi] Warning - Kernel 4.4.38 breaks boot on RPi 1 &amp; 2</title>
            <link>https://www.nico-maas.de/posts/2016-12-28-raspberry-pi-warning-kernel-4-4-38-breaks-boot-on-rpi-1-2/</link>
            <pubDate>Wed, 28 Dec 2016 22:00:29 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2016-12-28-raspberry-pi-warning-kernel-4-4-38-breaks-boot-on-rpi-1-2/</guid>
            <description>&lt;p&gt;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 (&lt;a class=&#34;link&#34; href=&#34;https://github.com/raspberrypi/firmware/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;https://github.com/raspberrypi/firmware/&lt;/a&gt;) and replace the boot Partition on your RPi 1 or 2 SDCard with the /boot path from the 4.4.37 &lt;a class=&#34;link&#34; href=&#34;https://github.com/raspberrypi/firmware/archive/6d45dcf869688163fa1c745cb059b14baf61b8fd.zip&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;ZIP File&lt;/a&gt; - and it should boot again. If you&amp;rsquo;re RPi is still working - do not update your kernel until this problem is solved! &lt;a class=&#34;link&#34; href=&#34;https://github.com/raspberrypi/firmware/issues/704&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Issue on Github&lt;/a&gt;.&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>
