Changes

How to get the Meego distribution

598 bytes added, 13:26, 1 August 2010
no edit summary
'''WORK IN PROGRESS, please contribute'''
 
== How to get the Meego distribution ==
== Requirements ==
*A SD card at least 2GB ( recommended 4GB ) formatted how uboot likes it to be formatted (with roota dual-partion, a '''boot''' (ext3fat) partition and boota '''rootfs''' (fat) partitionsext3)
== Feedback and Contributing ==
== Putting a copy of a Meego root file system on SD card ==
WORK IN PROGRESS, please contributeWhen using ubuntu 10.04 you'll need to install qemu using the qemu-kvm-extras-static packagerequirements
$ sudo apt-get install qemu-kvm-extras-static
workdirLet's start with building the rootfs, first of all create a working directory
$ mkdir meego && cd meego
Now, download and install pykickstart
$ git clone git://git.fedorahosted.org/git/pykickstart.git
$ cd pykickstart
$ make
$ make install
$ sudo fakeroot cp -fr usr/local/lib/python2.6/dist-packages/pykickstart /usr/bin/
$ sudo fakeroot cp -fr usr/local/lib/python2.6/dist-packages/pykickstart /usr/lib/python2.6/dist-packages/
$ cd ..
and, download and install the mic image creator
$ git clone git://gitorious.org/meego-developer-tools/image-creator.git
$ cd image-creator
$ cd ..
downloadThis tool is used to create MeeGo images, for that purpose you will need a Kickstart file. Kickstart files specify what repos to pull from, what packages to include, what post-scripts to run and what type of images to create.
$ wget http://wiki.meego.com/images/Handset-armv7l-beagle.ks
$ mv Handset-armv7l-beagle.ks handset-armv7l-beagle.ks
and typebuild the image with $ sudo LANG=C mic-image-creator --run-mode=0 --cache=mycachedir --format=fs --arch=armv7l --release=daily --config=handset-armv7l-beagle.ks
You will now have a resulting tar.bz2 in ./daily/handset/images/meego-handset-armv7l-beagle. Extract it to your rootfs SD cards root card partition (you should have 2 partitions for boot and root): cd /media/your_sd_card . $ sudo tar xvj --strip-components=2 -f <path to the build root>/daily/handset/images/meego-handset-armv7l-beagle/meego-handset-armv7l-beagle-daily-fs.tar.bz2-C /media/rootfs
==KernelInstall kernel and kernel modules ==Summary:* get kernel source* get crosscompiler* create uImage* create modules* copy to sd card.
A good starting reference is found here: [[The_Linux_kernel]]First, get latest kernel and kernel modules binaries from IGEP website
===Getting the $ wget http://downloads.igep.es/binaries/kernel source===/v2.6.33.6-0/uImage-2.6.33.6-0.bin $ wget http://downloads.igep.es/binaries/kernel/v2.6.33.6-0/linux-omap-modules-2.6.33.6-0.tar.gz
From git:Next, copy the kernel to the boot partition into the SD card $ cp uImage-2.6.33.6-0.bin /media/boot/uImage
git clone git://git.Finally, uncompress the kernel.org/pub/scm/linux/kernel/git/tmlind/modules to the rootfs partition into the SD card $ sudo tar xzf linux-omap-modules-2.6.git33.6-0.tar.gz -C /media/rootfs
[[Category:Software distributions|Meego]]
0
edits