MeeGo

From Joggler
Jump to navigation Jump to search

MeeGo on the Joggler

Image generation instructions on http://wiki.meego.com/Image_Creation

Kickstart file can be found [here]. This will force a xserver 1.6 version, so we can get IEGD working.

You will need to have a Fedora chroot or VM and, as root, run mic-image-creator as follows:

 mic-image-creator -f loop -c base-joggler.ks

This will generate a file you can subsequently mount -o loop to a path, and rsync -aHx to a filesystem.

There is some information on the changes made to the standard Meego kernel config


MeeGo Extra Instructions Ubuntu Karmic

Add mic2 repository to /etc/apt/sources.list

"deb http://repo.meego.com/tools/repo/xUbuntu_9.10/ /"

sudo apt-get upgrade
sudo apt-get install mic2
mkdir meego

Get base-joggler.ks - http://gitorious.org/mer/meego-joggler-ks

Make IEGD_10_3_Linux.tgz - Intel IEGD Configuration Editor - http://edc.intel.com/Software/Downloads/IEGD/ - Registration Required

dos2unix base-joggler.ks
sudo mic-image-creator -f loop -c base-joggler.ks 

Common instructions for both O/S

sudo mount -o loop meego-0.90-base-joggler-2010xxxxxxxx.img /mnt

Move contents of mnt to partition 2 of a joggler

sudo rsync -aHx mnt/* /media/sdX2

fixup the kernel boot line and fix kernel modules

ln -s 2.6.33.1-32.1-joggler 2.6.33.1 in /lib/modules

On joggler login root/meego

Setup eth0

ifconfig eth0 hw ether 00:11:22:33:44:55
dhclient eth0
ifconfig eth0

Ssh into joggler

Xorg &
DISPLAY=:0 xterm & 
DISPLAY=:0 glxgears &
DISPLAY=:0 qtdemo &

Thanks to Stskeeps - vgrade

Meego 1.0 Those over there are not giants but windmills

  • IEGD Driver

http://www.youtube.com/watch?v=oXWOjZQ8jVE

http://www.youtube.com/watch?v=eUiSnITKeRY

This demo was put together using this .ks file and the procedure above http://jogglerwiki.info/images/4/49/Joggler-meego-1.ks

Again thanks goes to stskeeps for the original .ks and method.

  • EMGD Driver

Netboook UX http://www.youtube.com/watch?v=vnwfVtHuhoI

IVI UX http://www.youtube.com/watch?v=JVL8I1B6uPs

Handset UX http://www.youtube.com/watch?v=JiGxx8DXkEI

  • Note the EMGD packages referenced in the KS are no longer available, the build will fail with 4 packages left to download*

Google for the RPM filename that fails to download, you should find links to download from alternative sources, place the files into the mycachedir2/emgd/packages directory and run the mic-image-creator command again.

If you cannot find the emgdgui package then open the .ks file and remove the line referencing emgdgui.

Intel have now release official EMGD drivers, http://edc.intel.com/Software/Downloads/EMGD/.

1. install image creator from meego git. http://wiki.meego.com/Image_Creation#From_Development_Git_Tree

2. create a working directory.

3. download and copy in emgd-netbook-joggler.ks or joggler-ivi-emgd.ks , bzImage, joggler-fat-partition.tgz

http://dl.dropbox.com/u/5715485/bzImage
Netbook UX, Daily trunk has new Xorg so this http://dl.dropbox.com/u/5715485/joggler-emgd.ks has been superseded by http://dl.dropbox.com/u/5715485/emgd-netbook-joggler.ks
IVI UX, http://dl.dropbox.com/u/5715485/joggler-ivi-emgd.ks , Version 2 mouse and kb working, http://dl.dropbox.com/u/5715485/joggler-ivi-emgd-2.ks
Handset UX, http://dl.dropbox.com/u/5715485/meego-handset-joggler.ks
http://dl.dropbox.com/u/5715485/joggler-fat-partition.tgz

4. create .img file

Netbook UX
sudo mic-image-creator  --cache=mycachedir2 --format=loop --config=joggler-emgd.ks --run-mode=0
IVI UX
sudo mic-image-creator  --cache=mycachedir2 --format=loop --config=joggler-ivi-emgd.ks --run-mode=0

5. mount loopback

sudo mount -o loop <image name>.img /mnt

6. With a 4Gb memory stick create a 50Mb FAT16 partition and the rest as a EXT2 partition

7. Write to ext2 partition on a Jogger stick the contents of /mnt

sudo rsync -aHx /mnt/* <stick ext partition> . Get beers in.

8. Write the contents of joggler-fat-partition.tqz to fat16 partition

9. Put in Joggler and boot.

9.5 If you have gone with the IVI UX you should get the UI. If you hace opted for the netbook follow the instructions below.

10. You should get the firstboot screens (language, timezone etc) you don't have keyboard for username but don't worry


11. The screen will then blank. Don't panic

12. Use Alt+F1 to get a login prompt

13. User: meego Pw: meego - you may need to use Alt+F1 again

14. su Pw: meego

15. telinit 3 - to stop uxlaunch

16. vi /etc/X11/xinit/Xclients

replace
if [ -x /usr/bin/twm ] ; then
 exec /usr/bin/twm
fi 
with
if [ -x /usr/bin/mutter ] ; then
 exec /usr/bin/mutter
fi

17. startx - should bring up UX - close clock and xterm

18. TODO - work out why uxlaunch does not bring up X, sound, wifi, ethernet

Thanks to Stskeeps and all at jogglerwiki - Standing on the shoulders of giants as usual

Meego OBS

Talk to lbt on #meego-dev for a login

web interface https://build.obs.maemo.org/ osc api interface https://api.obs.maemo.org/

Instructions for building a source rpm

mkdir build-area
cd build-area
osc meta pkg -e home:<username> <package name>
osc co home:<username>/<package name>
cd home:<username>
cd <package name>
rpm2cpio *src.rpm|cpio -id
osc addremove
osc commit

Then use web interface to start and monitor build