* Building uio-pci-generic into core-image-minimal
@ 2013-02-12 23:47 David Mulder
2013-02-13 1:43 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: David Mulder @ 2013-02-12 23:47 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
I need to use the uio-pci-generic kernel module, but I don't know how to make it available in my image.
Yocto 1.3, core-image-minimal, did 'bitbake linux-yocto -c menuconfig' and added "Generic driver for PCI 2.3". It took a while to bitbake core-image-minimal after that change, and I saw uio-pci-generic.o, so I assume it rebuilt the kernel and built the module, but I don't see any traces of the module in my image ('find / -name *uio*', /sys/class/uio or /sys/bus/pci/drivers/uio-pci-generic).
I added uio and uio-pci-generic to a recipe's RDEPENDS, but it can't find a provider. I added them to IMAGE_FEATURES in local.conf, but that didn't seem to do anything. I set 'module_autoload_uio = "uio"' in local.conf, which also seemed to do nothing. Same for setting it in linux-yocto_3.4.bbappend (some patches indicate that it used to be set in that file). I don't know what else to try.
What might I be missing? Where could I look to see if that module has been built and copied to my image?
Thanks!
[-- Attachment #2: Type: text/html, Size: 3450 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Building uio-pci-generic into core-image-minimal
2013-02-12 23:47 Building uio-pci-generic into core-image-minimal David Mulder
@ 2013-02-13 1:43 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2013-02-13 1:43 UTC (permalink / raw)
To: David Mulder; +Cc: yocto@yoctoproject.org
On 13-02-12 6:47 PM, David Mulder wrote:
> I need to use the uio-pci-generic kernel module, but I don’t know how to
> make it available in my image.
>
> Yocto 1.3, core-image-minimal, did ‘bitbake linux-yocto –c menuconfig’
> and added “Generic driver for PCI 2.3”. It took a while to bitbake
> core-image-minimal after that change, and I saw uio-pci-generic.o, so I
> assume it rebuilt the kernel and built the module, but I don’t see any
> traces of the module in my image (‘find / -name *uio*’, /sys/class/uio
> or /sys/bus/pci/drivers/uio-pci-generic).
>
> I added uio and uio-pci-generic to a recipe’s RDEPENDS, but it can’t
> find a provider. I added them to IMAGE_FEATURES in local.conf, but that
You need to add the modules to IMAGE_INSTALL via their individual package
name, or if you just want all modules, use the virtual package
"kernel-modules"
You can also get it in the image via MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS.
Cheers,
Bruce
> didn’t seem to do anything. I set ‘module_autoload_uio = “uio”’ in
> local.conf, which also seemed to do nothing. Same for setting it in
> linux-yocto_3.4.bbappend (some patches indicate that it used to be set
> in that file). I don’t know what else to try.
>
> What might I be missing? Where could I look to see if that module has
> been built and copied to my image?
>
> Thanks!
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building uio-pci-generic into core-image-minimal
@ 2013-03-19 23:35 David Mulder
2013-03-21 10:25 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: David Mulder @ 2013-03-19 23:35 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto@yoctoproject.org
> From: Paul Eggleton [mailto:paul.eggleton@linux.intel.com]
> Sent: Thursday, February 21, 2013 11:53 AM
> I've now simply cherry-picked the two patches that came before this plus my
> patch from master on top of the 1.3 release tag, and tested the result;
> patches are attached.
Hi, Paul.
Just a note that this problem ('menuconfig', 'bitbake core-image-minimal' (hddimg has correct kernel), 'bitbake core-image-minimal' (hddimage has oldest-built kernel)) seems to be in 1.4 M4, which I just tried today, even though you checked in patches to fix it a month ago.
I don't need a fix for it, but I thought you might want to know (since I always want to know when my stuff doesn't work :-)
Thanks!
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Building uio-pci-generic into core-image-minimal
2013-03-19 23:35 David Mulder
@ 2013-03-21 10:25 ` Paul Eggleton
0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2013-03-21 10:25 UTC (permalink / raw)
To: David Mulder; +Cc: yocto
On Tuesday 19 March 2013 23:35:57 David Mulder wrote:
> > From: Paul Eggleton [mailto:paul.eggleton@linux.intel.com]
> > Sent: Thursday, February 21, 2013 11:53 AM
> > I've now simply cherry-picked the two patches that came before this plus
> > my
> > patch from master on top of the 1.3 release tag, and tested the result;
> > patches are attached.
>
> Hi, Paul.
>
> Just a note that this problem ('menuconfig', 'bitbake core-image-minimal'
> (hddimg has correct kernel), 'bitbake core-image-minimal' (hddimage has
> oldest-built kernel)) seems to be in 1.4 M4, which I just tried today, even
> though you checked in patches to fix it a month ago.
I was puzzling over this for a bit until I checked - FYI, my patch (poky
revision 406cb9920fad57a23d2139f657c41598eb5087bf) did not make it into
1.4_M4. It is in master and will be in M5 and of course the final 1.4 release.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-21 10:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12 23:47 Building uio-pci-generic into core-image-minimal David Mulder
2013-02-13 1:43 ` Bruce Ashfield
-- strict thread matches above, loose matches on Subject: below --
2013-03-19 23:35 David Mulder
2013-03-21 10:25 ` Paul Eggleton
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.