Hi Emily,
Add KERNEL_FEATURES_append = " bsp.cfg" as shown below.
$ cat recipes-kernel/linux/linux-xlnx_%.bbappend
SRC_URI += "file://bsp.cfg \
"
KERNEL_FEATURES_append = " bsp.cfg"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
$ cat project-spec/meta-user/recipes-kernel/linux/linux-xlnx/bsp.cfg
CONFIG_UIO_PDRV_GENIRQ=y
CONFIG_UIO_DMEM_GENIRQ=y
$
Thanks,
Sandeep
From: [email protected] <[email protected]>
On Behalf Of Emily via lists.yoctoproject.org
Sent: Thursday, May 6, 2021 3:01 AM
To: [email protected]
Subject: [meta-xilinx] kernel fragments
Hi all -
With rel-2020.2 and yocto-manifests can I still apply kernel fragments in the
expected way? Namely by adding
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append_zynqmp += " \
file://add-for-pynq.cfg \
"
in linux-xlnx_%.bbappend where said file has CONFIG_UIO_PDRV_GENIRQ=m.
What I'm ultimately trying to do is get the uio_pdrv_genirq
https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-pynq/recipes-support/pynq-overlay/pynq-overlay_1.0.bb#L45
available as a kernel module, which requires CONFIG_UIO_PDRV_GENIRQ=m in the
kernel config, but I can't seem to make it show up in the final .config file
using the above method. Am I missing something?
Thanks!
Emily Smith
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4892):
https://lists.yoctoproject.org/g/meta-xilinx/message/4892
Mute This Topic: https://lists.yoctoproject.org/mt/82625997/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-