All of lore.kernel.org
 help / color / mirror / Atom feed
* pciutils doesn't install setpci
@ 2014-08-20  9:29 Vigneshwaren Sankaran
  2014-08-21  6:41 ` zhenhua.luo
  0 siblings, 1 reply; 5+ messages in thread
From: Vigneshwaren Sankaran @ 2014-08-20  9:29 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

I am using yocto sdk 1.4 (for a T420 rev 1 board). I checked the pciutils
package. The version of lspci installed, seem to be missing a lot of
options (only -mk is available). Do I need any kernel config to enable all
other options.

Also the package seems to build the setpci utility but is not included
within the distribution.
The do_install() function has the lines

                 install -d ${D}${bindir}
                 ln -s ../sbin/lspci ${D}${bindir}/lspci

But setpci alone isnt copied.

 How do I enable this?

Thanks ion advance.

[-- Attachment #2: Type: text/html, Size: 733 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pciutils doesn't install setpci
  2014-08-20  9:29 pciutils doesn't install setpci Vigneshwaren Sankaran
@ 2014-08-21  6:41 ` zhenhua.luo
  2014-08-21  9:25   ` Vigneshwaren Sankaran
  0 siblings, 1 reply; 5+ messages in thread
From: zhenhua.luo @ 2014-08-21  6:41 UTC (permalink / raw)
  To: Vigneshwaren Sankaran, meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

Please see my inline reply.


Best Regards,

Zhenhua

From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Vigneshwaren Sankaran
Sent: Wednesday, August 20, 2014 5:30 PM
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] pciutils doesn't install setpci

I am using yocto sdk 1.4 (for a T420 rev 1 board). I checked the pciutils package. The version of lspci installed, seem to be missing a lot of options (only -mk is available). Do I need any kernel config to enable all other options.
[Luo Zhenhua-B19537] pciutils is the build dependency of udev, so it is built, but it is not packaged in rootfs by default, the lspci utility with limited parameters is provided by busybox.

Also the package seems to build the setpci utility but is not included within the distribution.
The do_install() function has the lines

                 install -d ${D}${bindir}
                 ln -s ../sbin/lspci ${D}${bindir}/lspci

But setpci alone isnt copied.

 How do I enable this?
[Luo Zhenhua-B19537] Add following line in local.conf to add pciutils in rootfs.
              IMAGE_INSTALL_append = “ pciutils”

Thanks ion advance.

[-- Attachment #2: Type: text/html, Size: 5972 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pciutils doesn't install setpci
  2014-08-21  6:41 ` zhenhua.luo
@ 2014-08-21  9:25   ` Vigneshwaren Sankaran
  2014-08-21  9:43     ` zhenhua.luo
  0 siblings, 1 reply; 5+ messages in thread
From: Vigneshwaren Sankaran @ 2014-08-21  9:25 UTC (permalink / raw)
  To: zhenhua.luo; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1582 bytes --]

Thanks, works perfectly.
Is there a command to check what is being exported in the rootfs?


On Thu, Aug 21, 2014 at 12:11 PM, zhenhua.luo@freescale.com <
zhenhua.luo@freescale.com> wrote:

>  Please see my inline reply.
>
>
>
>
>
> Best Regards,
>
>
>
> Zhenhua
>
>
>
> *From:* meta-freescale-bounces@yoctoproject.org [mailto:
> meta-freescale-bounces@yoctoproject.org] *On Behalf Of *Vigneshwaren
> Sankaran
> *Sent:* Wednesday, August 20, 2014 5:30 PM
> *To:* meta-freescale@yoctoproject.org
> *Subject:* [meta-freescale] pciutils doesn't install setpci
>
>
>
> I am using yocto sdk 1.4 (for a T420 rev 1 board). I checked the pciutils
> package. The version of lspci installed, seem to be missing a lot of
> options (only -mk is available). Do I need any kernel config to enable all
> other options.
>
> *[Luo Zhenhua-B19537] pciutils is the build dependency of udev, so it is
> built, but it is not packaged in rootfs by default, the lspci utility with
> limited parameters is provided by busybox. *
>
>
>
> Also the package seems to build the setpci utility but is not included
> within the distribution.
>
> The do_install() function has the lines
>
>
>
>                  install -d ${D}${bindir}
>
>                  ln -s ../sbin/lspci ${D}${bindir}/lspci
>
>
>
> But setpci alone isnt copied.
>
>
>
>  How do I enable this?
>
> *[Luo Zhenhua-B19537] Add following line in local.conf to add pciutils in
> rootfs.*
>
> *              IMAGE_INSTALL_append = “ pciutils”*
>
>
>
> Thanks ion advance.
>

