From: Alexander Dahl <ada@thorsis.com>
To: linux-rt-users@vger.kernel.org
Cc: "t-v.k@gmx.net" <t-v.k@gmx.net>
Subject: Re: Building the Raspberry Pi kernel with RT PREEMPT
Date: Wed, 07 Feb 2018 08:55:17 +0100 [thread overview]
Message-ID: <5367606.tDxCejrBfR@ada> (raw)
In-Reply-To: <e5469b0b-fc0e-95b1-0a80-69a6afab3f12@gmx.net>
Hello,
Am Mittwoch, 7. Februar 2018, 00:02:52 CET schrieb t-v.k@gmx.net:
> this is my first time on a mailing list. I'm not sure how this works.
You write to the list address, everyone also subscribed gets your mail,
including you. Some people will set you in Cc additionally.
> I'm currently trying to automate the build of a Linux kernel with the RT
> PREEMPT patch. The kernel that I'm trying to build is in this git
> repository: https://github.com/raspberrypi/linux (branch rpi-4.14.y)
>
> It's the official kernel for the Raspberry Pi.
Yes, and it has some patches on top of the upstream vanilla kernel, IIRC
around 200 the last time a looked at it.
> But at the moment I am stuck. There are two problems. When I apply the
> patch "patch-4.14.15-rt13.patch.gz", I get errors like:
>
> Hunk #9 FAILED at 795.
> ...
> 1 out of 20 hunks FAILED -- saving rejects to file kernel/softirq.c.rej
> ...
>
> and as a result of this it exits with code 1.
>
> Here is the full build process output:
> https://gitlab.com/T-vK/rpi-rt-kernel/-/jobs/51343435
>
> When I just ignore it and continue I get to the point where I can run
> "make zImage", which then fails with this:
This makes no sense, the patch must apply. You don't want to build anything
with a half applied patch.
> Can anyone help me with these issues?
If you're on v4.14 anyway, I would recommend to run a vanilla kernel and put
the RT patch(es) on top. At least for a system without graphics, this should
work. (I had a RPi 1B running with vanilla v4.12 built with ptxdist and the
DistroKit BSP some time ago, v4.14 and v4.15 also run fine headless. Should
also work for RPi 2.)
HTH & Greets
Alex
next prev parent reply other threads:[~2018-02-07 8:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 23:02 Building the Raspberry Pi kernel with RT PREEMPT t-v.k
2018-02-07 7:55 ` Alexander Dahl [this message]
2018-02-08 16:19 ` t-v.k
2018-02-09 10:35 ` Roland Hieber
2018-02-09 11:16 ` t-v.k
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5367606.tDxCejrBfR@ada \
--to=ada@thorsis.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=t-v.k@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox