Links "http://wiki.meego.com/SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux" instructs you to install MeeGo target(MADDE rootfs)/MeeGo Runtime(QEMU Image), those images are created by MeeGo and downloaded from "http://download3.meego.com/"; This section mainly introduces how to install MeeGo target/MeeGo Runtime that created by yourself. (creatimg MeeGo image is not introduced in this section)
By default, MeeGo target and MeeGo Runtime are installed to directory:
* MeeGo Target ----> "/usr/lib/madde/linux-i686/sysroots" * MeeGo Runtime ----> "/usr/lib/madde/linux-i686/runtimes"
The default configuration files of Target and Runtime are installed to "/usr/lib/madde/linux-i686/cache/madde.conf.d/". You can install your own MeeGo Target/MeeGo Runtime based on the following three steps:
*(1) Create your configure file under "/usr/lib/madde/linux-i686/cache/madde.conf.d/", you can refer those "conf" files under this direcotory. *(2) Copy your packaged MeeGo Target/MeeGo Runtime images to "/usr/lib/madde/linux-i686/cache" *(3) Run "sudo mad-admin create -f <Your_Target>" and "sudo mad-admin create -f -e <Your_Runtime>"
We take adding "MeeGo runtime" as an example to introduce the integration method in a simple way. Suppose you created one QEMU image named "aaa-bbb-ccc.raw":
PC$ cd /usr/lib/madde/linux-i686/runtimes
PC$ sudo mkdir aaa-bbb-ccc-runtime
PC$ sudo cp aaa-bbb-ccc.raw aaa-bbb-ccc-runtime/
PC$ cd aaa-bbb-ccc-runtime
PC$ sudo vim information
qemu='/usr/lib/madde/linux-i686/tools/qemu-meego/bin/qemu-meego'
qemu_path_native='/usr/lib/madde/linux-i686/tools/qemu-meego/bin/qemu-meego'
libpath='LD_LIBRARY_PATH=/usr/lib/madde/linux-i686/tools/qemu-meego/lib'
qemu_args='-hda aaa-bbb-ccc.raw -skin /opt/meego/qemu-gl/share/qemugl/meego/skin/handset/skin.xml -usbdevice tablet -name MeeGo -m 1024 -boot c -enable-kvm -vga std -enable-gl -device virtio-gl-pci -soundhw ac97 -net nic -net user,hostfwd=tcp:127.0.0.1:6666-:22,hostfwd=tcp:127.0.0.1:13219-:13219,hostfwd=tcp:127.0.0.1:14168-:14168'
ip='127.0.0.1'
sshport='6666'
redirport2='13219'
redirport3='14168'
PC$ mad list runtime
.............................................................
aaa-bbb-ccc-runtime (installed)
.............................................................
Start your runtime:
PC$ sudo mad remote -r aaa-bbb-ccc-runtime poweron