Re: Where is the emgd.ko module?

Jim Abernathy

On Tue, 2011-12-13 at 11:37 -0500, autif khan wrote:
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

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



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.
If you use the prebuilt binaries they have EMGD already included. I had
to download and install the EMGD before baking it all, as mentioned in
the README below:

Downloading and extracting the binaries using the EMGD Linux tarball

The first step of the process is to download the EMGD 1.8 Driver.
Here is the current link to the URL from which it can be downloaded:

In the Download Now tab, select:

IntelĀ® architecture-based product: Linux Tar Ball
Operating System: MeeGo* 1.2 IVI Linux* (kernel 2.6.37, X.server 1.9,
Mesa 7.9)

That will give you a large .tgz file:


Extract the files in the tar file, which will in turn give you a
directory named IEMGD_HEAD_Linux.

The binaries are contained in an rpm file; you can extract the
binaries from the rpm file using rpm2cpio and cpio:

$ cd IEMGD_HEAD_Linux/MeeGo1.2
$ rpm2cpio emgd-bin-2032-1.6.i586.rpm > emgd-bin-2032-1.6.i586.cpio
$ mkdir extracted; cd extracted
$ cpio -idv < ../emgd-bin-2032-1.6.i586.cpio

Finally, you can copy the xorg-xserver binaries to the
emgd-driver-bin-1.8 directory in meta-intel/common:

$ cp -a usr/lib

You also need to copy the IEMGD License.txt file to the same directory:

$ cp IEMGD_HEAD_Linux/License/License.txt

At this point, you should be able to build meta-crownbay images as

On Tue, Dec 13, 2011 at 11:28 AM, Jim Abernathy <jfabernathy@...> 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

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
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



autif@xu:~/data/dev/yocto/emgd/tmp/deploy/images/1$ sudo find . | grep emgd

sudo find . | grep emgd
yocto mailing list

Join to automatically receive all group messages.