* Request to backport KERNEL_DTC_FLAGS to Dunfell
@ 2021-06-04 12:45 Mark Jonas
2021-06-04 15:09 ` Steve Sakoman
0 siblings, 1 reply; 6+ messages in thread
From: Mark Jonas @ 2021-06-04 12:45 UTC (permalink / raw)
To: openembedded-core, steve
Cc: ovidiu.panait, richard.purdie, toertel, RUAN Tingquan (BT-FIR/ENG1-Zhu)
Hi,
We are using DT overlays and have the need to pass the -@ parameter in DTC_FLAGS to Linux' make. The patch
"kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags"
https://git.openembedded.org/openembedded-core/commit/?h=hardknott&id=063b5de86624a42b0aa784db6dddc7552a6dee7f
makes that possible in a nice way. Would it be reasonable to request backporting of this patch to Dunfell?
We were also wondering what could be an alternative approach for getting this or a similar functionality. Patching a bbclass using a bbappend is not possible, is it?
Cheers,
Mark
Mark Jonas
Building Technologies, Panel Software Fire (BT-FIR/ENG1-Grb)
Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com
Tel. +49 89 6290-1105 | Telefax +49 89 6290-281105 | Mark.Jonas@de.bosch.com
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118
Aufsichtsratsvorsitzender: Christian Fischer; Geschäftsführung: Thomas Quante, Andreas Bartz
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request to backport KERNEL_DTC_FLAGS to Dunfell
2021-06-04 12:45 Request to backport KERNEL_DTC_FLAGS to Dunfell Mark Jonas
@ 2021-06-04 15:09 ` Steve Sakoman
2021-06-04 15:25 ` Bruce Ashfield
0 siblings, 1 reply; 6+ messages in thread
From: Steve Sakoman @ 2021-06-04 15:09 UTC (permalink / raw)
To: Jonas Mark (BT-FIR/ENG1-Grb)
Cc: openembedded-core, ovidiu.panait, richard.purdie, toertel,
RUAN Tingquan (BT-FIR/ENG1-Zhu),
Bruce Ashfield
On Fri, Jun 4, 2021 at 2:45 AM Jonas Mark (BT-FIR/ENG1-Grb)
<Mark.Jonas@de.bosch.com> wrote:
>
> Hi,
>
> We are using DT overlays and have the need to pass the -@ parameter in DTC_FLAGS to Linux' make. The patch
>
> "kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags"
> https://git.openembedded.org/openembedded-core/commit/?h=hardknott&id=063b5de86624a42b0aa784db6dddc7552a6dee7f
>
> makes that possible in a nice way. Would it be reasonable to request backporting of this patch to Dunfell?
This is sort of in the grey area between feature and bug fix. It does
seem relatively safe, so I would consider taking the patch if there
are no objections from the community.
Added Bruce to the cc list to get his opinion.
> We were also wondering what could be an alternative approach for getting this or a similar functionality. Patching a bbclass using a bbappend is not possible, is it?
No, there is no equivalent of bbappend for classes.
Other solutions are possible, but taking this patch would be the
cleanest solution to your problem. Let's see what others think before
we go there :-)
Steve
>
> Cheers,
> Mark
>
> Mark Jonas
>
> Building Technologies, Panel Software Fire (BT-FIR/ENG1-Grb)
> Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com
> Tel. +49 89 6290-1105 | Telefax +49 89 6290-281105 | Mark.Jonas@de.bosch.com
>
> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118
> Aufsichtsratsvorsitzender: Christian Fischer; Geschäftsführung: Thomas Quante, Andreas Bartz
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request to backport KERNEL_DTC_FLAGS to Dunfell
2021-06-04 15:09 ` Steve Sakoman
@ 2021-06-04 15:25 ` Bruce Ashfield
2021-06-07 8:49 ` [OE-core] " Quentin Schulz
2021-06-16 15:28 ` Mark Jonas
0 siblings, 2 replies; 6+ messages in thread
From: Bruce Ashfield @ 2021-06-04 15:25 UTC (permalink / raw)
To: Steve Sakoman
Cc: Jonas Mark (BT-FIR/ENG1-Grb),
openembedded-core, ovidiu.panait, richard.purdie, toertel,
RUAN Tingquan (BT-FIR/ENG1-Zhu)
On Fri, Jun 4, 2021 at 11:09 AM Steve Sakoman <steve@sakoman.com> wrote:
>
> On Fri, Jun 4, 2021 at 2:45 AM Jonas Mark (BT-FIR/ENG1-Grb)
> <Mark.Jonas@de.bosch.com> wrote:
> >
> > Hi,
> >
> > We are using DT overlays and have the need to pass the -@ parameter in DTC_FLAGS to Linux' make. The patch
> >
> > "kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags"
> > https://git.openembedded.org/openembedded-core/commit/?h=hardknott&id=063b5de86624a42b0aa784db6dddc7552a6dee7f
> >
> > makes that possible in a nice way. Would it be reasonable to request backporting of this patch to Dunfell?
>
> This is sort of in the grey area between feature and bug fix. It does
> seem relatively safe, so I would consider taking the patch if there
> are no objections from the community.
>
> Added Bruce to the cc list to get his opinion.
Good timing, I happened to notice this earlier and was thinking about it.
While I also wouldn't call it a bug, I agree it is a small/standalone
change that shouldn't break anything.
A quick scan of the dunfell tested kernels shows unchanged Makefile
handling of the option, so there's little risk there.
I'd say that it would be fine for backport.
Bruce
>
> > We were also wondering what could be an alternative approach for getting this or a similar functionality. Patching a bbclass using a bbappend is not possible, is it?
>
> No, there is no equivalent of bbappend for classes.
>
> Other solutions are possible, but taking this patch would be the
> cleanest solution to your problem. Let's see what others think before
> we go there :-)
>
> Steve
>
>
> >
> > Cheers,
> > Mark
> >
> > Mark Jonas
> >
> > Building Technologies, Panel Software Fire (BT-FIR/ENG1-Grb)
> > Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com
> > Tel. +49 89 6290-1105 | Telefax +49 89 6290-281105 | Mark.Jonas@de.bosch.com
> >
> > Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118
> > Aufsichtsratsvorsitzender: Christian Fischer; Geschäftsführung: Thomas Quante, Andreas Bartz
> >
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OE-core] Request to backport KERNEL_DTC_FLAGS to Dunfell
2021-06-04 15:25 ` Bruce Ashfield
@ 2021-06-07 8:49 ` Quentin Schulz
2021-06-16 15:28 ` Mark Jonas
1 sibling, 0 replies; 6+ messages in thread
From: Quentin Schulz @ 2021-06-07 8:49 UTC (permalink / raw)
To: Bruce Ashfield
Cc: Steve Sakoman, Jonas Mark (BT-FIR/ENG1-Grb),
openembedded-core, ovidiu.panait, richard.purdie, toertel,
RUAN Tingquan (BT-FIR/ENG1-Zhu)
Hi all,
On Fri, Jun 04, 2021 at 11:25:36AM -0400, Bruce Ashfield wrote:
> On Fri, Jun 4, 2021 at 11:09 AM Steve Sakoman <steve@sakoman.com> wrote:
> >
> > On Fri, Jun 4, 2021 at 2:45 AM Jonas Mark (BT-FIR/ENG1-Grb)
> > <Mark.Jonas@de.bosch.com> wrote:
> > >
> > > Hi,
> > >
> > > We are using DT overlays and have the need to pass the -@ parameter in DTC_FLAGS to Linux' make. The patch
> > >
> > > "kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags"
> > > https://git.openembedded.org/openembedded-core/commit/?h=hardknott&id=063b5de86624a42b0aa784db6dddc7552a6dee7f
> > >
> > > makes that possible in a nice way. Would it be reasonable to request backporting of this patch to Dunfell?
> >
> > This is sort of in the grey area between feature and bug fix. It does
> > seem relatively safe, so I would consider taking the patch if there
> > are no objections from the community.
> >
> > Added Bruce to the cc list to get his opinion.
>
> Good timing, I happened to notice this earlier and was thinking about it.
>
> While I also wouldn't call it a bug, I agree it is a small/standalone
> change that shouldn't break anything.
>
> A quick scan of the dunfell tested kernels shows unchanged Makefile
> handling of the option, so there's little risk there.
>
> I'd say that it would be fine for backport.
>
Please backport the documentation patch as well if you do backport the
feature, see:
https://git.yoctoproject.org/cgit.cgi/yocto-docs/commit/documentation/ref-manual/variables.rst?id=b2d5bf48fe4e76446a38762839865176294a4a3c
Cheers,
Quentin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request to backport KERNEL_DTC_FLAGS to Dunfell
2021-06-04 15:25 ` Bruce Ashfield
2021-06-07 8:49 ` [OE-core] " Quentin Schulz
@ 2021-06-16 15:28 ` Mark Jonas
2021-06-16 15:53 ` Steve Sakoman
1 sibling, 1 reply; 6+ messages in thread
From: Mark Jonas @ 2021-06-16 15:28 UTC (permalink / raw)
To: Bruce Ashfield, Steve Sakoman
Cc: openembedded-core, ovidiu.panait, richard.purdie, toertel,
RUAN Tingquan (BT-FIR/ENG1-Zhu),
quentin.schulz
Hi Bruce and Steve,
> Von: Bruce Ashfield <bruce.ashfield@gmail.com>
> On Fri, Jun 4, 2021 at 11:09 AM Steve Sakoman <steve@sakoman.com> wrote:
> >
> > On Fri, Jun 4, 2021 at 2:45 AM Jonas Mark (BT-FIR/ENG1-Grb)
> > <Mark.Jonas@de.bosch.com> wrote:
> > >
> > > Hi,
> > >
> > > We are using DT overlays and have the need to pass the -@ parameter
> > > in DTC_FLAGS to Linux' make. The patch
> > >
> > > "kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags"
[cut out web links messed up by Outlook]
> > > makes that possible in a nice way. Would it be reasonable to request
> backporting of this patch to Dunfell?
> >
> > This is sort of in the grey area between feature and bug fix. It does
> > seem relatively safe, so I would consider taking the patch if there
> > are no objections from the community.
> >
> > Added Bruce to the cc list to get his opinion.
>
> Good timing, I happened to notice this earlier and was thinking about it.
>
> While I also wouldn't call it a bug, I agree it is a small/standalone change that
> shouldn't break anything.
>
> A quick scan of the dunfell tested kernels shows unchanged Makefile handling of
> the option, so there's little risk there.
>
> I'd say that it would be fine for backport.
Can I help with the backport in any way?
My colleague Tingquan gave it a try and the patch from Hardknott applies cleanly on Dunfell.
The documentation patch for Poky proposed by Quentin does not apply though. But it is just that ref-variables.rst was renamed to variables.rst.
>
> Bruce
>
> >
> > > We were also wondering what could be an alternative approach for getting
> this or a similar functionality. Patching a bbclass using a bbappend is not
> possible, is it?
> >
> > No, there is no equivalent of bbappend for classes.
> >
> > Other solutions are possible, but taking this patch would be the
> > cleanest solution to your problem. Let's see what others think before
> > we go there :-)
> >
> > Steve
Cheers,
Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Request to backport KERNEL_DTC_FLAGS to Dunfell
2021-06-16 15:28 ` Mark Jonas
@ 2021-06-16 15:53 ` Steve Sakoman
0 siblings, 0 replies; 6+ messages in thread
From: Steve Sakoman @ 2021-06-16 15:53 UTC (permalink / raw)
To: Jonas Mark (BT-FIR/ENG1-Grb)
Cc: Bruce Ashfield, openembedded-core, ovidiu.panait, richard.purdie,
toertel, RUAN Tingquan (BT-FIR/ENG1-Zhu),
quentin.schulz
On Wed, Jun 16, 2021 at 5:28 AM Jonas Mark (BT-FIR/ENG1-Grb)
<Mark.Jonas@de.bosch.com> wrote:
>
> Hi Bruce and Steve,
>
> > Von: Bruce Ashfield <bruce.ashfield@gmail.com>
>
> > On Fri, Jun 4, 2021 at 11:09 AM Steve Sakoman <steve@sakoman.com> wrote:
> > >
> > > On Fri, Jun 4, 2021 at 2:45 AM Jonas Mark (BT-FIR/ENG1-Grb)
> > > <Mark.Jonas@de.bosch.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > > We are using DT overlays and have the need to pass the -@ parameter
> > > > in DTC_FLAGS to Linux' make. The patch
> > > >
> > > > "kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags"
>
> [cut out web links messed up by Outlook]
>
> > > > makes that possible in a nice way. Would it be reasonable to request
> > backporting of this patch to Dunfell?
> > >
> > > This is sort of in the grey area between feature and bug fix. It does
> > > seem relatively safe, so I would consider taking the patch if there
> > > are no objections from the community.
> > >
> > > Added Bruce to the cc list to get his opinion.
> >
> > Good timing, I happened to notice this earlier and was thinking about it.
> >
> > While I also wouldn't call it a bug, I agree it is a small/standalone change that
> > shouldn't break anything.
> >
> > A quick scan of the dunfell tested kernels shows unchanged Makefile handling of
> > the option, so there's little risk there.
> >
> > I'd say that it would be fine for backport.
>
> Can I help with the backport in any way?
The reference patch is already in dunfell:
https://git.openembedded.org/openembedded-core/commit/?h=dunfell&id=2246b0d7a71c69eb2e89c55991d1387069895466
> My colleague Tingquan gave it a try and the patch from Hardknott applies cleanly on Dunfell.
>
> The documentation patch for Poky proposed by Quentin does not apply though. But it is just that ref-variables.rst was renamed to variables.rst.
Please see the documentation patch currently on the list for review:
https://lists.yoctoproject.org/g/docs/message/1469
Both should be in the 3.1.9 release coming up in the next week or so.
Steve
> > > > We were also wondering what could be an alternative approach for getting
> > this or a similar functionality. Patching a bbclass using a bbappend is not
> > possible, is it?
> > >
> > > No, there is no equivalent of bbappend for classes.
> > >
> > > Other solutions are possible, but taking this patch would be the
> > > cleanest solution to your problem. Let's see what others think before
> > > we go there :-)
> > >
> > > Steve
>
> Cheers,
> Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-06-16 15:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 12:45 Request to backport KERNEL_DTC_FLAGS to Dunfell Mark Jonas
2021-06-04 15:09 ` Steve Sakoman
2021-06-04 15:25 ` Bruce Ashfield
2021-06-07 8:49 ` [OE-core] " Quentin Schulz
2021-06-16 15:28 ` Mark Jonas
2021-06-16 15:53 ` Steve Sakoman
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.