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


Community Workspace/RaspberryPi

From Mer Wiki
< Community Workspace(Difference between revisions)
Jump to: navigation, search
(New page: = Mer on RaspberryPi = This page details the steps required to bring up a development system which can be used to create a basic Mer image and also to detail the steps required for applic...)
 
Line 1: Line 1:
 
= Mer on RaspberryPi =
 
= Mer on RaspberryPi =
  
This page details the steps required to bring up a development system which can be used to create a basic Mer image and also to detail the steps required for application development using QtCreator.
+
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 ==
 
== Install Mer SDK ==
Line 34: Line 34:
  
 
Place in RaspberryPi and boot.
 
Place in RaspberryPi and boot.
 +
 +
== Host SDK Development using gcc ==
  
 
== QtCreator Instructions ==
 
== QtCreator Instructions ==

Revision as of 17:58, 11 March 2012

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://releases.merproject.org/releases/0.20120209.1/kickstarts/mer-core-armv6l-connectivity-xorg-basic-qmlviewer.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