Changes

How to get the Meego distribution

1,967 bytes added, 11:28, 31 December 2013
m
no edit summary
== How to get the Meego distribution ==
 
{{Message/Broken Links}}
MeeGo is an open source, Linux project which brings together the Moblin project, headed up by Intel, and Maemo, by Nokia, into a single open source activity. MeeGo integrates the experience and skills of two significant development ecosystems, versed in communications and computing technologies. The MeeGo project believes these two pillars form the technical foundations for next generation platforms and usages in the mobile and device platforms space.
== 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 ==
* http://wiki.meego.com/ARM/Meego_on_the_Beagle
* http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch
 
== Prepare SGX/GLES libraries ==
 
First of all create a working directory
$ mkdir meego && cd meego
 
Therefore the SGX/GLES libraries are vital to get this running, download the script named [http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/2.6-stable/annotate/head:/create_sgx_package.sh create_sgx_package.sh]
 
Then run
$ chmod +x create_sgx_package.sh
$ ./create_sgx_package.sh
== 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
workdir $ mkdir meego && cd meego Let's start with building the rootfs, 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/MeegoHandset-armv7l-beagle.ks $ mv Handset-armv7l-beagle.ks handset-armv7l-beagle.ks and build the image with $ sudo LANG=C mic-image-creator --run-mode=0 --cache=mycachedir --format=loop --arch=armv7l --release=daily --compress-disk-image=none --config=handset-armv7l-beagle.ks Afterwards, the entire file system will be present as a file system image under $./daily/handset/images/meego-handset-armv7l-beagle/meego-handset-armv7l-beagle-daily.img The resulting image can be mounted via loopbak and the contents then rsync'ed to the card. $ mkdir ./image $ sudo mount -o loop ./daily/handset/images/meego-handset-armv7l-beagle/meego-handset-armv7l-beagle-1daily.0img .80/image $ sudo rsync -aHx --progress --delete .8/image/* /media/rootfs == Install kernel and kernel modules == You can install the Codesourcery arm toolchain.20100630Just download that package, unpack it somewhere and add the bin directory contained in this into your path environment variable and build the kernel.ks To generate the uImage file at the end of the build process, the tool 'uboot-mkimage' is needed: $ sudo apt-get install uboot-mkimage
Clone the kernel GIT repository from git.igep.es and runswitch to latest development 2.6.33.y branch $ sudo micgit clone git://git.igep.es/pub/scm/linux-imageomap-creator 2.6.git $ cd linux-omap-run2.6 $ git checkout origin/linux-mode=0 --cache=mycachedir --format=fs --arch=armv7l --release=daily --config=Meego-handset-armv7l-beagle-12.6.033.80y linux-2.86.2010063033.ksy
You will now have a resulting tar.bz2 in ./daily/handset/images/meego-handset-armv7l-beagle. Extract it to your SD cards root 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.bz2with
$ make ARCH=arm CROSS_COMPILE=Kernelarm-none-linux-gnueabi- igep0020_defconfig $ make ARCH=arm CROSS_COMPILE=Summary:* get kernel source* get crosscompiler* create arm-none-linux-gnueabi- uImage* create modules* copy to sd card.
TODO: where The result will be an uImage file in arch/arm/boot directory. You can install the kernel modules to get a good config?your target rootfs $ cp arch/arm/boot/uImage /media/boot $ sudo make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install INSTALL_MOD_PATH=/media/rootfs
= See also =
*[[How to get the Angstrom distribution]]
*[[How to get the Ubuntu distribution]]
*[[How to get the Linaro distribution]]
*[[How to get the Android distribution]]
*[[How to get the Poky Linux distribution]]
[[Category:Software distributions|Meego]]
4,199
edits