The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Community Workspace/RaspberryPi

From Mer Wiki
Jump to: navigation, search

Contents

Mer on RaspberryPi

This page details the steps required to bring up a development environment which can be used to create a basic Mer image and also to detail the steps required for application development using gcc and QtCreator.

Install Mer SDK

Using the instructions at http://wiki.merproject.org/wiki/Platform_SDK#Mer_platform_SDK install Mer SDK on your host Linux system. The SDK has been designed to not rely on the host system so you can use your favourite distro.

Get an account on the community OBS server, ping lbt on #mer freenode IRC channel.

edit .oscrc to set server to api.pub.meego.com and set user and password

To test the installation follow the instructions for building the SDK image.

Building a Mer Core Image

Here we use the SDK to build an image which can be written to an sdcard which will include bootloader, kernel and a base filesystem which boots X and starts qmlviewer.

Get kickstart file

curl -k -O  http://images.formeego.org/raspberry-pi/mer-core-armv6l-connectivity-xorg-basic-qmlviewer-raspPi.ks

To work around a mic issue zypper in the following package to the SDK

sudo zypper in syslinux-extlinux

Use the mic tool to create the image using the kickstart file

sudo mic create raw  mer-core-armv6l-connectivity-xorg-basic-qmlviewer-raspPi.ks -o . --pkgmgr=yum --arch=armv6l

Once the image has been produced write to your sdcard

sudo dd of=/dev/sd* if=mer-core-armv6l-connectivity-xorg-basic-qmlviewer-raspPi-mmcblk0.raw bs=4M

Place in RaspberryPi and boot.

Host SDK Development using gcc

QtCreator Instructions

Personal tools