All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Thomas <pthomas8589@gmail.com>
To: Gene Heskett <gheskett@shentel.net>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: [ANNOUNCE] v5.4.10-rt5
Date: Tue, 14 Jan 2020 08:56:37 -0500	[thread overview]
Message-ID: <CAD56B7ddZSWqo1jz6W72FUu+u_ZJuM-b_CSuRRTaSzhQPJnHAA@mail.gmail.com> (raw)
In-Reply-To: <202001122122.10938.gheskett@shentel.net>

On Sun, Jan 12, 2020 at 9:44 PM Gene Heskett <gheskett@shentel.net> wrote:
>
> On Friday 10 January 2020 15:14:30 Sebastian Andrzej Siewior wrote:
>
> > Dear RT folks!
> >
> > I'm pleased to announce the v5.4.10-rt5 patch set.
> >
> > Changes since v5.4.10-rt4:
> >
> >   - Dick Hollenbeck reported that the printk rework had a negative
> >     impact on the 8250 driver if not used as a console. Patch by John
> >     Ogness.
> >
> > Known issues
> >      - None
> >
> > The delta patch against v5.4.10-rt4 is appended below and can be found
> > here:
> >
> >
> > https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/incr/patch-5.4
> >.10-rt4-rt5.patch.xz
> >
> > You can get this release via the git tree at:
> >
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
> > v5.4.10-rt5
>
> I grabbed a copy of this, then turned off anything not needed to run
> LinuxCNC on an rpi4 in armhf config.  Then I noted its make had a make
> deb-pkg option.  But it isn't making what I told it to make as I'm
> sitting here watching it ALL go by. Did I miss something in  a make
> menuconfig that triggered a make all? It was supposedly set for armhf.
> But I'm even seeing x86 stuff go by. Obviously I know just enough to
> screw it up. Point me at the right docs for arm builds please.

Hi Gene,

I recently stumbled into deb-pkg, and it's awesome building up the
source and standard debian packages all in one command, but it takes
the same arguments as a standard make. For rpi4 this is arm64 not
armhf so you probably want something like below to configure for
arm64. If you are doing this on the rpi4 you don't need the
CROSS_COMPILE= option.[1][2]
make -j4 ARCH=arm64 CROSS_COMPILE=aarch64-elf- defconfig
Or if the kernel you're already running has a /proc/config.gz you can
use that directly (zcat /proc/config.gz > .config).
Then you can use the main make.
make -j4 ARCH=arm64 CROSS_COMPILE=aarch64-elf- deb-pkg
Keep in mind that even with the debian package this may not be enough
to install the kernel for u-boot correctly, You'll have to see if all
the scripts in /etc/kernel/postinst.d/ are doing everything that is
needed, but it should give you at least a /boot/vmlinuz... When I use
this I have to extract the compressed Image to where u-boot grabs the
kernel.

Hope this helps.

thanks,
Paul

[1] The -j4 says to use up to 4 jobs which will speed up the compile
with a 4-core processor
[2] aarch64-elf- is you're cross-compiler prefix if you are
cross-compiling. If you don't have this, read up on cross-compilers
and check out Linaro (https://www.linaro.org/downloads/)

  parent reply	other threads:[~2020-01-14 13:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-10 20:14 [ANNOUNCE] v5.4.10-rt5 Sebastian Andrzej Siewior
2020-01-13  2:22 ` Gene Heskett
2020-01-14  8:01   ` Alexander Dahl
2020-01-14 13:56   ` Paul Thomas [this message]
     [not found]   ` <CAD56B7cgPfbcx8MNtYosOwhPi6fy+fqdauLsayR65dAg1yaYSg@mail.gmail.com>
2020-01-14 16:23     ` Gene Heskett
2020-01-14 17:15       ` Paul Thomas
2020-01-14 21:03         ` Gene Heskett
2020-01-14 21:26           ` Paul Thomas
2020-01-14 23:10             ` Gene Heskett

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=CAD56B7ddZSWqo1jz6W72FUu+u_ZJuM-b_CSuRRTaSzhQPJnHAA@mail.gmail.com \
    --to=pthomas8589@gmail.com \
    --cc=gheskett@shentel.net \
    --cc=linux-rt-users@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.