From: Andrei Gherzan <andrei@gherzan.ro>
To: "Petter Mabäcker" <petter@technux.se>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH] linux-raspberrypi-base.bbclass: remove version hack
Date: Thu, 29 Dec 2016 18:32:37 +0000 [thread overview]
Message-ID: <20161229183237.GF26059@carbonA> (raw)
In-Reply-To: <480c2bae1103c9de6d2aca4368022175@technux.se>
[-- Attachment #1: Type: text/plain, Size: 2799 bytes --]
On Thu, Dec 15, 2016 at 06:11:33AM +0100, Petter Mabäcker wrote:
>
>
> 2016-12-13 06:39 skrev Petter Mabäcker:
>
> > 2016-12-13 00:55 skrev
> Andreas Müller:
> >
> >> On Mon, Dec 12, 2016 at 11:33 PM, Petter Mabäcker
> <petter@technux.se> wrote:
> >>
> >>> 2016-12-12 06:21 skrev Khem Raj: On
> Thu, Dec 8, 2016 at 2:40 AM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote: * no more required (version > 3.17
> | > 4.3.x | > 4.4.5) * causes error with rt kernel I think this is ok to
> apply now. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> --- classes/linux-raspberrypi-base.bbclass | 15 --------------- 1 file
> changed, 15 deletions(-) diff --git
> a/classes/linux-raspberrypi-base.bbclass
> b/classes/linux-raspberrypi-base.bbclass index 3a6e33d..dc2330a 100644
> --- a/classes/linux-raspberrypi-base.bbclass +++
> b/classes/linux-raspberrypi-base.bbclass @@ -14,21 +14,6 @@ def
> get_dts(d, ver=None): from the kernel staging ''' ver =
> get_kernelversion_file(staging_dir) - if ver is not None: - min_ver =
> ver.split('.', 3) - else: - return dts - - # Always turn off device tree
> support for kernel's < 3.18 - try: - if int(min_ver[0]) >= 4: - if
> (int(min_ver[1]) < 4) or (int(min_ver[1]) == 4 and int(min_ver[2]) < 6):
> - dts = ' '.join([(re.sub(r'(.*).dtbo$', r'1-overlay.dtb', x)) for x in
> dts.split()]) - elif int(min_ver[1]) < 18: - dts = "" - except
> IndexError: - min_ver = None - return dts -- 2.7.4 --
> _______________________________________________ yocto mailing list
> yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
> [1]
> >>
> >>> I think you should go even one step further and revert the
> entire commit merging this obsolete functionality: "git revert
> 4a4373c02d3d8355a2e5faa10af61450e5b093d8" .
> >> BR Petter
> >>
> >> To be
> honest: I have forked meta-raspberrypi and don't use it any
> >> more.
> Just wanted to be a good boy. So maybe you want to send the
> >> revert
> here?
> >>
> >> Andreas
> >>
> >>>
> >
> > Oh I see. Sure, I can send something
> up.
> >
> > Petter Mabäcker
> >
> > Technux <petter@technux.se>
> >
> www.technux.se
>
> This wasn't as easy that I first thought. I totally
> forgot about that Device Tree Overlays are assumed to be suffixed by
> '-overlay.dtb' (4.1.x) or by '.dtbo' (4.4.9+). So it's not possible to
> just revert the commit and handle some simple conflicts..
>
> Andrei: I
> think you can go ahead and merge this patch when fully verified. Then I
> instead will see if I can do some cleanup in a later step. But at least
> this patch simplifies things and solves the rt-issue.
>
> BR Petter
>
I agree. Let's merge it and continue to fix it afterwards. Merged to
master. Thanks.
--
Andrei Gherzan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]
prev parent reply other threads:[~2016-12-29 18:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 10:40 [meta-raspberrypi][PATCH] linux-raspberrypi-base.bbclass: remove version hack Andreas Müller
2016-12-12 5:21 ` Khem Raj
2016-12-12 22:33 ` Petter Mabäcker
2016-12-12 23:55 ` Andreas Müller
2016-12-13 5:39 ` Petter Mabäcker
2016-12-15 5:11 ` Petter Mabäcker
2016-12-29 18:32 ` Andrei Gherzan [this message]
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=20161229183237.GF26059@carbonA \
--to=andrei@gherzan.ro \
--cc=petter@technux.se \
--cc=yocto@yoctoproject.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.