Thread 中讨论的其他器件:OMAPL138
工具与软件:
简单的问题: SDK Yocto 构建是否支持 KVM? 所有配方都不包括 KVM 模块。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具与软件:
简单的问题: SDK Yocto 构建是否支持 KVM? 所有配方都不包括 KVM 模块。
您好、Ian、
您可以尝试可在 OpenEmbedded Layer 索引中搜索的 KVM 方法。 我不能保证一个人会工作,但假设它应该工作。
您可以尝试: https://layers.openembedded.org/layerindex/recipe/52930/
您只需将图层添加到 bblayers.conf 并编辑 IMAGE_INSTALL 变量即可。
此致!
Jared
您好、Ian、
您是否可以将 qemu 软件包添加到映像: https://layers.openembedded.org/layerindex/recipe/68652/
此致!
Jared
再次感谢 Jared、
当前的 SDK 引入了 qemu_8.2.2、这是我在构建中包含的内容。 但是、 使用-enable-KVM 运行 qemu-system-Aarch64失败
无法访问 KVM 内核模块:没有此类文件或目录
可能我的食谱或配置中缺少一些东西? 我将 qemu 添加到 tisdk-tinlinux-image.bb 食谱中:
$ cat ../sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image-qemu.bb
SUMMARY ="Arago TI SDK 精简 Linux 映像"
Description ="最小可引导映像和容器、以开始下一个映像\
复杂的系统启动。"
需要 arago-image.inc
#允许用户在感兴趣的附加软件包上进行定位。
arago_thin_image_extra_install?=""
#我们假设某些显示管理器安装有 OpenGL
systemd_default_target ="${@bb.utils.contains ('DISTRO_features'、'OpenGL'、'graphic.target'、'multi-user.target'、d)}"
IMAGE_INSTALL +="\
packagegroup-arago-base \
packagegroup-arago-console \
${@bb.utils.contains ('DISTRO_features'、'OpenGL'、'packagegroup-arago-tisdk-graphics'、''、d)}\
packagegroup-arago-tisdk-connectivity \
packagegroup-arago-tisdk-crypto \
Docker \
QEMU \
${Arago_thin_image_extra_install}\
"
导出 image_BASENAME ="tisdk-tinlinux-image-qemu${Arago_image_suffix}"
#禁用 ubi/ubifs、因为文件系统需要的空间比实际要大
#在硬件上可用。
Image_FSTYPES:remove:omapl138 ="ubifs ubi"
$ diff ../sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image-qemu.bb ../sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb
21d20
< qemu \
25c24
< export IMAGE_BASENAME ="tisdk-tinlinux-image-qemu${Arago_image_suffix}"
——
>导出 image_BASENAME ="tisdk-tinlinux-image${arago_image_suffix}"
Ian。