[yocto] Where is the emgd.ko module?

autif khan autif.mlist at gmail.com
Tue Dec 13 08:37:00 PST 2011


I think that I did. Included is an excerpt that says that I need not
do anything except bitbake core image sato when MACHINE="crownbay".

As instructed, I followed the steps in section one (Building the
meta-crownbay BSP layer) and ignored everything in section two
(Special notes for building the meta-crownbay BSP layer) which
includes instructions to patch a "crownbay-noemgd" with the Intel
driver.

Included below is the excerpt from the README. Is there a section that
I am overlooking?

Thanks

Autif

The meta-crownbay layer makes use of the proprietary Intel EMGD
userspace drivers when building the "crownbay" machine (but not when
building the "crownbay-noemgd" machine).  If you got the BSP from the
'BSP Downloads' section of the Yocto website, the EMGD binaries needed
to perform the build will already be present in the BSP, located in
the meta-intel/common/recipes-graphics/xorg-xserver/emgd-driver-bin-1.8
directory, and you can ignore the rest of this section.


On Tue, Dec 13, 2011 at 11:28 AM, Jim Abernathy <jfabernathy at gmail.com> wrote:
> On Tue, 2011-12-13 at 11:13 -0500, autif khan wrote:
>> I built the "crownbay" (not crownbay-noemgd) image as outlined in the
>> E660 development kit (link
>> http://www.yoctoproject.org/download/bsp/intel-atom-processor-e660-intel-platform-controller-hub-eg20t-development-kit-1)
>>
>> I used poky-edison-6.0.tar.bz2 and crownbay-edison-6.0.0.tar.bz2 and
>> followed the instructions (short version - extract, move, add
>> meta-intel/meta-crownbay to bblayers.conf, add MACHINE="crownbay" to
>> local.conf, bitbake core-image-sato)
>>
>> The result was the expected set of images in tmp/deploy/images
>>
>> I loop mounted the core-image-sato-crownbay.ext3 and tried to find
>> emgd.ko in the file system - I could not find it. (find output
>> attached - notice that there is no emgd.ko)
>>
>> Here is the kicker - crownbay-edison-6.0.0.tar.bz2 has a directory
>> called "binary" which contains core-image-sato-crownbay.hddimg, which
>> contains rootfs.img, which I also loop mounted and was able to find
>> the emgd.ko (however this image does not work with my hardware, I am
>> not sure why). Find output for this is also included below.
>>
>> I very much doubt that it is included as a part of the kernel, I
>> looked at the kernel's .config (in
>> tmp/work/crownbay-poky-linux/linux-yocto-3.0.4+git1+d05450e4aef02c1b7137398ab3a9f8f96da74f52_1+2247da9131ea7e46ed4766a69bb1353dba22f873-r2/linux-crownbay-standard-build)
>> and could not find emgd there either.
>>
>> So, my questions is if I am doing something wrong? Do I need to do
>> something to get the emgd.ko to build? I am using the latest release
>> (6.0 "Edison" (released on October 17th, 2011)). Please advise.
>>
> Check out the README file in the meta-crownbay directory. There are
> instructions on integrating the EMGD driver files into the build.
>
> Jim A
>
>> Thanks
>>
>> Autif
>>
>> autif at xu:~/data/dev/yocto/emgd/tmp/deploy/images/1$ sudo find . | grep emgd
>> ./usr/lib/libemgdsrv_um.so.1.5.15.3226
>> ./usr/lib/libemgdsrv_um.so
>> ./usr/lib/libemgdglslcompiler.so.1.5.15.3226
>> ./usr/lib/libemgdPVR2D_DRIWSEGL.so
>> ./usr/lib/xorg/modules/drivers/emgd_drv.so
>> ./usr/lib/libemgdPVR2D_DRIWSEGL.so.1.5.15.3226
>> ./usr/lib/libemgdsrv_init.so
>> ./usr/lib/libemgdsrv_init.so.1.5.15.3226
>> ./usr/lib/libemgdglslcompiler.so
>> ./usr/lib/dri/emgd_dri.so
>> autif at xu:~/data/dev/yocto/emgd/tmp/deploy/images/1$
>>
>> autif at xu:~/data/dev/yocto/poky-edison-6.0/meta-intel/meta-crownbay/binary/2$
>> sudo find . | grep emgd
>> ./usr/lib/libemgdsrv_um.so
>> ./usr/lib/dri/emgd_dri.so
>> ./usr/lib/libemgdsrv_init.so.1.5.15.3226
>> ./usr/lib/libemgdsrv_init.so
>> ./usr/lib/xorg/modules/drivers/emgd_drv.so
>> ./usr/lib/libemgdPVR2D_DRIWSEGL.so.1.5.15.3226
>> ./usr/lib/libemgdglslcompiler.so.1.5.15.3226
>> ./usr/lib/libemgdsrv_um.so.1.5.15.3226
>> ./usr/lib/libemgdPVR2D_DRIWSEGL.so
>> ./usr/lib/libemgdglslcompiler.so
>> ./lib/modules/3.0.4-yocto-standard+/kernel/drivers/gpu/drm/emgd
>> ./lib/modules/3.0.4-yocto-standard+/kernel/drivers/gpu/drm/emgd/emgd.ko
>> ./etc/rpm-postinsts/kernel-module-emgd.sh.done
>> autif at xu:~/data/dev/yocto/poky-edison-6.0/meta-intel/meta-crownbay/binary/2$
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>



More information about the yocto mailing list