Yocto 无法在最终映像中添加内核模块

Yocto 无法在最终映像中添加内核模块,yocto,meta-raspberrypi,Yocto,Meta Raspberrypi,我正在尝试将内核模块添加到我的poky映像中。我用的是poky warrior。 我已经创建了一个名为0001-My\u driver的修补程序文件。修补程序此修补程序包含对 drivers/input/touchscreen/Kconfig drivers/input/touchscreen/Makefile 以及对 arch/arm/boot/dts/overlays/mytouchscreen-overlay.dts drivers/input/touchscreen/mytouchsc

我正在尝试将内核模块添加到我的poky映像中。我用的是poky warrior。 我已经创建了一个名为
0001-My\u driver的修补程序文件。修补程序
此修补程序包含对

drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
以及对

arch/arm/boot/dts/overlays/mytouchscreen-overlay.dts
drivers/input/touchscreen/mytouchscreen.h
drivers/input/touchscreen/mytouchscreen.c
之后,我将该补丁添加到
linux-raspberypi_4.19.bb
文件中 通过做

SRC_URI = " \ file://0001-My_driver.patch \"
我的Local.conf文件已安装了
IMAGE\u append=“kernel modules”
。 之后,我运行命令
bitbake-core-image

在SD卡中刻录此图像后,我看不到
/lib/modules/4.19.58/kernel/drivers/input/touchscreen/
下的模块。
我遗漏了什么吗?

有一个打字错误
IMAGE\u INSTALL\u append
而不是
IMAGE\u INSTALLS\u append
。然后,您是否在内核选项中激活了触摸屏?(即
zgrep TOUCHSCREEN/proc/config.gz
)最后,您是否选择了
mytouchscreen overlay.dts
作为当前覆盖?很抱歉输入错误。我会把它删掉。但是我正在我的config.txt中添加覆盖文件。激活它意味着创建一个CFG文件并添加行
CONFIG\u TOUCHSCREEN\u MODULE\u NAME=m
。所以我想我错过了比赛part@thesillywhat根据Linux系统的不同,kernel.config可能仅作为内核模块提供。在读取目标上的配置之前,必须首先使用命令
modprobe configs