Changes

How to get the Meego distribution

28 bytes added, 11:29, 10 August 2010
no edit summary
'''WORK IN PROGRESS, please contribute'''
 
== How to get the Meego distribution ==
* 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 create_sgx_package.sh
$ wget http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/2.6-stable/annotate/head:/create_sgx_package.sh
 
Since the SGX drivers are partially TI closed source, you'll have to register and download the file OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin from [http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html TI's GFX SDK download page]. Then run
$ ./create_sgx_package.sh
== Putting a copy of a Meego root file system on SD card ==
$ sudo apt-get install qemu-kvm-extras-static
Let'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
and build the image with
$ sudo LANG=C mic-image-creator --run-mode=0 --cache=mycachedir --format=fs loop --arch=armv7l --release=daily --compress-disk-image=none --config=handset-armv7l-beagle.ks
You Afterwards, the entire file system will now have be present as a resulting tarfile system image under $.bz2 in /daily/handset/images/meego-handset-armv7l-beagle/meego-handset-armv7l-beagle-daily. Extract it img The resulting image can be mounted via loopbak and the contents then rsync'ed to your rootfs SD the card partition. $ mkdir ./image $ sudo tar xvj mount --strip-components=2 -f o loop ./daily/handset/images/meego-handset-armv7l-beagle/meego-handset-armv7l-beagle-daily-fs.tarimg .bz2 /image $ sudo rsync -aHx --progress -C -delete ./image/* /media/rootfs
== Install kernel and kernel modules ==
$ cp arch/arm/boot/uImage /media/boot
$ sudo make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install INSTALL_MOD_PATH=/media/rootfs
 
== Install SGX/GLES libraries ==
 
Download helper scripts from
 
$ bzr branch lp:~beagleboard-kernel/+junk/2.6-stable
$ cd 2.6-stable
 
Since the SGX drivers are partially TI closed source, you'll have to register and download the file OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin from [http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html TI's GFX SDK download page].
$ ./create_sgx_package.sh
 
When finished, uncompress the file GFX_3_01_00_06_libs.tar.gz and copy the files install-SGX.sh and target_libs.tar.gz from this archive to your SD card.
$ tar xzf GFX_3_01_00_06_libs.tar.gz
$ sudo cp install-SGX.sh target_libs.tar.gz /media/rootfs/root
 
[[Category:Software distributions|Meego]]
0
edits