KOH_Linux_Inst_EMGD-MeeGo-IVI

Installing Intel® EMGD for MeeGo, IVI Release

1. These instructions assume that you have a fresh install of the MeeGo 1.2 IVI release set up on your system. If that is not the case, you can download the MeeGo 1.2 IVI installer from

https://meego.com/downloads/releases/1.2/meego-v1.2-in-vehicle-infotainment-ivi

Installation instructions are available from the site.

2. If the GUI install mode is not working, try using text install mode.

Note: The Intel® EMGD configuration built into the IVI MeeGo 1.2 image defaults to LVDS. If you are using a different main display and you do not have an LVDS connected, you need to prevent MeeGo from booting into its X-based user interface until after you change the xorg.conf file to work with your hardware. This can be accomplished by adding a “3” to the boot option in the boot menu when you are presented with the option right at the start of boot. Press “Tab” when prompted, and add a 3 somewhere in the kernel start arguments that will be displayed.

3. After booting, start a terminal unless you are already in console mode. Switch to root by typing

su

The default password is meego.

4. Install make and gcc with the command:

zypper install make gcc

5. Update Kernel and Devel package:

a. Install the updated MeeGo1.2 Kernel and Development Package for the kernel:
zypper install kernel-adaptation-intel-automotive-devel kernel-adaptation-intel-automotive

b. Edit the /boot/extlinux/extlinux.conf and remove the “VGA=current Quiet” from the kernel add-on line. If you are not using an LVDS display (which is the default for the built-in EMGD), also add a 3 to the kernel arguments to prevent the graphics driver from loading and defaulting to LVDS, leaving you with a blank screen. Alternatively, you can also configure the xorg.conf for your configuration.

c. Reboot after installation to enable the updated kernel.

6. Untar the driver package to a convenient location using the following command:

tar -xvzf <driver package.tgz>

where <driver package.tgz> is replaced with the actual name of the tar package, which by default is IEMGD_HEAD_Linux.tgz.

7. Change your directory to the MeeGo 1.2 sub-folder in the driver directory and install the Intel® EMGD rpm:

cd /<your path>/IEMGD_HEAD_Linux/Meego1.2/

rpm --force -Uvh emgd-*.rpm

8. Remove the old emgd module:

rm -f /lib/modules/<KernelVersion>/kernel/drivers/staging/emgd/emgd.ko

9. Go to the common/drm sub-folder in the driver directory and build the drm module. If you encounter an error concerning an undefined reference to xen when building, please do step 9 and come back to retry this step:

cd /<your path>/IEMGD_HEAD_Linux/common/drm

tar -xvzf emgd_drm.tgz

make

make install

10. If already not done, edit the /boot/extlinux/extlinux.conf and remove the “3” and add back “VGA=current Quiet” to the kernel add-on line. After rebooting, this change causes the graphics driver to load with xorg.conf configured for your platform.

11. (Optional) This step is necessary only if your compilation is failing in the previous step - otherwise, you may skip to the next step.

To fix the bug in the MeeGo 1.2 kernel source that contains an undefined reference to the xen module:

a. Edit the file /usr/src/kernels/<KernelVersion>/arch/x86/include/asm/io.h to remove the xen reference:

vi /usr/src/kernels/<KernelVersion>/arch/x86/include/asm/io.h

b. Delete the line referring to xen (line 44).

c. Go back to step 8.

12. By default, MeeGo UX uses Mutter and Mcompositor window manager, which slow down Graphics and Media intensive applications. To change the window manager, follow the installation steps outlined in
https://meego.com/sites/all/files/users/admin/xfce_installation.txt

Note that step 5 in the XFCE install instructions is optional if you want to keep MeeGo UX and not the XFCE4 Desktop.

13. Reboot.

14. Check that you are now using the updated EMGD drivers by opening a terminal and running emgdgui.




*Other names and brands may be claimed as the property of others.
Revised April 2013