On Thu, Apr 15, 2021 at 1:27 PM Sakib Sajal <[email protected]> wrote:
>
>
> On 2021-04-06 7:36 p.m., Bruce Ashfield wrote:
> > [Please note: This e-mail is from an EXTERNAL e-mail address]
> >
> > On Mon, Apr 5, 2021 at 3:08 PM Sakib Sajal <[email protected]> 
> > wrote:
> >> mockup.scc is not supported in 5.4 kernel
> >>
> > Can you elaborate ? Are you seeing build issues ? Something else ?
> >
> > The Kconfig options are in our 5.4.109 kernel tree, so you must mean
> > something more than that.
> >
> > Bruce
>
> mockup kernel module was added for the purpose of testing libgpiod
> (v1.6.3 on master meta-oe).
>
> The minimum kernel version required for testing is v5.5.
>
> from libgpiod-1.6.3/tests/gpiod-test.c:
>
> #define MIN_KERNEL_MAJOR        5
> #define MIN_KERNEL_MINOR        5
>

..  but yet the config options exist. Which is the point of a
fragment.  The compatibility of user space -> version is a different
question.

We'll just leave this as-is, since the options are in 5.4

Bruce

>
> Sakib
>
>
> >> Signed-off-by: Sakib Sajal <[email protected]>
> >> ---
> >>   meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb | 1 -
> >>   meta/recipes-kernel/linux/linux-yocto_5.4.bb    | 1 -
> >>   2 files changed, 2 deletions(-)
> >>
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb 
> >> b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> >> index 2ffc8ed542..7629229601 100644
> >> --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> >> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> >> @@ -42,4 +42,3 @@ KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc 
> >> features/drm-bochs/drm-bochs.scc
> >>   KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
> >>   KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
> >>   KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", 
> >> "ptest", " features/scsi/scsi-debug.scc", "", d)}"
> >> -KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", 
> >> "ptest", " features/gpio/mockup.scc", "", d)}"
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto_5.4.bb 
> >> b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> >> index 245c3d574b..04e64c028b 100644
> >> --- a/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> >> +++ b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> >> @@ -52,4 +52,3 @@ KERNEL_FEATURES_append_qemux86=" cfg/sound.scc 
> >> cfg/paravirt_kvm.scc"
> >>   KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
> >>   KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", 
> >> " cfg/x32.scc", "", d)}"
> >>   KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", 
> >> "ptest", " features/scsi/scsi-debug.scc", "", d)}"
> >> -KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", 
> >> "ptest", " features/gpio/mockup.scc", "", d)}"
> >> --
> >> 2.25.1
> >>
> >>
> >> 
> >>
> >
> > --
> > - Thou shalt not follow the NULL pointer, for chaos and madness await
> > thee at its end
> > - "Use the force Harry" - Gandalf, Star Trek II



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#150481): 
https://lists.openembedded.org/g/openembedded-core/message/150481
Mute This Topic: https://lists.openembedded.org/mt/81872492/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to