From: Max Krummenacher <max.oss.09@gmail.com>
To: Steve Sakoman <steve@sakoman.com>
Cc: Frieder Schrempf <frieder.schrempf@kontron.de>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][kirkstone 7/8] kernel-fitImage: Strip path component from dtb
Date: Thu, 14 Dec 2023 17:39:14 +0100 [thread overview]
Message-ID: <ZXsvsjLMoEnCJy0q@toolbox> (raw)
In-Reply-To: <CAOSpxda_MYNSBs3D1n=Ddz601uC3d_q2Sj12NUsXJ6Q4HXCecQ@mail.gmail.com>
On Thu, Dec 14, 2023 at 03:56:13AM -1000, Steve Sakoman wrote:
> On Thu, Dec 14, 2023 at 12:42 AM Max Krummenacher <max.oss.09@gmail.com> wrote:
> >
> > On Thu, Nov 30, 2023 at 12:05 AM Steve Sakoman <steve@sakoman.com> wrote:
> > >
> > > From: Ninad Palsule <ninad@linux.ibm.com>
> > >
> > > Machines that have added subdirectires to the KERNEL_DEVICETREE
> > > recently, such as arm32 boards that were moved under subdirectories in
> > > Linux 6.5, will have that subdirectory in the node name of the FIT. This
> > > breaks existing systems that select a configuration in u-boot by it's
> > > name.
> > >
> > > Strip off the directory component from the device tree to preserve
> > > compatibility.
> >
> > This now breaks each arm64 machine (and likely mips & riscv) as they did
> > have the vendor subdirectories since (nearly) ever and expect those in the
> > fitimage.
> >
> > Breaking those existing machines / kernel combination in order to have a
> > smooth transition for arm32 machines which bring a 6.5 kernel to kirkstone
> > seems wrong to me.
> >
> > I think we should revert the backport to kirkstone. If someone builds a 6.5
> > or later kernel in kirkstone for an arm32 based machine one could cope
> > with the change e.g. in the kernel recipe which provides that 6.5 kernel.
> >
> > Any comments? Thanks.
> >
> > Sorry that I didn't notice the change on the mailing list before it got applied.
>
> Since this is causing breakage I will revert it prior to the upcoming
> kirkstone release build.
>
> Steve
Thanks Steve. Much appreciated.
Max
>
> > > (From OE-Core rev: 941ba1a132bafa9c9be855fb91fec96d8b06299f)
> > >
> > > Signed-off-by: Joel Stanley <joel@jms.id.au>
> > > Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> > > Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> > > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > > Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> # backport to kirkstone
> > > Signed-off-by: Steve Sakoman <steve@sakoman.com>
> > > ---
> > > meta/classes/kernel-fitimage.bbclass | 5 +++++
> > > 1 file changed, 5 insertions(+)
> > >
> > > diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
> > > index 27e17db951..194d825b0e 100644
> > > --- a/meta/classes/kernel-fitimage.bbclass
> > > +++ b/meta/classes/kernel-fitimage.bbclass
> > > @@ -542,6 +542,11 @@ fitimage_assemble() {
> > > DTB_PATH="arch/${ARCH}/boot/$DTB"
> > > fi
> > >
> > > + # Strip off the path component from the filename
> > > + if "${@'false' if oe.types.boolean(d.getVar('KERNEL_DTBVENDORED')) else 'true'}"; then
> > > + DTB=`basename $DTB`
> > > + fi
> > > +
> > > DTB=$(echo "$DTB" | tr '/' '_')
> > >
> > > # Skip DTB if we've picked it up previously
> > > --
> > > 2.34.1
> > >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#191471): https://lists.openembedded.org/g/openembedded-core/message/191471
> > > Mute This Topic: https://lists.openembedded.org/mt/102883133/3617484
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [max.oss.09@gmail.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
>
next prev parent reply other threads:[~2023-12-14 16:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 23:04 [OE-core][kirkstone 0/8] Patch review Steve Sakoman
2023-11-29 23:04 ` [OE-core][kirkstone 1/8] gstreamer1.0-plugins-bad: fix CVE-2023-44429 Steve Sakoman
2023-11-29 23:04 ` [OE-core][kirkstone 2/8] openssl: fix CVE-2023-5678 Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH keys or parameters may be very slow Steve Sakoman
2023-11-29 23:04 ` [OE-core][kirkstone 3/8] grub: fix CVE-2023-4693 Steve Sakoman
2023-11-29 23:04 ` [OE-core][kirkstone 4/8] vim: Improve locale handling Steve Sakoman
2023-11-29 23:04 ` [OE-core][kirkstone 5/8] vim: use upstream generated .po files Steve Sakoman
2023-11-29 23:04 ` [OE-core][kirkstone 6/8] vim: Upgrade 9.0.2048 -> 9.0.2068 Steve Sakoman
2023-11-29 23:05 ` [OE-core][kirkstone 7/8] kernel-fitImage: Strip path component from dtb Steve Sakoman
2023-12-14 10:41 ` Max Krummenacher
2023-12-14 13:56 ` Steve Sakoman
2023-12-14 16:39 ` Max Krummenacher [this message]
2023-11-29 23:05 ` [OE-core][kirkstone 8/8] systemtap_git: fix used uninitialized error Steve Sakoman
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=ZXsvsjLMoEnCJy0q@toolbox \
--to=max.oss.09@gmail.com \
--cc=frieder.schrempf@kontron.de \
--cc=openembedded-core@lists.openembedded.org \
--cc=steve@sakoman.com \
/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.