Meego Wiki
From MeeGo wiki
Revision as of 22:06, 13 March 2011 by Lbt (Talk | contribs)
Jump to: navigation, search

Contents

Joggler Image based on kernel-adaptation-intel-automotive and new MeeGo packaged EMGD Driver

Joggler-emgd.jpg

Full Image Download

http://bug10738.openaos.org/

TODO - 05-02-11

vgrade

Prepare OBS Package

download source rpm from http://download.meego.com/live/devel:/kernel/Trunk/src/ eg: http://download.meego.com/live/devel:/kernel/Trunk/src/kernel-adaptation-intel-automotive-2.6.35.10-21.2.src.rpm Talk to lbt on #meego-dev, #meego for a login to public obs

setup ~/.oscrc with correct urls, username and password. web interface https://build.pub.meego.com/ osc api interface https://api.pub.meego.com/

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

set to build against Meego:current:Core/standard using gui

trigger build

This should get you some binary and a source package.

Prepare files to make Joggler Adaptation

rename files

config-adaptation-intel-automotive and kernel-adaptation-intel-automotive.spec to 
config-adaptation-joggler and kernel-adaptation-joggler.spec  

replace

'intel-automotive' with 'joggler' in Makefile.config and kernel-adaptation-joggler.spec
osc addremove
osc commit

we now should have joggler named binaries

Make .config Joggler specific

Using http://jogglerhacks.blogspot.com/2010/07/making-meego-kernel-package-for-joggler.html create new versions of config-adaptation-joggler and config-generic

TODO : This needs more research. Just nicked Stskeeps files for now.

rebuild

we now should have joggler specific kernel binaries

Create image

Using kickstart here http://pastebin.com/UHPiCuzd

sudo mic-image-creator --run-mode=0 --cache=../mycachedir --format=loop  --release=daily --compress-disk-image=none --config=meego-netbook-ia32-1.1.80.14.20110111.8.ks


emgd bin is now here as well, http://repo.meego.com/MeeGo/builds/1.1.80/daily/non-oss/repos/ia32/packages/i586/emgd-bin-1812-1.1.i586.rpm, TODO update .ks

Mount Loopback

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

Create a Stick

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

Write to ext3 partition on a Jogger stick the contents of /mnt

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

Write the contents of joggler-fat-partition.tqz to fat16 partition - http://dl.dropbox.com/u/5715485/joggler-fat-partition.tgz - fixup grub.cfg to point to new kernel

Booting

Put in Joggler and boot.

edit out the time setting lines in /usr/share/system-config-date/scdMainwindow.py

The screen will then blank. Don't panic

Use Alt+F1 to get a login prompt

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

su Pw: meego
telinit 3 - to stop uxlaunch
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
startx - should bring up UX - close clock and xterm
TODO - work out why uxlaunch does not bring up X, sound, wifi, ethernet

edit /etc/rc.local and add in the following lines at the end (using your mac address)

/sbin/ifconfig eth0 hw ether 00:00:de:ad:be:ef
/sbin/ifconfig eth0 up

reboot, and eth0 should be working using dhcp

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


superseded information below


Meego on O2 Joggler

http://www.jogglerwiki.info/index.php?title=MeeGo

Meego on GMA500 Based Laptops

After getting MeeGo up on my Poulsbo based O2 Joggler

I have prepared a kickstart file for Poulsbo/GMA500 based netbooks.

If you have one of these netbooks and can spare the time I would be interested in the results.

You can catch me vgrade on #meego.

emgd-netbook.ks

After a couple of reports of this nearly working I have edited the ks to a later version of the core and netbook repos

emgd-netbook-2.ks

sudo mic-image-creator  --cache=mycachedir --format=liveusb --config=<filename>.ks --run-mode=0

Find below a kickstart which allows the UX to come up - thanks to amyako for the tips the generic Xorg

emgd-netbook-3.ks

to get X server up and running you need to do these steps after booting

Alt + F1
login: meego pass: meego
su pass: meego
telinit 3
Alt + F1
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 
startx

See this thread for latest info http://forum.meego.com/showthread.php?t=989

If you have success please post a video and also let me know what netbook you are running.

The source code for the kernel pulled in here can be found here http://vgrade.co.uk/kernel-2.6.33.3-20.1.src.rpm

Report your progress

Please add your name and devices to the list below, photos and video welcome

GMA500 Future on Meego

The EMGD drivers were pulled from repo.meego.com so the kickstart files above will no longer work.

Below is a extract from #meego IRC log where I ask Arjan Van De Ven (MeeGo Chief Architect) about the future of GMA500 on MeeGo.

http://mg.pov.lt/meego-irclog/%23meego.2010-08-17.log.html#t2010-08-17T22:59:44

Further to this Intel have released an official EMGD driver set with MeeGo support. see http://edc.intel.com/Software/Downloads/EMGD/#download

When I get chance I will update the kickstart files.

vgrade

Thanks goes to stskeeps for much help

Personal tools