[OE-core] [PATCH][V2] sdkext: use simpler kernel module for devtool test
Michael Halstead
mhalstead at linuxfoundation.org
Fri Sep 6 00:10:17 UTC 2019
On 9/5/19 2:27 PM, richard.purdie at linuxfoundation.org wrote:
> On Thu, 2019-09-05 at 13:54 -0400, Mark Asselstine wrote:
>> On Thursday, August 22, 2019 11:56:16 A.M. EDT Mark Asselstine wrote:
>>> The current devtool test for the building of an out-of-tree kernel
>>> module uses something which requires several "high order" kconfigs
>>> to
>>> be set. This results in the test failing, not for expected reasons,
>>> but rather because it depends on specific kernel configuration.
>>>
>>> You will get error messages such as
>>>
>>> ERROR: "video_ioctl2"
>>>
>>> [.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-
>>> driver/v4l2loopback.k
>>> o] undefined!
>>> ERROR: "video_unregister_device"
>>>
>>> [.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-
>>> driver/v4l2loopback.k
>>> o] undefined!
>>>
>>> Using a simpler hello-world kernel module example will only require
>>> that CONFIG_MODULE is enabled, thus avoiding a false positive.
>>>
>>> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
>>> ---
>>>
>>> **V2**
>>> - also updated the CROPS manual test json file
>>> (I have no idea how to run this so untested but this is a
>>> straight
>>> substition)
>>> - continue to use github until we can move the sample to somewhere
>>> like git.yoctoproject.org
>> Richard, are you thinking we need to figure out the
>> git.yoctoproject.org repo
>> before we can move ahead with merging this?
> I would like to fix that, yes. I could ask Michael for help but I do
> have access to sort it myself too.
>
> I'm also trying to sort out a few other issues before -next can merge.
>
> Since I'm failing to get to it,
>
> Michael,
>
> Could you clone:
>
> https://github.com/masselstine/kernel-module-hello-world.git
>
> onto git.yp.org as a new repo and give write access to it for Mark,
> myself, Bruce and Ross please?
This repo is ready at
git at push.yoctoproject.org:kernel-module-hello-world for the four of you.
It is available read-only for anyone at,
git://git.yoctoproject.org/kernel-module-hello-world
and
https://git.yoctoproject.org/git/pokykernel-module-hello-world
>
> Cheers,
>
> Richard
>
>
>
--
Michael Halstead
Linux Foundation / SysAdmin
More information about the Openembedded-core
mailing list