如何在 yocto AGL 中添加 pciutils 包? [英] How to add pciutils package in yocto AGL?

查看:53
本文介绍了如何在 yocto AGL 中添加 pciutils 包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为 RCar-salvator-xs 板构建了 Yocto AGL(6.0.0) 映像并刷新了它的超闪存.现在,我想进行 PCIe 相关调查,为此我想使用 lspci 命令.但是,在以 root 身份登录闪烁的 AGL 映像并执行 lspci 命令后,它会给出 command not found.

I have built Yocto AGL(6.0.0) image for RCar-salvator-xs board and flashed its hyperflash memory. Now, I want to perform PCIe related investigation, for that I want to use lspci command. But, After ligging in as a root in flashed AGL image and executing lspci command it gives command not found.

如何在 AGL 源代码中包含 pciutils 并构建它以使用 lspci 命令.

How can I include pciutils in AGL source code and build it to use lspci command.

我是 Yocto 和 AGL 的新手.

I am new to Yocto and AGL.

任何帮助将不胜感激.

推荐答案

您可以添加

IMAGE_INSTALL += "pciutils"

IMAGE_INSTALL_append = "pciutils"

conf/local.conf 或您的图像配方中.

in conf/local.conf or in your image recipe.

这篇关于如何在 yocto AGL 中添加 pciutils 包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