Hello ML members,

I used to include some drivers for a camera chip for RaspberryPi4 in Yocto 
dunfell.

Now I'm trying the same under Yicto Scarthgap but it doesn't work.


dunfell
---------
find tmp/work -name my_driver.ko
tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/lib/modules/5.4.72-v7l/extra/my_driver/my_driver.ko
tmp/work/raspberrypi4-poky-linux-gnueabi/hello-mod/1.0-r0/my_driver/my_driver.ko
tmp/work/raspberrypi4-poky-linux-gnueabi/hello-mod/1.0-r0/sysroot-destdir/lib/modules/5.4.72-v7l/extra/my_driver/my_driver.ko
tmp/work/raspberrypi4-poky-linux-gnueabi/hello-mod/1.0-r0/image/lib/modules/5.4.72-v7l/extra/my_driver/my_driver.ko
tmp/work/raspberrypi4-poky-linux-gnueabi/hello-mod/1.0-r0/package/lib/modules/5.4.72-v7l/extra/my_driver/my_driver.ko
tmp/work/raspberrypi4-poky-linux-gnueabi/hello-mod/1.0-r0/packages-split/kernel-module-vc-mipi-common-5.4.72-v7l/lib/modules/5.4.72-v7l/extra/my_driver/my_driver.ko

The kernel modules are compiled but they are never transferred or installed in 
the image

scarthgap
------------
find tmp/work -name my_driver.ko
tmp/work/raspberrypi4-poky-linux-gnueabi/hello-mod/1.0/my_driver/my_driver.ko


Under dunfell I used an expanded core-image-minimal for my system:
------------
cat meta/recipes-core/images/core-image-minimal.bb

SUMMARY = "Small image with own kernel module"

IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_INSTALL += "kernel-modules v4l-utils hello-mod hello autoconf"
IMAGE_INSTALL += "libgpiod"

KERNEL_MODULE_AUTOLOAD += "hello"

...
------------

I tried different changes on my conf/local.conf without any changes.

I built with:
bitbake core-image-minimal -c cleanall
bitbake core-image-minimal

But nothing changed.




PRIMES GmbH    Max-Planck-Str. 2    64319 Pfungstadt   Germany
T +49 6157 9878 0
CEO: Dr.-Ing. Reinhard Kramer, Dr. rer. nat. Thomas Umschlag
Local Court: Darmstadt HRB 5134
g.kautzm...@primes.de<mailto:g.kautzm...@primes.de>    
www.primes.de<blocked::http://www.primes.de/>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63512): https://lists.yoctoproject.org/g/yocto/message/63512
Mute This Topic: https://lists.yoctoproject.org/mt/107251140/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to