[-- Attachment #2: Type: text/html, Size: 5023 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pciutils doesn't install setpci
  2014-08-21  9:25   ` Vigneshwaren Sankaran
@ 2014-08-21  9:43     ` zhenhua.luo
  2014-08-21  9:47       ` Vigneshwaren Sankaran
  0 siblings, 1 reply; 5+ messages in thread
From: zhenhua.luo @ 2014-08-21  9:43 UTC (permalink / raw)
  To: Vigneshwaren Sankaran; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]

Check the installed packages list: tmp/work/<machine>-linux/<rootfs-image>/*/installed_pkgs.txt
Check the content: tmp/work/<machine>-linux/<rootfs-image>/*/rootfs/

From: Vigneshwaren Sankaran [mailto:vigneshwaren.sankaran78@gmail.com]
Sent: Thursday, August 21, 2014 5:25 PM
To: Luo Zhenhua-B19537
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] pciutils doesn't install setpci

Thanks, works perfectly.
Is there a command to check what is being exported in the rootfs?

On Thu, Aug 21, 2014 at 12:11 PM, zhenhua.luo@freescale.com<mailto:zhenhua.luo@freescale.com> <zhenhua.luo@freescale.com<mailto:zhenhua.luo@freescale.com>> wrote:
Please see my inline reply.


Best Regards,

Zhenhua

From: meta-freescale-bounces@yoctoproject.org<mailto:meta-freescale-bounces@yoctoproject.org> [mailto:meta-freescale-bounces@yoctoproject.org<mailto:meta-freescale-bounces@yoctoproject.org>] On Behalf Of Vigneshwaren Sankaran
Sent: Wednesday, August 20, 2014 5:30 PM
To: meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>
Subject: [meta-freescale] pciutils doesn't install setpci

I am using yocto sdk 1.4 (for a T420 rev 1 board). I checked the pciutils package. The version of lspci installed, seem to be missing a lot of options (only -mk is available). Do I need any kernel config to enable all other options.
[Luo Zhenhua-B19537] pciutils is the build dependency of udev, so it is built, but it is not packaged in rootfs by default, the lspci utility with limited parameters is provided by busybox.

Also the package seems to build the setpci utility but is not included within the distribution.
The do_install() function has the lines

                 install -d ${D}${bindir}
                 ln -s ../sbin/lspci ${D}${bindir}/lspci

But setpci alone isnt copied.

 How do I enable this?
[Luo Zhenhua-B19537] Add following line in local.conf to add pciutils in rootfs.
              IMAGE_INSTALL_append = “ pciutils”

Thanks ion advance.


[-- Attachment #2: Type: text/html, Size: 9975 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pciutils doesn't install setpci
  2014-08-21  9:43     ` zhenhua.luo
@ 2014-08-21  9:47       ` Vigneshwaren Sankaran
  0 siblings, 0 replies; 5+ messages in thread
From: Vigneshwaren Sankaran @ 2014-08-21  9:47 UTC (permalink / raw)
  To: zhenhua.luo; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2184 bytes --]

Sure, awesome, thanks.


On Thu, Aug 21, 2014 at 3:13 PM, zhenhua.luo@freescale.com <
zhenhua.luo@freescale.com> wrote:

>  Check the installed packages list:
> tmp/work/<machine>-linux/<rootfs-image>/*/installed_pkgs.txt
>
> Check the content: tmp/work/<machine>-linux/<rootfs-image>/*/rootfs/
>
>
>
> *From:* Vigneshwaren Sankaran [mailto:vigneshwaren.sankaran78@gmail.com]
> *Sent:* Thursday, August 21, 2014 5:25 PM
> *To:* Luo Zhenhua-B19537
> *Cc:* meta-freescale@yoctoproject.org
> *Subject:* Re: [meta-freescale] pciutils doesn't install setpci
>
>
>
> Thanks, works perfectly.
>
> Is there a command to check what is being exported in the rootfs?
>
>
>
> On Thu, Aug 21, 2014 at 12:11 PM, zhenhua.luo@freescale.com <
> zhenhua.luo@freescale.com> wrote:
>
> Please see my inline reply.
>
>
>
>
>
> Best Regards,
>
>
>
> Zhenhua
>
>
>
> *From:* meta-freescale-bounces@yoctoproject.org [mailto:
> meta-freescale-bounces@yoctoproject.org] *On Behalf Of *Vigneshwaren
> Sankaran
> *Sent:* Wednesday, August 20, 2014 5:30 PM
> *To:* meta-freescale@yoctoproject.org
> *Subject:* [meta-freescale] pciutils doesn't install setpci
>
>
>
> I am using yocto sdk 1.4 (for a T420 rev 1 board). I checked the pciutils
> package. The version of lspci installed, seem to be missing a lot of
> options (only -mk is available). Do I need any kernel config to enable all
> other options.
>
> *[Luo Zhenhua-B19537] pciutils is the build dependency of udev, so it is
> built, but it is not packaged in rootfs by default, the lspci utility with
> limited parameters is provided by busybox. *
>
>
>
> Also the package seems to build the setpci utility but is not included
> within the distribution.
>
> The do_install() function has the lines
>
>
>
>                  install -d ${D}${bindir}
>
>                  ln -s ../sbin/lspci ${D}${bindir}/lspci
>
>
>
> But setpci alone isnt copied.
>
>
>
>  How do I enable this?
>
> *[Luo Zhenhua-B19537] Add following line in local.conf to add pciutils in
> rootfs.*
>
> *              IMAGE_INSTALL_append = “ pciutils”*
>
>
>
> Thanks ion advance.
>
>
>

[-- Attachment #2: Type: text/html, Size: 7034 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-21  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20  9:29 pciutils doesn't install setpci Vigneshwaren Sankaran
2014-08-21  6:41 ` zhenhua.luo
2014-08-21  9:25   ` Vigneshwaren Sankaran
2014-08-21  9:43     ` zhenhua.luo
2014-08-21  9:47       ` Vigneshwaren Sankaran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.