Meego Wiki
Views

ARM/Meego IVI on Beagle

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Creating a root file system)
(Transfer image to SD card)
Line 24: Line 24:
Texas Instruments (TI) provides drivers for 3D graphics acceleration. TI supplies these drivers under the Creative Commons Public License. These drivers are not supplied as a package that you can easily integrate, instead you'll have to run a program to download these drivers if you want them included in your root file system. To ingrate the drivers [http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/2.6-stable/annotate/head:/create_sgx_package.sh you can use this script] designed to be run on an X86 platform. [http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch#Prepare_SGX.2FGLES_libs More information is here.]
Texas Instruments (TI) provides drivers for 3D graphics acceleration. TI supplies these drivers under the Creative Commons Public License. These drivers are not supplied as a package that you can easily integrate, instead you'll have to run a program to download these drivers if you want them included in your root file system. To ingrate the drivers [http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/2.6-stable/annotate/head:/create_sgx_package.sh you can use this script] designed to be run on an X86 platform. [http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch#Prepare_SGX.2FGLES_libs More information is here.]
-
Once you've installed the SGX drivers, you can move to building your root file system. The root file system lies on the second partition and contains all the executables aside from the kernel.  
+
Once you've installed the SGX drivers, you can move to building your root file system (rootfs). The root file system lies on the second partition and contains all the executables aside from the kernel. To place the rootfs on your SD card, mount the image that mic2 created. You can do that this way;
 +
 
 +
<pre>
 +
mkdir loopback
 +
sudo mount -o loop ./daily/ivi/images/meego-ivi-armv7l-beagle/meego-ivi-armv7l-beagle-daily.img loopback/
 +
</pre>
 +
 
 +
This attaches the rootfs physically onto the "loopback" location on your hard drive. You can then move into the "loopback/" directory and copy over the entire file system onto your mounted SD card. This command will do that for you;
 +
 
 +
<pre>
 +
sudo rsync -aHx --progress --delete loopback/* /media/MeeGo/
 +
</pre>
 +
 
 +
Some important things to note here:
 +
 
 +
* I am calling the partition on the SD disk "MeeGo", you can choose a different name when you partition your SD card
 +
* I am calling my loop mounted directory "loopback", you can choose a different
 +
* rsync can be called with different options, or you can use another tool

Revision as of 13:50, 3 November 2010

Contents

MeeGO IVI on Beagleboard

This page describes how one installs the MeeGo IVI image on a Beagleboard C4

Executive Overview

  1. Format your SD card
  2. Use mic2 to create an image
  3. Place image on SD card
  4. Boot Beagleboard from SD card

Creating a root file system

mic2 is a the tool for creating "images" which are essentially snapshots of the entire file system. Using mic2 you download a binary built for your target architecture which you specify in a kickstart file. Here is is the command I used to create an image for the Beagleboard;

sudo mic-image-creator --run-mode=0 --cache=x-cache --format=loop --arch=armv7l --release=daily --compress-disk-image=none --config=ivi-armv7l-beagle.ks

You can change these parameters if you want a different type of image, read the instructions for mic2 for more information.

Transfer image to SD card

Texas Instruments (TI) provides drivers for 3D graphics acceleration. TI supplies these drivers under the Creative Commons Public License. These drivers are not supplied as a package that you can easily integrate, instead you'll have to run a program to download these drivers if you want them included in your root file system. To ingrate the drivers you can use this script designed to be run on an X86 platform. More information is here.

Once you've installed the SGX drivers, you can move to building your root file system (rootfs). The root file system lies on the second partition and contains all the executables aside from the kernel. To place the rootfs on your SD card, mount the image that mic2 created. You can do that this way;

mkdir loopback
sudo mount -o loop ./daily/ivi/images/meego-ivi-armv7l-beagle/meego-ivi-armv7l-beagle-daily.img loopback/

This attaches the rootfs physically onto the "loopback" location on your hard drive. You can then move into the "loopback/" directory and copy over the entire file system onto your mounted SD card. This command will do that for you;

sudo rsync -aHx --progress --delete loopback/* /media/MeeGo/

Some important things to note here:

  • I am calling the partition on the SD disk "MeeGo", you can choose a different name when you partition your SD card
  • I am calling my loop mounted directory "loopback", you can choose a different
  • rsync can be called with different options, or you can use another tool


(Obviously I'll expand this page with information - just wanted to get a first draft up and running.)

Other resources

MeeGo Image Creation
MeeGo on the Beagleboard from Scratch

Personal tools