(→Creating a root file system) |
(→Transfer image to SD card) |
||
| Line 42: | Line 42: | ||
* I am calling my loop mounted directory "loopback", you can choose a different | * 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 | * rsync can be called with different options, or you can use another tool | ||
| - | |||
| - | |||
| - | |||
== Other resources == | == Other resources == | ||
[http://wiki.meego.com/Image_Creation MeeGo Image Creation]<br> | [http://wiki.meego.com/Image_Creation MeeGo Image Creation]<br> | ||
[http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch MeeGo on the Beagleboard from Scratch] | [http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch MeeGo on the Beagleboard from Scratch] | ||
Contents |
This page describes how one installs the MeeGo IVI image on a Beagleboard C4
mic2 is a the tool for creating "images" which are essentially snapshots of an entire file system. Using mic2 you download a set of binary packages 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.
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: